]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: qemuxml2argv: Test also the i6300esb watchdog
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 Mar 2021 17:07:07 +0000 (18:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 08:26:00 +0000 (10:26 +0200)
Convert one of the tests to a different device.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/watchdog-device.x86_64-latest.args
tests/qemuxml2argvdata/watchdog-device.xml

index 0da24130050032fc20091628ab8cd8ff07697685..78ac8227c33cbd96436ad736a6dc34b42ab771d2 100644 (file)
@@ -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 \
index a65caf5be430db5435996b83bae8338349deef25..490f11a5b59839e9bc9304d9149861f79b7336d3 100644 (file)
@@ -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>