[Qemu-devel] [RFC] target-arm: do not change CNTVOFF_EL2

2015-07-09 Thread hw . claudio
From: Claudio Fontana after a vm is created, the cntvoff_el2 is already calculated for us by kvm, do not attempt to change it. Signed-off-by: Claudio Fontana --- target-arm/kvm.c | 5 + 1 file changed, 5 insertions(+) This is just an RFC to show where QEMU is causing the change of CNTVOFF

[Qemu-devel] [PATCH v7 2/2] monitor: add memory search commands s, sp

2015-06-15 Thread hw . claudio
From: Claudio Fontana usage is similar to the commands x, xp. Example with string: looking for "ELF" header in memory: (qemu) s/100cb 0x40001000 "ELF" searching memory area [40001000-400f5240] 40090001 (qemu) x/20b 0x4009 4009: '\x7f' 'E' 'L' 'F' '\x0

[Qemu-devel] [PATCH v7 1/2] util: add memmem replacement function

2015-06-15 Thread hw . claudio
From: Claudio Fontana if the memmem function is missing, provide a trivial replacement. Signed-off-by: Claudio Fontana Reviewed-by: Eric Blake Acked-by: Luiz Capitulino --- configure| 15 + include/qemu/osdep.h | 4 util/Makefile.objs | 1 + util/memmem.c

[Qemu-devel] [PATCH v7 0/2] monitor: add memory search commands s, sp

2015-06-15 Thread hw . claudio
From: Claudio Fontana Note: this series is rebased on Peter Crosthwaite's series: "[PATCH v2 0/2] monitor+disas: Remove uses of ENV_GET_CPU" http://lists.nongnu.org/archive/html/qemu-devel/2015-05/msg04736.html This is the latest iteration of the monitor memory search patch. The previous versi

[Qemu-devel] [RFC v6 0/2] monitor: add memory search commands s, sp

2015-05-18 Thread hw . claudio
From: Claudio Fontana This is the latest iteration of the memory search patch, including a trivial replacement for the memmem function for systems which don't provide one (notably Windows). It detects the presence of memmem in configure and sets CONFIG_MEMMEM, providing a trivial implementation

[Qemu-devel] [RFC v6 1/2] util: add memmem replacement function

2015-05-18 Thread hw . claudio
From: Claudio Fontana if the memmem function is missing, provide a trivial replacement. Signed-off-by: Claudio Fontana --- configure| 15 + include/qemu/osdep.h | 4 util/Makefile.objs | 1 + util/memmem.c| 62 +++

[Qemu-devel] [RFC v6 2/2] monitor: add memory search commands s, sp

2015-05-18 Thread hw . claudio
From: Claudio Fontana usage is similar to the commands x, xp. Example with string: looking for "ELF" header in memory: (qemu) s/100cb 0x40001000 "ELF" searching memory area [40001000-400f5240] 40090001 (qemu) x/20b 0x4009 4009: '\x7f' 'E' 'L' 'F' '\x0

[Qemu-devel] [RFC v5 2/2] monitor: add memory search commands s, sp

2015-05-15 Thread hw . claudio
From: Claudio Fontana usage is similar to the commands x, xp. Example with string: looking for "ELF" header in memory: (qemu) s/100cb 0x40001000 "ELF" searching memory area [40001000-400f5240] 40090001 (qemu) x/20b 0x4009 4009: '\x7f' 'E' 'L' 'F' '\x0

[Qemu-devel] [RFC v5 0/2] monitor: add memory search commands s, sp

2015-05-15 Thread hw . claudio
From: Claudio Fontana Hello, I went ahead and tried to build the general solution for replacing memmem on systems which don't provide one (notably Windows), detecting the presence of memmem in configure and setting CONFIG_MEMMEM, and providing an implementation (from gnulib) for the !CONFIG_MEMM

[Qemu-devel] [RFC v4] monitor: add memory search commands s, sp

2015-04-24 Thread hw . claudio
From: Claudio Fontana usage is similar to the commands x, xp. Example with string: looking for "ELF" header in memory: (qemu) s/100cb 0x40001000 "ELF" searching memory area [40001000-400f5240] 40090001 (qemu) x/20b 0x4009 4009: '\x7f' 'E' 'L' 'F' '\x0

[Qemu-devel] [RFC v3] monitor: add memory search commands s, sp

2015-03-16 Thread hw . claudio
From: Claudio Fontana usage is similar to the commands x, xp. Example with string: looking for "ELF" header in memory: (qemu) s/100cb 0x40001000 "ELF" searching memory area [40001000-400f5240] 40090001 (qemu) x/20b 0x4009 4009: '\x7f' 'E' 'L' 'F' '\x0

[Qemu-devel] [RFC v2] monitor: add memory search commands s, sp

2015-03-11 Thread hw . claudio
From: Claudio Fontana usage is similar to the commands x, xp. Example with string: looking for "ELF" header in memory: (qemu) s/100cb 0x40001000 "ELF" searching memory area [40001000-400f5240] 40090001 (qemu) x/20b 0x4009 4009: '\x7f' 'E' 'L' 'F' '\x0

[Qemu-devel] [RFC] monitor: add memory search commands s, sp

2015-03-11 Thread hw . claudio
From: Claudio Fontana usage is similar to the commands x, xp. Example with string: looking for "ELF" header in memory: (qemu) s/100cb 0x40001000 "ELF" searching memory area [40001000-400f5240] 40090001 (qemu) x/20b 0x4009 4009: '\x7f' 'E' 'L' 'F' '\x0

[Qemu-devel] [PATCH] pci: add diagnostics for invalid BAR addresses

2015-01-12 Thread hw . claudio
From: Claudio Fontana show diagnostics when the reprogrammed BAR addresses are invalid, either because of a guest mistake or because of QEMU limitations. Signed-off-by: Claudio Fontana --- hw/pci/pci.c | 42 +++--- 1 file changed, 31 insertions(+), 11 deleti

[Qemu-devel] [PATCH] hw/arm/virt: mark timer in fdt as v8-compatible

2014-09-26 Thread hw . claudio
From: Claudio Fontana check if the first cpu is an armv8 cpu, and if so, put arm,armv8-timer in the compatible string list. Note that due to this check, this patch moves the creation of the timer fdt node to after the cpu creation loop. Signed-off-by: Claudio Fontana --- hw/arm/virt.c | 15 ++

[Qemu-devel] [RFC] arm/virt: mark timer in fdt as armv8-compatible

2014-09-15 Thread hw . claudio
From: Claudio Fontana Signed-off-by: Claudio Fontana --- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Is the timer armv8-compatible? I think it is, at least the virtual timer seems to work as expected. When looking up the timer information in the guest btw, where the gu