[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough



On Thu, Mar 05, 2009 at 08:57:20PM +1100, Simon Horman wrote:
> On Thu, Mar 05, 2009 at 05:31:15PM +0800, Jiang, Yunhong wrote:
> > xen-devel-bounces@xxxxxxxxxxxxxxxxxxx <> wrote:
> > > On 05/03/2009 09:05, "Simon Horman" <horms@xxxxxxxxxxxx> wrote:
> > > 
> > >> * I have not accounted for MSI devices/functions at this time,
> > >>   but my understanding is that they don't need a GSI at all.
> > >>   So it should be just a matter of giving them a device
> > >>   and making sure nothing else uses it.
> > > 
> > > Depending on how critical your
> > > no-sharing-between-passthru-devices is, you
> > > might need to be careful with this. Just because a device is MSI-capable
> > > doesn't mean the guest OS will use it (I don't know how common
> > > that would be
> > 
> > I think most OS will support a option to disable MSI, like Vista or Linux.
> 
> So it is entirely possible that MSI won't be used on an MSI-capable
> function?  Is this true of SR-IOV (virtual) functions too?

Thinking more. One of the arguments surounding why 32 GSI is enough,
is that systems with more functions than that can reasonably be
expected to be using MSI. And thus will not actually use more than 32 GSI.

I agree with that argument. But in terms of reserving GSI, it seems to
break down if we can never know if a function will actually use MSI, and
thus need to reserve a GSI just in case.

Perhaps this is a case of find a real-world example and then
we will worry about it?

Or perhaps hints are required from xend and in turn the user - its ok, MSI
will be used for this function, so there is no need to reserve a GSI for it.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.