|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT) |
Date: | Wed, 21 May 2008 19:45:24 +0300 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080501) |
Anthony Liguori wrote:
Actually, this is precisely what I'd like to do. The key is to mmap(MAP_PRIVATE) from the underling file directly into the guest's memory. Should be just as applicable to QEMU as KVM (although for KVM we need mmu-notifiers first).
mmap()ing a page at a time will generate a horribly long vma list. You need nonlinear mappings for this to be efficient.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |