You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/core
Paolo Bonzini 71d5babbd6 monitor: generalize query-mshv/"info mshv" to query-accelerators/"info accelerators"
The recently-introduced query-mshv command is a duplicate of query-kvm,
and neither provides a full view of which accelerators are supported
by a particular binary of QEMU and which is in use.

KVM was the first accelerator added to QEMU, predating QOM and TYPE_ACCEL,
so it got a pass.  But now, instead of adding a badly designed copy, solve
the problem completely for all accelerators with a command that provides
the whole picture:

    >> {"execute": "query-accelerators"}
    << {"return": {"enabled": "tcg", "present": ["kvm", "mshv", "qtest", "tcg", "xen"]}}

Cc: Praveen K Paladugu <prapal@microsoft.com>
Cc: Magnus Kulke <magnuskulke@linux.microsoft.com>
Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
6 days ago
..
Kconfig hw/core: Add Enclave Image Format (EIF) related helpers 12 months ago
bus.c qom: Make InterfaceInfo[] uses const 6 months ago
clock-vmstate.c hw/core: Constify VMState 2 years ago
clock.c qom: Have class_init() take a const data argument 6 months ago
cpu-common.c physmem: Destroy all CPU AddressSpaces on unrealize 2 weeks ago
cpu-system.c accel/tcg: Move post-load tb_flush to vm_change_state hook 4 weeks ago
cpu-user.c cpus: Remove CPUClass::has_work() handler 7 months ago
eif.c hw/core/eif: Use stateful qcrypto apis 10 months ago
eif.h hw/core: Add Enclave Image Format (EIF) related helpers 12 months ago
fw-path-provider.c Include qemu/module.h where needed, drop it from qemu-common.h 6 years ago
generic-loader.c qom: Have class_init() take a const data argument 6 months ago
gpio.c qdev: Use machine_get_container() 9 months ago
guest-loader.c qom: Have class_init() take a const data argument 6 months ago
guest-loader.h hw/core: implement a guest-loader to support static hypervisor guests 5 years ago
hotplug.c call HotplugHandler->plug() as the last step in device realization 7 years ago
irq.c hw/irq: New qemu_init_irq_child() function 2 months ago
loader-fit.c include/system: Move exec/memory.h to system/memory.h 6 months ago
loader.c system/physmem: Pass address space argument to cpu_flush_icache_range() 2 weeks ago
machine-hmp-cmds.c monitor: generalize query-mshv/"info mshv" to query-accelerators/"info accelerators" 6 days ago
machine-qmp-cmds.c monitor: generalize query-mshv/"info mshv" to query-accelerators/"info accelerators" 6 days ago
machine-smp.c i386/cpu: add has_caches flag to check smp_cache configuration 8 months ago
machine.c smbios: cap DIMM size to 2Tb as workaround for broken Windows 2 weeks ago
meson.build meson: remove lib{system, user}_ss aliases 5 months ago
nmi.c hw/core: Improve error message when machine doesn't provide NMIs 3 years ago
null-machine.c include/system: Move exec/address-spaces.h to system/address-spaces.h 6 months ago
numa.c include: Rename sysemu/ -> system/ 10 months ago
or-irq.c qom: Have class_init() take a const data argument 6 months ago
platform-bus.c qom: Have class_init() take a const data argument 6 months ago
ptimer.c include/exec: Split out icount.h 6 months ago
qdev-clock.c clock: inline most of qdev_init_clocklist 10 months ago
qdev-fw.c Include hw/qdev-properties.h less 6 years ago
qdev-hotplug.c hw/qdev: Check machine_hotplug_handler in hotplug_unplug_allowed_common 9 months ago
qdev-prop-internal.h qdev: Make qdev_propinfo_get_uint16() static 5 years ago
qdev-properties-system.c hw/display: Allow injection of virtio-gpu EDID name 3 months ago
qdev-properties.c qdev-properties: Add DEFINE_PROP_ON_OFF_AUTO_BIT64() 3 months ago
qdev-user.c qdev: Implement qdev_create_fake_machine() for user emulation 9 months ago
qdev.c virtio: improve virtqueue mapping error messages 2 weeks ago
register.c hw/core/register: Do not unparent in instance_finalize() 4 weeks ago
reset.c qom: Have class_init() take a const data argument 6 months ago
resetcontainer.c qom: Have class_init() take a const data argument 6 months ago
resettable.c hw/core/resettable: Remove transitional_function machinery 1 year ago
split-irq.c qom: Have class_init() take a const data argument 6 months ago
stream.c hw/core/stream: Rename StreamSlave as StreamSink 5 years ago
sysbus-fdt.c target-arm queue: 1 month ago
sysbus.c hw/core/sysbus: Introduce sysbus_mmio_map_name() helper 3 months ago
trace-events trace-events: remove the remaining vcpu trace events 2 years ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
uboot_image.h license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later 1 year ago
vm-change-state-handler.c system/runstate: add VM state change cb with return value 5 months ago
vmstate-if.c vmstate: add qom interface to get id 6 years ago