summary refs log tree commit diff stats
path: root/hw/pci.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-21 18:57:21 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-21 15:05:59 -0600
commit50322249fdfa3fb8bc6a67c50aebb0f9c36bafb6 (patch)
treef536105b459952d4781b03ceffc3491519191793 /hw/pci.h
parent2923d34fdc5014a6219bfb3f9fab3795a8f4512f (diff)
downloadfocaccia-qemu-50322249fdfa3fb8bc6a67c50aebb0f9c36bafb6.tar.gz
focaccia-qemu-50322249fdfa3fb8bc6a67c50aebb0f9c36bafb6.zip
msix: track function masked in pci device state
Only go over the table when function is masked.
This is not really important for qemu.git but helps
fix a bug in qemu-kvm.git.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 4b2e7859e6..625e717642 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -178,6 +178,8 @@ struct PCIDevice {
     unsigned *msix_entry_used;
     /* Region including the MSI-X table */
     uint32_t msix_bar_size;
+    /* MSIX function mask set or MSIX disabled */
+    bool msix_function_masked;
     /* Version id needed for VMState */
     int32_t version_id;