aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/support.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-02-28 14:44:52 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-02-28 14:44:52 +0000
commita227a47981290ec9b8c27c964c59bec96453332f (patch)
tree2f0a409273126fb4973c8a91de7af2f356db2a06 /xen/include/asm-x86/hvm/support.h
parent82972d6f109ae72753459fb671a8f729e65767c4 (diff)
downloadxen-a227a47981290ec9b8c27c964c59bec96453332f.tar.gz
xen-a227a47981290ec9b8c27c964c59bec96453332f.tar.bz2
xen-a227a47981290ec9b8c27c964c59bec96453332f.zip
hvm: Only do hvm_disable() on HVM-enabled systems.
Original patch by Jan Beulich. 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.h1
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 6e43a0301c..d8930ed3c0 100644
--- a/xen/include/asm-x86/hvm/support.h
+++ b/xen/include/asm-x86/hvm/support.h
@@ -258,6 +258,7 @@ extern char hvm_io_bitmap[];
extern int hvm_enabled;
void hvm_enable(struct hvm_function_table *);
+void hvm_disable(void);
int hvm_copy_to_guest_phys(paddr_t paddr, void *buf, int size);
int hvm_copy_from_guest_phys(void *buf, paddr_t paddr, int size);