mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
virtio-pci: add virtio_pci_modern_region_map()
Add function to map modern virtio regions. Add offset to VirtIOPCIRegion. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
1141ce2190
commit
a3cc2e8159
2 changed files with 20 additions and 6 deletions
|
@ -93,6 +93,7 @@ typedef struct VirtioPCIClass {
|
|||
|
||||
typedef struct VirtIOPCIRegion {
|
||||
MemoryRegion mr;
|
||||
uint32_t offset;
|
||||
} VirtIOPCIRegion;
|
||||
|
||||
struct VirtIOPCIProxy {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue