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)))
|
||||
goto cleanup;
|
||||
|
||||
video->type = VIR_DOMAIN_VIDEO_TYPE_GOP;
|
||||
|
||||
if (!(graphics = virDomainGraphicsDefNew(xmlopt)))
|
||||
goto cleanup;
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
<listen type='address' address='1.2.3.4'/>
|
||||
</graphics>
|
||||
<video>
|
||||
<model type='default' heads='1'/>
|
||||
<model type='gop' heads='1'/>
|
||||
</video>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
</graphics>
|
||||
<video>
|
||||
<model type='default' heads='1'/>
|
||||
<model type='gop' heads='1'/>
|
||||
</video>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
</graphics>
|
||||
<video>
|
||||
<model type='default' heads='1'>
|
||||
<model type='gop' heads='1'>
|
||||
<resolution x='1920' y='1080'/>
|
||||
</model>
|
||||
</video>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
</graphics>
|
||||
<video>
|
||||
<model type='default' heads='1'/>
|
||||
<model type='gop' heads='1'/>
|
||||
</video>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</graphics>
|
||||
<video>
|
||||
<driver vgaconf='off'/>
|
||||
<model type='default' heads='1'/>
|
||||
<model type='gop' heads='1'/>
|
||||
</video>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</graphics>
|
||||
<video>
|
||||
<driver vgaconf='on'/>
|
||||
<model type='default' heads='1'/>
|
||||
<model type='gop' heads='1'/>
|
||||
</video>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
</graphics>
|
||||
<video>
|
||||
<model type='default' heads='1'/>
|
||||
<model type='gop' heads='1'/>
|
||||
</video>
|
||||
</devices>
|
||||
</domain>
|
||||
|
Loading…
Reference in New Issue
Block a user