Re: [Xen-devel] [PATCH V3 25/29] x86/vmsi: Hook delivering remapping format msi to guest

2017-10-19 Thread Jan Beulich
>>> On 19.10.17 at 18:07, wrote: > On Thu, Sep 21, 2017 at 11:02:06PM -0400, Lan Tianyu wrote: >> diff --git a/xen/drivers/passthrough/io.c b/xen/drivers/passthrough/io.c >> index 6196334..349a8cf 100644 >> --- a/xen/drivers/passthrough/io.c >> +++ b/xen/drivers/passthrough/io.c >> @@ -942,21 +942

Re: [Xen-devel] [PATCH V3 25/29] x86/vmsi: Hook delivering remapping format msi to guest

2017-10-19 Thread Roger Pau Monné
On Thu, Sep 21, 2017 at 11:02:06PM -0400, Lan Tianyu wrote: > diff --git a/xen/drivers/passthrough/io.c b/xen/drivers/passthrough/io.c > index 6196334..349a8cf 100644 > --- a/xen/drivers/passthrough/io.c > +++ b/xen/drivers/passthrough/io.c > @@ -942,21 +942,20 @@ static void __msi_pirq_eoi(struct

[Xen-devel] [PATCH V3 25/29] x86/vmsi: Hook delivering remapping format msi to guest

2017-09-22 Thread Lan Tianyu
From: Chao Gao In two situations, hypervisor delivers a msi to a hvm guest. One is when qemu sends a request to hypervisor through XEN_DMOP_inject_msi. The other is when a physical interrupt arrives and it has been bound to a guest msi. For the former, the msi is routed to common vIOMMU layer if