summary refs log tree commit diff stats
path: root/hw/pci.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-03-31 15:45:51 +0200
committerMichael S. Tsirkin <mst@redhat.com>2011-04-07 13:30:15 +0300
commit4e789564d30a9c5f9408657857560a88386b0ac4 (patch)
treea43046b0d27c913b9a296e1a28f92c7a66c4b034 /hw/pci.c
parentf5a4e64f8e12d088a11b9a2743875cc88671e13a (diff)
downloadfocaccia-qemu-4e789564d30a9c5f9408657857560a88386b0ac4.tar.gz
focaccia-qemu-4e789564d30a9c5f9408657857560a88386b0ac4.zip
vhost: optimize out no-change assignment
Cirrus VGA (at least) calls register memory region
with the same values again and again. The
registration in vhost-net slows this a lot,
optimize by checking that the same data is already registered.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions