OSDN Git Service

Show length mismatch error is hex
authorAlex Bligh <alex@alex.org.uk>
Sat, 19 Jul 2014 09:09:51 +0000 (10:09 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 8 Aug 2014 20:06:32 +0000 (00:06 +0400)
commita3f1f040d2454b5328178393843656c8bbd0429c
tree1af490b2d5d324d5ae089dd3de7c06e096bf0417
parent5bb4c35dcac527be2e174aacf8aad909620bc5e7
Show length mismatch error is hex

When live migrate fails due to a section length mismatch we currently
see an error message like:

Length mismatch: 0000:00:03.0/virtio-net-pci.rom: 10000 in != 20000

The section lengths are in fact in hex, so this should read

Length mismatch: 0000:00:03.0/virtio-net-pci.rom: 0x10000 in != 0x20000

Correct the error string to reflect this.

Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
arch_init.c