[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] hvm: Fix hvm_vcpu_reset_state() to act on specified domain, rather
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1226937356 0 # Node ID 7dd7220641285076bc6894221b9d8ac46d5e922a # Parent 17911073a90a09c0dd781c2f09368d2d8b4c883e hvm: Fix hvm_vcpu_reset_state() to act on specified domain, rather than current. Signed-off-by: Liping Ke <liping.ke@xxxxxxxxx> --- xen/arch/x86/hvm/hvm.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 17911073a90a -r 7dd722064128 xen/arch/x86/hvm/hvm.c --- a/xen/arch/x86/hvm/hvm.c Mon Nov 17 15:54:31 2008 +0000 +++ b/xen/arch/x86/hvm/hvm.c Mon Nov 17 15:55:56 2008 +0000 @@ -2122,7 +2122,7 @@ static int hvmop_set_pci_intx_level( void hvm_vcpu_reset_state(struct vcpu *v, uint16_t cs, uint16_t ip) { - struct domain *d = current->domain; + struct domain *d = v->domain; struct vcpu_guest_context *ctxt; struct segment_register reg; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |