Red Hat Bugzilla – Bug 1003610
RFE: capabilities: Expose xen blktap support
Last modified: 2016-03-20 18:26:14 EDT
virt-install/virt-manager have had this check forever:
# Ideally we would get this from libvirt capabilities XML
f = open("/proc/modules")
lines = f.readlines()
for line in lines:
if line.startswith("blktap ") or line.startswith("xenblktap "):
If True, we use driver name='tap' for <disk> XML. As the comment above suggestions, libvirt should expose some tag in capabilities so we know a
host supports blktap, and tools don't need to probe lsmod or similar.
blktap is apparently not the favored xen driver anymore, as detailed in bug 1171550, so while in theory libvirt should provide this info I don't think anyone practically cares about it anymore.