mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tests: Add coverage for panic on riscv64
It merely duplicates the existing aarch64 coverage right now, but it will become actually useful with the upcoming changes. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
ac05dc8d4f
commit
f22583c6c4
@ -0,0 +1 @@
|
||||
unsupported configuration: the QEMU binary does not support the ISA panic device
|
13
tests/qemuxmlconfdata/riscv64-panic-no-model.xml
Normal file
13
tests/qemuxmlconfdata/riscv64-panic-no-model.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<domain type='qemu'>
|
||||
<name>guest</name>
|
||||
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
|
||||
<memory>4194304</memory>
|
||||
<vcpu>4</vcpu>
|
||||
<os>
|
||||
<type arch='riscv64' machine='virt'>hvm</type>
|
||||
</os>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-riscv64</emulator>
|
||||
<panic/>
|
||||
</devices>
|
||||
</domain>
|
@ -2649,6 +2649,7 @@ mymain(void)
|
||||
DO_TEST_CAPS_LATEST("panic-double");
|
||||
DO_TEST_CAPS_LATEST("panic-no-address");
|
||||
DO_TEST_CAPS_ARCH_LATEST_PARSE_ERROR("aarch64-panic-no-model", "aarch64");
|
||||
DO_TEST_CAPS_ARCH_LATEST_PARSE_ERROR("riscv64-panic-no-model", "riscv64");
|
||||
|
||||
DO_TEST_CAPS_LATEST("pvpanic-pci-x86_64");
|
||||
DO_TEST_CAPS_ARCH_LATEST("pvpanic-pci-aarch64", "aarch64");
|
||||
|
Loading…
Reference in New Issue
Block a user