aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/regs.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-01 16:08:19 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-01 16:08:19 +0000
commit3f4c0e0087ee9b695653604450d5de3af01ce99f (patch)
tree7aac98b819f7dbd4b632e59347f86b5d73e059d6 /xen/include/asm-x86/regs.h
parent54ab7bfb1a72ed3c74e3867e265867e3f9b9c7d8 (diff)
downloadxen-3f4c0e0087ee9b695653604450d5de3af01ce99f.tar.gz
xen-3f4c0e0087ee9b695653604450d5de3af01ce99f.tar.bz2
xen-3f4c0e0087ee9b695653604450d5de3af01ce99f.zip
[HVM] HVM is now a flag parameter to domain-creation hypercall.
This cleans up HVM start-of-day in Xen and means that the HVM status of a domain is maintained from cradle to grave. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/regs.h')
-rw-r--r--xen/include/asm-x86/regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/regs.h b/xen/include/asm-x86/regs.h
index 8ba10c4722..48f8b86c85 100644
--- a/xen/include/asm-x86/regs.h
+++ b/xen/include/asm-x86/regs.h
@@ -39,7 +39,7 @@ enum EFLAGS {
/* If a guest frame, it must be have guest privs (unless HVM guest). */ \
/* We permit CS==0 which can come from an uninitialised trap entry. */ \
ASSERT((diff != 0) || vm86_mode(r) || ((r->cs&3) >= GUEST_KERNEL_RPL) || \
- (r->cs == 0) || hvm_guest(current)); \
+ (r->cs == 0) || is_hvm_vcpu(current)); \
/* If not a guest frame, it must be a hypervisor frame. */ \
ASSERT((diff == 0) || (!vm86_mode(r) && (r->cs == __HYPERVISOR_CS))); \
/* Return TRUE if it's a guest frame. */ \