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