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

Re: [Xen-devel] [PATCH] Add device_model_pvdevice parameter for HVM guests



> -----Original Message-----
> From: Matt Wilson [mailto:msw@xxxxxxxxxx]
> Sent: 11 July 2013 18:58
> To: Paul Durrant
> Cc: xen-devel@xxxxxxxxxxxxx; Stefano Stabellini
> Subject: Re: [Xen-devel] [PATCH] Add device_model_pvdevice parameter
> for HVM guests
> 
> On Thu, Jul 04, 2013 at 11:50:06AM +0100, Paul Durrant wrote:
> > The parameter determines which, if any, xen-pvdevice is specified on the
> > QEMU command line. The default value is 'none' which means no
> argument will
> > be passed. A value of 'xenserver' specifies a xen-pvdevice with device-id
> > 0xc000 (the initial value in the xenserver namespace - see
> > docs/misc/pci-device-reservations.txt).
> 
> Why bake this into the toolset API? I don't like the idea of a toolset
> API change every time a new device ID is introduced by a PV driver.
> 
> Can this be a free form text parameter instead?
> 

From a user perspective having a documented list makes life easier. If you want 
to choose arbitrary values (for development purposes perhaps) then you do still 
have the option of using the device_model_args[_hvm] parameter in your xl.cfg 
to specify whatever -device argument you want.

  Paul

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.