mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
guest: Add default console device for xenpv
Libvirt already adds one so this is kinda redundant, but it makes things clearer in the virt-manager 'customize' UI at least.
This commit is contained in:
parent
a538b69356
commit
9dd0900b7d
@ -19,5 +19,6 @@
|
||||
</interface>
|
||||
<input type="mouse" bus="xen"/>
|
||||
<graphics type="vnc" port="-1" keymap="en-us"/>
|
||||
<console type="pty"/>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -24,6 +24,7 @@
|
||||
</interface>
|
||||
<input type="mouse" bus="xen"/>
|
||||
<graphics type="vnc" port="-1" keymap="en-us"/>
|
||||
<console type="pty"/>
|
||||
</devices>
|
||||
</domain>
|
||||
<domain type="xen">
|
||||
@ -47,5 +48,6 @@
|
||||
</interface>
|
||||
<input type="mouse" bus="xen"/>
|
||||
<graphics type="vnc" port="-1" keymap="en-us"/>
|
||||
<console type="pty"/>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -622,8 +622,6 @@ class Guest(XMLBuilder):
|
||||
def add_default_console_device(self):
|
||||
if self.skip_default_console:
|
||||
return
|
||||
if self.os.is_xenpv():
|
||||
return
|
||||
if self.get_devices("console") or self.get_devices("serial"):
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user