vdpa: do not set virtio status bits if unneeded
commitbc865bfe2d54ac56daa20a6395abff68fab6a5d6
authorEugenio Pérez <eperezma@redhat.com>
Fri, 15 Dec 2023 17:28:19 +0000 (15 18:28 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 26 Dec 2023 09:51:07 +0000 (26 04:51 -0500)
tree316acc7f74980ecfbb67d00ca6dc081a14861a73
parent410cefbd5c3682432229f5905aa43358785d2ae0
vdpa: do not set virtio status bits if unneeded

Next commits will set DRIVER and ACKNOWLEDGE flags repeatedly in the
case of a migration destination.  Let's save ioctls with this.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20231215172830.2540987-2-eperezma@redhat.com>
hw/virtio/vhost-vdpa.c