summary refs log tree commit diff stats
path: root/contrib/plugins/cache.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-30 11:37:28 +0100
committerFabiano Rosas <farosas@suse.de>2025-02-03 12:15:50 -0300
commitb5467913722a008eedeed71bccf20a38175a5818 (patch)
tree58fff08ff8c2d6127346f4d6542d8e1cd9c4e86b /contrib/plugins/cache.c
parent6f02691ff47255798def37bc47021e847c8d843d (diff)
downloadfocaccia-qemu-b5467913722a008eedeed71bccf20a38175a5818.tar.gz
focaccia-qemu-b5467913722a008eedeed71bccf20a38175a5818.zip
tests/qtest: Make qtest_has_accel() generic
Since commit b14a0b7469f ("accel: Use QOM classes for accel types")
accelerators are registered as QOM objects. Use QOM as a generic
API to query for available accelerators. This is in particular
useful to query hardware accelerators such HFV, Xen or WHPX which
otherwise have their definitions poisoned in "exec/poison.h".

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250130103728.536-3-philmd@linaro.org>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'contrib/plugins/cache.c')
0 files changed, 0 insertions, 0 deletions