-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
plat/drivers/virtio: Fix virtio_9p tag read #1059
Conversation
✅ Checkpatch passed Beep boop! I ran Unikraft's
|
I have tested this with |
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.
All good, thanks.
Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com
Agree with that actually, nothing should break since in the end the |
|
Yeah much better 😄 |
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.
virtio_mmio vm_get
is not related to 9pfs, right? It's PCI based. Better to not mention aboutvm_get
. What about just:Swap the last two arguments of `virtio_9p_feature_negotiate`'s first call to `virtio_config_get`. As per the function definition, the last argument needs to actually be the length of the type.
Yeah much better 😄
@zhxj9823 If you agree, please change the commit message accordingly and I will approve.
Swap the last two arguments of virtio_9p_feature_negotiate's first call to virtio_config_get. As per the function definition, the last argument needs to actually be the length of the type. Signed-off-by: Xingjian Zhang <zhxj9823@qq.com>
@mogasergiu , @StefanJum , is it OK now, after @zhxj9823 's update? I re-request a review from both of you. |
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.
Thank you for the bug fix!
Reviewed-by: Sergiu Moga sergiu@unikraft.io
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.
Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com
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.
Approved-by: Razvan Deaconescu razvand@unikraft.io
Prerequisite checklist
checkpatch.uk
on your commit series before opening this PR;Base target
kvm
app-sqlite
Description of changes
Swap the last two arguments of
virtio_9p_feature_negotiate
's first call tovirtio_config_get
. As per the function definition, the last argument needs to actually be the length of the type.