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] pci passthrough and live migration

To: Tommy <thfbjhkhtdx@xxxxxxxxx>
Subject: Re: [Xen-devel] pci passthrough and live migration
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Tue, 25 Oct 2011 15:33:19 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 25 Oct 2011 12:34:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EA66636.30400@xxxxxxxxx>
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: <4EA66636.30400@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Oct 25, 2011 at 03:33:10PM +0800, Tommy wrote:
> Hello, everybody!
> 
> I've done some research on Xenlive migration recently.

XenLive? What is that? Oh, is that the CentOS4..
> 
> I've checked the maillist for pci passthrough and live migration, I
> can't figure out the current progress on them.

Did you check the Wiki?
> 
> Does Xen support live migration with pci passthrough? How about that
> with vga passthrough?

You can do it with SR-IOV, but normal PCI passthrough would not work that well.

> 
> If it is supported now, what extra configurations do I need?

It definitly is supported in the kernel.. you need to use 'pci-attach'
command and hardware that can do IOMMU if you want to do it with HVM.

If you want to do with PV, you need to pass 'iommu=soft' on the Linux
command line.


However, before the migration, you _must_ hot-unplug the pci-device - you
can use 'pci-detach' and then on the other end do 'pci-attach'.

I am not sure if the tools do this automatically but they might.
> 
> If not, could anyone give some ideas on what is the main difficulties
> for it?
> 
> At last, does anyone have some documents about this area?

Just search for SR-IOV and Xen.
> 
> Thanks!
> 
> 
> -- 
> 
> Yours Sincerely!
> 
> 

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


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

<Prev in Thread] Current Thread [Next in Thread>