All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/hvm: Fix HVM guest regression introduced by c58ba78c84
@ 2015-02-04 12:35 Andrew Cooper
  2015-02-04 12:45 ` Jan Beulich
  2015-02-04 12:46 ` Paul Durrant
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Cooper @ 2015-02-04 12:35 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Jan Beulich

The xen event channel for the ioreq server must be targeted at the appropriate
vcpu, so the correct one can be unpaused when IO is completed.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Jan Beulich <JBeulich@suse.com>

---

The cosmetic tweaks were not completely cosmetic.
---
 xen/arch/x86/hvm/hvm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index b03ee4e..4b7792d 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -638,7 +638,7 @@ static int hvm_ioreq_server_add_vcpu(struct hvm_ioreq_server *s,
     {
         struct domain *d = s->domain;
 
-        rc = alloc_unbound_xen_event_channel(v->domain, 0, s->domid, NULL);
+        rc = alloc_unbound_xen_event_channel(v->domain, v->vcpu_id, s->domid, NULL);
         if ( rc < 0 )
             goto fail3;
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-02-04 22:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04 12:35 [PATCH] x86/hvm: Fix HVM guest regression introduced by c58ba78c84 Andrew Cooper
2015-02-04 12:45 ` Jan Beulich
2015-02-04 12:53   ` Paul Durrant
2015-02-04 12:56   ` Andrew Cooper
2015-02-04 13:00     ` Jan Beulich
2015-02-04 13:02       ` Andrew Cooper
2015-02-04 22:01         ` Don Slutz
2015-02-04 12:46 ` Paul Durrant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.