qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3]: QMP: Introduce the BLOCK_MEDIA_EJECT event
@ 2011-05-27 19:31 Luiz Capitulino
  2011-05-27 19:31 ` [Qemu-devel] [PATCH 1/3] block: Rename bdrv_mon_event() Luiz Capitulino
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Luiz Capitulino @ 2011-05-27 19:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, amit.shah, aliguori, armbru

The motivation for this event is that clients can get confused if removable
media is ejected by the guest (or by a human user).

You'll find detailed documentation in patch 2/3 and the actual implementation
in patch 3/3.

Thanks.

 QMP/qmp-events.txt |   18 ++++++++++++++++++
 block.c            |   16 ++++++++++++++--
 block.h            |    5 +++--
 blockdev.c         |    5 +++++
 hw/ide/core.c      |    6 +++---
 hw/scsi-disk.c     |    6 +++---
 hw/virtio-blk.c    |    6 +++---
 monitor.c          |    3 +++
 monitor.h          |    1 +
 9 files changed, 53 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [Qemu-devel] [RFC 0/3]: QMP: Introduce BLOCK_MEDIA_EJECT event
@ 2011-01-12 18:22 Luiz Capitulino
  2011-01-12 18:22 ` [Qemu-devel] [PATCH 1/3] block: Rename bdrv_mon_event() Luiz Capitulino
  0 siblings, 1 reply; 16+ messages in thread
From: Luiz Capitulino @ 2011-01-12 18:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, aliguori, armbru

Not very well tested, but I'm sending for early review.

Please, check individual patches for details. The event spec can be found
in patch 0/2.

 QMP/qmp-events.txt |   15 +++++++++++++++
 block.c            |   16 ++++++++++++++--
 block.h            |    5 +++--
 blockdev.c         |    5 +++++
 hw/ide/core.c      |    6 +++---
 hw/scsi-disk.c     |    6 +++---
 hw/virtio-blk.c    |    6 +++---
 monitor.c          |    3 +++
 monitor.h          |    1 +
 9 files changed, 50 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-05-31 13:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 19:31 [Qemu-devel] [PATCH 0/3]: QMP: Introduce the BLOCK_MEDIA_EJECT event Luiz Capitulino
2011-05-27 19:31 ` [Qemu-devel] [PATCH 1/3] block: Rename bdrv_mon_event() Luiz Capitulino
2011-05-27 19:31 ` [Qemu-devel] [PATCH 2/3] QMP: Add BLOCK_MEDIA_EJECT event documentation Luiz Capitulino
2011-05-30  8:46   ` Kevin Wolf
2011-05-30 14:21     ` Luiz Capitulino
2011-05-30 14:54       ` Markus Armbruster
2011-05-31  7:09         ` Amit Shah
2011-05-31  7:59       ` Kevin Wolf
2011-05-27 19:31 ` [Qemu-devel] [PATCH 3/3] QMP: Introduce the BLOCK_MEDIA_EJECT event Luiz Capitulino
2011-05-28  7:58   ` Markus Armbruster
2011-05-30 14:09     ` Luiz Capitulino
2011-05-30 14:49       ` Markus Armbruster
2011-05-31  8:12         ` Kevin Wolf
2011-05-31 13:35           ` Luiz Capitulino
2011-05-31 13:40             ` Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2011-01-12 18:22 [Qemu-devel] [RFC 0/3]: QMP: Introduce " Luiz Capitulino
2011-01-12 18:22 ` [Qemu-devel] [PATCH 1/3] block: Rename bdrv_mon_event() Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).