[libvirt] [PATCH] qemu: Allow system pages to <memoryBacking/>

Daniel P. Berrange berrange at redhat.com
Fri Dec 12 10:11:26 UTC 2014


On Fri, Dec 12, 2014 at 11:05:37AM +0100, Michal Privoznik wrote:
> It occurred to me that OpenStack uses the following XML when not using
> regular huge pages:
> 
>   <memoryBacking>
>     <hugepages>
>       <page size='4' unit='KiB'/>
>     </hugepages>
>   </memoryBacking>
> 
> However, since we are expecting to see huge pages only, we fail to
> startup the domain with following error:
> 
>   libvirtError: internal error: Unable to find any usable hugetlbfs
>   mount for 4 KiB

NB, if openstack is doing that, it is a bug - in the 4kb case we
shouldn't be using any of this new XML, because we want to be
targetting older libvirt.

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list