qemu/stubs
Vadim Galitsyn 9aa3397f19 qmp: introduce query-memory-size-summary command
Add a new query-memory-size-summary command which provides the
following memory information in bytes:

  * base-memory - size of "base" memory specified with command line option -m.

  * plugged-memory - amount of memory that was hot-plugged.
    If target does not have CONFIG_MEM_HOTPLUG enabled, no
    value is reported.

Signed-off-by: Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com>
Signed-off-by: Mohammed Gamal <mohammed.gamal@profitbricks.com>
Signed-off-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
Signed-off-by: Vadim Galitsyn <vadim.galitsyn@profitbricks.com>
Reviewed-by: Eugene Crosser <evgenii.cherkashin@profitbricks.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: qemu-devel@nongnu.org
Message-Id: <20170829153022.27004-3-vadim.galitsyn@profitbricks.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Fixup comments as per Igor's review
  Added 'of' from Vadim's reply
2017-09-14 15:52:10 +01:00
..
Makefile.objs qmp: introduce query-memory-size-summary command 2017-09-14 15:52:10 +01:00
arch-query-cpu-def.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
arch-query-cpu-model-baseline.c qmp: add QMP interface "query-cpu-model-baseline" 2016-09-06 17:06:51 +02:00
arch-query-cpu-model-comparison.c qmp: add QMP interface "query-cpu-model-comparison" 2016-09-06 17:06:51 +02:00
arch-query-cpu-model-expansion.c qmp: add QMP interface "query-cpu-model-expansion" 2016-09-06 17:06:51 +02:00
bdrv-next-monitor-owned.c block: Add bdrv_next_monitor_owned() 2016-03-17 15:47:56 +01:00
blk-commit-all.c block: Move some bdrv_*_all() functions to BB 2016-03-17 15:47:56 +01:00
blockdev-close-all-bdrv-states.c all: Clean up includes 2016-02-16 14:29:28 +00:00
change-state-handler.c stubs: Add vm state change handler stubs 2017-08-15 10:03:27 -05:00
clock-warp.c icount: decouple warp calls 2016-03-15 18:23:45 +01:00
cpu-get-clock.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
cpu-get-icount.c cpus: define QEMUTimerListNotifyCB for QEMU system emulation 2017-03-14 13:28:29 +01:00
dump.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
error-printf.c tests: send error_report to test log 2016-11-01 16:06:57 +01:00
fd-register.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset.c stubs: group all monitor_fdset_* functions in a single file 2017-01-16 17:52:35 +01:00
gdbstub.c Clean up includes some more 2016-03-22 22:20:16 +01:00
get-vm-name.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
iothread-lock.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
iothread.c aio: introduce qemu_get_current_aio_context 2016-10-28 21:50:18 +08:00
is-daemonized.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
linux-aio.c block: move AioContext, QEMUTimer, main-loop to libqemuutil 2017-02-21 11:14:07 +00:00
machine-init-done.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
migr-blocker.c migration: Create migration/blocker.h 2017-05-17 12:04:59 +02:00
monitor.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
notify-event.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
pc_madt_cpu_entry.c machine: Make possible_cpu_arch_ids() return const pointer 2017-01-23 21:25:37 -02:00
pci-host-piix.c hw/acpi: Move acpi_set_pci_info to pcihp 2017-09-08 16:15:17 +03:00
qmp_pc_dimm.c qmp: introduce query-memory-size-summary command 2017-09-14 15:52:10 +01:00
qtest.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
replay.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
runstate-check.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
set-fd-handler.c block: move AioContext, QEMUTimer, main-loop to libqemuutil 2017-02-21 11:14:07 +00:00
slirp.c qemu-common: stop including qemu/host-utils.h from qemu-common.h 2016-05-19 16:42:28 +02:00
sysbus.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
target-get-monitor-def.c Clean up includes some more 2016-03-22 22:20:16 +01:00
target-monitor-defs.c Clean up includes some more 2016-03-22 22:20:16 +01:00
trace-control.c trace: remove global 'uint16 dstate[]' array 2016-10-12 09:35:54 +02:00
uuid.c util: Add UUID API 2016-09-23 11:42:52 +08:00
vm-stop.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
vmgenid.c qmp/hmp: add query-vm-generation-id and 'info vm-generation-id' commands 2017-03-02 07:14:27 +02:00
vmstate.c migration: Move check_migratable() into qdev.c 2017-05-17 12:04:59 +02:00
xen-common.c move xen-common.c to hw/xen/ 2017-04-25 11:04:34 -07:00
xen-hvm.c move xen-hvm.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00