Re: [PATCH] enable PCI multiple-segments for pass-through device

2010-02-01 Thread Chris Wright
* Zhai, Edwin (edwin.z...@intel.com) wrote: > Jan Kiszka wrote: >> Marcelo Tosatti wrote: >> >>> Applied, thanks. >>> >>> Please send one patch per email, with patch inlined, in the future. >>> >> >> This commit doesn't build without KVM_CAP_PCI_SEGMENT, please fix. > > What does it me

Re: [PATCH] enable PCI multiple-segments for pass-through device

2010-02-01 Thread Zhai, Edwin
Jan Kiszka wrote: Marcelo Tosatti wrote: Applied, thanks. Please send one patch per email, with patch inlined, in the future. This commit doesn't build without KVM_CAP_PCI_SEGMENT, please fix. Jan, What does it mean? Can we update all files except the "kvm.h"? Thanks,

Re: [PATCH] enable PCI multiple-segments for pass-through device

2010-02-01 Thread Jan Kiszka
Marcelo Tosatti wrote: > On Mon, Feb 01, 2010 at 05:22:47PM +0800, Zhai, Edwin wrote: >> Wright, >> Thanks for your comments. I have updated the qemu-options.hx and used >> following new CAP. Updated version is also attached. > > Applied, thanks. > > Please send one patch per email, with patch in

Re: [PATCH] enable PCI multiple-segments for pass-through device

2010-02-01 Thread Marcelo Tosatti
On Mon, Feb 01, 2010 at 05:22:47PM +0800, Zhai, Edwin wrote: > Wright, > Thanks for your comments. I have updated the qemu-options.hx and used > following new CAP. Updated version is also attached. Applied, thanks. Please send one patch per email, with patch inlined, in the future. -- To unsubsc

Re: [PATCH] enable PCI multiple-segments for pass-through device

2010-02-01 Thread Zhai, Edwin
Wright, Thanks for your comments. I have updated the qemu-options.hx and used following new CAP. Updated version is also attached. Index: qemu-kvm/hw/device-assignment.c === --- qemu-kvm.orig/hw/device-assignment.c +++ qemu-kvm/hw/de

Re: [PATCH] enable PCI multiple-segments for pass-through device

2010-01-29 Thread Chris Wright
* Zhai, Edwin (edwin.z...@intel.com) wrote: > These 2 patches enable optional parameter(default 0) - PCI segment(or > domain) besides BDF, when assigning PCI device to guest. > > Signed-off-by: Zhai Edwin Looks good. For compatibility, an old userspace will zero the padding and keep the defaul

[PATCH] enable PCI multiple-segments for pass-through device

2010-01-28 Thread Zhai, Edwin
These 2 patches enable optional parameter(default 0) - PCI segment(or domain) besides BDF, when assigning PCI device to guest. Signed-off-by: Zhai Edwin -- best rgds, edwin Index: linux-2.6/virt/kvm/assigned-dev.c === --- linux-