diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-02-13 20:50:50 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-02-16 12:05:18 +0200 |
commit | e1e4bf225236a2aea99bedee5a5f7e764841616a (patch) | |
tree | da9dffcf65bd08dfcfb01e2e05be680ae8921cb1 /util/host-utils.c | |
parent | e5157e313cd9c2d57f28873318d0bb29c77a9b1a (diff) |
msix: fix msix_vector_masked
commit 428c3ece97179557f2753071fb0ca97a03437267 ("fix MSI injection on Xen")
inadvertently enabled the xen-specific logic unconditionally.
Limit it to only when xen is enabled.
Additionally, msix data should be read with pci_get_log
since the format is pci little-endian.
Reported-by: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'util/host-utils.c')
0 files changed, 0 insertions, 0 deletions