H
H
HighMan2021-11-05 19:53:31
linux
HighMan, 2021-11-05 19:53:31

Qemu how to start vm correctly?

Hello colleagues!
The task arose to create and run several virtual machines of the mipsel architecture.
With the creation and, half with the launch, he coped.
The VM starts up, capturing the terminal, and I don't need it at all. I need the vm to start quietly and peacefully and you can reach it via ssh. The ssh server itself, respectively, is raised on vm.
Here's how I run it:

qemu-system-mipsel -M malta -m 128 /
-kernel vmlinux-4.19.0-18-4kc-malta -initrd ./boot/initrd.img-4.19.0-18-4kc-malta /
-hda hda.img -append "root=/dev/sda" -nographic /
-net nic,macaddr=00:16:3e:00:00:01 -net tap

How to start vm in silent mode without opening its console?
By the way, are there any accelerators for mipsel, such as kvm?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2021-11-05
@jcmvbkbc

How to start vm in silent mode without opening its console?

-nographic -serial none -monitor none
is there any accelerators for mipsel, like kvm?

Yes, but you need to understand that kvm requires the guest architecture to match the host architecture, i.e. qemu needs to be run on the mips host to do this.

H
hint000, 2021-11-06
@hint000

Instead of -nographic try -vnc :33 (accordingly, the console via vnc will be available on port 5933\tcp)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question