From: Jan Kiszka Date: Thu, 12 May 2016 07:20:11 +0000 (+0200) Subject: configs, core, tools: Remove device_limit field from system configuration X-Git-Url: http://rtime.felk.cvut.cz/gitweb/jailhouse.git/commitdiff_plain/cc4e550ede4418bd77cde5e1b7a0ae9a9700a7f0 configs, core, tools: Remove device_limit field from system configuration Once introduced for AMD IOMMUs, we actually do not need it as device table segmentation saves us in practice from allocating large tables. Signed-off-by: Jan Kiszka --- diff --git a/configs/f2a88xm-hd3.c b/configs/f2a88xm-hd3.c index 3f3390a..a0be03f 100644 --- a/configs/f2a88xm-hd3.c +++ b/configs/f2a88xm-hd3.c @@ -55,7 +55,6 @@ struct { }, }, }, - .device_limit = 128, .interrupt_limit = 256, .root_cell = { .name = "F2A88XM-HD3", diff --git a/hypervisor/include/jailhouse/cell-config.h b/hypervisor/include/jailhouse/cell-config.h index e8bfadb..300f3da 100644 --- a/hypervisor/include/jailhouse/cell-config.h +++ b/hypervisor/include/jailhouse/cell-config.h @@ -164,7 +164,6 @@ struct jailhouse_system { iommu_units[JAILHOUSE_MAX_IOMMU_UNITS]; } __attribute__((packed)) x86; } __attribute__((packed)) platform_info; - __u32 device_limit; __u32 interrupt_limit; struct jailhouse_cell_desc root_cell; } __attribute__((packed)); diff --git a/tools/root-cell-config.c.tmpl b/tools/root-cell-config.c.tmpl index 8deda4e..451869a 100644 --- a/tools/root-cell-config.c.tmpl +++ b/tools/root-cell-config.c.tmpl @@ -83,7 +83,6 @@ struct { }, % endif }, - .device_limit = 128, .interrupt_limit = 256, .root_cell = { .name = "RootCell",