]> Git Repo - qemu.git/blobdiff - include/qemu-io.h
migration: Make compression_threads use save/load_setup/cleanup()
[qemu.git] / include / qemu-io.h
index 7e7c07c09ba0a90bd9f035ad3b5383ae8181303d..196fde0f3abe2c0ee0b771ee07df697b1bb0850b 100644 (file)
@@ -22,7 +22,7 @@
 
 #define CMD_FLAG_GLOBAL ((int)0x80000000) /* don't iterate "args" */
 
-typedef int (*cfunc_t)(BlockDriverState *bs, int argc, char **argv);
+typedef int (*cfunc_t)(BlockBackend *blk, int argc, char **argv);
 typedef void (*helpfunc_t)(void);
 
 typedef struct cmdinfo {
@@ -36,9 +36,12 @@ typedef struct cmdinfo {
     const char  *args;
     const char  *oneline;
     helpfunc_t  help;
+    uint64_t    perm;
 } cmdinfo_t;
 
-bool qemuio_command(BlockDriverState *bs, const char *cmd);
+extern bool qemuio_misalign;
+
+bool qemuio_command(BlockBackend *blk, const char *cmd);
 
 void qemuio_add_command(const cmdinfo_t *ci);
 int qemuio_command_usage(const cmdinfo_t *ci);
This page took 0.023523 seconds and 4 git commands to generate.