block-hmp-cmds.h (2022B)
1/* 2 * HMP commands related to the block layer 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * Copyright (c) 2020 Red Hat, Inc. 6 * Copyright IBM, Corp. 2011 7 * 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. 13 */ 14 15#ifndef BLOCK_HMP_COMMANDS_H 16#define BLOCK_HMP_COMMANDS_H 17 18void hmp_drive_add(Monitor *mon, const QDict *qdict); 19 20void hmp_commit(Monitor *mon, const QDict *qdict); 21void hmp_drive_del(Monitor *mon, const QDict *qdict); 22 23void hmp_drive_mirror(Monitor *mon, const QDict *qdict); 24void hmp_drive_backup(Monitor *mon, const QDict *qdict); 25 26void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict); 27void hmp_block_job_cancel(Monitor *mon, const QDict *qdict); 28void hmp_block_job_pause(Monitor *mon, const QDict *qdict); 29void hmp_block_job_resume(Monitor *mon, const QDict *qdict); 30void hmp_block_job_complete(Monitor *mon, const QDict *qdict); 31 32void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict); 33void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict); 34void hmp_snapshot_delete_blkdev_internal(Monitor *mon, const QDict *qdict); 35 36void hmp_nbd_server_start(Monitor *mon, const QDict *qdict); 37void hmp_nbd_server_add(Monitor *mon, const QDict *qdict); 38void hmp_nbd_server_remove(Monitor *mon, const QDict *qdict); 39void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict); 40 41void hmp_block_resize(Monitor *mon, const QDict *qdict); 42void hmp_block_stream(Monitor *mon, const QDict *qdict); 43void hmp_block_passwd(Monitor *mon, const QDict *qdict); 44void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict); 45void hmp_eject(Monitor *mon, const QDict *qdict); 46 47void hmp_qemu_io(Monitor *mon, const QDict *qdict); 48 49void hmp_info_block(Monitor *mon, const QDict *qdict); 50void hmp_info_blockstats(Monitor *mon, const QDict *qdict); 51void hmp_info_block_jobs(Monitor *mon, const QDict *qdict); 52void hmp_info_snapshots(Monitor *mon, const QDict *qdict); 53 54#endif