[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 08/15] fixup! pc: explicitly check maxmem limit when
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [PATCH 08/15] fixup! pc: explicitly check maxmem limit when adding DIMM |
Date: |
Mon, 24 Nov 2014 14:16:38 +0000 |
Fix build breakage on 32 bit host:
hw/i386/pc.c:1623:9: error: format '%llx' expects argument
of type 'long long unsigned int', but argument 5 has type 'ram_addr_t'
[-Werror=format]
introduced by:
pc: explicitly check maxmem limit when adding DIMM
Signed-off-by: Igor Mammedov <address@hidden>
---
hw/i386/pc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index e656658..8be50a4 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1621,7 +1621,7 @@ static void pc_dimm_plug(HotplugHandler *hotplug_dev,
if (existing_dimms_capacity + memory_region_size(mr) >
machine->maxram_size - machine->ram_size) {
error_setg(&local_err, "not enough space, currently 0x%" PRIx64
- " in use of total 0x%" PRIx64,
+ " in use of total 0x" RAM_ADDR_FMT,
existing_dimms_capacity, machine->maxram_size);
goto out;
}
--
1.8.3.1
- [Qemu-devel] [PULL 07/15] pc: pc-dimm: use backend alignment during address auto allocation, (continued)
- [Qemu-devel] [PULL 07/15] pc: pc-dimm: use backend alignment during address auto allocation, Michael S. Tsirkin, 2014/11/23
- [Qemu-devel] [PULL 08/15] pc: explicitly check maxmem limit when adding DIMM, Michael S. Tsirkin, 2014/11/23
- [Qemu-devel] [PULL 09/15] pc: count in 1Gb hugepage alignment when sizing hotplug-memory container, Michael S. Tsirkin, 2014/11/23
- [Qemu-devel] [PULL 10/15] hw/pci: fix crash on shpc error flow, Michael S. Tsirkin, 2014/11/23
- [Qemu-devel] [PULL 11/15] acpi-build: mark RAM dirty on table update, Michael S. Tsirkin, 2014/11/23
- [Qemu-devel] [PULL 12/15] target-i386: move generic memory hotplug methods to DSDTs, Michael S. Tsirkin, 2014/11/23
- [Qemu-devel] [PULL 13/15] pcie: fix typo in pcie_cap_deverr_init(), Michael S. Tsirkin, 2014/11/23
- [Qemu-devel] [PULL 14/15] pcie: fix improper use of negative value, Michael S. Tsirkin, 2014/11/23
- [Qemu-devel] [PULL 15/15] pc: acpi: mark all possible CPUs as enabled in SRAT, Michael S. Tsirkin, 2014/11/23
- Re: [Qemu-devel] [PULL 00/15] pc, pci, misc bugfixes, Peter Maydell, 2014/11/24
- [Qemu-devel] [PATCH 08/15] fixup! pc: explicitly check maxmem limit when adding DIMM,
Igor Mammedov <=