Re: [PATCH 5/5] x86/kvm: Add KVM_FEATURE_MSI_EXT_DEST_ID

From: David Woodhouse
Date: Mon Oct 12 2020 - 16:20:55 EST


On Mon, 2020-10-12 at 20:38 +0200, Thomas Gleixner wrote:
> On Mon, Oct 12 2020 at 17:06, David Woodhouse wrote:
> > On Mon, 2020-10-12 at 11:33 +0200, Thomas Gleixner wrote:
> > > You might want to look into using irq_find_matching_fwspec()
> > > instead for
> > > both HPET and IOAPIC. That needs a select() callback implemented
> > > in the
> > > remapping domains.
> >
> > That works.
>
> :)
>
> Nasty, but way better than what we have now.

Want me to send that out in email or is the git tree enough for now?

I've cleaned it up a little and fixed a bug in the I/OAPIC error path.

Still not entirely convinced about the apic->apic_id_valid(32768) thing
but it should work well enough, and doesn't require exporting any extra
state from apic.c that way.

Attachment: smime.p7s
Description: S/MIME cryptographic signature