Re: [Qemu-devel] [RFC 07/10] QMP: Introduce the blockdev-media-insert command

2011-06-06 Thread Luiz Capitulino
On Mon, 06 Jun 2011 15:40:28 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > This command inserts a new media in an already opened tray. It's only > > available in QMP. > > > > Please, check the command's documentation (being introduced in this > > commit) for a detailed descript

Re: [Qemu-devel] [RFC 07/10] QMP: Introduce the blockdev-media-insert command

2011-06-06 Thread Markus Armbruster
Luiz Capitulino writes: > This command inserts a new media in an already opened tray. It's only > available in QMP. > > Please, check the command's documentation (being introduced in this > commit) for a detailed description. > > Signed-off-by: Luiz Capitulino > --- > blockdev.c | 52 +++

Re: [Qemu-devel] [RFC 07/10] QMP: Introduce the blockdev-media-insert command

2011-06-06 Thread Amit Shah
On (Fri) 03 Jun 2011 [16:03:59], Luiz Capitulino wrote: > > +static int media_insert(const char *device, const char *mediafile, > +const char *format) > +{ > +BlockDriver *drv = NULL; > +BlockDriverState *bs; > +int bdrv_flags; > + > +bs = bdrv_removable_fi

[Qemu-devel] [RFC 07/10] QMP: Introduce the blockdev-media-insert command

2011-06-03 Thread Luiz Capitulino
This command inserts a new media in an already opened tray. It's only available in QMP. Please, check the command's documentation (being introduced in this commit) for a detailed description. Signed-off-by: Luiz Capitulino --- blockdev.c | 52 +