Raspup no KVM (Raspup on KVM)

Moderator: Forum moderators

Post Reply
User avatar
rockedge
Site Admin
Posts: 6543
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2749 times
Been thanked: 2624 times
Contact:

Re: Raspup no KVM (Raspup on KVM)

Post by rockedge »

marcoc wrote:

Guys, I'm from the PC-DOS time after MS-DOS

Me too.

Yes I think it will run fine with KVM, Did you try to boot it directly with the Pi? It seems that Raspup will run natively on a RaspberryPi so it might be worth a try.

Do you need a copy of Raspup?

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: Raspup no KVM (Raspup on KVM)

Post by bigpup »

I found a tutorial on the web that taught how to activate
KVM and installing / emulating Alpine Linux

Give us a link to this tutorial.
So we can see how you did it.

Raspup is released as an image file that you use to make an install on a SD card, you use to boot a Pi computer.

Raspup info is here:
http://raspup.eezy.xyz/index.php

The release notes give details and install info:
http://raspup.eezy.xyz/notes.php

There are several versions setup for the different Pi computers.

Note:
The dd command it shows for doing an install has a small error.

Code: Select all

dd bs=1m if=path/to/raspup-(version).img of=/dev/MYDRIVE
sync

Code: Select all

bs=1m needs to be bs=1M

The 1m needs to be a capital letter M.

I am using Raspup to run a Pi 400
I have Raspup installed on a micro SD card.
I replace the Raspberry OS SD card with the Raspup SD card and boot with it.

After we look at how you got Alpine Linux working with KVM.
Should be able to tell you how to do it with Raspup.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Clarity
Posts: 3829
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1628 times
Been thanked: 522 times

Re: Raspup no KVM (Raspup on KVM)

Post by Clarity »

@marcoc, @rockedge, @bigpup and others.

Does RasPI CPU have VM hardware capability built-in. When I looked several years ago the processor did not. So that acceleration is NOT available IIRC.

For Intel and AMD, the CPU hardware has the ability and either the kernel or a module load is required for the OS to use it.

I may be wrong on RasPi ability. QEMU will work no matter what/which.

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: Raspup no KVM (Raspup on KVM)

Post by bigpup »

I am going to go now.
This is something I know little about and have never used.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Clarity
Posts: 3829
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1628 times
Been thanked: 522 times

Re: Raspup no KVM (Raspup on KVM)

Post by Clarity »

Hi @bigpup and other members.

We have a couple Guides on the Internet for PUPs and Virtual Machines (VM), aka QEMU-KVM specifically to help understand what it is and how to implement. The guides are dated, yet accurate.

In the late 1990s, AMD, then Intel, added an acceleration component to their processor, specific to accelerate VMs. Linux followed suit to exploit the acceleration feature by building support in Linux. Tovalds added support in the form of kernel modules for AMD & Intel (x86 & x86-64) and continues to support those processor features to this day. It is known as 'KVM' and I think you can guess from this paragraph what KVM stands for.

OK, The concern raised here, I think, is asking if there is some component in ARM processors where it, too, can make VMs run as fast as bare-metal processing.

DO NOT confuse the Linux support of KVM with anything other than its support for processor acceleration.

QEMU is something separate...it merely allows people to 'design' a virtual machine to mimic real bare-metal PCs. The discussion of QEMU, as a designer, is alluded to in the PUP Guides I mentioned.

I hope this explanation is helpful.

User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Re: Raspup no KVM (Raspup on KVM)

Post by wiak »

Clarity wrote: Sat Jan 14, 2023 5:22 am

DO NOT confuse the Linux support of KVM with anything other than its support for processor acceleration.

I don't own a RPi4, but here is an article that suggests it supports KVM virtualisation:

How to Enable KVM Virtualization on Raspberry Pi 4
https://linuxhint.com/kvm_virtualization_raspberry_pi4/

Also on Pi3 but limited because of RAM:
https://feldspaten.org/2020/05/24/kvm-o ... erry-pi-3/
https://feldspaten.org/2020/07/05/raspb ... 4-and-kvm/

More generally, seems to have been some KVM ARM support, no doubt depending on the ARM processor type, since 2013: https://lwn.net/Articles/557132/c

KVM/ARM is already used heavily in production by the SUSE Open Build Service on Arndale boards, and we can only speculate about its future uses in the green data center of the future, as the hypervisor of choice for ARM-based networking equipment, or even ARM-based laptops and desktops.

For more information, help on how to run KVM/ARM on your specific board or SoC, or to participate in KVM/ARM development, the kvmarm mailing list is a good place to start.

https://groups.google.com/g/cubieboard/c/4EGONZMoIAU

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

Post Reply

Return to “Raspbian Buster”