]>
Commit | Line | Data |
---|---|---|
a2dde2f2 ML |
1 | /* |
2 | * HMP commands related to the block layer | |
3 | * | |
a1edae27 | 4 | * Copyright (c) 2003-2008 Fabrice Bellard |
a2dde2f2 | 5 | * Copyright (c) 2020 Red Hat, Inc. |
0932e3f2 | 6 | * Copyright IBM, Corp. 2011 |
a2dde2f2 | 7 | * |
0932e3f2 ML |
8 | * Authors: |
9 | * Anthony Liguori <aliguori@us.ibm.com> | |
10 | * | |
11 | * This work is licensed under the terms of the GNU GPL, version 2. See | |
12 | * the COPYING file in the top-level directory. | |
a2dde2f2 ML |
13 | */ |
14 | ||
15 | #ifndef BLOCK_HMP_COMMANDS_H | |
16 | #define BLOCK_HMP_COMMANDS_H | |
17 | ||
18 | void hmp_drive_add(Monitor *mon, const QDict *qdict); | |
19 | ||
a1edae27 ML |
20 | void hmp_commit(Monitor *mon, const QDict *qdict); |
21 | void hmp_drive_del(Monitor *mon, const QDict *qdict); | |
22 | ||
0932e3f2 ML |
23 | void hmp_drive_mirror(Monitor *mon, const QDict *qdict); |
24 | void hmp_drive_backup(Monitor *mon, const QDict *qdict); | |
25 | ||
6b7fbf61 ML |
26 | void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict); |
27 | void hmp_block_job_cancel(Monitor *mon, const QDict *qdict); | |
28 | void hmp_block_job_pause(Monitor *mon, const QDict *qdict); | |
29 | void hmp_block_job_resume(Monitor *mon, const QDict *qdict); | |
30 | void hmp_block_job_complete(Monitor *mon, const QDict *qdict); | |
31 | ||
fce2b91f ML |
32 | void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict); |
33 | void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict); | |
34 | void hmp_snapshot_delete_blkdev_internal(Monitor *mon, const QDict *qdict); | |
35 | ||
a2dde2f2 | 36 | #endif |