Lines Matching +full:- +full:- +full:-

10  * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
20 #include "qapi/qapi-builtin-visit.h"
21 #include "qapi/qapi-commands-machine.h"
23 #include "qapi/string-output-visitor.h"
24 #include "qemu/error-report.h"
34 for (cpu = cpu_list; cpu; cpu = cpu->next) { in hmp_info_cpus()
37 if (cpu->value->cpu_index == monitor_get_cpu_index(mon)) { in hmp_info_cpus()
42 cpu->value->cpu_index); in hmp_info_cpus()
43 monitor_printf(mon, " thread_id=%" PRId64 "\n", cpu->value->thread_id); in hmp_info_cpus()
62 monitor_printf(mon, " type: \"%s\"\n", l->value->type); in hmp_hotpluggable_cpus()
64 l->value->vcpus_count); in hmp_hotpluggable_cpus()
65 if (l->value->qom_path) { in hmp_hotpluggable_cpus()
66 monitor_printf(mon, " qom_path: \"%s\"\n", l->value->qom_path); in hmp_hotpluggable_cpus()
69 c = l->value->props; in hmp_hotpluggable_cpus()
71 if (c->has_node_id) { in hmp_hotpluggable_cpus()
72 monitor_printf(mon, " node-id: \"%" PRIu64 "\"\n", c->node_id); in hmp_hotpluggable_cpus()
74 if (c->has_drawer_id) { in hmp_hotpluggable_cpus()
75 monitor_printf(mon, " drawer-id: \"%" PRIu64 "\"\n", c->drawer_id); in hmp_hotpluggable_cpus()
77 if (c->has_book_id) { in hmp_hotpluggable_cpus()
78 monitor_printf(mon, " book-id: \"%" PRIu64 "\"\n", c->book_id); in hmp_hotpluggable_cpus()
80 if (c->has_socket_id) { in hmp_hotpluggable_cpus()
81 monitor_printf(mon, " socket-id: \"%" PRIu64 "\"\n", c->socket_id); in hmp_hotpluggable_cpus()
83 if (c->has_die_id) { in hmp_hotpluggable_cpus()
84 monitor_printf(mon, " die-id: \"%" PRIu64 "\"\n", c->die_id); in hmp_hotpluggable_cpus()
86 if (c->has_cluster_id) { in hmp_hotpluggable_cpus()
87 monitor_printf(mon, " cluster-id: \"%" PRIu64 "\"\n", in hmp_hotpluggable_cpus()
88 c->cluster_id); in hmp_hotpluggable_cpus()
90 if (c->has_module_id) { in hmp_hotpluggable_cpus()
91 monitor_printf(mon, " module-id: \"%" PRIu64 "\"\n", in hmp_hotpluggable_cpus()
92 c->module_id); in hmp_hotpluggable_cpus()
94 if (c->has_core_id) { in hmp_hotpluggable_cpus()
95 monitor_printf(mon, " core-id: \"%" PRIu64 "\"\n", c->core_id); in hmp_hotpluggable_cpus()
97 if (c->has_thread_id) { in hmp_hotpluggable_cpus()
98 monitor_printf(mon, " thread-id: \"%" PRIu64 "\"\n", c->thread_id); in hmp_hotpluggable_cpus()
101 l = l->next; in hmp_hotpluggable_cpus()
117 visit_type_uint16List(v, NULL, &m->value->host_nodes, &error_abort); in hmp_info_memdev()
118 monitor_printf(mon, "memory backend: %s\n", m->value->id); in hmp_info_memdev()
119 monitor_printf(mon, " size: %" PRId64 "\n", m->value->size); in hmp_info_memdev()
121 m->value->merge ? "true" : "false"); in hmp_info_memdev()
123 m->value->dump ? "true" : "false"); in hmp_info_memdev()
125 m->value->prealloc ? "true" : "false"); in hmp_info_memdev()
127 m->value->share ? "true" : "false"); in hmp_info_memdev()
128 if (m->value->has_reserve) { in hmp_info_memdev()
130 m->value->reserve ? "true" : "false"); in hmp_info_memdev()
133 HostMemPolicy_str(m->value->policy)); in hmp_info_memdev()
139 m = m->next; in hmp_info_memdev()
154 if (info->present) { in hmp_info_kvm()
155 monitor_printf(mon, "%s\n", info->enabled ? "enabled" : "disabled"); in hmp_info_kvm()
168 monitor_printf(mon, "%s\n", info->UUID); in hmp_info_uuid()
182 monitor_printf(mon, "balloon: actual=%" PRId64 "\n", info->actual >> 20); in hmp_info_balloon()
262 for (info = info_list; info; info = info->next) { in hmp_info_memory_devices()
263 value = info->value; in hmp_info_memory_devices()
266 switch (value->type) { in hmp_info_memory_devices()
269 di = value->type == MEMORY_DEVICE_INFO_KIND_DIMM ? in hmp_info_memory_devices()
270 value->u.dimm.data : value->u.nvdimm.data; in hmp_info_memory_devices()
272 MemoryDeviceInfoKind_str(value->type), in hmp_info_memory_devices()
273 di->id ? di->id : ""); in hmp_info_memory_devices()
274 monitor_printf(mon, " addr: 0x%" PRIx64 "\n", di->addr); in hmp_info_memory_devices()
275 monitor_printf(mon, " slot: %" PRId64 "\n", di->slot); in hmp_info_memory_devices()
276 monitor_printf(mon, " node: %" PRId64 "\n", di->node); in hmp_info_memory_devices()
277 monitor_printf(mon, " size: %" PRIu64 "\n", di->size); in hmp_info_memory_devices()
278 monitor_printf(mon, " memdev: %s\n", di->memdev); in hmp_info_memory_devices()
280 di->hotplugged ? "true" : "false"); in hmp_info_memory_devices()
282 di->hotpluggable ? "true" : "false"); in hmp_info_memory_devices()
285 vpi = value->u.virtio_pmem.data; in hmp_info_memory_devices()
287 MemoryDeviceInfoKind_str(value->type), in hmp_info_memory_devices()
288 vpi->id ? vpi->id : ""); in hmp_info_memory_devices()
289 monitor_printf(mon, " memaddr: 0x%" PRIx64 "\n", vpi->memaddr); in hmp_info_memory_devices()
290 monitor_printf(mon, " size: %" PRIu64 "\n", vpi->size); in hmp_info_memory_devices()
291 monitor_printf(mon, " memdev: %s\n", vpi->memdev); in hmp_info_memory_devices()
294 vmi = value->u.virtio_mem.data; in hmp_info_memory_devices()
296 MemoryDeviceInfoKind_str(value->type), in hmp_info_memory_devices()
297 vmi->id ? vmi->id : ""); in hmp_info_memory_devices()
298 monitor_printf(mon, " memaddr: 0x%" PRIx64 "\n", vmi->memaddr); in hmp_info_memory_devices()
299 monitor_printf(mon, " node: %" PRId64 "\n", vmi->node); in hmp_info_memory_devices()
300 monitor_printf(mon, " requested-size: %" PRIu64 "\n", in hmp_info_memory_devices()
301 vmi->requested_size); in hmp_info_memory_devices()
302 monitor_printf(mon, " size: %" PRIu64 "\n", vmi->size); in hmp_info_memory_devices()
303 monitor_printf(mon, " max-size: %" PRIu64 "\n", vmi->max_size); in hmp_info_memory_devices()
304 monitor_printf(mon, " block-size: %" PRIu64 "\n", in hmp_info_memory_devices()
305 vmi->block_size); in hmp_info_memory_devices()
306 monitor_printf(mon, " memdev: %s\n", vmi->memdev); in hmp_info_memory_devices()
309 se = value->u.sgx_epc.data; in hmp_info_memory_devices()
311 MemoryDeviceInfoKind_str(value->type), in hmp_info_memory_devices()
312 se->id ? se->id : ""); in hmp_info_memory_devices()
313 monitor_printf(mon, " memaddr: 0x%" PRIx64 "\n", se->memaddr); in hmp_info_memory_devices()
314 monitor_printf(mon, " size: %" PRIu64 "\n", se->size); in hmp_info_memory_devices()
315 monitor_printf(mon, " node: %" PRId64 "\n", se->node); in hmp_info_memory_devices()
316 monitor_printf(mon, " memdev: %s\n", se->memdev); in hmp_info_memory_devices()
319 hi = value->u.hv_balloon.data; in hmp_info_memory_devices()
321 MemoryDeviceInfoKind_str(value->type), in hmp_info_memory_devices()
322 hi->id ? hi->id : ""); in hmp_info_memory_devices()
323 if (hi->has_memaddr) { in hmp_info_memory_devices()
325 hi->memaddr); in hmp_info_memory_devices()
327 monitor_printf(mon, " max-size: %" PRIu64 "\n", hi->max_size); in hmp_info_memory_devices()
328 if (hi->memdev) { in hmp_info_memory_devices()
329 monitor_printf(mon, " memdev: %s\n", hi->memdev); in hmp_info_memory_devices()
347 monitor_printf(mon, "%s\n", info->guid); in hmp_info_vm_generation_id()
359 info->base_memory); in hmp_info_memory_size_summary()
361 if (info->has_plugged_memory) { in hmp_info_memory_size_summary()
363 info->plugged_memory); in hmp_info_memory_size_summary()