-
Notifications
You must be signed in to change notification settings - Fork 79
Accept VIRTIO_F_VERSION_1
if offered
#196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@qwandor CI for aarch64 succeeded but the logs show the vsock server panicked and because it was in the shell's background, the CI did not fail:
|
Currently, when we initialize a device, we do not conform to section 6.1 of the VIRTIO spec. It says: > 6.1 Driver Requirements: Reserved Feature Bits > A driver MUST accept VIRTIO_F_VERSION_1 if it is offered. To fix conformance, check for presence of the VIRTIO_F_VERSION_1 and accept it if it's offered, always. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
a834f9d
to
1ddff95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I'm not sure why the tests are hanging.
The test failures do seem legitimate, I can reproduce it locally. Running |
I guess the |
By removing the version 1 feature bit from Network's supported_features, the tests don't block. I'm looking into it to see if it's a qemu bug. |
Currently, when we initialize a device, we do not conform to section 6.1 of the VIRTIO spec.
It says:
To fix conformance, check for presence of the VIRTIO_F_VERSION_1 and accept it if it's offered, always.
This is because not only the requirement is a
MUST
but also a device may fail to operate if it's not accepted:This bug was encountered in COQOS hypervisor which failed with: