diff options
author | Tim Deegan <Tim.Deegan@xensource.com> | 2007-01-29 16:49:29 +0000 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@xensource.com> | 2007-01-29 16:49:29 +0000 |
commit | a1f771048a73be69a3aa886814b504a56b8f3d15 (patch) | |
tree | 3e1d3ccbb3102891c79e55f3eb022e21f7035152 /xen/include/asm-x86/hvm/support.h | |
parent | 80777c3aae7011f0230d5b023fffeda51c4bb136 (diff) | |
download | xen-a1f771048a73be69a3aa886814b504a56b8f3d15.tar.gz xen-a1f771048a73be69a3aa886814b504a56b8f3d15.tar.bz2 xen-a1f771048a73be69a3aa886814b504a56b8f3d15.zip |
[HVM] Save/restore cleanups: don't save state for downed vcpus.
(Since we wouldn't load it anyway)
Also tidy up the plumbing around the hypercalls.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/support.h')
-rw-r--r-- | xen/include/asm-x86/hvm/support.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xen/include/asm-x86/hvm/support.h b/xen/include/asm-x86/hvm/support.h index 2d15019bb7..f474756d97 100644 --- a/xen/include/asm-x86/hvm/support.h +++ b/xen/include/asm-x86/hvm/support.h @@ -242,11 +242,8 @@ static inline void hvm_get_buffer(hvm_domain_context_t *h, char *buf, int len) #define hvm_get_struct(_h, _p) \ hvm_get_buffer((_h), (char *)(_p), sizeof(*(_p))) -int hvm_save(struct vcpu*, hvm_domain_context_t *h); -int hvm_load(struct vcpu*, hvm_domain_context_t *h); - -int arch_sethvm_ctxt(struct vcpu *v, struct hvm_domain_context *c); -int arch_gethvm_ctxt(struct vcpu *v, struct hvm_domain_context *c); +int hvm_save(struct domain *d, hvm_domain_context_t *h); +int hvm_load(struct domain *d, hvm_domain_context_t *h); void shpage_init(struct domain *d, shared_iopage_t *sp); |