ravishanakar
Posts: 2
Joined: Mon May 21, 2018 11:30 am

KVM on rasberry pi 3

Tue May 22, 2018 9:19 am

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 ?
Last edited by ravishanakar on Tue May 22, 2018 10:17 am, edited 1 time in total.

User avatar
B.Goode
Posts: 8864
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: KVM on rasberry pi 3

Tue May 22, 2018 9:29 am

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...

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5202
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: KVM on rasberry pi 3

Tue May 22, 2018 9:44 am

"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.
Director of Communications, Raspberry Pi

AnuradhaY
Posts: 5
Joined: Tue May 22, 2018 9:14 am

Re: KVM on rasberry pi 3

Tue May 22, 2018 9:48 am

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 ?

User avatar
B.Goode
Posts: 8864
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: KVM on rasberry pi 3

Tue May 22, 2018 9:53 am

Thank you for the clarification.

Welcome back.

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5202
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: KVM on rasberry pi 3

Tue May 22, 2018 9:56 am

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.
Director of Communications, Raspberry Pi

AnuradhaY
Posts: 5
Joined: Tue May 22, 2018 9:14 am

Re: KVM on rasberry pi 3

Tue May 22, 2018 11:29 am

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.

User avatar
sakaki
Posts: 378
Joined: Sun Jul 16, 2017 1:11 pm

Re: KVM on rasberry pi 3

Tue May 22, 2018 12:19 pm

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

W. H. Heydt
Posts: 10998
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: KVM on rasberry pi 3

Tue May 22, 2018 2:58 pm

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.

User avatar
procount
Posts: 1782
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

Re: KVM on rasberry pi 3

Tue May 22, 2018 3:00 pm

KVM also means "Kernel Virtual Machine"
https://www.linux-kvm.org/page/Main_Page
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

n67
Posts: 938
Joined: Mon Oct 30, 2017 4:55 pm

Re: KVM on rasberry pi 3

Tue May 22, 2018 3:03 pm

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
"L'enfer, c'est les autres"

G fytc hsqr rum umpbq rm qyw rm rfc kmbq md rfgq dmpsk:

Epmu Sn!

J lnacjrw njbruh-carppnanm vxm rb mnuncrwp vh yxbcb!

hommar
Posts: 173
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: KVM on rasberry pi 3

Tue May 22, 2018 6:18 pm


nexusguy59
Posts: 1
Joined: Fri Jun 02, 2017 7:11 am

Re: KVM on rasberry pi 3

Thu Jul 19, 2018 1:33 pm

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.

Return to “General discussion”