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

Re: [Xen-devel] [PATCH v2] libxl: Add AHCI support for upstream qemu



On Thu, 25 Jun 2015, Fabio Fantoni wrote:
> Il 25/06/2015 12:21, Ian Campbell ha scritto:
> > On Tue, 2015-06-23 at 11:15 +0200, Fabio Fantoni wrote:
> > > Usage:
> > > ahci=0|1 (default=0)
> > I think a global rather than per disk option is OK (I can't think why a
> > user would want to mix and match) but maybe we should consider using an
> > enum (with values ide and ahci, defaulting to ide in libxl) so that we
> > can add support for whatever fancy new disk controller everyone is using
> > in 5 years time?
> 
> ahci was added 4 years ago in qemu and I don't know of newer similar
> tecnology, in the case of enum probably shold be more generic for include more
> future possibility or I'm wrong? in that case what can be the name?
> @stabellini and other developer: any advice about this?

I don't know of any other block technologies that would use "hd" as
block device names. Virtio-blk uses "vd", so it couldn't be confused.
However for the sake of being future proof, it might make sense to
introduce an enum, maybe something like "hdtype"?

enum hdtype {
    ide,
    ahci,
}

then in the config file:

hdtype=ahci

_______________________________________________
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®.