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

misc fixes for enabling live migration for vfio-user devices #3

Merged
merged 3 commits into from
Mar 11, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
set argsz in device get info
Signed-off-by: Thanos Makatos <[email protected]>
  • Loading branch information
tmakatos committed Mar 11, 2021
commit 1f2306c672f57f858daf9acaa36bc7c33db9404e
1 change: 1 addition & 0 deletions hw/vfio/user.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ int vfio_user_get_info(VFIODevice *vbasedev)

memset(&msg, 0, sizeof(msg));
vfio_user_request_msg(&msg.hdr, VFIO_USER_DEVICE_GET_INFO, sizeof(msg), 0);
msg.argsz = sizeof(struct vfio_device_info);

vfio_user_send_recv(vbasedev->proxy, &msg.hdr, NULL, 0);
if (msg.hdr.flags & VFIO_USER_ERROR) {
Expand Down