path: root/virt/kvm/async_pf.h
AgeCommit message (Collapse)AuthorLines
2015-06-19KVM: fix errors in kvm/async_pf.hKevin Mulvey-2/+2
fix brace spacing Signed-off-by: Kevin Mulvey <> Signed-off-by: Paolo Bonzini <>
2011-01-12KVM: Halt vcpu if page it tries to access is swapped outGleb Natapov-0/+36
If a guest accesses swapped out memory do not swap it in from vcpu thread context. Schedule work to do swapping and put vcpu into halted state instead. Interrupts will still be delivered to the guest and if interrupt will cause reschedule guest will continue to run another task. [avi: remove call to get_user_pages_noio(), nacked by Linus; this makes everything synchrnous again] Acked-by: Rik van Riel <> Signed-off-by: Gleb Natapov <> Signed-off-by: Marcelo Tosatti <>