diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-03-31 15:45:51 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-04-07 13:30:15 +0300 |
commit | 4e789564d30a9c5f9408657857560a88386b0ac4 (patch) | |
tree | a43046b0d27c913b9a296e1a28f92c7a66c4b034 /hw/cirrus_vga.c | |
parent | f5a4e64f8e12d088a11b9a2743875cc88671e13a (diff) |
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/cirrus_vga.c')
0 files changed, 0 insertions, 0 deletions