Running mipsel guest under libvirt/qemu
Christoph Biedl <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <[email protected]> |
Hello,
in a desperate attempt to understand #852962, thus salvaging ycmd and
youcompleteme for stretch, I tried to set up an emulated mipsel machine
using libvirt/qemu, and failed horribly. There are tons of documents
out there, many years old, contradicting, not helping.
So: Is this feasible at all? I could use a pointer then.
So far: Create a virtual machine, with installer CD and virtual disk.
Then libvirt needs a patch by Aurilien[1][2]. Then libvirt complains
about mips_bios.bin although some pages[3] state this was no
longer required. Providing a dummy image, the machine starts, but shows
just a blank screen and qemu eats 100% CPU. Then booting via "Direct
kernel boot", ditto. I've tried several "console=" parameters, no
avail. Perhaps libvirt plays tricks on me, wasn't the first time.
It *is* possible to start qemu-system-mipsel directly, with an
additional '-serial stdio' parameter, but for reasons I'd really like to
control the machine using libvirt, and I fail to see how to fiddle the
kernel console into the libvirt terminal.
- What did I miss?
- How comes appearently nobody encounters such issues?
Christoph
[1] https://www.redhat.com/archives/libvir-list/2016-May/msg00197.html
[2] Which for whatever reason this did not make it into stretch
[3] https://www.linux-mips.org/wiki/QEMU#MIPS_BIOS_not_found_on_startup
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJZNTw1AAoJEMQsWOtZFJL9wVQP/jJ3ffatyVmDHfZ3pOyjguTG wP6STXTPAdB/jXuZzCZc72ASVlCOQvl71Vnq1zS4F1wh5YAVkyi4+sfQq/4QzN3t +ZodZUhyBvwFAng0I0YRDE4XYKNsHXQBPoxCgalnvrv0vg1bz1/4JjUChF2DLOAo VsRF4+WgPAxEFOM65gftoJwV8xGviAAI7MEnjjnV/UTIC91x9AF9wjIyDo7UbS6I 4xYfzuRlETzh3yGzx682EZ8KAY1afH1nHtGYFm1iNhs0lenAgLx/l4+3Q4iVR3Hy JtMmkNFlteoqWL2eD1rrGPDzbJpeZoDsDlXfUuZN72PbZTgDsqO0xex/IejP2QAH 8Y9hQdgz6TTFfjDKV7J9PKQKcYQR1u1cw9csGtBJ8rfIY54FkF050piMeb/8O4sm 4VgOvhT7gxEoSu6sCYARzgjfficTaSpbyjtALAy/DFL1Q4WJjvuiNuBjzcwBfaIG 7gessY8IHhAcfc20/OPXY7j8IJAHl6izb+mlBU/HX+gTXt65SAYmk4lBA3BbC/Ce JZVG6tl8uzRq7A3Gu+HDe7DI1LUIqGjmGdDhewvXVG02z88949q0941oBWEktD57 KD6eaWFCsr1M309o0Rh9VTH6Ou8oHlrflLwkj7mhRjnSLK5Ipa6XK18hKlmKPT7l eio90kERk+G4L97wmIkr =DKYy -----END PGP SIGNATURE-----