]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Fix property name for start address of a pc-dimm module
authorLuyao Huang <lhuang@redhat.com>
Thu, 26 Mar 2015 06:30:56 +0000 (14:30 +0800)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 26 Mar 2015 08:22:21 +0000 (09:22 +0100)
commita0bbdcd7885f68ba4103128f89fe47f52d014c2b
tree71c731521649de36dd204086a5cd41c1053ca466
parent53c8062f7eb7028043a314f2f18bf34ff0e82f0d
qemu: command: Fix property name for start address of a pc-dimm module

Starting a qemu VM with a memory module that has the base address
specified results in the following error:

 error: internal error: early end of file from monitor: possible problem:
 2015-03-26T03:45:52.338891Z qemu-kvm: -device pc-dimm,node=0,memdev=memdimm0,
 id=dimm0,slot=0,base=4294967296: Property '.base' not found

The correct property name for the base address is 'addr'.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-memory-hotplug-dimm-addr.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-memory-hotplug-dimm-addr.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c