diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-10-14 11:22:53 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 11:23:17 +0200 |
commit | 7c90705bf2a373aa238661bdb6446f27299ef489 (patch) | |
tree | d3d00b4413b0d33254d53bbb3285be82444494d9 /samples | |
parent | 631bc4878220932fe67fc46fc7cf7cccdb1ec597 (diff) |
KVM: Inject asynchronous page fault into a PV guest if page is swapped out.
Send async page fault to a PV guest if it accesses swapped out memory.
Guest will choose another task to run upon receiving the fault.
Allow async page fault injection only when guest is in user mode since
otherwise guest may be in non-sleepable context and will not be able
to reschedule.
Vcpu will be halted if guest will fault on the same page again or if
vcpu executes kernel code.
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions