qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH] pci: disable migration of p2p bridge


From: Isaku Yamahata
Subject: Re: [Qemu-devel] Re: [PATCH] pci: disable migration of p2p bridge
Date: Wed, 22 Dec 2010 17:00:45 +0900
User-agent: Mutt/1.5.19 (2009-01-05)

On Wed, Dec 22, 2010 at 08:27:17AM +0200, Michael S. Tsirkin wrote:
> On Wed, Dec 22, 2010 at 12:13:43PM +0900, Isaku Yamahata wrote:
> > Right now pcibus_get_dev_path() isn't migration save because
> > bus number/secondary bus number are set by guest OS.
> > So it can't be used reliably for qemu internal id.
> > 
> > For 0.14 release, disable p2p bridge migration at the moment.
> > Once pcibus_get_dev_path() is fixed, this patch should be reverted.
> > It will be addressed for 0.15 release.
> > 
> > Cc: "Michael S. Tsirkin" <address@hidden>
> > Cc: Alex Williamson <address@hidden>
> > Cc: Blue Swirl <address@hidden>
> > Signed-off-by: Isaku Yamahata <address@hidden>
> 
> 
> Hmm, haven't looked into this deeply - can we do this in one place
> when the bridge is created?

Unfortunately it's not easy. It requires revising
register_device_unmigratable(). I have to admit this patch is ugly. 

This patch is temporal work around and should be reverted eventually.
So I think it is better to address the original issue (allowing migration
of p2p bridge) instead of addressing register_device_unmigratable().

thanks
-- 
yamahata



reply via email to

[Prev in Thread] Current Thread [Next in Thread]