2020-03-08 17:24:32 +08:00
|
|
|
/*
|
|
|
|
* HMP commands related to the block layer
|
|
|
|
*
|
2020-03-08 17:24:33 +08:00
|
|
|
* Copyright (c) 2003-2008 Fabrice Bellard
|
2020-03-08 17:24:32 +08:00
|
|
|
* Copyright (c) 2020 Red Hat, Inc.
|
2020-03-08 17:24:34 +08:00
|
|
|
* Copyright IBM, Corp. 2011
|
2020-03-08 17:24:32 +08:00
|
|
|
*
|
2020-03-08 17:24:34 +08:00
|
|
|
* Authors:
|
|
|
|
* Anthony Liguori <aliguori@us.ibm.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2. See
|
|
|
|
* the COPYING file in the top-level directory.
|
2020-03-08 17:24:32 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BLOCK_HMP_COMMANDS_H
|
|
|
|
#define BLOCK_HMP_COMMANDS_H
|
|
|
|
|
|
|
|
void hmp_drive_add(Monitor *mon, const QDict *qdict);
|
|
|
|
|
2020-03-08 17:24:33 +08:00
|
|
|
void hmp_commit(Monitor *mon, const QDict *qdict);
|
|
|
|
void hmp_drive_del(Monitor *mon, const QDict *qdict);
|
|
|
|
|
2020-03-08 17:24:34 +08:00
|
|
|
void hmp_drive_mirror(Monitor *mon, const QDict *qdict);
|
|
|
|
void hmp_drive_backup(Monitor *mon, const QDict *qdict);
|
|
|
|
|
2020-03-08 17:24:35 +08:00
|
|
|
void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict);
|
|
|
|
void hmp_block_job_cancel(Monitor *mon, const QDict *qdict);
|
|
|
|
void hmp_block_job_pause(Monitor *mon, const QDict *qdict);
|
|
|
|
void hmp_block_job_resume(Monitor *mon, const QDict *qdict);
|
|
|
|
void hmp_block_job_complete(Monitor *mon, const QDict *qdict);
|
|
|
|
|
2020-03-08 17:24:32 +08:00
|
|
|
#endif
|