Re: Issue with qemu networking

2021-09-15 Thread Steve Litt
Sukreet pal said on Tue, 14 Sep 2021 10:30:31 +0200 >Dear qemu developers, > >I am currently new to qemu. Currently , I have a windows host in which >I have a Linux VM and inside the Linux VM I have my qemu armv7 >vexpress-a9 board virtualized. > >I want to connect to the internet from my

X86 bzImage boot issue under window qemu 6.0 version

2021-09-15 Thread Dhananjay Joshi
Hi I have tried booting latest linux kernel image (bzImage: Linux kernel x86 boot executable bzImage, version 5.4.57-yocto-standard) in the qemu-system-x86_64 based machine on windows 10(QEMU emulator version 6.0.93 (v6.1.0-rc3-11879-ge232c1bc00-dirty)). It gives me below error and linux kernel is

Re: Emulate custom machine on qemu-4.2.0

2021-09-15 Thread abhijeet inamdar
You mean hw/arm/msp2.c ? On Wed, Sep 15, 2021, 13:55 Peter Maydell wrote: > On Wed, 15 Sept 2021 at 12:13, abhijeet inamdar > wrote: > > > > Now there are some many UART implemented in the hw/char. What should we > look for or how do you choose which one to use? or implement similar kind. > >

Re: Emulate custom machine on qemu-4.2.0

2021-09-15 Thread Peter Maydell
On Wed, 15 Sept 2021 at 12:13, abhijeet inamdar wrote: > > Now there are some many UART implemented in the hw/char. What should we look > for or how do you choose which one to use? or implement similar kind. You implement what the hardware you are modelling has, obviously. This is why we have

Re: Emulate custom machine on qemu-4.2.0

2021-09-15 Thread abhijeet inamdar
Now there are some many UART implemented in the hw/char. What should we look for or how do you choose which one to use? or implement similar kind. Same case for I2C also. I'm new to these so can you suggest me the basic one so that I can try and implement it? Thank you, Abhijeet. On Wed, Sep

Re: high cpu usage in idle state

2021-09-15 Thread Philippe Mathieu-Daudé
On 9/15/21 9:46 AM, Ali Vatankhah wrote: > Dear qemu developers > I built an image for e5500 cpu with yocto and run with qemu ppce500 machine: > qemu-system-ppc64 -nographic -M ppce500 -cpu e5500 -kernel uImage > -initrd core-image-minimal.rootfs.ext2.gz -append 'root=/dev/ram rw'  > It works

Re: Emulate custom machine on qemu-4.2.0

2021-09-15 Thread Peter Maydell
On Wed, 15 Sept 2021 at 08:23, abhijeet inamdar wrote: > > Hi, > > As my custom machine is based on cortex-m3 I checked the stellaris.c > https://github.com/qemu/qemu/blob/stable-4.2/hw/arm/stellaris.c#1384,1390. > Does only this part define the UART peripheral for this machine? Can you >

high cpu usage in idle state

2021-09-15 Thread Ali Vatankhah
Dear qemu developers I built an image for e5500 cpu with yocto and run with qemu ppce500 machine: qemu-system-ppc64 -nographic -M ppce500 -cpu e5500 -kernel uImage -initrd core-image-minimal.rootfs.ext2.gz -append 'root=/dev/ram rw' It works well, but as the emulated guest is in idle state, in the

Re: Emulate custom machine on qemu-4.2.0

2021-09-15 Thread abhijeet inamdar
Hi, As my custom machine is based on cortex-m3 I checked the stellaris.c https://github.com/qemu/qemu/blob/stable-4.2/hw/arm/stellaris.c#1384,1390. Does only this part define the UART peripheral for this machine? Can you point out any basic examples so that I can refer to ARM M3. Any help would