Re: [PATCH] add option to enforce minimal pagesize for hugetlbfs backed guests

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

 



Il 11/02/2014 15:46, Daniel P. Berrange ha scritto:
IMHO all of this code is something that belongs in QEMU, with libvirt
telling QEMU what min page size it wants via a CLI arg.

I disagree. QEMU just gets a path to something that doesn't even have to be a hugetlbfs mountpoint. QEMU hardly needs to know the page size; it computes it in order to truncate the file size to an integer number of pages, but if that's required it sounds like a workaround for a bug in hugetlbfs.

In fact, I believe that even making a temporary file shouldn't belong in QEMU, and instead libvirt should just pass a filename or a file descriptor, but this would require changes in QEMU so it's left for another day.

Paolo

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