]> git.proxmox.com Git - mirror_qemu.git/blame_incremental - hmp.h
qapi event: convert POWERDOWN
[mirror_qemu.git] / hmp.h
... / ...
CommitLineData
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 "qemu/readline.h"
19#include "qapi-types.h"
20#include "qapi/qmp/qdict.h"
21
22void hmp_info_name(Monitor *mon, const QDict *qdict);
23void hmp_info_version(Monitor *mon, const QDict *qdict);
24void hmp_info_kvm(Monitor *mon, const QDict *qdict);
25void hmp_info_status(Monitor *mon, const QDict *qdict);
26void hmp_info_uuid(Monitor *mon, const QDict *qdict);
27void hmp_info_chardev(Monitor *mon, const QDict *qdict);
28void hmp_info_mice(Monitor *mon, const QDict *qdict);
29void hmp_info_migrate(Monitor *mon, const QDict *qdict);
30void hmp_info_migrate_capabilities(Monitor *mon, const QDict *qdict);
31void hmp_info_migrate_cache_size(Monitor *mon, const QDict *qdict);
32void hmp_info_cpus(Monitor *mon, const QDict *qdict);
33void hmp_info_block(Monitor *mon, const QDict *qdict);
34void hmp_info_blockstats(Monitor *mon, const QDict *qdict);
35void hmp_info_vnc(Monitor *mon, const QDict *qdict);
36void hmp_info_spice(Monitor *mon, const QDict *qdict);
37void hmp_info_balloon(Monitor *mon, const QDict *qdict);
38void hmp_info_pci(Monitor *mon, const QDict *qdict);
39void hmp_info_block_jobs(Monitor *mon, const QDict *qdict);
40void hmp_info_tpm(Monitor *mon, const QDict *qdict);
41void hmp_quit(Monitor *mon, const QDict *qdict);
42void hmp_stop(Monitor *mon, const QDict *qdict);
43void hmp_system_reset(Monitor *mon, const QDict *qdict);
44void hmp_system_powerdown(Monitor *mon, const QDict *qdict);
45void hmp_cpu(Monitor *mon, const QDict *qdict);
46void hmp_memsave(Monitor *mon, const QDict *qdict);
47void hmp_pmemsave(Monitor *mon, const QDict *qdict);
48void hmp_ringbuf_write(Monitor *mon, const QDict *qdict);
49void hmp_ringbuf_read(Monitor *mon, const QDict *qdict);
50void hmp_cont(Monitor *mon, const QDict *qdict);
51void hmp_system_wakeup(Monitor *mon, const QDict *qdict);
52void hmp_inject_nmi(Monitor *mon, const QDict *qdict);
53void hmp_set_link(Monitor *mon, const QDict *qdict);
54void hmp_block_passwd(Monitor *mon, const QDict *qdict);
55void hmp_balloon(Monitor *mon, const QDict *qdict);
56void hmp_block_resize(Monitor *mon, const QDict *qdict);
57void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict);
58void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict);
59void hmp_snapshot_delete_blkdev_internal(Monitor *mon, const QDict *qdict);
60void hmp_drive_mirror(Monitor *mon, const QDict *qdict);
61void hmp_drive_backup(Monitor *mon, const QDict *qdict);
62void hmp_migrate_cancel(Monitor *mon, const QDict *qdict);
63void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict);
64void hmp_migrate_set_speed(Monitor *mon, const QDict *qdict);
65void hmp_migrate_set_capability(Monitor *mon, const QDict *qdict);
66void hmp_migrate_set_cache_size(Monitor *mon, const QDict *qdict);
67void hmp_set_password(Monitor *mon, const QDict *qdict);
68void hmp_expire_password(Monitor *mon, const QDict *qdict);
69void hmp_eject(Monitor *mon, const QDict *qdict);
70void hmp_change(Monitor *mon, const QDict *qdict);
71void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict);
72void hmp_block_stream(Monitor *mon, const QDict *qdict);
73void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict);
74void hmp_block_job_cancel(Monitor *mon, const QDict *qdict);
75void hmp_block_job_pause(Monitor *mon, const QDict *qdict);
76void hmp_block_job_resume(Monitor *mon, const QDict *qdict);
77void hmp_block_job_complete(Monitor *mon, const QDict *qdict);
78void hmp_migrate(Monitor *mon, const QDict *qdict);
79void hmp_device_del(Monitor *mon, const QDict *qdict);
80void hmp_dump_guest_memory(Monitor *mon, const QDict *qdict);
81void hmp_netdev_add(Monitor *mon, const QDict *qdict);
82void hmp_netdev_del(Monitor *mon, const QDict *qdict);
83void hmp_getfd(Monitor *mon, const QDict *qdict);
84void hmp_closefd(Monitor *mon, const QDict *qdict);
85void hmp_send_key(Monitor *mon, const QDict *qdict);
86void hmp_screen_dump(Monitor *mon, const QDict *qdict);
87void hmp_nbd_server_start(Monitor *mon, const QDict *qdict);
88void hmp_nbd_server_add(Monitor *mon, const QDict *qdict);
89void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict);
90void hmp_chardev_add(Monitor *mon, const QDict *qdict);
91void hmp_chardev_remove(Monitor *mon, const QDict *qdict);
92void hmp_qemu_io(Monitor *mon, const QDict *qdict);
93void hmp_cpu_add(Monitor *mon, const QDict *qdict);
94void hmp_object_add(Monitor *mon, const QDict *qdict);
95void hmp_object_del(Monitor *mon, const QDict *qdict);
96void hmp_info_memdev(Monitor *mon, const QDict *qdict);
97void object_add_completion(ReadLineState *rs, int nb_args, const char *str);
98void object_del_completion(ReadLineState *rs, int nb_args, const char *str);
99void device_add_completion(ReadLineState *rs, int nb_args, const char *str);
100void device_del_completion(ReadLineState *rs, int nb_args, const char *str);
101void sendkey_completion(ReadLineState *rs, int nb_args, const char *str);
102void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str);
103void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str);
104void set_link_completion(ReadLineState *rs, int nb_args, const char *str);
105void netdev_add_completion(ReadLineState *rs, int nb_args, const char *str);
106void netdev_del_completion(ReadLineState *rs, int nb_args, const char *str);
107void ringbuf_write_completion(ReadLineState *rs, int nb_args, const char *str);
108void ringbuf_read_completion(ReadLineState *rs, int nb_args, const char *str);
109void watchdog_action_completion(ReadLineState *rs, int nb_args,
110 const char *str);
111void migrate_set_capability_completion(ReadLineState *rs, int nb_args,
112 const char *str);
113void host_net_add_completion(ReadLineState *rs, int nb_args, const char *str);
114void host_net_remove_completion(ReadLineState *rs, int nb_args,
115 const char *str);
116void delvm_completion(ReadLineState *rs, int nb_args, const char *str);
117void loadvm_completion(ReadLineState *rs, int nb_args, const char *str);
118
119#endif