From patchwork Tue Mar 16 18:51:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/9] qemu/pci: document msix_entries_nr field Date: Tue, 16 Mar 2010 08:51:17 -0000 From: Juan Quintela X-Patchwork-Id: 47890 Message-Id: <35984cf81b3f1bd99d445918c7eb393b69587883.1268765204.git.quintela@redhat.com> To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" From: Michael S. Tsirkin Document the fact that msix_entries_nr field caches a value from config space. Signed-off-by: Michael S. Tsirkin Signed-off-by: Juan Quintela --- 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 */