Bug 1967356

Summary: RFE: implement virtio-gpu-gl-pci device
Product: [Fedora] Fedora Reporter: Han Han <hhan>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DEFERRED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 34CC: agedosier, berrange, clalancette, crobinso, dyuan, jforbes, jsuchane, laine, libvirt-maint, lmen, veillard, virt-maint, virt-maint, yafu
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-08 14:49:41 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Han Han 2021-06-03 01:21:16 UTC
Description of problem:
Clone from https://gitlab.com/libvirt/libvirt/-/issues/167 .
Implement this device other it will report an error for the VM with virtio video type and <acceleration accel3d='yes'/> on QEMU 6.1:
✗ ./qemu-system-x86_64 -device virtio-gpu-pci,virgl=on
qemu-system-x86_64: -device virtio-gpu-pci,virgl=on: Property 'virtio-gpu-pci.virgl' not found

Comment 1 Han Han 2021-06-08 00:37:42 UTC
Since qemu in RHEL disables virglrenderer, I will move this bug to fedora

Comment 2 Cole Robinson 2021-06-08 14:49:41 UTC
Thanks for the report, but it's not necessary to explicitly track this. When qemu 6.1 is rebased in Fedora, the current build setup will fail unless this device is explicitly packaged, so there's no chance we will miss packaging it AFAICT

Comment 3 Han Han 2021-06-11 13:01:37 UTC
Fixed by:

commit b99762b61e
Author: Han Han <hhan>
Date:   Wed Jun 9 16:32:25 2021 +0800

    qemu: Adapt to virtio-gpu-gl-pci device
    
    QEMU 6.1 will add virtio-gpu-gl-pci device to replace the virgl property
    of virtio-gpu-pci device. Adapt to that change.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1967356
    
    Signed-off-by: Han Han <hhan>
    Signed-off-by: Michal Privoznik <mprivozn>
    Reviewed-by: Michal Privoznik <mprivozn>