summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-06-04 12:34:36 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-06-10 18:15:06 +0200
commit54790d71e4adcfaae95dac3c7019b10721e609de (patch)
treec2125eaba5e9305f41e2273a237b0950df5421a3 /hw/net/virtio-net.c
parenta3cc2e81592aba6d818005c078b94b16ba47a02c (diff)
downloadfocaccia-qemu-54790d71e4adcfaae95dac3c7019b10721e609de.tar.gz
focaccia-qemu-54790d71e4adcfaae95dac3c7019b10721e609de.zip
virtio-pci: move virtio_pci_add_mem_cap call to virtio_pci_modern_region_map
Also fill offset and length automatically,
from VirtIOPCIRegion->offset and region size.

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>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions