Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-09 Thread Avi Kivity
Yang, Sheng wrote: Patches 2 and 3 of the patchset that enables SR/IOV in kvm [1] suggest that at the config space is only partially implemented. [1] http://thread.gmane.org/gmane.comp.emulators.kvm.devel/29034 Hi Avi For kernel side, patch 2 is not necessary. Because kernel would read

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-09 Thread Yu Zhao
On Sat, Mar 07, 2009 at 10:34:54AM +0800, Greg KH wrote: On Fri, Mar 06, 2009 at 12:44:11PM -0700, Matthew Wilcox wrote: Physical Function driver patches for Intel 82576 NIC are available: http://patchwork.kernel.org/patch/8063/ http://patchwork.kernel.org/patch/8064/

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-08 Thread Avi Kivity
Matthew Wilcox wrote: On Tue, Feb 24, 2009 at 12:47:38PM +0200, Avi Kivity wrote: Do those patches allow using a VF on the host (in other words, does the kernel emulate config space accesses)? SR-IOV hardware handles config space accesses to virtual functions. No kernel changes

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-08 Thread Matthew Wilcox
On Sun, Mar 08, 2009 at 04:30:16PM +0200, Avi Kivity wrote: Matthew Wilcox wrote: On Tue, Feb 24, 2009 at 12:47:38PM +0200, Avi Kivity wrote: Do those patches allow using a VF on the host (in other words, does the kernel emulate config space accesses)? SR-IOV hardware handles config space

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-08 Thread Greg KH
On Sun, Mar 08, 2009 at 09:01:09AM -0600, Matthew Wilcox wrote: On Sun, Mar 08, 2009 at 04:30:16PM +0200, Avi Kivity wrote: Matthew Wilcox wrote: On Tue, Feb 24, 2009 at 12:47:38PM +0200, Avi Kivity wrote: Do those patches allow using a VF on the host (in other words, does the kernel

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-08 Thread Yang, Sheng
On Sunday 08 March 2009 22:30:16 Avi Kivity wrote: Matthew Wilcox wrote: On Tue, Feb 24, 2009 at 12:47:38PM +0200, Avi Kivity wrote: Do those patches allow using a VF on the host (in other words, does the kernel emulate config space accesses)? SR-IOV hardware handles config space

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-08 Thread Yang, Sheng
On Monday 09 March 2009 11:42:05 Yang, Sheng wrote: On Sunday 08 March 2009 22:30:16 Avi Kivity wrote: Matthew Wilcox wrote: On Tue, Feb 24, 2009 at 12:47:38PM +0200, Avi Kivity wrote: Do those patches allow using a VF on the host (in other words, does the kernel emulate config space

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-06 Thread Matthew Wilcox
On Tue, Feb 24, 2009 at 12:47:38PM +0200, Avi Kivity wrote: Do those patches allow using a VF on the host (in other words, does the kernel emulate config space accesses)? SR-IOV hardware handles config space accesses to virtual functions. No kernel changes needed for that aspect of it. --

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-06 Thread Matthew Wilcox
On Fri, Feb 20, 2009 at 02:54:41PM +0800, Yu Zhao wrote: Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which will benefit KVM and achieve other

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-03-06 Thread Greg KH
On Fri, Mar 06, 2009 at 12:44:11PM -0700, Matthew Wilcox wrote: Physical Function driver patches for Intel 82576 NIC are available: http://patchwork.kernel.org/patch/8063/ http://patchwork.kernel.org/patch/8064/ http://patchwork.kernel.org/patch/8065/

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-02-24 Thread Avi Kivity
Yu Zhao wrote: Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which will benefit KVM and achieve other purposes such as QoS, security,

Re: [PATCH v10 0/7] PCI: Linux kernel SR-IOV support

2009-02-24 Thread Yu Zhao
On Tue, Feb 24, 2009 at 06:47:38PM +0800, Avi Kivity wrote: Yu Zhao wrote: Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which