Commit dbbccc05 by Guba Sándor

vm: add virtio channel to xml

parent 7686c2c0
......@@ -132,6 +132,18 @@ class VMInstance:
attrib={'mode': 'bind',
'path': '/var/lib/libvirt/serial/%s'
# Virtio console
virtio = ET.SubElement(devices,
attrib={'type': 'unix'})
attrib={'type': 'virtio', 'name': 'agent'})
attrib={'mode': 'bind',
'path': '/var/lib/libvirt/serial/vio-%s'
# Console/graphics section
if is not None:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment