Sheng Yang wrote:
On Sunday 23 November 2008 20:28:21 Avi Kivity wrote:
Sheng Yang wrote:
This framework can be easily extended to support device capability, like
MSI/MSI-x.
At least some of this should go into pci.c, so non-assigned devices can
benefit.

So you means a capability configuration space for native QEmu? Yeah, that's reasonable if we can emulate them. :)

Sure, msi injection should be easy both for the qemu apic and with the kvm apic.

 static void assigned_dev_pci_write_config(PCIDevice *d, uint32_t
address, uint32_t val, int len) {
     int fd;
     ssize_t ret;
+    AssignedDevice *pci_dev = (AssignedDevice *)d;
container_of()

Oops, I just think QEmu don't have this macro...

qemu/osdep.h.

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