[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 28/30] xen/x86: add MSI-X emulation to PVHv2 Dom0
>>> On 27.09.16 at 17:57, <roger.pau@xxxxxxxxxx> wrote: > --- a/xen/arch/x86/hvm/vmsi.c > +++ b/xen/arch/x86/hvm/vmsi.c > @@ -40,6 +40,7 @@ > #include <asm/current.h> > #include <asm/event.h> > #include <asm/io_apic.h> > +#include <asm/p2m.h> > > static void vmsi_inj_irq( > struct vlapic *target, > @@ -1162,3 +1163,500 @@ struct hvm_pt_handler_init hvm_pt_msi_init = { > .handlers = vmsi_handler, > .init = vmsi_group_init, > }; > + > +/* MSI-X */ This comment is misleading - the entire file deals with MSI-X only. Other than that I'm as frightened here of the code lifted from qemu as I have expressed already on the earlier patches, and I'd really like to understand better why all this is needed when it wasn't needed for PVHv1, when so far I had understood that it's mainly boot and AP bringup (as documented in hvmlite.markdown) which makes up the difference between them. And just to avoid misunderstandings - I'm all for replacing hacked up bits of the v1 implementation, but I don't think transplanting the other half of the split brain qemu/Xen model into Xen will result in a single, well functioning brain. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |