mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
bhyve: parse: Set video device model when parsing bhyve commandline
Add the proper video device type when parsing bhyve's commandline into a XML. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
This commit is contained in:
parent
296598ea40
commit
77064438d4
@ -573,6 +573,8 @@ bhyveParsePCIFbuf(virDomainDefPtr def,
|
|||||||
if (!(video = virDomainVideoDefNew(xmlopt)))
|
if (!(video = virDomainVideoDefNew(xmlopt)))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
|
video->type = VIR_DOMAIN_VIDEO_TYPE_GOP;
|
||||||
|
|
||||||
if (!(graphics = virDomainGraphicsDefNew(xmlopt)))
|
if (!(graphics = virDomainGraphicsDefNew(xmlopt)))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<listen type='address' address='1.2.3.4'/>
|
<listen type='address' address='1.2.3.4'/>
|
||||||
</graphics>
|
</graphics>
|
||||||
<video>
|
<video>
|
||||||
<model type='default' heads='1'/>
|
<model type='gop' heads='1'/>
|
||||||
</video>
|
</video>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<listen type='address' address='127.0.0.1'/>
|
<listen type='address' address='127.0.0.1'/>
|
||||||
</graphics>
|
</graphics>
|
||||||
<video>
|
<video>
|
||||||
<model type='default' heads='1'/>
|
<model type='gop' heads='1'/>
|
||||||
</video>
|
</video>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<listen type='address' address='127.0.0.1'/>
|
<listen type='address' address='127.0.0.1'/>
|
||||||
</graphics>
|
</graphics>
|
||||||
<video>
|
<video>
|
||||||
<model type='default' heads='1'>
|
<model type='gop' heads='1'>
|
||||||
<resolution x='1920' y='1080'/>
|
<resolution x='1920' y='1080'/>
|
||||||
</model>
|
</model>
|
||||||
</video>
|
</video>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<listen type='address' address='127.0.0.1'/>
|
<listen type='address' address='127.0.0.1'/>
|
||||||
</graphics>
|
</graphics>
|
||||||
<video>
|
<video>
|
||||||
<model type='default' heads='1'/>
|
<model type='gop' heads='1'/>
|
||||||
</video>
|
</video>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</graphics>
|
</graphics>
|
||||||
<video>
|
<video>
|
||||||
<driver vgaconf='off'/>
|
<driver vgaconf='off'/>
|
||||||
<model type='default' heads='1'/>
|
<model type='gop' heads='1'/>
|
||||||
</video>
|
</video>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</graphics>
|
</graphics>
|
||||||
<video>
|
<video>
|
||||||
<driver vgaconf='on'/>
|
<driver vgaconf='on'/>
|
||||||
<model type='default' heads='1'/>
|
<model type='gop' heads='1'/>
|
||||||
</video>
|
</video>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<listen type='address' address='127.0.0.1'/>
|
<listen type='address' address='127.0.0.1'/>
|
||||||
</graphics>
|
</graphics>
|
||||||
<video>
|
<video>
|
||||||
<model type='default' heads='1'/>
|
<model type='gop' heads='1'/>
|
||||||
</video>
|
</video>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
Loading…
Reference in New Issue
Block a user