[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 1/8] block: use type MonitorEvent directly
From: |
Wenchao Xia |
Subject: |
[Qemu-devel] [RFC PATCH 1/8] block: use type MonitorEvent directly |
Date: |
Thu, 12 Sep 2013 17:15:05 +0800 |
block_int.h included monitor.h, so it knows the typedef.
Signed-off-by: Wenchao Xia <address@hidden>
---
block.c | 2 +-
include/block/block_int.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/block.c b/block.c
index a325efc..2e2774d 100644
--- a/block.c
+++ b/block.c
@@ -1711,7 +1711,7 @@ void bdrv_set_dev_ops(BlockDriverState *bs, const
BlockDevOps *ops,
}
void bdrv_emit_qmp_error_event(const BlockDriverState *bdrv,
- enum MonitorEvent ev,
+ MonitorEvent ev,
BlockErrorAction action, bool is_read)
{
QObject *data;
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 7c35198..5de45a1 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -315,7 +315,7 @@ AioContext *bdrv_get_aio_context(BlockDriverState *bs);
int is_windows_drive(const char *filename);
#endif
void bdrv_emit_qmp_error_event(const BlockDriverState *bdrv,
- enum MonitorEvent ev,
+ MonitorEvent ev,
BlockErrorAction action, bool is_read);
/**
--
1.7.1
- [Qemu-devel] [RFC PATCH 0/8] Remove stub mon-protocol-event for block, Wenchao Xia, 2013/09/12
- [Qemu-devel] [RFC PATCH 1/8] block: use type MonitorEvent directly,
Wenchao Xia <=
- [Qemu-devel] [RFC PATCH 2/8] block: do not include monitor.h in block.c, Wenchao Xia, 2013/09/12
- [Qemu-devel] [RFC PATCH 4/8] qapi: rename MonitorEvent to QEvent, Wenchao Xia, 2013/09/12
- [Qemu-devel] [RFC PATCH 3/8] qapi: move MonitorEvent define, Wenchao Xia, 2013/09/12
- [Qemu-devel] [RFC PATCH 8/8] stubs: remove mon-protocol-event.o in stub obj, Wenchao Xia, 2013/09/12
- [Qemu-devel] [RFC PATCH 6/8] block: replace monitor_protocol_event() with callback, Wenchao Xia, 2013/09/12