You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JJ pointed out that there can be seemingly unnoticed additions of members to structs, e.g. the addition of cap_offset to struct vfio_device_info (https://lore.kernel.org/qemu-devel/[email protected]/#Z30linux-headers:linux:vfio.h). IIUC this isn't accompanied by some VFIO version change. QEMU has it's own version of the VFIO headers, plus QEMU and libvfio-user can be compiled with different versions of VFIO headers anyway, so we need to figure out how to make sure they work in such cases.
The text was updated successfully, but these errors were encountered:
#232 fixes this specific problem, however I realize that we have a bigger problem because of the way we use the VFIO headers: if we assume that some struct member exists in some VFIO struct (e.g. struct vfio_device_info.cap_offset but the VFIO headers installed in the system don't have this recently-added member, libvfio-user will fail to compile.
Discussion copied from Slack:
The text was updated successfully, but these errors were encountered: