Fabrice Bellard wrote:
This patchset can work without kvm (although not tested). It can do so using a kernel module that forwards irqs to userspace. I'm not sure it will make it into Linux kernel since it allows userspace irq handling. We actually try to convert the current patch to our in-kernel apic version that won't forward irqs to userspace and hence won't work without kvm. If you're interested in pass through to qemu/kqemuHi, Some remarks: - rename the option to -pcidevice. - Remove the directory passthrough and put the file directly in hw/. Rename the file to something more explicit such as pci_passthrough* - Suppress the files passthrough.h and neo_pci_tree.h - pt_init should be called only if there are really devices. Moreover the code should be disabled for non Linux hosts. Can this support work if KVM is not used for CPU emulation ? Can it work for non x86 targets ?
(seems like a cool feature) we can try to support both. Dor.
Regards, Fabrice. Amit Shah wrote: > This patch introduces support for device passthrough > from the host to a paravirtualized guest. > > A new command-line option, -passthrough is added. > For example, to invoke it for an Ethernet device sitting at > PCI bus:dev.fn 04:08.0 with host IRQ 18, use this: > > -passthrough Ethernet/04:08.0-18 > > The host driver is to be removed before doing the passthrough. >
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel