Re: [PATCH 7/8] KVM: assigned dev: Introduce io_device for MSI-X MMIO accessing

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

 



On Wed, Oct 20, 2010 at 11:46:47AM +0200, Avi Kivity wrote:
> >+		/* Only allow entry modification when entry was masked */
> >+		if (!entry_masked) {
> >+			printk(KERN_WARNING
> >+				"KVM: guest try to write unmasked MSI-X entry. "
> >+				"addr 0x%llx, len %d, val 0x%lx\n",
> >+				addr, len, new_val);
> >+			r = 0;
> 
> What does the spec says about this situation?

That it's not allowed.  However, existing userspace changes entries that
kvm thinks are unmasked, because it does not know how to tell kvm about
mask bits, so we need to keep supporting this.


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