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 32*fce2b91fSMaxim Levitsky void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict); 33*fce2b91fSMaxim Levitsky void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict); 34*fce2b91fSMaxim Levitsky void hmp_snapshot_delete_blkdev_internal(Monitor *mon, const QDict *qdict); 35*fce2b91fSMaxim Levitsky 36a2dde2f2SMaxim Levitsky #endif 37