diff options
author | Jason Wang <jasowang@redhat.com> | 2015-11-06 16:02:48 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-11-12 15:49:32 +0200 |
commit | 9824d2a39d9893ef9bbe71f94efb57da265b73f6 (patch) | |
tree | 893f42b96a6e2c3c5d5e823047599453c9134a1e /hmp.c | |
parent | bc85ccfdf5cc045588f665c84b5707d7364c8a6c (diff) | |
download | hqemu-9824d2a39d9893ef9bbe71f94efb57da265b73f6.zip hqemu-9824d2a39d9893ef9bbe71f94efb57da265b73f6.tar.gz |
virtio-pci: introduce pio notification capability for modern device
We used to use mmio for notification. This could be slow on some arch
(e.g on x86 without EPT). So this patch introduces pio bar and a pio
notification cap for modern device. This ability is enabled through
property "modern-pio-notify" for virtio pci devices and was disabled
by default. Management can enable when it thinks it was needed.
Benchmarks shows almost no obvious difference compared to legacy
device on machines without ept. Thanks Wenli Quan <wquan@redhat.com>
for the benchmarking.
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hmp.c')
0 files changed, 0 insertions, 0 deletions