Re: [PATCH] device-assignment: Don't deassign when the assignment fails

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

 



On Thu, Jun 10, 2010 at 10:20:15AM -0600, Alex Williamson wrote:
> The last thing assign_device() does is call into KVM_ASSIGN_PCI_DEVICE.
> If that fails, the device is not assigned, so we shouldn't then try to
> deassign it.  If you try to assign the same device multiple times, you
> can get into a nasty fail-succeed-fail-succeed loop.  And we certainly
> shouldn't take the assigned_out branch before we've even attempted
> to assign the device.
> 
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>

Applied, thanks.

--
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