diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-12-17 06:27:56 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-12-17 06:27:56 +0000 |
commit | 3e3ccc354377859506ad948df84572813204c99c (patch) | |
tree | afd84dd673b7dd062f83a15cdab332a84b6555a6 /xen/include/asm-x86/hvm/support.h | |
parent | af909e7e16dd67452bde91bb71c8111c95c43983 (diff) | |
download | xen-3e3ccc354377859506ad948df84572813204c99c.tar.gz xen-3e3ccc354377859506ad948df84572813204c99c.tar.bz2 xen-3e3ccc354377859506ad948df84572813204c99c.zip |
The internal Xen x86 emulator is fixed to handle shared/sharable pages corretly.
If pages cannot be unshared immediately (due to lack of free memory required to
create private copies) the VCPU under emulation is paused, and the emulator
returns X86EMUL_RETRY, which will get resolved after some memory is freed back
to Xen (possibly through host paging).
Signed-off-by: Grzegorz Milos <Grzegorz.Milos@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/support.h')
-rw-r--r-- | xen/include/asm-x86/hvm/support.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/support.h b/xen/include/asm-x86/hvm/support.h index e98daca937..6d64927868 100644 --- a/xen/include/asm-x86/hvm/support.h +++ b/xen/include/asm-x86/hvm/support.h @@ -74,6 +74,7 @@ enum hvm_copy_result { HVMCOPY_bad_gfn_to_mfn, HVMCOPY_unhandleable, HVMCOPY_gfn_paged_out, + HVMCOPY_gfn_shared, }; /* |