edecca
From 6000c0194fe724e18bc0a61d69ae2899de8fe355 Mon Sep 17 00:00:00 2001
edecca
Message-Id: <6000c0194fe724e18bc0a61d69ae2899de8fe355@dist-git>
edecca
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
edecca
Date: Tue, 28 Aug 2018 12:46:43 +0200
edecca
Subject: [PATCH] tests: qemu: Remove disk from graphics-vnc-tls
edecca
MIME-Version: 1.0
edecca
Content-Type: text/plain; charset=UTF-8
edecca
Content-Transfer-Encoding: 8bit
edecca
edecca
The disk command line is tested elsewhere.
edecca
edecca
Signed-off-by: Ján Tomko <jtomko@redhat.com>
edecca
(cherry picked from commit a37d832c9179fa7fef2e54f596258fd4712146ab)
edecca
Signed-off-by: Ján Tomko <jtomko@redhat.com>
edecca
edecca
https: //bugzilla.redhat.com/show_bug.cgi?id=1598167
edecca
Reviewed-by: Erik Skultety <eskultet@redhat.com>
edecca
---
edecca
 tests/qemuxml2argvdata/graphics-vnc-tls.args  | 2 --
edecca
 tests/qemuxml2argvdata/graphics-vnc-tls.xml   | 6 ------
edecca
 tests/qemuxml2xmloutdata/graphics-vnc-tls.xml | 6 ------
edecca
 3 files changed, 14 deletions(-)
edecca
edecca
diff --git a/tests/qemuxml2argvdata/graphics-vnc-tls.args b/tests/qemuxml2argvdata/graphics-vnc-tls.args
edecca
index b87c2116a3..3668fa889d 100644
edecca
--- a/tests/qemuxml2argvdata/graphics-vnc-tls.args
edecca
+++ b/tests/qemuxml2argvdata/graphics-vnc-tls.args
edecca
@@ -22,7 +22,5 @@ server,nowait \
edecca
 -no-acpi \
edecca
 -boot c \
edecca
 -usb \
edecca
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
edecca
--device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
edecca
 -vnc 127.0.0.1:3,tls,x509verify=/etc/pki/libvirt-vnc,sasl \
edecca
 -vga cirrus
edecca
diff --git a/tests/qemuxml2argvdata/graphics-vnc-tls.xml b/tests/qemuxml2argvdata/graphics-vnc-tls.xml
edecca
index d0729e830d..079f6241c4 100644
edecca
--- a/tests/qemuxml2argvdata/graphics-vnc-tls.xml
edecca
+++ b/tests/qemuxml2argvdata/graphics-vnc-tls.xml
edecca
@@ -14,12 +14,6 @@
edecca
   <on_crash>destroy</on_crash>
edecca
   <devices>
edecca
     <emulator>/usr/bin/qemu-system-i686</emulator>
edecca
-    <disk type='block' device='disk'>
edecca
-      <driver name='qemu' type='raw'/>
edecca
-      <source dev='/dev/HostVG/QEMUGuest1'/>
edecca
-      <target dev='hda' bus='ide'/>
edecca
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
edecca
-    </disk>
edecca
     <controller type='usb' index='0'/>
edecca
     <controller type='ide' index='0'/>
edecca
     <controller type='pci' index='0' model='pci-root'/>
edecca
diff --git a/tests/qemuxml2xmloutdata/graphics-vnc-tls.xml b/tests/qemuxml2xmloutdata/graphics-vnc-tls.xml
edecca
index 7b53c2ae1f..dcbc4bcf1d 100644
edecca
--- a/tests/qemuxml2xmloutdata/graphics-vnc-tls.xml
edecca
+++ b/tests/qemuxml2xmloutdata/graphics-vnc-tls.xml
edecca
@@ -14,12 +14,6 @@
edecca
   <on_crash>destroy</on_crash>
edecca
   <devices>
edecca
     <emulator>/usr/bin/qemu-system-i686</emulator>
edecca
-    <disk type='block' device='disk'>
edecca
-      <driver name='qemu' type='raw'/>
edecca
-      <source dev='/dev/HostVG/QEMUGuest1'/>
edecca
-      <target dev='hda' bus='ide'/>
edecca
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
edecca
-    </disk>
edecca
     <controller type='usb' index='0'>
edecca
       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
edecca
     </controller>
edecca
-- 
edecca
2.18.0
edecca