From: Andrew Cooper Subject: [PATCH] x86/hvm: Fix HVM guest regression introduced by c58ba78c84 Date: Wed, 4 Feb 2015 12:35:12 +0000 Message-ID: <1423053312-23666-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Andrew Cooper , Jan Beulich List-Id: xen-devel@lists.xenproject.org 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 CC: Jan Beulich --- 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