test_driver: Add a disk device in the default config

Signed-off-by: Ilias Stamatis <stamatis.iliass@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Ilias Stamatis 2019-06-25 23:58:06 +02:00 committed by Erik Skultety
parent 49419f4c85
commit 4d61181d1f
1 changed files with 5 additions and 0 deletions

View File

@ -438,6 +438,11 @@ static const char *defaultConnXML =
" <type>hvm</type>"
" </os>"
" <devices>"
" <disk type='file' device='disk'>"
" <source file='/guest/diskimage1'/>"
" <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'/>"