Bug 1643404 - [RFE] add Support for bochs-display
Summary: [RFE] add Support for bochs-display
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: 8.0
Assignee: Jonathon Jongsma
QA Contact: yafu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-26 07:59 UTC by Gerd Hoffmann
Modified: 2020-11-14 17:17 UTC (History)
8 users (show)

Fixed In Version: libvirt-5.6.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-06 07:12:03 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3723 0 None None None 2019-11-06 07:12:47 UTC

Description Gerd Hoffmann 2018-10-26 07:59:22 UTC
Description of problem:
qemu 3.0 got a neu Display device: bochs-Display.
libvirt should support it.
It has no legacy vga support.
Can be placed in PCI Express slots.
OVMF and linux kernel have support for it.
RISC-V will probably use it as default display device.

more background Information:
https://www.kraxel.org/blog/2018/10/qemu-vga-emulation-and-bochs-display/

Comment 3 Jiri Denemark 2019-07-16 11:22:01 UTC
Implemented upstream by

commit e579f5300b9cd32282e50f3d0b30dd989b3238c8
Refs: v5.5.0-153-ge579f5300b
Author:     Jonathon Jongsma <jjongsma>
AuthorDate: Fri Jul 12 15:12:16 2019 -0500
Commit:     Ján Tomko <jtomko>
CommitDate: Mon Jul 15 10:21:21 2019 +0200

    qemu: add 'bochs' video display type

    Update schema and configuration to allow specifying new video type of
    'bochs'. Add implementation and tests for qemu.

    Signed-off-by: Jonathon Jongsma <jjongsma>
    Reviewed-by: Ján Tomko <jtomko>
    Signed-off-by: Ján Tomko <jtomko>

Comment 5 yafu 2019-09-03 07:16:48 UTC
Verified with libvirt-5.6.0-3.x86_64.

Test steps:
1.Start a guest with bochs type video:
#virsh dumpxml vm2
...
  <video>
      <model type='bochs' vram='16384' heads='1' primary='yes'>
        <acceleration accel3d='no'/>
      </model>
      <alias name='ua-04c2decd-4e33-4023-84de-12205c777af6'/>
      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
    </video>
...

2.Connect the guest with virt-viewer and can show the display correctly:
#virt-viewer vm2

3.Do migration with bochs video device:
#virsh migrate vm2 qemu+ssh://10.66.5.225/system --live --verbose
Migration: [100 %]

4.Do cross migration and target host not support bochs video device:
# virsh migrate iommu2 qemu+ssh://10.66.5.225/system --live --verbose 
error: unsupported configuration: unknown video model 'bochs

5.Edit guest xml with bochs as non-primary video and save:
#virsh edit vm2
...
<video>
      <model type='virtio' vram='16384' heads='1' primary='yes'>
        <acceleration accel3d='no'/>
      </model>
      <alias name='ua-04c2decd-4e33-4023-84de-12205c777af6'/>
      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
    </video>
    <video>
      <model type='bochs' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </video>
...
error: unsupported configuration: video type 'bochs' is only valid as primary video device
Failed. Try again? [y,n,i,f,?]:

Comment 7 errata-xmlrpc 2019-11-06 07:12:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3723


Note You need to log in before you can comment on or make changes to this bug.