]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xen: Return tap2 for tap2 disks
authorPhilipp Hahn <hahn@univention.de>
Wed, 12 Oct 2011 08:55:37 +0000 (10:55 +0200)
committerEric Blake <eblake@redhat.com>
Wed, 12 Oct 2011 20:37:48 +0000 (14:37 -0600)
commitc490b469ceaca8fae7be92b5dac300f92406d2f1
tree166743d2c89177008554f9fec01c1956383567e9
parentc2969ec7aec5c40519aadf422ab5c47a21938bff
xen: Return tap2 for tap2 disks

For some versions of Xen the difference between "tap" and "tap2" is
important. When converting back from xen-sxpr to libvirt-xml, that
information is lost, which breaks re-defining the domain using that
data.

Explicitly return "tap2" for disks defined as "device/tap2".

Signed-off-by: Philipp Hahn <hahn@univention.de>
src/xenxs/xen_sxpr.c