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] [PATCH 5 of 6] unplug emulated devices

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 5 of 6] unplug emulated devices
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Fri, 23 Apr 2010 16:32:56 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 23 Apr 2010 08:32:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100422210243.GL31220@xxxxxxxxxxxxxxxxxxx>
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: <alpine.DEB.2.00.1004221609250.11380@kaball-desktop> <20100422210243.GL31220@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Thu, 22 Apr 2010, Konrad Rzeszutek Wilk wrote:
> On Thu, Apr 22, 2010 at 04:16:50PM +0100, Stefano Stabellini wrote:
> > Hi all,
> > this patch adds a xen_unplug command line option to the kernel to unplug
> > xen emulated devices.
> 
> For those folks who don't understand the pain^H^H^Htransition from emulated 
> device
> to a PV device, can you do a more detailed writeup?
> 

When the guest loads, if pv drivers are available, the guest is supposed
to unplug the emulated disks and network cards before initializing the pv
drivers.


> Why don't we want this be enabled by default? Perhaps you want to make
> the parameter only parse the disable option - devices which we _dont_
> want to be unplugged. So paramter name would 'xen_keep_plugged='.

If the kernel is configured correctly and pv drivers are present, we
definitely want to unplug the emulated devices, however this might imply
that other command line options to the kernel must be changed as well.

For example if before you had: root=/dev/hda1
with pv drivers you need: root=/dev/xvda1

Besides qemu offers an unplug interface rather than a keep_plugged
interface so it came natural to export an unplug interface as well...

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

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