Steve Sistare 9588e7fc51 vdpa_sim: reset must not run
vdpasim_do_reset sets running to true, which is wrong, as it allows
vdpasim_kick_vq to post work requests before the device has been
configured.  To fix, do not set running until VIRTIO_CONFIG_S_DRIVER_OK
is set.

Fixes: 0c89e2a3a9d0 ("vdpa_sim: Implement suspend vdpa op")
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <1707517807-137331-1-git-send-email-steven.sistare@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-03-19 02:45:49 -04:00
..
2024-02-28 12:20:00 -08:00
2024-01-12 11:32:19 -08:00
2024-02-17 08:56:41 -08:00
2024-02-10 08:02:48 -08:00
2024-02-06 14:10:47 +08:00
2024-01-18 11:37:24 -08:00
2024-02-16 18:51:00 -05:00
2024-01-10 08:45:22 -08:00
2024-01-18 09:48:40 -08:00
2024-03-06 07:42:08 +01:00
2024-01-18 11:37:24 -08:00
2024-03-08 13:40:56 +10:00
2024-01-18 11:37:24 -08:00
2024-03-03 02:32:35 +00:00
2024-01-09 16:32:11 -08:00
2024-03-08 13:06:35 -08:00
2024-03-01 17:22:46 -08:00
2024-01-18 11:37:24 -08:00
2024-01-17 15:25:27 -08:00
2023-12-15 17:07:05 +01:00
2024-01-18 15:16:57 -08:00
2024-01-18 11:37:24 -08:00
2024-02-05 16:16:24 +01:00
2024-01-18 16:44:03 -08:00
2024-03-01 17:18:35 -08:00
2024-01-05 15:55:41 +05:30
2024-03-01 12:44:33 -08:00
2024-01-17 14:37:40 -08:00
2024-01-11 11:31:46 -08:00
2024-02-23 09:54:13 -08:00
2024-01-18 17:08:31 -08:00
2023-12-15 17:27:04 +01:00
2024-02-17 08:52:38 -08:00
2024-03-02 19:47:01 +01:00
2024-01-04 17:03:47 +01:00
2024-03-19 02:45:49 -04:00
2024-01-18 15:57:25 -08:00
2024-03-05 12:38:50 -08:00
2024-01-18 16:44:03 -08:00
2024-01-12 13:32:30 -08:00
2024-01-12 12:38:37 +01:00