WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Question about SR-IOV migration

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Question about SR-IOV migration
From: software NJU <njudroid@xxxxxxxxx>
Date: Wed, 2 Nov 2011 21:27:41 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Nov 2011 06:28:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1WBPmehh+6s+f+BsCpiqFvcbcRP82J/i4YJMviNAcUM=; b=Djkb1bcVPNwcqUdPapnoKUXSAaFxse/a/zFC8ln4pfWGVKMDkUTX3ZWSIKvu3DKvYd 0jl005m9nD4VZPTQram97pNBuPHGRi96usd3uqrk8ZJd0MTi4RaKcUiYN20FxEGZzve6 TEVc3ADDltealHQacVxq2Gm+tbLdYpLx42zsw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1320238119.3084.43.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <CAP31Ad=0YjZPkwRdunbkETtdcsDWktq4m2m+JEuoQq7Zp8GoyA@xxxxxxxxxxxxxx> <1320238119.3084.43.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for your quick reply and great solution. 
However, I'm still not sure one thing: Do you mean that live migration is impossible because of hardware limitation? I'm reading the SR-IOV specification now. And it mentioned that a VF can migrate to another system through some kind of methods. But the migration may need the support of MR-IOV.
What do you think of the saying in the specification? I'm not sure what the migration is in the specification.

regards, 

2011/11/2 Ian Campbell <Ian.Campbell@xxxxxxxxxx>
On Wed, 2011-11-02 at 06:07 -0400, software NJU wrote:
> Hello,
>   Can HVM using SR-IOV live-migrate to the other Host and still in
> SR-IOV?
>   If SR-IOV can, does Xen support it now? And if so, where is the code
> for it.

It is not possible to live migrate a guest which has a PCI device passed
through to it.

However you can use PCI hotplug to unplug a device right before
migration and reintroduce another (possibly even different) device at
the other end. This requires hotplug to be correctly configured in your
guest to load the right drivers etc in response to hotplug events.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>