lkml.org 
[lkml]   [2008]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/16 v6] PCI: Linux kernel SR-IOV support
On Sun, Nov 09, 2008 at 02:44:06PM +0200, Avi Kivity wrote:
> Greg KH wrote:
>> It's that "second" part that I'm worried about. How is that going to
>> happen? Do you have any patches that show this kind of "assignment"?
>>
>>
>
> For kvm, this is in 2.6.28-rc.

Where? I just looked and couldn't find anything, but odds are I was
looking in the wrong place :(

> Note there are two ways to assign a device to a guest:
>
> - run the VF driver in the guest: this has the advantage of best
> performance, but requires pinning all guest memory, makes live migration a
> tricky proposition, and ties the guest to the underlying hardware.

Is this what you would prefer for kvm?

> - run the VF driver in the host, and use virtio to connect the guest to the
> host: allows paging the guest and allows straightforward live migration,
> but reduces performance, and hides any features not exposed by virtio from
> the guest.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-11-09 20:31    [from the cache]
©2003-2011 Jasper Spaans