Re: [PATCH 08/11] Add "wait for page" hypercall.

From: Avi Kivity
Date: Mon Nov 02 2009 - 08:05:21 EST


On 11/01/2009 01:56 PM, Gleb Natapov wrote:
We want to be able to inject async pagefault into guest event if a guest
is not executing userspace code. But in this case guest may receive
async page fault in non-sleepable context. In this case it will be
able to make "wait for page" hypercall vcpu will be put to sleep until
page is swapped in and guest can continue without reschedule.

What's wrong with just 'hlt' and checking in the guest?

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/