Re: [PATCH] vhost-net: fix reversed logic in mask notifiers

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

 



On (Tue) May 25 2010 [17:00:43], Michael S. Tsirkin wrote:
> When guest notifier is assigned, we set mask notifier,
> which will assign kvm irqfd.
> When guest notifier is unassigned, mask notifier is unset,
> which should unassign kvm irqfd.
> 
> The way to do this is to call mask notifier telling it to mask the vector.
> This, unless vector is already masked which unassigns irqfd already.
> 
> The logic in unassign was reversed, which left kvm irqfd assigned.
> 
> This patch is qemu-kvm only as irqfd is not upstream.
> 
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> Reported-by: Amit Shah <amit.shah@xxxxxxxxxx>

Acked-by: Amit Shah <amit.shah@xxxxxxxxxx>

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