hmp.h (7114B)
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/readline.h" 18 19void hmp_handle_error(Monitor *mon, Error *err); 20 21void 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_parameters(Monitor *mon, const QDict *qdict); 31void hmp_info_cpus(Monitor *mon, const QDict *qdict); 32void hmp_info_vnc(Monitor *mon, const QDict *qdict); 33void hmp_info_spice(Monitor *mon, const QDict *qdict); 34void hmp_info_balloon(Monitor *mon, const QDict *qdict); 35void hmp_info_irq(Monitor *mon, const QDict *qdict); 36void hmp_info_pic(Monitor *mon, const QDict *qdict); 37void hmp_info_rdma(Monitor *mon, const QDict *qdict); 38void hmp_info_pci(Monitor *mon, const QDict *qdict); 39void hmp_info_tpm(Monitor *mon, const QDict *qdict); 40void hmp_info_iothreads(Monitor *mon, const QDict *qdict); 41void hmp_quit(Monitor *mon, const QDict *qdict); 42void hmp_stop(Monitor *mon, const QDict *qdict); 43void hmp_sync_profile(Monitor *mon, const QDict *qdict); 44void hmp_system_reset(Monitor *mon, const QDict *qdict); 45void hmp_system_powerdown(Monitor *mon, const QDict *qdict); 46void hmp_exit_preconfig(Monitor *mon, const QDict *qdict); 47void hmp_announce_self(Monitor *mon, const QDict *qdict); 48void hmp_cpu(Monitor *mon, const QDict *qdict); 49void hmp_memsave(Monitor *mon, const QDict *qdict); 50void hmp_pmemsave(Monitor *mon, const QDict *qdict); 51void hmp_ringbuf_write(Monitor *mon, const QDict *qdict); 52void hmp_ringbuf_read(Monitor *mon, const QDict *qdict); 53void hmp_cont(Monitor *mon, const QDict *qdict); 54void hmp_system_wakeup(Monitor *mon, const QDict *qdict); 55void hmp_nmi(Monitor *mon, const QDict *qdict); 56void hmp_set_link(Monitor *mon, const QDict *qdict); 57void hmp_balloon(Monitor *mon, const QDict *qdict); 58void hmp_loadvm(Monitor *mon, const QDict *qdict); 59void hmp_savevm(Monitor *mon, const QDict *qdict); 60void hmp_delvm(Monitor *mon, const QDict *qdict); 61void hmp_migrate_cancel(Monitor *mon, const QDict *qdict); 62void hmp_migrate_continue(Monitor *mon, const QDict *qdict); 63void hmp_migrate_incoming(Monitor *mon, const QDict *qdict); 64void hmp_migrate_recover(Monitor *mon, const QDict *qdict); 65void hmp_migrate_pause(Monitor *mon, const QDict *qdict); 66void hmp_migrate_set_capability(Monitor *mon, const QDict *qdict); 67void hmp_migrate_set_parameter(Monitor *mon, const QDict *qdict); 68void hmp_client_migrate_info(Monitor *mon, const QDict *qdict); 69void hmp_migrate_start_postcopy(Monitor *mon, const QDict *qdict); 70void hmp_x_colo_lost_heartbeat(Monitor *mon, const QDict *qdict); 71void hmp_set_password(Monitor *mon, const QDict *qdict); 72void hmp_expire_password(Monitor *mon, const QDict *qdict); 73void hmp_change(Monitor *mon, const QDict *qdict); 74void hmp_migrate(Monitor *mon, const QDict *qdict); 75void hmp_device_add(Monitor *mon, const QDict *qdict); 76void hmp_device_del(Monitor *mon, const QDict *qdict); 77void hmp_dump_guest_memory(Monitor *mon, const QDict *qdict); 78void hmp_netdev_add(Monitor *mon, const QDict *qdict); 79void hmp_netdev_del(Monitor *mon, const QDict *qdict); 80void hmp_getfd(Monitor *mon, const QDict *qdict); 81void hmp_closefd(Monitor *mon, const QDict *qdict); 82void hmp_sendkey(Monitor *mon, const QDict *qdict); 83void hmp_screendump(Monitor *mon, const QDict *qdict); 84void hmp_chardev_add(Monitor *mon, const QDict *qdict); 85void hmp_chardev_change(Monitor *mon, const QDict *qdict); 86void hmp_chardev_remove(Monitor *mon, const QDict *qdict); 87void hmp_chardev_send_break(Monitor *mon, const QDict *qdict); 88void hmp_object_add(Monitor *mon, const QDict *qdict); 89void hmp_object_del(Monitor *mon, const QDict *qdict); 90void hmp_info_memdev(Monitor *mon, const QDict *qdict); 91void hmp_info_numa(Monitor *mon, const QDict *qdict); 92void hmp_info_memory_devices(Monitor *mon, const QDict *qdict); 93void hmp_qom_list(Monitor *mon, const QDict *qdict); 94void hmp_qom_get(Monitor *mon, const QDict *qdict); 95void hmp_qom_set(Monitor *mon, const QDict *qdict); 96void hmp_info_qom_tree(Monitor *mon, const QDict *dict); 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 info_trace_events_completion(ReadLineState *rs, int nb_args, const char *str); 109void trace_event_completion(ReadLineState *rs, int nb_args, const char *str); 110void watchdog_action_completion(ReadLineState *rs, int nb_args, 111 const char *str); 112void migrate_set_capability_completion(ReadLineState *rs, int nb_args, 113 const char *str); 114void migrate_set_parameter_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); 118void hmp_rocker(Monitor *mon, const QDict *qdict); 119void hmp_rocker_ports(Monitor *mon, const QDict *qdict); 120void hmp_rocker_of_dpa_flows(Monitor *mon, const QDict *qdict); 121void hmp_rocker_of_dpa_groups(Monitor *mon, const QDict *qdict); 122void hmp_info_dump(Monitor *mon, const QDict *qdict); 123void hmp_info_ramblock(Monitor *mon, const QDict *qdict); 124void hmp_hotpluggable_cpus(Monitor *mon, const QDict *qdict); 125void hmp_info_vm_generation_id(Monitor *mon, const QDict *qdict); 126void hmp_info_memory_size_summary(Monitor *mon, const QDict *qdict); 127void hmp_info_sev(Monitor *mon, const QDict *qdict); 128void hmp_info_replay(Monitor *mon, const QDict *qdict); 129void hmp_replay_break(Monitor *mon, const QDict *qdict); 130void hmp_replay_delete_break(Monitor *mon, const QDict *qdict); 131void hmp_replay_seek(Monitor *mon, const QDict *qdict); 132void hmp_info_dirty_rate(Monitor *mon, const QDict *qdict); 133void hmp_calc_dirty_rate(Monitor *mon, const QDict *qdict); 134 135#endif