ia64/xen-unstable
changeset 18802:7dd722064128
hvm: Fix hvm_vcpu_reset_state() to act on specified domain, rather
than current.
Signed-off-by: Liping Ke <liping.ke@intel.com>
than current.
Signed-off-by: Liping Ke <liping.ke@intel.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Mon Nov 17 15:55:56 2008 +0000 (2008-11-17) |
parents | 17911073a90a |
children | 2604400f75e3 |
files | xen/arch/x86/hvm/hvm.c |
line diff
1.1 --- a/xen/arch/x86/hvm/hvm.c Mon Nov 17 15:54:31 2008 +0000 1.2 +++ b/xen/arch/x86/hvm/hvm.c Mon Nov 17 15:55:56 2008 +0000 1.3 @@ -2122,7 +2122,7 @@ static int hvmop_set_pci_intx_level( 1.4 1.5 void hvm_vcpu_reset_state(struct vcpu *v, uint16_t cs, uint16_t ip) 1.6 { 1.7 - struct domain *d = current->domain; 1.8 + struct domain *d = v->domain; 1.9 struct vcpu_guest_context *ctxt; 1.10 struct segment_register reg; 1.11