mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
xen: test for driver=tap2 sub-type in xen-xm
tap2 only handles 'aio', but not 'raw', which must be explicitly given: XML:raw needs to be translated to XM:aio for 'tap' and 'tap2' Xen drivers.
This commit is contained in:
12
tests/xmconfigdata/test-disk-drv-blktap-raw.cfg
Normal file
12
tests/xmconfigdata/test-disk-drv-blktap-raw.cfg
Normal file
@@ -0,0 +1,12 @@
|
||||
name = "XenGuest1"
|
||||
uuid = "c7a5fdb0-cdaf-9455-926a-d65c16db1809"
|
||||
maxmem = 579
|
||||
memory = 394
|
||||
vcpus = 2
|
||||
localtime = 0
|
||||
on_poweroff = "destroy"
|
||||
on_reboot = "restart"
|
||||
on_crash = "restart"
|
||||
vif = [ "mac=00:16:3e:66:94:9c,bridge=br0,script=vif-bridge" ]
|
||||
bootloader = "/usr/bin/pygrub"
|
||||
disk = [ "tap:aio:/root/some.img,xvda,w" ]
|
||||
Reference in New Issue
Block a user