<br><br>On Friday, November 12, 2021,  <<a href="mailto:mnieuw@zap.a2000.nl">mnieuw@zap.a2000.nl</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Andrew, thanks for the links. I followed mostly the procedure of<br>
the DVD:<br>
<a href="https://blog.lazym.io/2021/04/16/Run-ARM-MIPS-Debian-on-QEMU/" target="_blank">https://blog.lazym.io/2021/04/<wbr>16/Run-ARM-MIPS-Debian-on-<wbr>QEMU/</a><br>
<br>
Still, it took almost 2 hours until it was finished, that was after<br>
downloading the ISO. Host CPU load was rarely above 15%, and host disk<br>
access was almost absent. ISO version was as specified in the<br>
procedure, but further in the procedure is the wrong version (easy to<br>
correct).<br>
<br>
Some notes:<br>
1) I tested this on Fedora_35 with the latest qemu 6.1 release.<br>
2) The procedure specified system-arm, that does not exists (anymore). I<br>
used aarch64. I specified 4G memory, 4 CPUs.<br>
3. I did not do anything from that procedure regarding networking.<br>
Fedora has by default a bridge device setup, and it simply worked,<br>
looked fast too (not measured). I did see it going out during the<br>
install, and network detection and dhcp was very quick.<br>
4. I did follow his procedure regarding the cdrom, but it is possible<br>
this later qemu version has a working cdrom device. TODO.<br>
4. During the install near the end I was asked if I wanted to install<br>
some extra utilities, but it failed when I tried it. In the end, the<br>
qcow2 diskfile was 1.6G, quite small.<br>
5. To extract the boot kernel and initrd I did not use sudo as<br>
specified with virt-copy-out, failed for some reason. Without sudo it<br>
was fine. His command virt-ls was nowhere to be found (not in the<br>
package manager), but during the install I noted the exact version<br>
numbers and used those.<br>
6. After installation the system restarted itself, but because the<br>
qemu parameters were still those from the original start, it came back<br>
to the installer. I just killed it.<br>
7. When starting the system with the supplied example (with adapted<br>
kernel/initrd numbers) and 4G memory, it starts fine to a cmd prompt.<br>
But networking does not work. Possibly it will if I use the same <br>
networking parameters as when doing the install. Even ifconfig was not<br>
there.<br>
8. When using virt-manager, you can create a new VM (in virt-manager)<br>
from an existing OS image (the .qcow2 file in this case). But it boots<br>
an UEFI (and that doesn't react to kbd entries, likely because unlike<br>
a PC boot, it cannot setup kbd/mouse for this "virt" VM), and apparently<br>
the image is not set up for that. But it does generate a .xml file with<br>
lots of details, more than specified on the cmd line from the<br>
instructions. I suspect I can modify it to not use an UEFI firmware<br>
file and associated nvram file (this is how it works normally), but use<br>
directly the supplied kernel/initrd.</blockquote><div><br></div><div>apparently aarch64-on-x86_64 shiuld be supported combination:</div><div><br></div><div><a href="https://fedoraproject.org/wiki/QA:Testcase_Virt_AArch64_on_x86">https://fedoraproject.org/wiki/QA:Testcase_Virt_AArch64_on_x86</a></div><div><br></div><div>but uefi on arm64 a bit too complicated for me, you might need to create empty 64mb file and feed it to qemu via -pflash.. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So, quite nice so far. Networking next, else this is unusable for<br>
testing (the building of) an ARM version of CinGG.<br>
Is there no video-like device anywhere in this "virt" arm machine?<br>
Shouldn't one be able to have an "headless" Debian with a GUI terminal<br>
on the remote end (in this case the host)? </blockquote><div><br></div><div> <a href="https://unix.stackexchange.com/questions/508362/running-an-x11-application-on-a-kvm-guest-so-it-displays-on-the-host-system">https://unix.stackexchange.com/questions/508362/running-an-x11-application-on-a-kvm-guest-so-it-displays-on-the-host-system</a></div><div><br></div><div>hopefully answers here will help you.. (we do not use kvm, but qemu-tcg, but because kvm usually use same qemu as hypervisor.. i hope it all applicable!) </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
MatN<br>
</blockquote>