diff options
author | Stefan Hajnoczi | 2019-12-09 12:07:59 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert | 2019-12-13 11:53:57 +0100 |
commit | 366844f3d1329c6423dd752891a28ccb3ee8fddd (patch) | |
tree | ccf96e634aa3407be7227dc575c387e7201a6342 /target/i386/cpu.h | |
parent | vhost-user-fs: remove "vhostfd" property (diff) | |
download | qemu-366844f3d1329c6423dd752891a28ccb3ee8fddd.tar.gz qemu-366844f3d1329c6423dd752891a28ccb3ee8fddd.tar.xz qemu-366844f3d1329c6423dd752891a28ccb3ee8fddd.zip |
virtio-fs: fix MSI-X nvectors calculation
The following MSI-X vectors are required:
* VIRTIO Configuration Change
* hiprio virtqueue
* requests virtqueues
Fix the calculation to reserve enough MSI-X vectors. Otherwise guest
drivers fall back to a sub-optional configuration where all virtqueues
share a single vector.
This change does not break live migration compatibility since
vhost-user-fs-pci devices are not migratable yet.
Reported-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20191209110759.35227-1-stefanha@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'target/i386/cpu.h')
0 files changed, 0 insertions, 0 deletions