aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-11-16 12:42:35 +0000
committerKeir Fraser <keir@xen.org>2010-11-16 12:42:35 +0000
commit43e7d2b21a0ccfdb23de338987edf3da05d50e22 (patch)
treef44146eb250eb1b9b4a3b61a7ac049248340805c /xen/include/asm-x86/hvm
parent36ba5243d48c10b2fa0717b26e8f3b2e0e26902b (diff)
downloadxen-43e7d2b21a0ccfdb23de338987edf3da05d50e22.tar.gz
xen-43e7d2b21a0ccfdb23de338987edf3da05d50e22.tar.bz2
xen-43e7d2b21a0ccfdb23de338987edf3da05d50e22.zip
x86 hvm: Make a couple of hypercall state flags per-vcpu
This is a prerequisite for allowing guest descheduling within a hypercall. Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/hvm')
-rw-r--r--xen/include/asm-x86/hvm/guest_access.h3
-rw-r--r--xen/include/asm-x86/hvm/vcpu.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/xen/include/asm-x86/hvm/guest_access.h b/xen/include/asm-x86/hvm/guest_access.h
index f401ac9d8d..7a89e81536 100644
--- a/xen/include/asm-x86/hvm/guest_access.h
+++ b/xen/include/asm-x86/hvm/guest_access.h
@@ -1,9 +1,6 @@
#ifndef __ASM_X86_HVM_GUEST_ACCESS_H__
#define __ASM_X86_HVM_GUEST_ACCESS_H__
-#include <xen/percpu.h>
-DECLARE_PER_CPU(bool_t, hvm_64bit_hcall);
-
unsigned long copy_to_user_hvm(void *to, const void *from, unsigned len);
unsigned long copy_from_user_hvm(void *to, const void *from, unsigned len);
diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h
index 1d72ecfc60..682027fffa 100644
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -63,6 +63,9 @@ struct hvm_vcpu {
bool_t debug_state_latch;
bool_t single_step;
+ bool_t hcall_preempted;
+ bool_t hcall_64bit;
+
u64 asid_generation;
u32 asid;