[PATCH 1/2] test_driver: add a disk device in the default config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Ilias Stamatis <stamatis.iliass@xxxxxxxxx>
---
 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'/>"
+"      <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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux