Re: [PATCH] qemu: Align memory module sizes to 2MiB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]