Skip to content
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

vhost_user: Fix & comment "feature cache" #934

Merged
merged 1 commit into from
Jul 13, 2016

Conversation

lukego
Copy link
Member

@lukego lukego commented Jun 8, 2016

Added a long description of the "feature cache" and how it supports reconnecting to a running QEMU.

Added a restriction so that the cache is only considered for the first feature negotiation performed by a vhost-user app instance. This is to avoid using the cached features when renegotiating with a guest e.g. when the guest has switched to a new driver.

Not yet tested! Should fix #932. cc @wingo

Added a long description of the "feature cache" and how it supports
reconnecting to a running QEMU.

Added a restriction so that the cache is only considered for the first
feature negotiation performed by a vhost-user app instance. This is to
avoid using the cached features when renegotiating with a guest e.g.
when the guest has switched to a new driver. Not yet tested.
@wingo
Copy link
Contributor

wingo commented Jun 8, 2016

Neat! Will try. One question: the C.VIRTIO_NET_F_MQ feature is offered by net_device.lua, but it doesn't make it through to the guest. Could that be QEMU getting in the way?

@wingo
Copy link
Contributor

wingo commented Jun 8, 2016

I have tested this one locally and it works for me.

@eugeneia eugeneia self-assigned this Jun 9, 2016
@eugeneia eugeneia added the merged label Jun 9, 2016
@eugeneia eugeneia merged commit e5f23a9 into snabbco:master Jul 13, 2016
dpino added a commit to dpino/snabb that referenced this pull request Sep 12, 2017
Add -j option to "snabb lwaftr run" and "bench"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snabb NFV appears to incorrectly cache virtio features
3 participants