diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-11-21 18:57:21 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-21 15:05:59 -0600 |
commit | 50322249fdfa3fb8bc6a67c50aebb0f9c36bafb6 (patch) | |
tree | f536105b459952d4781b03ceffc3491519191793 /hw/pci.h | |
parent | 2923d34fdc5014a6219bfb3f9fab3795a8f4512f (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |