Re: QEMU boot kernel for ppc e300c3 problem

2021-09-05 Thread Thomas Huth
On 04/09/2021 12.59, Ali Vatankhah wrote: I am new to QEMU. I built a Linux kernel 4.14 and rootfs for MPC8308 (this CPU has e300c3 ppc core with Yocto (thud version) and it works on real hardware well. When I run this command to run kernel with QEMU: qemu-system-ppc -kernel vmlinux.bin -nogra

How to get process memory mappings in qemu-user via GDB (aka /proc/pid/maps)

2021-09-05 Thread Dominik Czarnota
Hey, Is there a way to list qemu-user GDB debugged process memory maps similar to what we get via procfs on Linux (aka /proc/$PID/maps file)? Such functionality would be helpful for low level/native GDB plugins like pwndbg [1] or gef [2]. If it is not there: can anyone point me to the code where

Qemu aarch64 vm supported x86 cpus?

2021-09-05 Thread David Faller
Dear all, I have a little question about aarch64 virtualization on x86_host. At home I build up a virtual machine running aarch64 debian. My system setup is an AMD Ryzen 5900x. On this System aarch64 emulation runs really smooth and fine without high cpu usage. So after I finished my project a

Qemu aarch64 emulation question

2021-09-05 Thread David Faller
Dear all, I have a little question about aarch64 virtualization on x86_host. At home I build up a virtual machine running aarch64 debian. My system setup is an AMD Ryzen 5900x. On this System aarch64 emulation runs really smooth and fine without high cpu usage. So after I finished my projec

Re: building dif. target system using qemu suit - Update.

2021-09-05 Thread Ken Moffat
On Sun, Sep 05, 2021 at 08:24:08PM +0200, Frans de Boer wrote: > On 9/4/21 10:31, Frans de Boer wrote: > > LS, > > > > When I use qemu-aarch64to start a chroot jail and within the jail use > > qemu-aarch64-binfmt to cope with the different binary file headers, I > > can't use bash properly. > > >

Re: building dif. target system using qemu suit - Update.

2021-09-05 Thread Frans de Boer
On 9/4/21 10:31, Frans de Boer wrote: LS, When I use qemu-aarch64to start a chroot jail and within the jail use qemu-aarch64-binfmt to cope with the different binary file headers, I can't use bash properly. That is, the -r and -x flags do not give the normal response. I tested also with -a,

Re: Can't comple qemu-system-aarch64 with egl-headless display

2021-09-05 Thread Mike Ladouceur
That was indeed the problem. Installing libgbme-dev solved the problem and will be remembered for the next time Sent from my iPhone > On Sep 5, 2021, at 11:08 AM, Peter Maydell wrote: > > On Sun, 5 Sept 2021 at 16:01, Mike Ladouceur wrote: >> >> # This runs fine >> ./configure --enable-kvm

Re: Can't comple qemu-system-aarch64 with egl-headless display

2021-09-05 Thread Peter Maydell
On Sun, 5 Sept 2021 at 16:01, Mike Ladouceur wrote: > > # This runs fine > ./configure --enable-kvm --enable-system --enable-spice --enable-opengl > --enable-virglrenderer --enable-libusb --target-list=aarch64-softmmu > > # Make runs. with no errors > > # No egl-headless here > $ qemu-system-aarc

Re: Can't comple qemu-system-aarch64 with egl-headless display

2021-09-05 Thread Mike Ladouceur
# This runs fine ./configure --enable-kvm --enable-system --enable-spice --enable-opengl --enable-virglrenderer --enable-libusb --target-list=aarch64-softmmu # Make runs. with no errors # No egl-headless here $ qemu-system-aarch64 -display ? Available display backend types: none gtk sdl curses sp

Re: Can't comple qemu-system-aarch64 with egl-headless display

2021-09-05 Thread Peter Maydell
On Sat, 4 Sept 2021 at 21:02, Mike Ladouceur wrote: > > Hi, for some reason I can't seem to compile qemu-system-aarch64 with > egl-headless capability on Ubuntu on a Raspberry Pi 4. I have all the > dependencies and configure passes without any errors as well as make. I'm > using the git repo.