projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8bba0a
)
virtio-pci: use size from correct structure
author
Michael S. Tsirkin
<mst@redhat.com>
Tue, 6 Sep 2016 10:36:51 +0000
(13:36 +0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 9 Sep 2016 17:58:34 +0000
(20:58 +0300)
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>
hw/virtio/virtio-pci.c
patch
|
blob
|
history
diff --git
a/hw/virtio/virtio-pci.c
b/hw/virtio/virtio-pci.c
index 755f9218b77dc9167bd8adc49981870b0c22abc1..268fd8ebb2190e788b30b56ce2a442615f8bc9ff 100644
(file)
--- a/
hw/virtio/virtio-pci.c
+++ b/
hw/virtio/virtio-pci.c
@@
-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,