qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/9] qemu/pci: document msix_entries_nr field


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 1/9] qemu/pci: document msix_entries_nr field
Date: Tue, 16 Mar 2010 19:51:17 +0100

From: Michael S. Tsirkin <address@hidden>

Document the fact that msix_entries_nr field caches
a value from config space.

Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
 hw/pci.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/hw/pci.h b/hw/pci.h
index 20c670e..7e668c5 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -160,7 +160,9 @@ struct PCIDevice {
     /* Offset of MSI-X capability in config space */
     uint8_t msix_cap;

-    /* MSI-X entries */
+    /* MSI-X entries.
+     * This value is also encoded in the read-only MSI-X Table Size register
+     * in config space. */
     int msix_entries_nr;

     /* Space to store MSIX table */
-- 
1.6.6.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]