[PATCH 020/103] tests: qemuxml2argv: Test also the i6300esb watchdog

Peter Krempa posted 103 patches 4 years, 4 months ago
Only 102 patches received!
[PATCH 020/103] tests: qemuxml2argv: Test also the i6300esb watchdog
Posted by Peter Krempa 4 years, 4 months ago
Convert one of the tests to a different device.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 tests/qemuxml2argvdata/watchdog-device.x86_64-latest.args | 2 +-
 tests/qemuxml2argvdata/watchdog-device.xml                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qemuxml2argvdata/watchdog-device.x86_64-latest.args b/tests/qemuxml2argvdata/watchdog-device.x86_64-latest.args
index 0da2413005..78ac8227c3 100644
--- a/tests/qemuxml2argvdata/watchdog-device.x86_64-latest.args
+++ b/tests/qemuxml2argvdata/watchdog-device.x86_64-latest.args
@@ -31,7 +31,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-QEMUGuest1/.config \
 -blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"raw","file":"libvirt-1-storage"}' \
 -device ide-hd,bus=ide.0,unit=0,drive=libvirt-1-format,id=ide0-0-0,bootindex=1 \
 -audiodev id=audio1,driver=none \
--device ib700,id=watchdog0 \
+-device i6300esb,id=watchdog0,bus=pci.0,addr=0x3 \
 -watchdog-action poweroff \
 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2 \
 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
diff --git a/tests/qemuxml2argvdata/watchdog-device.xml b/tests/qemuxml2argvdata/watchdog-device.xml
index a65caf5be4..490f11a5b5 100644
--- a/tests/qemuxml2argvdata/watchdog-device.xml
+++ b/tests/qemuxml2argvdata/watchdog-device.xml
@@ -18,7 +18,7 @@
       <source dev='/dev/HostVG/QEMUGuest1'/>
       <target dev='hda' bus='ide'/>
     </disk>
-    <watchdog model='ib700' action='poweroff'/>
+    <watchdog model='i6300esb' action='poweroff'/>
     <memballoon model='virtio'/>
   </devices>
 </domain>
-- 
2.31.1

Re: [PATCH 020/103] tests: qemuxml2argv: Test also the i6300esb watchdog
Posted by Ján Tomko 4 years, 4 months ago
On a Thursday in 2021, Peter Krempa wrote:
>Convert one of the tests to a different device.
>
>Signed-off-by: Peter Krempa <pkrempa@redhat.com>
>---
> tests/qemuxml2argvdata/watchdog-device.x86_64-latest.args | 2 +-
> tests/qemuxml2argvdata/watchdog-device.xml                | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano