Skip to content

Commit

Permalink
openamp/virtio.h: update vdev->features
Browse files Browse the repository at this point in the history
set vdev->features in virtio_negotiate_features

Signed-off-by: Yongrong Wang <[email protected]>
  • Loading branch information
wyr-7 authored and arnopo committed Oct 9, 2024
1 parent c31e4fd commit 4df7975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/include/openamp/virtio.h
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ static inline int virtio_negotiate_features(struct virtio_device *vdev,
return -ENXIO;

*final_features = vdev->func->negotiate_features(vdev, features);
vdev->features = *final_features;
return 0;
}

Expand Down

0 comments on commit 4df7975

Please sign in to comment.