]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/unit/test-smp-parse: Add 'smp-generic-invalid' machine type
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 15 Nov 2021 14:44:07 +0000 (15:44 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 12:31:03 +0000 (13:31 +0100)
commit7ca0705eba00c0d38f7b37670ee6cff9b607bb74
treeb033ea8fa350f7f52fb9fb9694838b5da66ca585
parent76b6d4cce364ef841a3e2e3574322ca6d8a27414
tests/unit/test-smp-parse: Add 'smp-generic-invalid' machine type

Avoid modifying the MachineClass internals by adding the
'smp-generic-invalid' machine, which inherits from TYPE_MACHINE.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Message-Id: <20211216132015.815493-5-philmd@redhat.com>
tests/unit/test-smp-parse.c