From 6f1331be4f452da8bc586514c337a01f426caff3 Mon Sep 17 00:00:00 2001 From: Levente Kurusa Date: Sat, 13 Sep 2014 17:49:08 +0200 Subject: [PATCH 4/4] ivshmem: add documentation about IVFEATURES register Signed-off-by: Levente Kurusa --- docs/specs/ivshmem_device_spec.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/specs/ivshmem_device_spec.txt b/docs/specs/ivshmem_device_spec.txt index 4748427..d85c8ea 100644 --- a/docs/specs/ivshmem_device_spec.txt +++ b/docs/specs/ivshmem_device_spec.txt @@ -94,6 +94,7 @@ guest. They reside in BAR3, which is laid out like this: enum ivshmem_secondary_registers { IRQSTATUS = 0, IVSHMVER = 4, + IVFEATURES = 8, /* Rest is reserved */ }; @@ -107,6 +108,13 @@ Shared Memory PCI device itself. The current version is defined as a preprocesso macro called 'IVSHMEM_CURRENT_VERSION' in hw/misc/ivshmem.c If the guest cannot find BAR3, then it must assume that IVSHMVER is 0. +IVFEATURES register: This register tells the currently enabled features of the +ivshmem device. The value is a bit field: + +Bit #0 (FIOEFD): I/O Event FD enabled +Bit #1 (FMSI): MSI enabled +Bits #2-31 (FRESV): Reserved + Usage in the Guest ------------------ -- 1.8.3.1