mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
virtio-pci: use size from correct structure
PIO MR registration should use size from the correct notify struct. Doesn't affect any visible behaviour because the field values are the same (both are 4). Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
a8bba0ada4
commit
e3aab6c7f3
1 changed files with 1 additions and 1 deletions
|
@ -1520,7 +1520,7 @@ static void virtio_pci_modern_regions_init(VirtIOPCIProxy *proxy)
|
|||
¬ify_pio_ops,
|
||||
virtio_bus_get_device(&proxy->bus),
|
||||
"virtio-pci-notify-pio",
|
||||
proxy->notify.size);
|
||||
proxy->notify_pio.size);
|
||||
}
|
||||
|
||||
static void virtio_pci_modern_region_map(VirtIOPCIProxy *proxy,
|
||||
|
|
Loading…
Add table
Reference in a new issue