aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/shadow.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/shadow.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/shadow.h')
-rw-r--r--xen/include/asm-x86/shadow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h
index 9e3bcb4caf..1cf2e5041d 100644
--- a/xen/include/asm-x86/shadow.h
+++ b/xen/include/asm-x86/shadow.h
@@ -64,7 +64,7 @@
#define shadow_mode_external(_d) ((_d)->arch.shadow.mode & SHM2_external)
/* Xen traps & emulates all reads of all page table pages:
- *not yet supported
+ * not yet supported
*/
#define shadow_mode_trap_reads(_d) ({ (void)(_d); 0; })
@@ -77,7 +77,7 @@
#ifdef __x86_64__
#define pv_32bit_guest(_v) 0 // not yet supported
#else
-#define pv_32bit_guest(_v) !hvm_guest(v)
+#define pv_32bit_guest(_v) !is_hvm_vcpu(v)
#endif
/* The shadow lock.