On Tue, Jun 25, 2019 at 11:58:06PM +0200, Ilias Stamatis wrote:
Signed-off-by: Ilias Stamatis <stamatis.iliass(a)gmail.com>
---
src/test/test_driver.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 4b1f2724a0..1b1ff3003e 100755
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -438,6 +438,11 @@ static const char *defaultConnXML =
" <type>hvm</type>"
" </os>"
" <devices>"
+" <disk type='file' device='disk'>"
+" <source file='/guest/diskfile'/>"
In case we want to add another disk in the future, diskfile1 or diskimage1
would be IMO a better choice.
Reviewed-by: Erik Skultety <eskultet(a)redhat.com>
+" <target dev='vda'
bus='virtio'/>"
+" <address type='pci' domain='0x0000' bus='0x01'
slot='0x00' function='0x0'/>"
+" </disk>"
" <interface type='network'>"
" <mac address='aa:bb:cc:dd:ee:ff'/>"
" <source network='default' bridge='virbr0'/>"
--
2.22.0
--
libvir-list mailing list
libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list