Re: [PATCH v4 07/16] libqos: enforce Device Initialization order

2019-10-23 Thread Thomas Huth
- Original Message - > From: "Stefan Hajnoczi" > 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 requ

[PATCH v4 07/16] libqos: enforce Device Initialization order

2019-10-23 Thread Stefan Hajnoczi
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 --- v4: * Introduce bool d->features_negotiated so that tests can nego