]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
core: cell-config: add field to PCI device struct to refer to memory
authorHenning Schild <henning.schild@siemens.com>
Mon, 24 Nov 2014 17:54:10 +0000 (18:54 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 26 Nov 2014 18:15:12 +0000 (19:15 +0100)
Add shmem_region to struct jailhouse_pci_device to be able to refer to
the shared memory region used by the virtual PCI device used for
inter-cell communication.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/include/jailhouse/cell-config.h

index bf32cf9fb72a06334ab9ec12a7ec2f0bba7d572f..e8a21c9206b7c7a4dba4e74d7fa3c4b85e923dfd 100644 (file)
@@ -74,6 +74,8 @@ struct jailhouse_pci_device {
        __u16 num_msix_vectors;
        __u16 msix_region_size;
        __u64 msix_address;
+       /** used to refer to memory in virtual PCI devices */
+       __u32 shmem_region;
 } __attribute__((packed));
 
 #define JAILHOUSE_PCICAPS_WRITE                0x0001