aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/support.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-17 06:27:55 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-17 06:27:55 +0000
commit507c9e76fbb099599f606549f4f31f9cde3d2762 (patch)
tree074cf131a4d2a35680a7644d7d039ef8b9ff0a8c /xen/include/asm-x86/hvm/support.h
parent8992ab0adfe9b708574759383f3798121fdf977c (diff)
downloadxen-507c9e76fbb099599f606549f4f31f9cde3d2762.tar.gz
xen-507c9e76fbb099599f606549f4f31f9cde3d2762.tar.bz2
xen-507c9e76fbb099599f606549f4f31f9cde3d2762.zip
Memory paging support for HVM guest emulation.
A new HVMCOPY return value, HVMCOPY_gfn_paged_out is defined to indicate that a gfn was paged out. This value and PFEC_page_paged, as appropriate, are caught and passed up as X86EMUL_RETRY to the emulator. This will cause the emulator to keep retrying the operation until is succeeds (once the page has been paged in). Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/support.h')
-rw-r--r--xen/include/asm-x86/hvm/support.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/asm-x86/hvm/support.h b/xen/include/asm-x86/hvm/support.h
index a3e41655f3..e98daca937 100644
--- a/xen/include/asm-x86/hvm/support.h
+++ b/xen/include/asm-x86/hvm/support.h
@@ -72,7 +72,8 @@ enum hvm_copy_result {
HVMCOPY_okay = 0,
HVMCOPY_bad_gva_to_gfn,
HVMCOPY_bad_gfn_to_mfn,
- HVMCOPY_unhandleable
+ HVMCOPY_unhandleable,
+ HVMCOPY_gfn_paged_out,
};
/*