On Wed, Sep 23, 2015 at 01:18:02PM +0200, Peter Krempa wrote:
> My original implementation was based on a qemu version that still did
> not have all the checks in place. Using sizes that would align to odd
> megabyte increments will produce the following error:
> 
> qemu-kvm: -device pc-dimm,node=0,memdev=memdimm0,id=dimm0: backend memory 
> size must be multiple of 0x200000
> qemu-kvm: -device pc-dimm,node=0,memdev=memdimm0,id=dimm0: Device 'pc-dimm' 
> could not be initialized
> 
> Introduce an alignment retrieval function for memory devices and use it
> to align the devices separately and modify a test case to verify it.
> ---
>  src/qemu/qemu_domain.c                                | 19 
> ++++++++++++++++++-
>  .../qemuxml2argv-memory-hotplug-dimm.xml              |  2 +-
>  2 files changed, 19 insertions(+), 2 deletions(-)
> 

ACK

Pavel

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to