]> git.proxmox.com Git - mirror_qemu.git/commit - numa.c
numa: show hex number in error message for consistency and prefix them with 0x
authorHu Tao <hutao@cn.fujitsu.com>
Mon, 4 Aug 2014 08:16:09 +0000 (16:16 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 14 Aug 2014 11:22:07 +0000 (13:22 +0200)
commitc68233aee8ef47861b65f0d079c5b0b3816447e5
tree363660aea70e94c38ba71e1484ea4e70f5480d40
parent988eba0f681bd4f82e9e02998da8106f165ed82c
numa: show hex number in error message for consistency and prefix them with 0x

The error messages before and after patch are:

before:
qemu-system-x86_64: total memory for NUMA nodes (134217728) should equal RAM size (20000000)

after:
qemu-system-x86_64: total memory for NUMA nodes (0x8000000) should equal RAM size (0x20000000)

Cc: qemu-stable@nongnu.org
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
numa.c