diff options
author | Jason Wang <[email protected]> | 2015-09-15 14:41:57 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2015-09-15 16:59:46 +0200 |
commit | 8f4216c7d28976f7ec1b2bcbfa0a9f787133c45e (patch) | |
tree | 1e530734d606cc871c6a01a2b41567dae350104c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eefd6b06b17c5478e7c24bea6f64beaa2c431ca6 (diff) |
kvm: fix zero length mmio searching
Currently, if we had a zero length mmio eventfd assigned on
KVM_MMIO_BUS. It will never be found by kvm_io_bus_cmp() since it
always compares the kvm_io_range() with the length that guest
wrote. This will cause e.g for vhost, kick will be trapped by qemu
userspace instead of vhost. Fixing this by using zero length if an
iodevice is zero length.
Cc: [email protected]
Cc: Gleb Natapov <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions