blob: cc1ca58e8fd173fd2c3a7ae0b034fb3be3968461 [file] [log] [blame]
Anthony Liguori48a32be2011-09-02 12:34:48 -05001/*
2 * Human Monitor Interface
3 *
4 * Copyright IBM, Corp. 2011
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
11 *
12 */
13
14#ifndef HMP_H
15#define HMP_H
16
17#include "qemu-common.h"
18#include "qapi-types.h"
Paolo Bonzini7b1b5d12012-12-17 18:19:43 +010019#include "qapi/qmp/qdict.h"
Anthony Liguori48a32be2011-09-02 12:34:48 -050020
Wenchao Xia84f2d0e2013-01-14 14:06:25 +080021void hmp_info_name(Monitor *mon, const QDict *qdict);
22void hmp_info_version(Monitor *mon, const QDict *qdict);
23void hmp_info_kvm(Monitor *mon, const QDict *qdict);
24void hmp_info_status(Monitor *mon, const QDict *qdict);
25void hmp_info_uuid(Monitor *mon, const QDict *qdict);
26void hmp_info_chardev(Monitor *mon, const QDict *qdict);
27void hmp_info_mice(Monitor *mon, const QDict *qdict);
28void hmp_info_migrate(Monitor *mon, const QDict *qdict);
29void hmp_info_migrate_capabilities(Monitor *mon, const QDict *qdict);
30void hmp_info_migrate_cache_size(Monitor *mon, const QDict *qdict);
31void hmp_info_cpus(Monitor *mon, const QDict *qdict);
32void hmp_info_block(Monitor *mon, const QDict *qdict);
33void hmp_info_blockstats(Monitor *mon, const QDict *qdict);
34void hmp_info_vnc(Monitor *mon, const QDict *qdict);
35void hmp_info_spice(Monitor *mon, const QDict *qdict);
36void hmp_info_balloon(Monitor *mon, const QDict *qdict);
37void hmp_info_pci(Monitor *mon, const QDict *qdict);
38void hmp_info_block_jobs(Monitor *mon, const QDict *qdict);
Stefan Bergerd1a0cf72013-02-27 12:47:49 -050039void hmp_info_tpm(Monitor *mon, const QDict *qdict);
Luiz Capitulino7a7f3252011-09-15 14:20:28 -030040void hmp_quit(Monitor *mon, const QDict *qdict);
Luiz Capitulino5f158f22011-09-15 14:34:39 -030041void hmp_stop(Monitor *mon, const QDict *qdict);
Luiz Capitulino38d22652011-09-15 14:41:46 -030042void hmp_system_reset(Monitor *mon, const QDict *qdict);
Luiz Capitulino5bc465e2011-09-28 11:06:15 -030043void hmp_system_powerdown(Monitor *mon, const QDict *qdict);
Luiz Capitulino755f1962011-10-06 14:31:39 -030044void hmp_cpu(Monitor *mon, const QDict *qdict);
Luiz Capitulino0cfd6a92011-11-22 16:32:37 -020045void hmp_memsave(Monitor *mon, const QDict *qdict);
Luiz Capitulino6d3962b2011-11-22 17:26:46 -020046void hmp_pmemsave(Monitor *mon, const QDict *qdict);
Markus Armbruster3949e592013-02-06 21:27:24 +010047void hmp_ringbuf_write(Monitor *mon, const QDict *qdict);
48void hmp_ringbuf_read(Monitor *mon, const QDict *qdict);
Luiz Capitulinoe42e8182011-11-22 17:58:31 -020049void hmp_cont(Monitor *mon, const QDict *qdict);
Gerd Hoffmann9b9df252012-02-23 13:45:21 +010050void hmp_system_wakeup(Monitor *mon, const QDict *qdict);
Luiz Capitulinoab49ab52011-11-23 12:55:53 -020051void hmp_inject_nmi(Monitor *mon, const QDict *qdict);
Luiz Capitulino4b371562011-11-23 13:11:55 -020052void hmp_set_link(Monitor *mon, const QDict *qdict);
Luiz Capitulinoa4dea8a2011-11-23 13:28:21 -020053void hmp_block_passwd(Monitor *mon, const QDict *qdict);
Luiz Capitulinod72f3262011-11-25 14:38:09 -020054void hmp_balloon(Monitor *mon, const QDict *qdict);
Luiz Capitulino5e7caac2011-11-25 14:57:10 -020055void hmp_block_resize(Monitor *mon, const QDict *qdict);
Luiz Capitulino6106e242011-11-25 16:15:19 -020056void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict);
Wenchao Xia775ca882013-09-11 14:04:37 +080057void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict);
Paolo Bonzinid9b902d2012-10-18 16:49:24 +020058void hmp_drive_mirror(Monitor *mon, const QDict *qdict);
Stefan Hajnoczide909302013-06-26 14:11:58 +020059void hmp_drive_backup(Monitor *mon, const QDict *qdict);
Luiz Capitulino6cdedb02011-11-27 22:54:09 -020060void hmp_migrate_cancel(Monitor *mon, const QDict *qdict);
Luiz Capitulino4f0a9932011-11-27 23:18:01 -020061void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict);
Luiz Capitulino3dc85382011-11-28 11:59:37 -020062void hmp_migrate_set_speed(Monitor *mon, const QDict *qdict);
Orit Wasserman00458432012-08-06 21:42:48 +030063void hmp_migrate_set_capability(Monitor *mon, const QDict *qdict);
Orit Wasserman9e1ba4c2012-08-06 21:42:54 +030064void hmp_migrate_set_cache_size(Monitor *mon, const QDict *qdict);
Luiz Capitulinofbf796f2011-12-07 11:17:51 -020065void hmp_set_password(Monitor *mon, const QDict *qdict);
Luiz Capitulino9ad53722011-12-07 11:47:57 -020066void hmp_expire_password(Monitor *mon, const QDict *qdict);
Luiz Capitulinoc245b6a2011-12-07 16:02:36 -020067void hmp_eject(Monitor *mon, const QDict *qdict);
Luiz Capitulino333a96e2011-12-08 11:13:50 -020068void hmp_change(Monitor *mon, const QDict *qdict);
Luiz Capitulino80047da2011-12-14 16:49:14 -020069void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict);
Stefan Hajnoczi12bd4512012-01-18 14:40:46 +000070void hmp_block_stream(Monitor *mon, const QDict *qdict);
Stefan Hajnoczi2d47c6e2012-01-18 14:40:47 +000071void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict);
Stefan Hajnoczi370521a2012-01-18 14:40:48 +000072void hmp_block_job_cancel(Monitor *mon, const QDict *qdict);
Paolo Bonzini6e37fb82012-09-28 17:22:51 +020073void hmp_block_job_pause(Monitor *mon, const QDict *qdict);
74void hmp_block_job_resume(Monitor *mon, const QDict *qdict);
Paolo Bonziniaeae8832012-10-18 16:49:21 +020075void hmp_block_job_complete(Monitor *mon, const QDict *qdict);
Luiz Capitulinoe1c37d02011-12-05 14:48:01 -020076void hmp_migrate(Monitor *mon, const QDict *qdict);
Luiz Capitulinoa15fef22012-03-29 12:38:50 -030077void hmp_device_del(Monitor *mon, const QDict *qdict);
Wen Congyang783e9b42012-05-07 12:10:47 +080078void hmp_dump_guest_memory(Monitor *mon, const QDict *qdict);
Luiz Capitulino928059a2012-04-18 17:34:15 -030079void hmp_netdev_add(Monitor *mon, const QDict *qdict);
Luiz Capitulino5f964152012-04-16 14:36:32 -030080void hmp_netdev_del(Monitor *mon, const QDict *qdict);
Corey Bryant208c9d12012-06-22 14:36:09 -040081void hmp_getfd(Monitor *mon, const QDict *qdict);
82void hmp_closefd(Monitor *mon, const QDict *qdict);
Amos Konge4c8f002012-08-31 10:56:26 +080083void hmp_send_key(Monitor *mon, const QDict *qdict);
Luiz Capitulinoad39cf62012-05-24 13:48:23 -030084void hmp_screen_dump(Monitor *mon, const QDict *qdict);
Paolo Bonzini40577252012-08-23 11:53:04 +020085void hmp_nbd_server_start(Monitor *mon, const QDict *qdict);
86void hmp_nbd_server_add(Monitor *mon, const QDict *qdict);
87void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict);
Gerd Hoffmannf1088902012-12-19 10:33:40 +010088void hmp_chardev_add(Monitor *mon, const QDict *qdict);
89void hmp_chardev_remove(Monitor *mon, const QDict *qdict);
Kevin Wolf587da2c2013-06-05 14:19:41 +020090void hmp_qemu_io(Monitor *mon, const QDict *qdict);
Anthony Liguori48a32be2011-09-02 12:34:48 -050091
92#endif