summaryrefslogtreecommitdiffstats
path: root/audio/spiceaudio.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-11-11 09:20:22 +0100
committerPhilippe Mathieu-Daudé2021-11-15 21:49:16 +0100
commitc3440eff4c0b6ec7adf391620393cb9755eab8d9 (patch)
tree170ef0b4ad6e92d8ecee002d9dc955869b239fae /audio/spiceaudio.c
parenttests/unit/test-smp-parse: Restore MachineClass fields after modifying (diff)
downloadqemu-c3440eff4c0b6ec7adf391620393cb9755eab8d9.tar.gz
qemu-c3440eff4c0b6ec7adf391620393cb9755eab8d9.tar.xz
qemu-c3440eff4c0b6ec7adf391620393cb9755eab8d9.zip
tests/unit/test-smp-parse: QOM'ify smp_machine_class_init()
smp_machine_class_init() is the actual TypeInfo::class_init(). Declare it as such in smp_machine_info, and avoid to call it manually in each test. Move smp_machine_info definition just before we register the type to avoid a forward declaration. Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Yanan Wang <wangyanan55@huawei.com> Tested-by: Yanan Wang <wangyanan55@huawei.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211115145900.2531865-3-philmd@redhat.com>
Diffstat (limited to 'audio/spiceaudio.c')
0 files changed, 0 insertions, 0 deletions