tests/vm: fix and simplify HOST_ARCH definition
[qemu/ar7.git] / include / block / block-hmp-cmds.h
blob71113cd7efa44faf7b49019c26c052fe2055d8a4
1 /*
2 * HMP commands related to the block layer
4 * Copyright (c) 2003-2008 Fabrice Bellard
5 * Copyright (c) 2020 Red Hat, Inc.
6 * Copyright IBM, Corp. 2011
8 * Authors:
9 * Anthony Liguori <aliguori@us.ibm.com>
11 * This work is licensed under the terms of the GNU GPL, version 2. See
12 * the COPYING file in the top-level directory.
15 #ifndef BLOCK_BLOCK_HMP_CMDS_H
16 #define BLOCK_BLOCK_HMP_CMDS_H
18 #include "qemu/coroutine.h"
20 void hmp_drive_add(Monitor *mon, const QDict *qdict);
22 void hmp_commit(Monitor *mon, const QDict *qdict);
23 void hmp_drive_del(Monitor *mon, const QDict *qdict);
25 void hmp_drive_mirror(Monitor *mon, const QDict *qdict);
26 void hmp_drive_backup(Monitor *mon, const QDict *qdict);
28 void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict);
29 void hmp_block_job_cancel(Monitor *mon, const QDict *qdict);
30 void hmp_block_job_pause(Monitor *mon, const QDict *qdict);
31 void hmp_block_job_resume(Monitor *mon, const QDict *qdict);
32 void hmp_block_job_complete(Monitor *mon, const QDict *qdict);
34 void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict);
35 void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict);
36 void hmp_snapshot_delete_blkdev_internal(Monitor *mon, const QDict *qdict);
38 void hmp_nbd_server_start(Monitor *mon, const QDict *qdict);
39 void hmp_nbd_server_add(Monitor *mon, const QDict *qdict);
40 void hmp_nbd_server_remove(Monitor *mon, const QDict *qdict);
41 void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict);
43 void coroutine_fn hmp_block_resize(Monitor *mon, const QDict *qdict);
44 void hmp_block_stream(Monitor *mon, const QDict *qdict);
45 void hmp_block_passwd(Monitor *mon, const QDict *qdict);
46 void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict);
47 void hmp_eject(Monitor *mon, const QDict *qdict);
49 void hmp_qemu_io(Monitor *mon, const QDict *qdict);
51 void hmp_info_block(Monitor *mon, const QDict *qdict);
52 void hmp_info_blockstats(Monitor *mon, const QDict *qdict);
53 void hmp_info_block_jobs(Monitor *mon, const QDict *qdict);
54 void hmp_info_snapshots(Monitor *mon, const QDict *qdict);
56 #endif