virtio-pci: add virtio_pci_modern_region_map()
Add function to map modern virtio regions. Add offset to VirtIOPCIRegion. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Reviewed-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Showing
想要评论请 注册 或 登录