[Qemu-devel] [PATCH v2] hw/i386: turn off vmport if CONFIG_VMPORT is disabled

2019-07-12 Thread Julio Montes
vmport device is not included when CONFIG_VMPORT is disabled, hence QEMU fails with the following error: `Unknown device 'vmport' for bus 'ISA': unknown.` v2: imply VMPORT (Paolo Bonzini ) Signed-off-by: Julio Montes --- hw/i386/Kconfig | 4 ++-- hw/i386/pc.c| 5 +

[Qemu-devel] [PATCH] hw/i386: turn off vmport if CONFIG_VMPORT is disabled

2019-07-12 Thread Julio Montes
vmport device is not included when CONFIG_VMPORT is disabled, hence QEMU fails with the following error: `Unknown device 'vmport' for bus 'ISA': unknown.` Signed-off-by: Julio Montes --- hw/i386/pc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/hw/i386/pc.c

[Qemu-devel] [RFC] memory-backend-file/nvdimm: support read-only files as memory-backends

2019-07-08 Thread Julio Montes
memory-backeds. Use case: * Kata Containers use a memory-backed-file as read-only rootfs, and this file is used to start all the virtual machines in the node. It would be really bad if somehow a malicious container modified it. Signed-off-by: Julio Montes --- exec.c | 6 ++ 1 file changed

[Qemu-devel] [PATCH v2 2/2] hw/i386: Fix linker error when ISAPC is disabled

2019-07-05 Thread Julio Montes
n function `pc_init1': hw/i386/pc_piix.c:261: undefined reference to `isa_ide_init' hw/i386/pc_piix.c:261: undefined reference to `isa_ide_init' Place ide_isa code under #ifdef CONFIG_IDE_ISA to fix linker errors Signed-off-by: Julio Montes --- hw/i386/pc_piix.c| 11 --- inclu

[Qemu-devel] [PATCH v2 1/2] Makefile: generate header file with the list of devices enabled

2019-07-05 Thread Julio Montes
v2: generate config-devices.h which contains the list of devices enabled --- config-devices.h is an auto-generated header file that will use config-devices.mak to define the list of devices enabled. Configs that are set to 'n' are ignored. Signed-off-by: Julio Montes --- Makef

[Qemu-devel] [PATCH] hw/i386: Fix linker error when ISAPC is disabled

2019-07-04 Thread Julio Montes
How about a new header file with all devices? (see below patch) --- Makefile.target | 5 + hw/i386/pc_piix.c | 11 --- include/qemu/osdep.h | 1 + scripts/create_config | 2 ++ 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Makefile.target b/Makefile.tar

[Qemu-devel] [PATCH] hw/i386: Fix linker error when ISAPC is disabled

2019-07-03 Thread Julio Montes
ed reference to `isa_ide_init' hw/i386/pc_piix.c:261: undefined reference to `isa_ide_init' Place ide_isa code under #ifdef CONFIG_IDE_ISA to fix linker errors Signed-off-by: Julio Montes --- hw/i386/pc_piix.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH] monitor: vnc: Fix compilation error if CONFIG_VNC is disable

2019-07-02 Thread Julio Montes
] MonitorHMP *hmp_mon = container_of(mon, MonitorHMP, common); ``` Fix === Move `hmp_mon` variable within the `CONFIG_VNC` block Signed-off-by: Julio Montes --- monitor/hmp-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/hmp-cmds.c b/monitor/hmp-cmds.c