diff options
author | Kevin Wolf | 2013-06-05 15:17:55 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2013-06-06 11:27:22 +0200 |
commit | bf736fe34caba0688c9095c31b9d097ea15c1296 (patch) | |
tree | 1f924e47bbc31d073fea6b4cd753bc6f09dee8e5 /block/blkdebug.c | |
parent | Make qemu-io commands available in HMP (diff) | |
download | qemu-bf736fe34caba0688c9095c31b9d097ea15c1296.tar.gz qemu-bf736fe34caba0688c9095c31b9d097ea15c1296.tar.xz qemu-bf736fe34caba0688c9095c31b9d097ea15c1296.zip |
blkdebug: Add BLKDBG_FLUSH_TO_OS/DISK events
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r-- | block/blkdebug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index 71f99e4067..ccb627ad93 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -182,6 +182,9 @@ static const char *event_names[BLKDBG_EVENT_MAX] = { [BLKDBG_CLUSTER_ALLOC] = "cluster_alloc", [BLKDBG_CLUSTER_ALLOC_BYTES] = "cluster_alloc_bytes", [BLKDBG_CLUSTER_FREE] = "cluster_free", + + [BLKDBG_FLUSH_TO_OS] = "flush_to_os", + [BLKDBG_FLUSH_TO_DISK] = "flush_to_disk", }; static int get_event_by_name(const char *name, BlkDebugEvent *event) |