|
@@ -25,6 +25,7 @@
|
|
#ifndef BLOCK_QAPI_H
|
|
#ifndef BLOCK_QAPI_H
|
|
#define BLOCK_QAPI_H
|
|
#define BLOCK_QAPI_H
|
|
|
|
|
|
|
|
+#include "block/graph-lock.h"
|
|
#include "block/snapshot.h"
|
|
#include "block/snapshot.h"
|
|
#include "qapi/qapi-types-block-core.h"
|
|
#include "qapi/qapi-types-block-core.h"
|
|
|
|
|
|
@@ -43,9 +44,9 @@ void bdrv_query_image_info(BlockDriverState *bs,
|
|
bool flat,
|
|
bool flat,
|
|
bool skip_implicit_filters,
|
|
bool skip_implicit_filters,
|
|
Error **errp);
|
|
Error **errp);
|
|
-void bdrv_query_block_graph_info(BlockDriverState *bs,
|
|
|
|
- BlockGraphInfo **p_info,
|
|
|
|
- Error **errp);
|
|
|
|
|
|
+void GRAPH_RDLOCK
|
|
|
|
+bdrv_query_block_graph_info(BlockDriverState *bs, BlockGraphInfo **p_info,
|
|
|
|
+ Error **errp);
|
|
|
|
|
|
void bdrv_snapshot_dump(QEMUSnapshotInfo *sn);
|
|
void bdrv_snapshot_dump(QEMUSnapshotInfo *sn);
|
|
void bdrv_image_info_specific_dump(ImageInfoSpecific *info_spec,
|
|
void bdrv_image_info_specific_dump(ImageInfoSpecific *info_spec,
|