Messages in this thread | | | From | Michael Ellerman <> | Subject | [RFC/PATCH] Use kernel supplied MMU info for kvm tool | Date | Tue, 17 Jul 2012 15:00:10 +1000 |
| |
Hi all,
This is a series for kvmtool that uses a newish kernel API to get MMU info, which is then fed to the guest.
Currently we just make a good guess based on the PVR, but that is potentially flakey in a few ways. The most notable is that if you don't specify hugepages we don't boot - because the guest is told we support 16M pages, but we don't really (on HV).
I've tested this with 4K/64K host page size, and with hugepages, on both 3.4 and 3.5 based host kernels. I've also given it a quick smoke test with PR KVM, and it seems to work.
I'm seeing a guest crash with a 4K host kernel, but I think that is unrelated, and happens with or without this patch series.
cheers
| |