[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 27/30] x86/msixtbl: disable MSI-X intercepts for domains without an ioreq server
>>> On 27.09.16 at 17:57, <roger.pau@xxxxxxxxxx> wrote: > The current msixtbl intercepts only partially trap MSI-X accesses, but are > not complete, there's missing logic in order to setup PIRQs and bind them to > domains. Disable them for domains without at least an ioreq server (PVH). So what if a server registers later on? > --- a/xen/arch/x86/hvm/ioreq.c > +++ b/xen/arch/x86/hvm/ioreq.c > @@ -772,6 +772,17 @@ int hvm_destroy_ioreq_server(struct domain *d, > ioservid_t id) > return rc; > } > > +int hvm_has_ioreq_server(struct domain *d) bool > +{ > + int empty; bool > --- a/xen/drivers/passthrough/io.c > +++ b/xen/drivers/passthrough/io.c > @@ -24,6 +24,7 @@ > #include <asm/hvm/irq.h> > #include <asm/hvm/support.h> > #include <xen/hvm/irq.h> > +#include <asm/hvm/ioreq.h> > #include <asm/io_apic.h> Please group with the other asm/hvm/ ones. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |