diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2015-06-04 12:34:36 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-06-10 18:15:06 +0200 |
| commit | 54790d71e4adcfaae95dac3c7019b10721e609de (patch) | |
| tree | c2125eaba5e9305f41e2273a237b0950df5421a3 /hw/net/virtio-net.c | |
| parent | a3cc2e81592aba6d818005c078b94b16ba47a02c (diff) | |
| download | focaccia-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