diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2017-01-27 16:40:14 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2017-02-17 21:52:30 +0200 |
| commit | 9796d0ac8fb0a8d522afd409cb25a607eae61617 (patch) | |
| tree | 0d704af105929c29255ba011813dad3694ace59a /hw/net/virtio-net.c | |
| parent | e6a830d6eba6ed116a0b4ef5577ca0b46edf4c67 (diff) | |
| download | focaccia-qemu-9796d0ac8fb0a8d522afd409cb25a607eae61617.tar.gz focaccia-qemu-9796d0ac8fb0a8d522afd409cb25a607eae61617.zip | |
virtio: use address_space_map/unmap to access descriptors
This makes little difference, but it makes the code change smaller for the next patch that introduces MemoryRegionCache. This is because map/unmap are similar to MemoryRegionCache init/destroy. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@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