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

Chris Wright
2010-01-30T00:08:38Z

* Zhai, Edwin (edwin.zhai@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 <edwin.zhai@intel.com>

Looks good. For compatibility, an old userspace will zero the padding
and keep the default 0 segment when running w/ a new kernel, a new
userspace won't be able to pass a non-zero segment value to an old
kernel. If that latter bit matters, need a capability to express this
change. Looks like qemu-options.hx needs an update too. Otherwise...

Acked-by: Chris Wright <chrisw@sous-sol.org>