Hi all:
I want to press a key and have my editor automatically launch Qemu and GDB. Like you do from within an IDE when writing PC software. How do I
synchronise Qemu and GDB?
In case the question is not clear enough, here are the steps:
1) Start Qemu.
2) Wait until Qemu is ready to accept a
First of all, thanks for your answer.
If you launch linux-user with -g 1234 or system emulation with the -S
flag the guest starts suspended until gdb attaches and continues the
target.
Yes, that is the option I am using. But this is a different subject. If both GDB and Qemu start in parallel
What is starting these two things in parallel?
My script does, and script tests/guest-debug/run-test.py does too. These scripts start QEMU in the background (otherwise the script would wait for
Qemu to finish, which would never happen) and then the script starts GDB (but this time it waits f
> [...]
Sure - for our test script it's not a problem because it gracefully
handles a failed connection which can occur for a number of other
mundane reasons.
Could you point me to such a script?
I guess this is not script "tests/guest-debug/run-test.py", because I did not
see such a logic
The test scripts themselves are separate - so
tests/tcg/multiarch/gdb/sha1.py has this:
>
>#
># This runs as the script it sourced (via -x, via run-test.py)
>#
>try:
>inferior = gdb.selected_inferior()
>arch = inferior.architecture()
>print("ATTACHED: %s
Hi all:
I have written a Bash script to stop and back up my libvirt/KVM/QEMU virtual
machine every night:
https://github.com/rdiez/Tools/blob/master/VirtualMachineManager/BackupVm.sh
There are ways to optimise it, but this simple method works well for me.
The trouble is, it takes pretty long
Hi all:
I have been running a Windows 10 guest with libvirt/KVM/QEMU on Ubuntu 22.04
and older for quite some time without major problems.
The virtual system was 'pc' (i440FX + PIIX), with QXL and VirtIO storage.
Nothing fancy.
I did hit a high CPU usage issue which I could resolve by enablin