qemu/hmp.h
<<
>>
Prefs
   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
  20void hmp_info_name(Monitor *mon, const QDict *qdict);
  21void hmp_info_version(Monitor *mon, const QDict *qdict);
  22void hmp_info_kvm(Monitor *mon, const QDict *qdict);
  23void hmp_info_status(Monitor *mon, const QDict *qdict);
  24void hmp_info_uuid(Monitor *mon, const QDict *qdict);
  25void hmp_info_chardev(Monitor *mon, const QDict *qdict);
  26void hmp_info_mice(Monitor *mon, const QDict *qdict);
  27void hmp_info_migrate(Monitor *mon, const QDict *qdict);
  28void hmp_info_migrate_capabilities(Monitor *mon, const QDict *qdict);
  29void hmp_info_migrate_parameters(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_irq(Monitor *mon, const QDict *qdict);
  38void hmp_info_pic(Monitor *mon, const QDict *qdict);
  39void hmp_info_pci(Monitor *mon, const QDict *qdict);
  40void hmp_info_block_jobs(Monitor *mon, const QDict *qdict);
  41void hmp_info_tpm(Monitor *mon, const QDict *qdict);
  42void hmp_info_iothreads(Monitor *mon, const QDict *qdict);
  43void hmp_quit(Monitor *mon, const QDict *qdict);
  44void hmp_stop(Monitor *mon, const QDict *qdict);
  45void hmp_system_reset(Monitor *mon, const QDict *qdict);
  46void hmp_system_powerdown(Monitor *mon, const QDict *qdict);
  47void hmp_exit_preconfig(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_block_passwd(Monitor *mon, const QDict *qdict);
  58void hmp_balloon(Monitor *mon, const QDict *qdict);
  59void hmp_block_resize(Monitor *mon, const QDict *qdict);
  60void hmp_snapshot_blkdev(Monitor *mon, const QDict *qdict);
  61void hmp_snapshot_blkdev_internal(Monitor *mon, const QDict *qdict);
  62void hmp_snapshot_delete_blkdev_internal(Monitor *mon, const QDict *qdict);
  63void hmp_drive_mirror(Monitor *mon, const QDict *qdict);
  64void hmp_drive_backup(Monitor *mon, const QDict *qdict);
  65void hmp_loadvm(Monitor *mon, const QDict *qdict);
  66void hmp_savevm(Monitor *mon, const QDict *qdict);
  67void hmp_delvm(Monitor *mon, const QDict *qdict);
  68void hmp_info_snapshots(Monitor *mon, const QDict *qdict);
  69void hmp_migrate_cancel(Monitor *mon, const QDict *qdict);
  70void hmp_migrate_continue(Monitor *mon, const QDict *qdict);
  71void hmp_migrate_incoming(Monitor *mon, const QDict *qdict);
  72void hmp_migrate_recover(Monitor *mon, const QDict *qdict);
  73void hmp_migrate_pause(Monitor *mon, const QDict *qdict);
  74void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict);
  75void hmp_migrate_set_speed(Monitor *mon, const QDict *qdict);
  76void hmp_migrate_set_capability(Monitor *mon, const QDict *qdict);
  77void hmp_migrate_set_parameter(Monitor *mon, const QDict *qdict);
  78void hmp_migrate_set_cache_size(Monitor *mon, const QDict *qdict);
  79void hmp_client_migrate_info(Monitor *mon, const QDict *qdict);
  80void hmp_migrate_start_postcopy(Monitor *mon, const QDict *qdict);
  81void hmp_x_colo_lost_heartbeat(Monitor *mon, const QDict *qdict);
  82void hmp_set_password(Monitor *mon, const QDict *qdict);
  83void hmp_expire_password(Monitor *mon, const QDict *qdict);
  84void hmp_eject(Monitor *mon, const QDict *qdict);
  85void hmp_change(Monitor *mon, const QDict *qdict);
  86void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict);
  87void hmp_block_stream(Monitor *mon, const QDict *qdict);
  88void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict);
  89void hmp_block_job_cancel(Monitor *mon, const QDict *qdict);
  90void hmp_block_job_pause(Monitor *mon, const QDict *qdict);
  91void hmp_block_job_resume(Monitor *mon, const QDict *qdict);
  92void hmp_block_job_complete(Monitor *mon, const QDict *qdict);
  93void hmp_migrate(Monitor *mon, const QDict *qdict);
  94void hmp_device_add(Monitor *mon, const QDict *qdict);
  95void hmp_device_del(Monitor *mon, const QDict *qdict);
  96void hmp_dump_guest_memory(Monitor *mon, const QDict *qdict);
  97void hmp_netdev_add(Monitor *mon, const QDict *qdict);
  98void hmp_netdev_del(Monitor *mon, const QDict *qdict);
  99void hmp_getfd(Monitor *mon, const QDict *qdict);
 100void hmp_closefd(Monitor *mon, const QDict *qdict);
 101void hmp_sendkey(Monitor *mon, const QDict *qdict);
 102void hmp_screendump(Monitor *mon, const QDict *qdict);
 103void hmp_nbd_server_start(Monitor *mon, const QDict *qdict);
 104void hmp_nbd_server_add(Monitor *mon, const QDict *qdict);
 105void hmp_nbd_server_remove(Monitor *mon, const QDict *qdict);
 106void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict);
 107void hmp_chardev_add(Monitor *mon, const QDict *qdict);
 108void hmp_chardev_change(Monitor *mon, const QDict *qdict);
 109void hmp_chardev_remove(Monitor *mon, const QDict *qdict);
 110void hmp_chardev_send_break(Monitor *mon, const QDict *qdict);
 111void hmp_qemu_io(Monitor *mon, const QDict *qdict);
 112void hmp_cpu_add(Monitor *mon, const QDict *qdict);
 113void hmp_object_add(Monitor *mon, const QDict *qdict);
 114void hmp_object_del(Monitor *mon, const QDict *qdict);
 115void hmp_info_memdev(Monitor *mon, const QDict *qdict);
 116void hmp_info_memory_devices(Monitor *mon, const QDict *qdict);
 117void hmp_qom_list(Monitor *mon, const QDict *qdict);
 118void hmp_qom_set(Monitor *mon, const QDict *qdict);
 119void object_add_completion(ReadLineState *rs, int nb_args, const char *str);
 120void object_del_completion(ReadLineState *rs, int nb_args, const char *str);
 121void device_add_completion(ReadLineState *rs, int nb_args, const char *str);
 122void device_del_completion(ReadLineState *rs, int nb_args, const char *str);
 123void sendkey_completion(ReadLineState *rs, int nb_args, const char *str);
 124void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str);
 125void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str);
 126void set_link_completion(ReadLineState *rs, int nb_args, const char *str);
 127void netdev_add_completion(ReadLineState *rs, int nb_args, const char *str);
 128void netdev_del_completion(ReadLineState *rs, int nb_args, const char *str);
 129void ringbuf_write_completion(ReadLineState *rs, int nb_args, const char *str);
 130void info_trace_events_completion(ReadLineState *rs, int nb_args, const char *str);
 131void trace_event_completion(ReadLineState *rs, int nb_args, const char *str);
 132void watchdog_action_completion(ReadLineState *rs, int nb_args,
 133                                const char *str);
 134void migrate_set_capability_completion(ReadLineState *rs, int nb_args,
 135                                       const char *str);
 136void migrate_set_parameter_completion(ReadLineState *rs, int nb_args,
 137                                      const char *str);
 138void delvm_completion(ReadLineState *rs, int nb_args, const char *str);
 139void loadvm_completion(ReadLineState *rs, int nb_args, const char *str);
 140void hmp_rocker(Monitor *mon, const QDict *qdict);
 141void hmp_rocker_ports(Monitor *mon, const QDict *qdict);
 142void hmp_rocker_of_dpa_flows(Monitor *mon, const QDict *qdict);
 143void hmp_rocker_of_dpa_groups(Monitor *mon, const QDict *qdict);
 144void hmp_info_dump(Monitor *mon, const QDict *qdict);
 145void hmp_info_ramblock(Monitor *mon, const QDict *qdict);
 146void hmp_hotpluggable_cpus(Monitor *mon, const QDict *qdict);
 147void hmp_info_vm_generation_id(Monitor *mon, const QDict *qdict);
 148void hmp_info_memory_size_summary(Monitor *mon, const QDict *qdict);
 149void hmp_info_sev(Monitor *mon, const QDict *qdict);
 150
 151#endif
 152