-
Notifications
You must be signed in to change notification settings - Fork 293
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
openamp/virtio.h: update vdev->features and make final_features optional #610
Conversation
e09a641
to
412f254
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.
not approved but request changes...
412f254
to
f472fe6
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.
This is a good change, but it should be in its own pull request. It also should have a better explanation in the commit message, and a comment explaining what the function actually returns.
Suggestion for commit message:
Make rproc_virtio_negotiate_features() return the mask of features successfully negotiated.
The comment for rproc_virtio_negotiate_features () could be worded similarly.
f472fe6
to
1f14efb
Compare
1f14efb
to
41dbe49
Compare
Make rproc_virtio_negotiate_features() return the mask of features successfully negotiated. Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
set vdev->features in virtio_negotiate_features Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
negotiate also can be call when final_features is NULL Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
41dbe49
to
8c2929e
Compare
Ok, done. |
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 to go.
add helpful judge for final_features is NULL and update vdev->features in virtio_negotiate_features