How do i fix this and get it running??

2023-03-30 Thread dnfkjasf sdvfds
Hi, I've been trying to set up windows 10 vm on my windows 10 pc and i've been running into some issues. Then I've found this guide ( https://dev.to/whaleshark271/using-qemu-on-windows-10-home-edition-4062) and got stuck and got this result (shown in the video ). [That

Re: How to get PID in tcg plugin

2023-03-30 Thread Alex Bennée
David Smitley writes: > Is there an estimated time frame for when register access will be > available from a plugin? Is there are branch with this feature that > someone could try out? I hope to have something that can do it this year but it involves a fairly big re-factor of the internals of

Re: How to get PID in tcg plugin

2023-03-30 Thread David Smitley
Is there an estimated time frame for when register access will be available from a plugin? Is there are branch with this feature that someone could try out? Cheers, David On 3/30/23 05:03, Alex Bennée wrote: syheliel syheliel writes: I'd like to use tcg plugin to trace a particular process

Re: [QEMU 7.2.0] Emulating custom peripheral designed for qemu 4.0.0

2023-03-30 Thread Peter Maydell
On Thu, 30 Mar 2023 at 12:51, Fenix GDH wrote: > I am working on emulating some soho router firmwares, but most of them use > SoCs not supported by qemu. I found the Firmguide, where the authors > implemented some specific devices on QEMU 4.0.0 in order to emulate linux > kernel. I'm trying to

[QEMU 7.2.0] Emulating custom peripheral designed for qemu 4.0.0

2023-03-30 Thread Fenix GDH
Hi all! I am working on emulating some soho router firmwares, but most of them use SoCs not supported by qemu. I found the *Firmguide , *where the authors implemented some specific devices

printk in the driver doesn't appear in a virtual machine..

2023-03-30 Thread Chan Kim
Hello all, When I run linux kernel on a virtual machine(a modified arm64 virt machine), I use this command. /home/ckim/prj/QEMU/qemu-6.2.0/build-baremetal/aarch64-softmmu/qemu-system-a arch64 -machine virt,gic-version=max,secure=off,virtualization=true -cpu max -kernel /home/ckim/prj/LinuxDevDrv/

Re: debugging guest os running atop of eqmu+kvm

2023-03-30 Thread Alex Bennée
daggs writes: > Greetings, > > I have a libvirt+kvm+qemu setup running libreelec as guest. > latest guest os update exposed a bug which joins another bug existing > already (one I've worked around for now). > the two bugs are as follows: > 1. when the nic is set to virtio, dhcp isn't acquired,

Re: only apply tcg plugin in a certain process in system mode

2023-03-30 Thread Alex Bennée
syheliel syheliel writes: > I want to use tcg plugin to trace a particular process in system mode. But I > find that the current tcg plugin > will work on all process: > ``` > ./qemu-system-x86_64 -plugin tests/plugin/libinsn.so \ > -d plugin ../tests/tcg/multiarch/threadcount > ``` > abov

Re: How to get PID in tcg plugin

2023-03-30 Thread Alex Bennée
syheliel syheliel writes: > I'd like to use tcg plugin to trace a particular process using qemu system > mode. But I have no idea how to do > it. In system mode QEMU doesn't have any visibility of what process id code might be executing in the guest. If we had register access support you coul

Re: TCG plugin : problem with call back in SW RISCV instructions

2023-03-30 Thread Alex Bennée
BRICOUT Thaddée writes: > Hi, everyone, > > I need to execute a call back for every SW RISCV instruction executed. When I > add a call back in this > instruction and then I print the instructions in the call back, the result > does not show only SW instructions but > also others. (cf. log.txt

Re: Question about tracking istructions with TCG plugin

2023-03-30 Thread Alex Bennée
anton.trapan...@studenti.unina.it writes: > Hi, > I'm running Qemu 7.0.0 in system mode, in particular I'm emulating a > MPC8548 Power PC board, which is running an hypervisor, which is > running two virtual boards on top. > > Right now I'm interested in tracking the crashes of one of these > vi

Re: raspi3b - Device Tree (FDT) load address

2023-03-30 Thread Alex Bennée
Little Tree writes: > Hi, > > I am using QEMU 6.2.0 for emulating Raspberry Pi 3B. I understand that in > QEMU, Raspberry Pi firmware > (bootcode.bin,loader.bin, fixup.dat, startup.elf) emulation is not performed > at the boot time. > > In real HW board, isn't firmware supposed to load the F