id = 2621 title = "virtgpu does not return error for misconfigured virgl command" state = "opened" created_at = "2024-10-15T21:31:11.362Z" closed_at = "n/a" labels = ["device:graphics", "device:virtio"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2621" host-os = "Not related" host-arch = "Not related" qemu-version = "9.0.2 (also older versions)" guest-os = "Not related" guest-arch = "Not related" description = """When ```virgl_renderer_submit_cmd``` reports error, cmd->error should be set. Otherwise driver cannot know if there is error. https://gitlab.com/qemu-project/qemu/-/blob/master/hw/display/virtio-gpu-virgl.c?ref_type=heads#L233 Probably 0x1200 (unspec) or 0x1205 (invalid param) should return as error. If there is problem in cmd virgl freezes drawing window.""" reproduce = """1. Send misformated command to virgl over vgpu device 2. 3.""" additional = """Misformated 3d commands stops opengl's drawings. Without returning error we cannot know any error, hence we cannot reset vgpu."""