mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
49419f4c85
commit
4d61181d1f
|
@ -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'/>"
|
||||
|
|
Loading…
Reference in New Issue