On Sun, May 17, 2009 at 08:00:40PM +0300, Avi Kivity wrote: > Anthony Liguori wrote: >> From: Joerg Roedel <joerg.roe...@amd.com> >> >> The current method of finding out the size of huge pages does not work >> reliably anymore. Current Linux supports more than one huge page size >> but /proc/meminfo only show one of the supported sizes. >> To find out the real page size used can be found by calling statfs. This >> patch changes qemu to use statfs instead of parsing /proc/meminfo. >> > > Since we don't support 1GBpages in stable-0.10, this is unneeded.
This patch is needed to run current KVM on a hugetlbfs backed with 1GB pages. Therefore I think this patch is needed. It is an improvement over the /proc/meminfo parsing anyway and is not strictly related to kvm kernel support for 1GB pages. Joerg -- | Advanced Micro Devices GmbH Operating | Karl-Hammerschmidt-Str. 34, 85609 Dornach bei München System | Research | Geschäftsführer: Thomas M. McCoy, Giuliano Meroni Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München | Registergericht München, HRB Nr. 43632 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html