Yang, Sheng wrote:
2. shared guest pci interrupts

That's a correctness issue.  No matter how many interrupts we have, we
may have sharing issues.  Of course with only three the issue is very
pressing since we will get sharing with just a few devices.  Currently
if two assigned devices share a guest interrupts, or if an emulated
device shares an interrupt with an assigned device, things will break.

They need to be fixed independently.

About the second issue, I don't understand how it would break... Would you please give more details on this? It's a QEmu bug or IOAPIC bug?

It's a kernel bug.

Both the device assignment code and KVM_SET_IRQ ioctl() call kvm_set_irq(), so the last one wins. We need logical-OR mixing between the various sources. Just like pci_set_irq() in qemu, only for the kernel.

Userspace is one source, each assigned device irq is a separate source.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to