KVM: Add a might_sleep() annotation to gfn_to_page()
authorAvi Kivity <avi@qumranet.com>
Sun, 21 Oct 2007 09:03:36 +0000 (11:03 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:55 +0000 (17:52 +0200)
commit60395224d94945544f1f9dce5566981844bf0e77
treed86339167d7bfbd5c62bc85c27679c0b8639a2e4
parente00c8cf29b9798eb9918469b0cce1766e0ae40d7
KVM: Add a might_sleep() annotation to gfn_to_page()

This will help trap accesses to guest memory in atomic context.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c