Re: [kvm-ppc-devel] RFC/patch portability: split kvm_vm_ioctl v2

Avi Kivity
2007-10-26T08:12:53Z

Hollis Blanchard wrote:
> On Fri, 2007-10-26 at 00:12 +0200, Izik Eidus wrote:
>
>> ok i was thinking,
>> maybe we can rewrite the way kvm hold memory so more code would be shared,
>> lets say we throw away all the slots and arch depended stuff, and we let kvm
>> just hold the userspace allocated memory address,
>>
>
> With that approach, how would you create a sparse (guest physical)
> memory map in userspace? I guess you would need to use repeated
> mmap(MAP_FIXED), and that's starting to look very brittle.
>
>

It can't work on i386 due to the limited host virtual address space.

--
error compiling committee.c: too many arguments to function