commit | 1253f76f37189f0bfda7e4a46bfe537f329dc0db | [log] [tgz] |
---|---|---|
author | Izik Eidus <izike@qumranet.com> | Thu Oct 18 11:09:33 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Thu Oct 18 11:56:37 2007 +0200 |
tree | cd747f48ac58a88488a76b325e5df7ff55a57508 | |
parent | 283c5eefd628c754df85434ed2aca079d35aa2aa [diff] |
KVM: Partial swapping of guest memory This allows guest memory to be swapped. Pages which are currently mapped via shadow page tables are pinned into memory, but all other pages can be freely swapped. The patch make gfn_to_page() elevate the page's reference count, and introduces kvm_release_page() that pairs with it. Signed-off-by: Izik Eidus <izike@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com>