diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-05 14:29:18 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-05 14:29:18 +0100 |
commit | aeb2e1298b7f7e3bddc3f34a53928e3a445019a1 (patch) | |
tree | 92d5e995a6737ba5802cdde1647c9818e7682b8e /xen/include/asm-x86/hvm/support.h | |
parent | d222ec47c364c03cee474967d9977fea5571d2a8 (diff) | |
download | xen-aeb2e1298b7f7e3bddc3f34a53928e3a445019a1.tar.gz xen-aeb2e1298b7f7e3bddc3f34a53928e3a445019a1.tar.bz2 xen-aeb2e1298b7f7e3bddc3f34a53928e3a445019a1.zip |
PV-on-HVM: Add new ioreq 'invalidate' for zapping ioemu-dm mapccahe
after balloon operations in an HVM guest.
This removes the I/O port hack from the guest OS, and from ioemu.
Also we flush on reservation *increases* as well as decreases. This is
necessary until qemu-dm can demand-fault page mappings into existing
valid buckets.
Signed-off-by: Steven Hand <steven@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/support.h')
-rw-r--r-- | xen/include/asm-x86/hvm/support.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/support.h b/xen/include/asm-x86/hvm/support.h index 9880f920a0..1d331ef5da 100644 --- a/xen/include/asm-x86/hvm/support.h +++ b/xen/include/asm-x86/hvm/support.h @@ -228,6 +228,9 @@ int hvm_copy_from_guest_virt(void *buf, unsigned long vaddr, int size); void hvm_print_line(struct vcpu *v, const char c); void hlt_timer_fn(void *data); +#define HVM_HCALL_completed 0 /* hypercall completed - no further action */ +#define HVM_HCALL_preempted 1 /* hypercall preempted - re-execute VMCALL */ +#define HVM_HCALL_invalidate 2 /* invalidate ioemu-dm memory cache */ int hvm_do_hypercall(struct cpu_user_regs *pregs); void hvm_hlt(unsigned long rflags); |