[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QEMU PATCH 1/1] virtgpu: do not destroy resources when guest suspend
- To: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
- From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
- Date: Mon, 19 Jun 2023 14:51:24 +0200
- Cc: Jiqian Chen <Jiqian.Chen@xxxxxxx>, Damien Hedde <damien.hedde@xxxxxxxxxxxxx>, "Michael S . Tsirkin" <mst@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Antonio Caggiano <antonio.caggiano@xxxxxxxxxxxxx>, "Dr . David Alan Gilbert" <dgilbert@xxxxxxxxxx>, Robert Beckett <bob.beckett@xxxxxxxxxxxxx>, qemu-devel@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, Alex Deucher <Alexander.Deucher@xxxxxxx>, Christian Koenig <Christian.Koenig@xxxxxxx>, Stewart Hildebrand <Stewart.Hildebrand@xxxxxxx>, Xenia Ragiadakou <burzalodowa@xxxxxxxxx>, Honglei Huang <Honglei1.Huang@xxxxxxx>, Julia Zhang <Julia.Zhang@xxxxxxx>, Huang Rui <Ray.Huang@xxxxxxx>
- Delivery-date: Mon, 19 Jun 2023 12:53:26 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi,
> Adding a new command requires new feature flag (and maybe it should be in
> the <0x1000 range instead)
>
> But I am not sure we need a new message at the virtio-gpu level. Gerd, wdyt?
>
> Maybe it's not a good place to reset all GPU resources during QEMU reset()
> after all, if it's called during s3 and there is no mechanism to restore
> it. Damien?
The guest driver should be able to restore resources after resume.
take care,
Gerd
|