1a2dde2f2SMaxim Levitsky /* 2a2dde2f2SMaxim Levitsky * HMP commands related to the block layer 3a2dde2f2SMaxim Levitsky * 4a1edae27SMaxim Levitsky * Copyright (c) 2003-2008 Fabrice Bellard 5a2dde2f2SMaxim Levitsky * Copyright (c) 2020 Red Hat, Inc. 60932e3f2SMaxim Levitsky * Copyright IBM, Corp. 2011 7a2dde2f2SMaxim Levitsky * 80932e3f2SMaxim Levitsky * Authors: 90932e3f2SMaxim Levitsky * Anthony Liguori <aliguori@us.ibm.com> 100932e3f2SMaxim Levitsky * 110932e3f2SMaxim Levitsky * This work is licensed under the terms of the GNU GPL, version 2. See 120932e3f2SMaxim Levitsky * the COPYING file in the top-level directory. 13a2dde2f2SMaxim Levitsky */ 14a2dde2f2SMaxim Levitsky 15a2dde2f2SMaxim Levitsky #ifndef BLOCK_HMP_COMMANDS_H 16a2dde2f2SMaxim Levitsky #define BLOCK_HMP_COMMANDS_H 17a2dde2f2SMaxim Levitsky 18a2dde2f2SMaxim Levitsky void hmp_drive_add(Monitor *mon, const QDict *qdict); 19a2dde2f2SMaxim Levitsky 20a1edae27SMaxim Levitsky void hmp_commit(Monitor *mon, const QDict *qdict); 21a1edae27SMaxim Levitsky void hmp_drive_del(Monitor *mon, const QDict *qdict); 22a1edae27SMaxim Levitsky 230932e3f2SMaxim Levitsky void hmp_drive_mirror(Monitor *mon, const QDict *qdict); 240932e3f2SMaxim Levitsky void hmp_drive_backup(Monitor *mon, const QDict *qdict); 250932e3f2SMaxim Levitsky 266b7fbf61SMaxim Levitsky void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict); 276b7fbf61SMaxim Levitsky void hmp_block_job_cancel(Monitor *mon, const QDict *qdict); 286b7fbf61SMaxim Levitsky void hmp_block_job_pause(Monitor *mon, const QDict *qdict); 296b7fbf61SMaxim Levitsky void hmp_block_job_resume(Monitor *mon, const QDict *qdict); 306b7fbf61SMaxim Levitsky void hmp_block_job_complete(Monitor *mon, const QDict *qdict); 316b7fbf61SMaxim Levitsky 32fce2b91fSMaxim Levitsky void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict); 33fce2b91fSMaxim Levitsky void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict); 34fce2b91fSMaxim Levitsky void hmp_snapshot_delete_blkdev_internal(Monitor *mon, const QDict *qdict); 35fce2b91fSMaxim Levitsky 36e263120eSMaxim Levitsky void hmp_nbd_server_start(Monitor *mon, const QDict *qdict); 37e263120eSMaxim Levitsky void hmp_nbd_server_add(Monitor *mon, const QDict *qdict); 38e263120eSMaxim Levitsky void hmp_nbd_server_remove(Monitor *mon, const QDict *qdict); 39e263120eSMaxim Levitsky void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict); 40e263120eSMaxim Levitsky 41*1061f8ddSMaxim Levitsky void hmp_block_resize(Monitor *mon, const QDict *qdict); 42*1061f8ddSMaxim Levitsky void hmp_block_stream(Monitor *mon, const QDict *qdict); 43*1061f8ddSMaxim Levitsky void hmp_block_passwd(Monitor *mon, const QDict *qdict); 44*1061f8ddSMaxim Levitsky void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict); 45*1061f8ddSMaxim Levitsky void hmp_eject(Monitor *mon, const QDict *qdict); 46*1061f8ddSMaxim Levitsky 47*1061f8ddSMaxim Levitsky void hmp_qemu_io(Monitor *mon, const QDict *qdict); 48*1061f8ddSMaxim Levitsky 49*1061f8ddSMaxim Levitsky 50a2dde2f2SMaxim Levitsky #endif 51