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/
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>
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,?]:
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