]> rtime.felk.cvut.cz Git - jailhouse.git/blobdiff - configs/pci-demo.c
jailhouse: inmates: bench: Add -R option -- repeats count.
[jailhouse.git] / configs / pci-demo.c
index 079b9e73817242c828941a48b59740007ca072f6..85fd5b2f0c099019d6361d3dc001513b938dea25 100644 (file)
@@ -27,6 +27,7 @@ struct {
        struct jailhouse_pci_capability pci_caps[1];
 } __attribute__((packed)) config = {
        .cell = {
+               .signature = JAILHOUSE_CELL_DESC_SIGNATURE,
                .name = "pci-demo",
                .flags = JAILHOUSE_CELL_PASSIVE_COMMREG,
 
@@ -44,7 +45,7 @@ struct {
 
        .mem_regions = {
                /* RAM */ {
-                       .phys_start = 0x3be00000,
+                       .phys_start = 0x3f100000,
                        .virt_start = 0,
                        .size = 0x00100000,
                        .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
@@ -76,10 +77,11 @@ struct {
                { /* Intel HDA @00:1b.0 */
                        .type = JAILHOUSE_PCI_TYPE_DEVICE,
                        .domain = 0x0000,
-                       .bus = 0x00,
-                       .devfn = 0xd8,
+                       .bdf = 0x00d8,
                        .caps_start = 0,
                        .num_caps = 1,
+                       .num_msi_vectors = 1,
+                       .msi_64bits = 1,
                },
        },