aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/linux/vhost.h
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-11-06 16:02:48 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-11-12 15:49:32 +0200
commit9824d2a39d9893ef9bbe71f94efb57da265b73f6 (patch)
tree893f42b96a6e2c3c5d5e823047599453c9134a1e /linux-headers/linux/vhost.h
parentbc85ccfdf5cc045588f665c84b5707d7364c8a6c (diff)
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 'linux-headers/linux/vhost.h')
0 files changed, 0 insertions, 0 deletions