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] [RFC] Disable xen platform device when it is not needed.

To: "Yuji Shimada" <shimada-yxb@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [RFC] Disable xen platform device when it is not needed.
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2009 14:20:39 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Feb 2009 19:21:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090218121315.1C7E.27C06F64@xxxxxxxxxxxxxxx>
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: <20090218090922.4197.27C06F64@xxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0162C7E2@trantor> <20090218121315.1C7E.27C06F64@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmRd5U4CnCHs+guReqxzE6zogVdkwAACLaA
Thread-topic: [Xen-devel] [RFC] Disable xen platform device when it is not needed.
> 
> Thank you for your comments.
> 
> On Wed, 18 Feb 2009 11:29:54 +1100
> "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:
> 
> > >
> > > I plan to create the patch to disable xen platform device when it
> > > is not needed. Please let me know if anyone has a comment.
> > >
> > > Windows guest shows xen platform device as unknown
> > > device with "!" mark in the device manager, when PV drivers are
not
> > > loaded. So I'd like to disable xen platform device.
> > >
> > > If following conditions are all true, I will disable xen platform
> > > device. Otherwise, xen platform device will be enabled.
> > >
> > >     - All entries in "disk" parameter have "ioemu:" prefix in DEV
> > field.
> > >         Example:
> > >         disk = [ '/var/images/guest.img,ioemu:hda,w',
> > ',ioemu:hdc:cdrom,r'
> > > ]
> > >
> > >     - All entries in "vif" parameter have "type=ioemu".
> > >         Example:
> > >         vif = [ 'type=ioemu, bridge=eth0', 'type=ioemu,
bridge=eth1' ]
> > >
> > >     - "vscsi" parameter is not specified.
> >
> > I still leave my disks and network as ioemu even when using PV
drivers,
> > as I simply need to use the /NOGPLPV boot option to switch back to
them.
> 
> When "ioemu:" or "type=ioemu" are not specified, both emulated device
> and PV device are enabled. This is current xen's behavior.
> 
> So my idea does not break your usage.

Maybe I don't understand your idea, but I think you are saying that if
ioemu is specified then the PV drivers won't work because you will
disable the platform pci device.

James


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