----- Original Message ----- > From: "Stefan Hajnoczi" <stefa...@redhat.com> > Sent: Wednesday, October 23, 2019 12:04:16 PM > > According to VIRTIO 1.1 "3.1.1 Driver Requirements: Device > Initialization", configuration space and virtqueues cannot be accessed > before features have been negotiated. Enforce this requirement. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > v4: > * Introduce bool d->features_negotiated so that tests can negotiate a > 0 feature bit set in Legacy mode [Thomas] > --- > tests/libqos/virtio.h | 1 + > tests/libqos/virtio.c | 7 +++++++ > 2 files changed, 8 insertions(+)
Reviewed-by: Thomas Huth <th...@redhat.com>