Support serial console for vms
Change-Id: I0a4f17be434755cb436207a06c82c059b9f6d4e6
This commit is contained in:
@@ -137,4 +137,8 @@ class LibvirtXMLBuilder(object):
|
||||
self._build_interface_device(node_xml, interface)
|
||||
with node_xml.video:
|
||||
node_xml.model(type='vga', vram='9216', heads='1')
|
||||
with node_xml.serial(type='pty'):
|
||||
node_xml.target(port='0')
|
||||
with node_xml.console(type='pty'):
|
||||
node_xml.target(type='serial', port='0')
|
||||
return str(node_xml)
|
||||
|
||||
Reference in New Issue
Block a user