Debugging with Qemu: Difference between revisions
No edit summary |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| Line 17: | Line 17: | ||
The xml had <code>/usr/bin/kvm-spice</code> in it as the emulator; so I searched <code>dpkg -S /usr/bin/kvm-spice</code> which turns out to be '''qemu-kvm''' (that I already have installed). So I assume that I'll need to run qemu-kvm. So then I researched how to start a qemu-kvm session/machine, using libvirt, and given an XML manifest / configuration file. I didn't find anything like that, so I went with basic commands for starting QEMU. (Failing fast and early reveals the path to perfection.) Listing the user and system emulators in <code>/usr/bin/qemu-*</code>, there is <code>qemu-system-x86_64-spice</code>. I started the system with: | The xml had <code>/usr/bin/kvm-spice</code> in it as the emulator; so I searched <code>dpkg -S /usr/bin/kvm-spice</code> which turns out to be '''qemu-kvm''' (that I already have installed). So I assume that I'll need to run qemu-kvm. So then I researched how to start a qemu-kvm session/machine, using libvirt, and given an XML manifest / configuration file. I didn't find anything like that, so I went with basic commands for starting QEMU. (Failing fast and early reveals the path to perfection.) Listing the user and system emulators in <code>/usr/bin/qemu-*</code>, there is <code>qemu-system-x86_64-spice</code>. I started the system with: | ||
< | <syntaxhighlight lang="bash">/usr/bin/qemu-system-x86_64-spice -hda /home/greg/Downloads/debug-crash.qcow | ||
</ | </syntaxhighlight> | ||
But, from the Arch wiki<ref>https://wiki.archlinux.org/index.php/QEMU</ref> I found that | But, from the Arch wiki<ref>https://wiki.archlinux.org/index.php/QEMU</ref> I found that | ||