vfio-pci: Fix endian issues in vfio_pci_size_rom()
VFIO is always little endian so do byte swapping of our mask on the way in and byte swapping of the size on the way out. Signed-off-by: NAlex Williamson <alex.williamson@redhat.com> Reported-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
Showing
想要评论请 注册 或 登录