From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tommy Subject: pci passthrough and live migration Date: Tue, 25 Oct 2011 15:33:10 +0800 Message-ID: <4EA66636.30400@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0076779933==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0076779933== Content-Type: multipart/alternative; boundary="------------030009030608090509080008" This is a multi-part message in MIME format. --------------030009030608090509080008 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Hello, everybody! I've done some research on Xenlive migration recently. I've checked the maillist for pci passthrough and live migration, I can't figure out the current progress on them. Does Xen support live migration with pci passthrough? How about that with vga passthrough? If it is supported now, what extra configurations do I need? 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? Thanks! -- Yours Sincerely! --------------030009030608090509080008 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: 8bit

Hello, everybody!

 

I've done some research on Xen live migration recently.

 

I've checked the maillist for pci passthrough and live migration, I can't figure out the current progress on them.

 

Does Xen support live migration with pci passthrough? How about that with vga passthrough?

 

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

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?

 

Thanks!


--

Yours Sincerely!


--------------030009030608090509080008-- --===============0076779933== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0076779933==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: pci passthrough and live migration Date: Tue, 25 Oct 2011 15:33:19 -0400 Message-ID: <20111025193319.GA13068@phenom.dumpdata.com> References: <4EA66636.30400@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4EA66636.30400@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tommy Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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@lists.xensource.com > http://lists.xensource.com/xen-devel