Page 1 of 1

KVM on rasberry pi 3

Posted: Tue May 22, 2018 9:19 am
by ravishanakar
I am integrating KVM on rasberry PI 3 .I have set of questions to be cleared
1)Whether KVM is supported in rasberry PI 3 ?
2)What will be memory size required for KVM executable ?
3)KVM is compatible with rasberry PI3 ?

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 9:29 am
by B.Goode
Extensive previous discussion here: viewtopic.php?f=63&t=210546


Worth noting that people who might not be thought of as "guys" might also have a valid contribution to make...

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 9:44 am
by liz
"Guys" is regarded as fine and inclusive by a lot of us non-men. Please don't police English usage here: a lot of posters aren't first language speakers, and doing so only serves to dampen people's enthusiasm for participation.

It's a good rule of thumb that if you're not personally offended by something, but are pointing out that somebody who's not you *might* be offended, it may be worth waiting for that somebody to say something before you wade in.

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 9:48 am
by AnuradhaY
Would like to know which ARM processor properly supports KVM on Raspberry Pi 3, guess it it ARM v8 ?
Also , if we buy a Rasp Pi 3 B+ , will it be pre-configured with NOOBS ?

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 9:53 am
by B.Goode
Thank you for the clarification.

Welcome back.

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 9:56 am
by liz
Thanks! I'm easing back in at the moment (back in the office next week after a weekend at Coolest Projects with the CoderDojo team in Dublin - and right now the reason for the maternity leave is playing with a teaset by my desk here at home) - it's very good to be back! Apols for the OT.

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 11:29 am
by AnuradhaY
Found something useful
https://medium.com/@valdiz777/setting-u ... faddf02f48

But the above link uses OpenSuSe on Raspberry Pi 3 , and then KVM.Need to check and test with default OS too.

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 12:19 pm
by sakaki
ravishanakar,

if you are targetting a 3B (as opposed to a 3B+), then you could also use the default aarch64 archlinuxarm rootfs tarball, which ships with KVM enabled in its kernel. You can download and write it to an unused microSD card using e.g. this script; then see e.g. this post for QEMU setup. The resulting image boots fine for me on a 3B, but fails on a 3B+ (see e.g. these instructions for a possible resolution - note however if you switch to the linux-aarch64-raspberrypi-bin package as suggested therein, that this uses my bcmrpi3-kernel weekly autobuild as upstream, and this (since it follows the official bcmrpi3_defconfig) does not, iirc, have KVM enabled).

Alternatively the custom KVM variant of my bootable Gentoo image (from the thread B.Goode cited) is still available (see this post) and should work on a 3B or 3B+.

hth, sakaki

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 2:58 pm
by W. H. Heydt
I'm afraid that this is one of those threads that leads to--at least inital--head scratching. To me, "KVM" means a "Keyboard, Video, Mouse" switch...and *any* Pi will work with one.

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 3:00 pm
by procount
KVM also means "Kernel Virtual Machine"
https://www.linux-kvm.org/page/Main_Page

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 3:03 pm
by n67
In fact, ...

KVM may refer to:

Computing
Kernel-based Virtual Machine, a virtualization solution that turns the Linux kernel into a hypervisor
K virtual machine, for Java
Keyboard–video–mouse
KVM switch (keyboard, video, and mouse switch), a hardware device for controlling multiple computers
Rackmount KVM, a computer input/output device offering the combination of a keyboard, video monitor and mouse (pointing device), typically rack mounted

OR

Other
K. V. Mahadevan, South Indian music composer
Kalamazoo Valley Museum, a museum in Michigan, US
Kheti Virasat Mission, a farmers' movement in Punjab
Kosovo Verification Mission
KV Mechelen, a Belgian football (soccer) club

Re: KVM on rasberry pi 3

Posted: Tue May 22, 2018 6:18 pm
by hommar

Re: KVM on rasberry pi 3

Posted: Thu Jul 19, 2018 1:33 pm
by nexusguy59
Hello Guys,

I am trying to figure out what the sense is in installing KVM on a PI I mean you only have 1 gb of ram and you only have 4 cores (The 4 cores is understandable). I have a Bramble with 4 PIs clustered however I don't think it's actually using all 4 gb of ram (1 for each node) or the full 16 cores (4 per node).

Let me know your thoughts please, If this is viable I may do it.