Re: [PATCH v1 3/7] qemu: Utilize virFileFindHugeTLBFS

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

 



On Thu, Jul 17, 2014 at 06:12:44PM +0200, Michal Privoznik wrote:
> Use better detection of hugetlbfs mount points. Yes, there can be
> multiple mount points each serving different huge page size.
> 
> Since we already have ability to override the mount point in the
> qemu.conf file, this crazy backward compatibility code is brought in.
> Now we allow multiple mount points, so the "hugetlbfs_mount" option
> must take an list of strings (mount points). But previously, it was
> just a string, so we must accept both types now.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/Makefile.am          |   1 +
>  src/qemu/qemu_command.c  |  20 ++++----
>  src/qemu/qemu_conf.c     | 122 +++++++++++++++++++++++++++++++++++++++++------
>  src/qemu/qemu_conf.h     |   9 +++-
>  src/qemu/qemu_driver.c   |  39 +++++++--------
>  src/qemu/qemu_process.c  |  21 +++++---

Also need to update the augeas files & example config to deal
with list or string.

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

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