Anthony Liguori | 48a32be | 2011-09-02 12:34:48 -0500 | [diff] [blame] | 1 | /* |
| 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 Bonzini | 7b1b5d1 | 2012-12-17 18:19:43 +0100 | [diff] [blame] | 19 | #include "qapi/qmp/qdict.h" |
Anthony Liguori | 48a32be | 2011-09-02 12:34:48 -0500 | [diff] [blame] | 20 | |
Wenchao Xia | 84f2d0e | 2013-01-14 14:06:25 +0800 | [diff] [blame] | 21 | void hmp_info_name(Monitor *mon, const QDict *qdict); |
| 22 | void hmp_info_version(Monitor *mon, const QDict *qdict); |
| 23 | void hmp_info_kvm(Monitor *mon, const QDict *qdict); |
| 24 | void hmp_info_status(Monitor *mon, const QDict *qdict); |
| 25 | void hmp_info_uuid(Monitor *mon, const QDict *qdict); |
| 26 | void hmp_info_chardev(Monitor *mon, const QDict *qdict); |
| 27 | void hmp_info_mice(Monitor *mon, const QDict *qdict); |
| 28 | void hmp_info_migrate(Monitor *mon, const QDict *qdict); |
| 29 | void hmp_info_migrate_capabilities(Monitor *mon, const QDict *qdict); |
| 30 | void hmp_info_migrate_cache_size(Monitor *mon, const QDict *qdict); |
| 31 | void hmp_info_cpus(Monitor *mon, const QDict *qdict); |
| 32 | void hmp_info_block(Monitor *mon, const QDict *qdict); |
| 33 | void hmp_info_blockstats(Monitor *mon, const QDict *qdict); |
| 34 | void hmp_info_vnc(Monitor *mon, const QDict *qdict); |
| 35 | void hmp_info_spice(Monitor *mon, const QDict *qdict); |
| 36 | void hmp_info_balloon(Monitor *mon, const QDict *qdict); |
| 37 | void hmp_info_pci(Monitor *mon, const QDict *qdict); |
| 38 | void hmp_info_block_jobs(Monitor *mon, const QDict *qdict); |
Stefan Berger | d1a0cf7 | 2013-02-27 12:47:49 -0500 | [diff] [blame] | 39 | void hmp_info_tpm(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 7a7f325 | 2011-09-15 14:20:28 -0300 | [diff] [blame] | 40 | void hmp_quit(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 5f158f2 | 2011-09-15 14:34:39 -0300 | [diff] [blame] | 41 | void hmp_stop(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 38d2265 | 2011-09-15 14:41:46 -0300 | [diff] [blame] | 42 | void hmp_system_reset(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 5bc465e | 2011-09-28 11:06:15 -0300 | [diff] [blame] | 43 | void hmp_system_powerdown(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 755f196 | 2011-10-06 14:31:39 -0300 | [diff] [blame] | 44 | void hmp_cpu(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 0cfd6a9 | 2011-11-22 16:32:37 -0200 | [diff] [blame] | 45 | void hmp_memsave(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 6d3962b | 2011-11-22 17:26:46 -0200 | [diff] [blame] | 46 | void hmp_pmemsave(Monitor *mon, const QDict *qdict); |
Markus Armbruster | 3949e59 | 2013-02-06 21:27:24 +0100 | [diff] [blame] | 47 | void hmp_ringbuf_write(Monitor *mon, const QDict *qdict); |
| 48 | void hmp_ringbuf_read(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | e42e818 | 2011-11-22 17:58:31 -0200 | [diff] [blame] | 49 | void hmp_cont(Monitor *mon, const QDict *qdict); |
Gerd Hoffmann | 9b9df25 | 2012-02-23 13:45:21 +0100 | [diff] [blame] | 50 | void hmp_system_wakeup(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | ab49ab5 | 2011-11-23 12:55:53 -0200 | [diff] [blame] | 51 | void hmp_inject_nmi(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 4b37156 | 2011-11-23 13:11:55 -0200 | [diff] [blame] | 52 | void hmp_set_link(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | a4dea8a | 2011-11-23 13:28:21 -0200 | [diff] [blame] | 53 | void hmp_block_passwd(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | d72f326 | 2011-11-25 14:38:09 -0200 | [diff] [blame] | 54 | void hmp_balloon(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 5e7caac | 2011-11-25 14:57:10 -0200 | [diff] [blame] | 55 | void hmp_block_resize(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 6106e24 | 2011-11-25 16:15:19 -0200 | [diff] [blame] | 56 | void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict); |
Wenchao Xia | 775ca88 | 2013-09-11 14:04:37 +0800 | [diff] [blame^] | 57 | void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict); |
Paolo Bonzini | d9b902d | 2012-10-18 16:49:24 +0200 | [diff] [blame] | 58 | void hmp_drive_mirror(Monitor *mon, const QDict *qdict); |
Stefan Hajnoczi | de90930 | 2013-06-26 14:11:58 +0200 | [diff] [blame] | 59 | void hmp_drive_backup(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 6cdedb0 | 2011-11-27 22:54:09 -0200 | [diff] [blame] | 60 | void hmp_migrate_cancel(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 4f0a993 | 2011-11-27 23:18:01 -0200 | [diff] [blame] | 61 | void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 3dc8538 | 2011-11-28 11:59:37 -0200 | [diff] [blame] | 62 | void hmp_migrate_set_speed(Monitor *mon, const QDict *qdict); |
Orit Wasserman | 0045843 | 2012-08-06 21:42:48 +0300 | [diff] [blame] | 63 | void hmp_migrate_set_capability(Monitor *mon, const QDict *qdict); |
Orit Wasserman | 9e1ba4c | 2012-08-06 21:42:54 +0300 | [diff] [blame] | 64 | void hmp_migrate_set_cache_size(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | fbf796f | 2011-12-07 11:17:51 -0200 | [diff] [blame] | 65 | void hmp_set_password(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 9ad5372 | 2011-12-07 11:47:57 -0200 | [diff] [blame] | 66 | void hmp_expire_password(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | c245b6a | 2011-12-07 16:02:36 -0200 | [diff] [blame] | 67 | void hmp_eject(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 333a96e | 2011-12-08 11:13:50 -0200 | [diff] [blame] | 68 | void hmp_change(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 80047da | 2011-12-14 16:49:14 -0200 | [diff] [blame] | 69 | void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict); |
Stefan Hajnoczi | 12bd451 | 2012-01-18 14:40:46 +0000 | [diff] [blame] | 70 | void hmp_block_stream(Monitor *mon, const QDict *qdict); |
Stefan Hajnoczi | 2d47c6e | 2012-01-18 14:40:47 +0000 | [diff] [blame] | 71 | void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict); |
Stefan Hajnoczi | 370521a | 2012-01-18 14:40:48 +0000 | [diff] [blame] | 72 | void hmp_block_job_cancel(Monitor *mon, const QDict *qdict); |
Paolo Bonzini | 6e37fb8 | 2012-09-28 17:22:51 +0200 | [diff] [blame] | 73 | void hmp_block_job_pause(Monitor *mon, const QDict *qdict); |
| 74 | void hmp_block_job_resume(Monitor *mon, const QDict *qdict); |
Paolo Bonzini | aeae883 | 2012-10-18 16:49:21 +0200 | [diff] [blame] | 75 | void hmp_block_job_complete(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | e1c37d0 | 2011-12-05 14:48:01 -0200 | [diff] [blame] | 76 | void hmp_migrate(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | a15fef2 | 2012-03-29 12:38:50 -0300 | [diff] [blame] | 77 | void hmp_device_del(Monitor *mon, const QDict *qdict); |
Wen Congyang | 783e9b4 | 2012-05-07 12:10:47 +0800 | [diff] [blame] | 78 | void hmp_dump_guest_memory(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 928059a | 2012-04-18 17:34:15 -0300 | [diff] [blame] | 79 | void hmp_netdev_add(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | 5f96415 | 2012-04-16 14:36:32 -0300 | [diff] [blame] | 80 | void hmp_netdev_del(Monitor *mon, const QDict *qdict); |
Corey Bryant | 208c9d1 | 2012-06-22 14:36:09 -0400 | [diff] [blame] | 81 | void hmp_getfd(Monitor *mon, const QDict *qdict); |
| 82 | void hmp_closefd(Monitor *mon, const QDict *qdict); |
Amos Kong | e4c8f00 | 2012-08-31 10:56:26 +0800 | [diff] [blame] | 83 | void hmp_send_key(Monitor *mon, const QDict *qdict); |
Luiz Capitulino | ad39cf6 | 2012-05-24 13:48:23 -0300 | [diff] [blame] | 84 | void hmp_screen_dump(Monitor *mon, const QDict *qdict); |
Paolo Bonzini | 4057725 | 2012-08-23 11:53:04 +0200 | [diff] [blame] | 85 | void hmp_nbd_server_start(Monitor *mon, const QDict *qdict); |
| 86 | void hmp_nbd_server_add(Monitor *mon, const QDict *qdict); |
| 87 | void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict); |
Gerd Hoffmann | f108890 | 2012-12-19 10:33:40 +0100 | [diff] [blame] | 88 | void hmp_chardev_add(Monitor *mon, const QDict *qdict); |
| 89 | void hmp_chardev_remove(Monitor *mon, const QDict *qdict); |
Kevin Wolf | 587da2c | 2013-06-05 14:19:41 +0200 | [diff] [blame] | 90 | void hmp_qemu_io(Monitor *mon, const QDict *qdict); |
Anthony Liguori | 48a32be | 2011-09-02 12:34:48 -0500 | [diff] [blame] | 91 | |
| 92 | #endif |