Re: [PATCH] Raspberry PI GPIO interrupt support

2021-02-10 Thread Davide Berardi
Dear Philippe, thank you for your kind response. I will send a new version for the patch with the modifications you've highlighted, but first I've some question on the best way to implement them. On Tue, Feb 09, 2021 at 12:30:32PM +0100, Philippe Mathieu-Daudé wrote: Hi Davide, On 2/

[PATCH] Raspberry PI GPIO interrupt support

2021-02-09 Thread Davide Berardi
The bcm2835 GPIOs now generate interrupts. This modification enables QTEST clients to trigger interrupt-based interfaces. Signed-off-by: Davide Berardi --- hw/arm/bcm2835_peripherals.c | 2 + hw/gpio/bcm2835_gpio.c | 105 + hw/intc/bcm2835_ic.c

[PATCH] Raspberry PI GPIO interrupt support

2021-02-09 Thread Davide Berardi
The bcm2835 GPIOs now generate interrupts. This modification enables QTEST clients to trigger interrupt-based interfaces. Signed-off-by: Davide Berardi --- hw/arm/bcm2835_peripherals.c | 2 + hw/gpio/bcm2835_gpio.c | 105 + hw/intc/bcm2835_ic.c

[Bug 1673976] Re: linux-user clone() can't handle glibc posix_spawn() (causes locale-gen to assert)

2020-12-04 Thread Davide Palma
any solution? trying to emulate a closed source amd64 app on my raspberry and i'm getting this error with qemu 5.2.0-rc4 and glibc 2.27. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1673976 Title:

[Qemu-devel] [Bug 1772165] Re: arm raspi2/raspi3 emulation has no USB support

2019-08-20 Thread Davide Bacilieri
Right now with `qemu-system-arm -kernel kernel7.img -dtb bcm2709-rpi-2-b.dtb -cpu arm1176 -M raspi2 -hda 2018-11-13-raspbian-stretch-full.img` I can access the serial console using `Ctrl+Alt+3` in the QEMU window. Using raspbian via this serial console is (as far as I can see) the same as using

[Qemu-devel] [Bug 1502095] [NEW] Sporadic input / output error — x86-64 linux guest

2015-10-02 Thread Davide Baldini
Public bug reported: ** Setup: ** → Host Qemu version 2.4.0.1 Linux: 4.1.1 (Debian 8.2, GCC 4.9.2, x86_64) filesystem ext3 and ext4 one single host machine → Guests (3 VMs) architecture x86_64, Linux 3.16.0-4-amd64 (Debian 7.6) virtual disk qcow2, uncompressed guests

[Qemu-devel] Where are i386 flags??

2015-06-07 Thread Davide Ferraretto
Where I can find i386 flags after every instruction??

[Qemu-devel] I386 Flags after run TB

2015-05-30 Thread Davide Ferraretto
I run qemu in single step mode and user-mode. I want to know where i386 flags are stored after a run of one Translation Block.

[Qemu-devel] I386 Flags after run TB

2015-05-23 Thread Davide Ferraretto
I run qemu in single step mode and user-mode. I want to know where i386 flags are stored after a run of one Translation Block.

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2013-03-14 Thread Davide Guerri
Yes this is definitely an option :) Just for curiosity, what is the effect of "in-kernel irqchip"? Is it possible to disable it on a "live" domain? Cheers, Davide On 14/mar/2013, at 19:21, Peter Lieven wrote: > > Am 14.03.2013 um 19:15 schrieb Davide Guerri : >

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2013-03-14 Thread Davide Guerri
s have reported >> again this bug with guest kernel 2.6.32. (proxmox host is rhel 6.3 kernel + >> qemu 1.4) >> >> >> >> - Mail original - >> >> De: "Davide Guerri" >> À: "Alexandre DERUMIER" >> Cc:

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2013-03-14 Thread Davide Guerri
gh: that machine was almost unusable! Does version 1.3 fixes this issue? Could someone with the required knowledge look into this, please? Please, this is a very nasty bug because I guess I'm not the only one who is unable to upgrade all the machines with a (not-so) old kernel... :) Thanks!

[Qemu-devel] Compiling static

2012-06-28 Thread Davide Ferraretto
Those is my post. This problem is only my. I don't find these library. I don't know where to download them. On 06/28/12 10:22, Dunrong Huang wrote: This post may give you some advice http://lists.gnu.org/archive/html/qemu-devel/2012-06/msg02319.html 2012/6/28 Davide Ferraretto

[Qemu-devel] Compiling static

2012-06-28 Thread Davide Ferraretto
I want compile qemu with --static: ./configure --static --target-list=i386-linux-user,arm-linux-user --python=/usr/bin/python2.7 --prefix=/install_qemu Qemu returns: /usr/bin/ld: cannot find -lssl3 /usr/bin/ld: cannot find -lsmime3 /usr/bin/ld: cannot find -lnss3 /usr/bin/ld: cannot find -lnssuti

[Qemu-devel] Compiling static

2012-06-14 Thread Davide Ferraretto
I want compile qemu with --static: ./configure --static --target-list=i386-linux-user,arm-linux-user --python=/usr/bin/python2.7 --prefix=/install_qemu Qemu returns: /usr/bin/ld: cannot find -lssl3 /usr/bin/ld: cannot find -lsmime3 /usr/bin/ld: cannot find -lnss3 /usr/bin/ld: cannot find -ln

[Qemu-devel] Compiling static

2012-06-14 Thread Davide Ferraretto
I want compile qemu with --static: ./configure --static --target-list=i386-linux-user,arm-linux-user --python=/usr/bin/python2.7 --prefix=/install_qemu Qemu returns: /usr/bin/ld: cannot find -lssl3 /usr/bin/ld: cannot find -lsmime3 /usr/bin/ld: cannot find -lnss3 /usr/bin/ld: cannot find -lnssu

[Qemu-devel] tcg_qemu_tb_exec...

2012-06-03 Thread Davide Ferraretto
I'm in qemu-arm. tcg_qemu_tb_exec function is a macro: #define tcg_qemu_tb_exec(env, tb_ptr)\ ((long REGPARM (*)(void *, void *))code_gen_prologue)(env, tb_ptr) #endif I don't understand what function calls. where is code of code_gen_prologue???

Re: [Qemu-devel] arm return

2012-06-01 Thread Davide Ferraretto
I'm in "arm user space" with "sigle step mode". I want write "exit\n" in linux shell (no QEMU monitor) when emulate code arrives to "return 0" On 06/01/12 14:23, Max Filippov wrote: On Fri, Jun 1, 2012 at 3:57 PM, Davide Ferraretto wrote: I tr

[Qemu-devel] arm return

2012-06-01 Thread Davide Ferraretto
I tried to insert " printf("exit\n"); ", but qemu dosen't write to monitor. On 06/01/12 13:43, Max Filippov wrote: On Fri, Jun 1, 2012 at 3:16 PM, Davide Ferraretto wrote: In arm user mode, where does qemu exit? Where is last qemu's instruction? I.E. int main (

[Qemu-devel] arm return

2012-06-01 Thread Davide Ferraretto
In arm user mode, where does qemu exit? Where is last qemu's instruction? I.E. int main (){return 0;} in what file does qemu run "return 0"??

[Qemu-devel] arm exit code.

2012-05-29 Thread Davide Ferraretto
In arm user mode, where does qemu exit? Where is last qemu's instruction?

[Qemu-devel] cpsr_write...

2012-05-28 Thread Davide Ferraretto
Hi!!! 1)How can I use cpsr_write(var, tmp_mask) in qemu- arm(user mode)?? 2)What are "var" and "tmp_mask"?? 3)How does QEMU use cpsr register in "sigle step mode"??

[Qemu-devel] Read location of memory poits esp register

2012-05-07 Thread Davide Ferraretto
But, I work into qemu code. Is there a c qemu function for this?? On 05/07/12 19:10, Mulyadi Santosa wrote: On Mon, May 7, 2012 at 11:49 PM, Davide Ferraretto wrote: how can I read location of memory poits by esp register (i386 cpu)?? CMIIW, using gdb stub hooked to Qemu, it should be: p

[Qemu-devel] Read location of memory poits esp register

2012-05-07 Thread Davide Ferraretto
how can I read location of memory poits by esp register (i386 cpu)??

[Qemu-devel] How byte for instruction??

2012-05-03 Thread Davide
In qemu-i386 can I know "How many bytes is a instruction before it run"??

[Qemu-devel] Instruction Register

2012-05-03 Thread Davide
In qemu where is "Instruction Register"??

[Qemu-devel] CC and DF flags

2012-05-03 Thread Davide
In qemu in i386, where are cc and df flags??

[Qemu-devel] ldub_code(s->pc++)

2012-04-05 Thread Davide
What does "ldub_code(s->pc++);" do???

[Qemu-devel] What do these instructions do??

2012-04-05 Thread Davide
In target-i386/translate.c there are this instructions: int op, f, val; op = (b >> 3) & 7; f = (b >> 1) & 3; if ((b & 1) == 0) ot = OT_BYTE; else ot = dflag + OT_WORD; What does this code do??

[Qemu-devel] Reading instructions by source file...

2012-03-26 Thread Davide
Where is that qemu read instructions of source file??

[Qemu-devel] target_pread funciton...

2012-03-26 Thread Davide
What does "target_pread" function do in flatload.c???

[Qemu-devel] Fwd: envlist_setenv...

2012-01-17 Thread Davide
What does this loop in main? for (wrk = environ; *wrk != NULL; wrk++) { (void) envlist_setenv(envlist, *wrk); }

[Qemu-devel] envlist_setenv...

2012-01-10 Thread Davide
What does this loop in main? for (wrk = environ; *wrk != NULL; wrk++) { (void) envlist_setenv(envlist, *wrk); }

Re: [Qemu-devel] [Qemu-discuss] [Qemu-discussion] QEMU via GDB

2011-10-23 Thread davide . ferraretto
It dosen't work. GDB returns the same error. - Original Message - From: davide.ferrare...@studenti.univr.it Date: Monday, October 24, 2011 8:37 Subject: Re: [Qemu-discuss] [Qemu-discussion] QEMU via GDB To: davide.ferrare...@studenti.univr.it > It dosen't work. GDB return the same error.

[Qemu-devel] QEMU via GDB

2011-10-21 Thread davide . ferraretto
Dear all, I am trying to debug QEMU via GDB. I configured and compiled QEMU with debugging flags, i.e., # CFLAGS="-g3 -O0" ./configure --disable-gfx-check and run gdb: # gdb ./i386-linux-user/qemu-i386 (gdb) break main (gdb) run Starting program: /home/test/femu/i386-linux

[Qemu-devel] QEMU via GDB

2011-10-20 Thread Davide
Dear all, I am trying to debug QEMU via GDB. I configured and compiled QEMU with debugging flags, i.e., # CFLAGS="-g3 -O0" ./configure --disable-gfx-check and run gdb: # gdb ./i386-linux-user/qemu-i386 (gdb) break main (gdb) run Starting program: /home/test/femu/i386-linux-user/qemu-i386