qemu-kvm

Just about everything is virtual these days. Topics relating to virutalization go here.
Post Reply
Thaldan
Posts: 4
youtube meble na wymiar Warszawa
Joined: Thu Jun 27, 2024 10:56 pm

qemu-kvm

Post by Thaldan »

Hello here.

Virtual box seems really heavy to use on the NAS, so there is a way to install qemu-kvm instead?

Take care.
jeercress
Posts: 2
Joined: Thu Jul 04, 2024 6:19 pm
Location: https://tunnelrushgame.io

Re: qemu-kvm

Post by jeercress »

Hi,
If you're finding VirtualBox to be heavy on your NAS, you can explore using qemu-kvm as an alternative. QEMU (Quick EMUlator) is a fast and efficient virtualization software, and KVM (Kernel-based Virtual Machine) is a component that allows utilizing hardware virtualization capabilities in the Linux kernel.
Thaldan
Posts: 4
Joined: Thu Jun 27, 2024 10:56 pm

Re: qemu-kvm

Post by Thaldan »

OK, but there is a way to install it on asustor nas?
User avatar
father.mande
Posts: 1911
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: qemu-kvm

Post by father.mande »

Hi,
Thaldan wrote: Fri Jul 05, 2024 11:24 am OK, but there is a way to install it on asustor nas?
Nothing really easy ... and depends of your requirement (in term of performance and functionalities supported by qemu/kvm).
A.D.M. is a Linux but more an embedded one than a standard distribution.

Some of the possibilities :

1 : use docker kvm (I never use docker ... I always use native software ... even I know it)
... ADM need : REQUEST to add irqbypass.ko kernel module (provide (by me) somewhere in the forum for another user).
... Limits and constraints (generally, but exception can exist):
... ... network is only local and based on NIC define in docker run
... ... kvm is launched as PID 1 (so no more easy access out of kvm)
... ... NO libvrt supported
... ... if you know how configure net promiscuous mode and macvlan, you can do modification for increasing network performance
... ... etc., etc., etc.

2 : use native complete environment.
... create a chroot with for ex. Ubuntu 2204
... install QEMU/KVM
request :
... load ADM kvm modules
... provide and load irqbypass.ko
... create and load for libvirt : virtio -net, -blk, -scsi, -ballon ... some documentation invoke -serial, but in fact it's a special device used by SPICE (for ex.) ... so it's not needed. ... GPL kernel source is provide by Asustor ... no real difficulty.
... configure network (local, macvlan, etc. multiple network interface are proposed as kernel modules by Asustor ... so choice based on your network knowledge)

... share a resource and mount it in chroot for file exchange with ADM and the worldand VM store.
... create init script to bypass systemd (easy except perhaps for autorun)

... tested (by me) with a previous 5.13.x kernel ... but in my current usage I use dedicated servers with QEMU/KVM and Vmware Workstation ... so you can test by yourself if you want to test :D

I think others solutions can exist ... so wait for more information from other users.

Philippe.
Asustor updated :D
AS6602T / AS5202T / FS6706T / AS3302Tv2
Asustor E.O.L. at A.D.M. 4.0 :(
AS5002T / AS1002T
Asustor past :mrgreen:
AS202T
Videopac
Posts: 7
Joined: Tue Dec 27, 2022 7:39 pm

Re: qemu-kvm

Post by Videopac »

It would be nice if Asustor offered QEMU as an app (and update VirtualBox to 7.0.20 and update Docker and Portainer as well).
Videopac
Posts: 7
Joined: Tue Dec 27, 2022 7:39 pm

Re: qemu-kvm

Post by Videopac »

Videopac wrote: Tue Jul 23, 2024 5:42 pm It would be nice if Asustor offered QEMU as an app (and update VirtualBox to 7.0.20 and update Docker and Portainer as well).
Well, well: both Docker and Portainer already have been updated by Asustor: thank you!
An update of Virtual Box would be nice as well...
Post Reply

Return to “Virtualization”