Re: [PATCH] device-assignment: fix failure to exit on shared IRQ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Alex Williamson (alex.williamson@xxxxxxxxxx) wrote:
> Since c1699988, piix config space isn't programmed until the first
> system reset.  This means that when we call assign_irq() from
> assigned_initfn(), we're going to get back an irq of 0x0, which
> unfortunately matches our initialization value, so we don't bother
> to call kvm_assign_irq().  Switch to a -1 initializer so we can
> test whether kvm_assign_irq() is going to succeed and allow the
> process to exit if it doesn't.  The guest irq will get reset to a
> more appropriate value on system reset anyway.
> 
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>

Acked-by: Chris Wright <chrisw@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux