[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH V2 4/6] libqblock export some qemu block function
From: |
Wenchao Xia |
Subject: |
[Qemu-devel] [PATCH V2 4/6] libqblock export some qemu block function |
Date: |
Mon, 10 Sep 2012 16:26:24 +0800 |
Export some qemu qblock functions for libqblock.
Signed-off-by: Wenchao Xia <address@hidden>
---
block.c | 2 +-
block.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/block.c b/block.c
index 470bdcc..8b312f8 100644
--- a/block.c
+++ b/block.c
@@ -196,7 +196,7 @@ static void bdrv_io_limits_intercept(BlockDriverState *bs,
}
/* check if the path starts with "<protocol>:" */
-static int path_has_protocol(const char *path)
+int path_has_protocol(const char *path)
{
const char *p;
diff --git a/block.h b/block.h
index 2e2be11..e7da711 100644
--- a/block.h
+++ b/block.h
@@ -405,4 +405,5 @@ typedef enum {
#define BLKDBG_EVENT(bs, evt) bdrv_debug_event(bs, evt)
void bdrv_debug_event(BlockDriverState *bs, BlkDebugEvent event);
+int path_has_protocol(const char *path);
#endif
--
1.7.1
- [Qemu-devel] [PATCH V2 0/6] libqblock, qemu block layer library, Wenchao Xia, 2012/09/10
- [Qemu-devel] [PATCH V2 4/6] libqblock export some qemu block function,
Wenchao Xia <=
- [Qemu-devel] [PATCH V2 5/6] libqblock building system, Wenchao Xia, 2012/09/10
- [Qemu-devel] [PATCH V2 6/6] libqblock test example, Wenchao Xia, 2012/09/10
- [Qemu-devel] [PATCH V2 1/6] libqblock API design, Wenchao Xia, 2012/09/10
- Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design, Blue Swirl, 2012/09/11