[libvirt] [PATCH 0/1] Support huge pages in guests

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

 



This patch is an update of John Cooper's original work from
last month

http://www.redhat.com/archives/libvir-list/2009-July/msg00753.html

Changes since that patch

 - We create a directory $MOUNTPOINT/libvirt/qemu inside the hugetlbfs
   mount point. This is neccessary because QEMU now runs as 'qemu:qemu'
   in Fedora and thus cannot create files in the root. libvirtd will
   automatically chown() this subdir to allow QEMU guests access
 - Don't automatically probe for hugetlbfs mount if runing as an
   unprivileged libvirtd, since user won't have access to the mount
   unless administrator has manually created them a subdir.
 - Change the XML to look like

     <memoryBacking>
        <hugepages/>
     </memoryBacking>

   This is because I fear we may have more config options for memory
   backing store in the future, such as whether KVM can use KSM for
   sharing on the guest.
 - Add a test case for it in the XML -> ARGV convetor
 - Document the new XML options
 - Add the new XML options to the RNG schema
 - Fix setup & auto-detection of hugetlbfs mount if no qemu.conf file
   exists at all
 - Add config parameter to the augeas schema
 - Move the code which finds a mount point into util.c since its not
   specific to QEMU

--
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]