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] disable qemu PCI devices in HVM domains

To: "Steven Smith" <steven.smith@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] disable qemu PCI devices in HVM domains
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 16 Dec 2008 22:06:18 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 16 Dec 2008 03:06:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081216102741.GB5668@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <AEC6C66638C05B468B556EA548C1A77D0154FF9F@trantor> <C569370F.20329%keir.fraser@xxxxxxxxxxxxx> <20081215171059.GA2574@xxxxxxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0154FFD5@trantor> <20081216102741.GB5668@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclfaPVyR4IfqFlDQ8e3+W1lSpZTnQABQoUA
Thread-topic: [Xen-devel] disable qemu PCI devices in HVM domains
> > Can you please comment on how the disabling should behave across
> > migration or save/restores? Are the flags retained as part of the
saved
> > state or does the disabling need to happen again once the domain is
> > migrated/restored?
> In the patches I sent, the flags are discarded across migration (so
> all of the emulated devices come back).  Our drivers get in very early
> after the domain is resumed after migration and re-issue the magic
> writes which unplug the devices.  Saving them wouldn't cause us any
> problems, though, so if that's easier for you then feel free to add
> it.

The only time this would not work for me is if the DomU was migrated
from a machine that supported device disabling to one that didn't (eg
didn't have these patches).

Is that even a supported scenario - eg migration between machines
running (even slightly) different versions of code?

James

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

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