[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] vl.c: Since the help says that 'disk_image'
Re: [Qemu-devel] [PATCH 1/1] vl.c: Since the help says that 'disk_image' is a raw hard disk image, pass format=raw
Mon, 4 May 2015 16:17:35 +0200
Am 04.05.2015 um 15:39 hat Markus Armbruster geschrieben:
> Kevin Wolf <address@hidden> writes:
> > Am 01.05.2015 um 01:28 hat Don Slutz geschrieben:
> >> So do you want a more complex patch that allows the format to be
> >> specified?
> >> Only for 'disk_image'?
> >> Include -hd* ?
> > I'm afraid that there is no nice way to improve the plain 'disk_image'
> > case. You would have to add another option, and then it's not any better
> > than -hda and friends any more.
> > -hda in turn could be extended to take additional options (i.e. it
> > becomes something like -drive with implied index=0), but then there's
> > little reason not to use -drive.
> Would likely break images with ',' in their name.
A possible justification would be that -hda is a convenience option
that, similar to HMP, is meant only for human users and if you use it in
scripts and it changes, you get to keep both pieces. In addition, while
some use cases would be affected, most of them wouldn't, even in
Whether or not this justification is valid might be controversial.