LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-03-2017, 09:16 PM   #1
Robbot
LQ Newbie
 
Registered: Jul 2017
Posts: 19

Rep: Reputation: Disabled
How do you KVM on VMWARE/VIRTUALBOX?


hi,

I'm trying to set up a KVM on my RHEL 7.3 installation through VB/VMW (I have same issue on both) on a windows 10 i7 laptop. The svm/vmx flags never appear on cpuinfo. Virtualization is already enabled in the BIOS, but I always get the below error message:

"KVM is not available. This may mean the KVM package is not installed, or the KVM kernel modules are not loaded. Your virtual machines may perform poorly."

I ran # yum group install "Virtualization Host" "Virtualization Client" for the prerequisites

"modprobe kvm_intel" says operation not supported

Any ideas what I might be missing?

Thanks!!

Last edited by Robbot; 08-03-2017 at 09:24 PM.
 
Old 08-04-2017, 01:11 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try this link: https://access.redhat.com/documentat...ux_system.html
 
Old 08-05-2017, 03:32 PM   #3
Robbot
LQ Newbie
 
Registered: Jul 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks for the link but I already have those packages. I'm still not able to build the KVM.
 
Old 08-05-2017, 05:19 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
So you're trying to build kvm to run VM's on a VM running in VBox? Am I understanding correctly?
 
Old 08-05-2017, 10:42 PM   #5
Robbot
LQ Newbie
 
Registered: Jul 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
yes
 
Old 08-06-2017, 02:08 AM   #6
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Have you tried https://wiki.archlinux.org/index.php...irtualization?
 
Old 08-06-2017, 01:37 PM   #7
Robbot
LQ Newbie
 
Registered: Jul 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
I've tried most of the things listed in that doc. The issue is with this part:

$ egrep --color=auto 'vmx|svm|0xc0f' /proc/cpuinfo

I don't have any of those flags, so I cannot use KVM, apparently. I have Virtualization enabled from the BIOS, plus all 7 of the needed packages for Virtualization. I have an Intel i7 6700HQ, which shows up under lscpu, so there shouldn't be any issues there I don't believe.
 
Old 08-06-2017, 04:20 PM   #8
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Lightbulb Need "Nested virtualization" LQblog/wiki, with basics thru deep-why.

I have same question, and a guess at answer:
ONLY 32bit guest, on 64bit VMguest-'host', on 64bit physical host.
(I need to readup on why! So could any 'superb student'!)
Something about 2nd Layer of virtualization not possible for 64bitL2Guest, but 32bitL2Guest works.
(I have 32bit XPhost, so no. But you have 64bit Win10Host+LinuxGuest)

I wish I understood. I need to searchLQ too. I'll be back. &3+ layers of VMs?

Sidenote (as LQpolice say): Commercial software, so call their support. I'd use CentOS7+VB.
Update1:
link in #2 says you have "a valid Red Hat account", but Idk if support included.
link in #6 says: host (Win10 in your case) needs "Nested virtualization"
I'm lost here. M$Win cmds? LinuxGuest==2ndLevelHost? Time for more web-research.
Update2: (a minute later! Proves www-search faster than asking people!)
https://www.interfacett.com/blogs/ne...-to-enable-it/
(discusses Build10565+ host & nested VM must run same build of Win 10 & ...&)
Better search: "Nested virtualization" enable on win10 host linux guest
Studying... (3rd+ levels of VMs???) Update3: confusing; other LQers?
http://www.linuxquestions.org/questi...on-4175558228/ (dual-boot CentOS?)
http://www.linuxquestions.org/questi...4/#post5643049 ?? WHY?:LQblog/wiki?

Last edited by Jjanel; 08-06-2017 at 05:54 PM.
 
Old 08-06-2017, 04:53 PM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
As far as I am aware, VirtualBox still doesn't support nested virtualisation:

https://www.virtualbox.org/ticket/4032
 
Old 08-06-2017, 06:22 PM   #10
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Question What does Win10 need to allow VMware [? to pass kvm]

Thanks. I saw that, but the 'obvious' just 'dawned' on me:
that means: the VBguestCPU doesn't receive (VB doesn't pass) the VT-x,
noting #1 where OP says: "The svm/vmx flags never appear on cpuinfo."

This is probably for RHCE, like the setup in beginning of Jang book (chapter 2).

Sorry, I get really lost on concepts that I don't "thoroughly understand, bottom-up"!

To OP: *let us know*, and mark thread as '[SOLVED]', *once all done* here.

p.s. Does Commercial VMware support this? [Yes?] I guess kvm does, on physical host.
So, what does Win10 need to allow VMware (OP:which product?) to 'work' here?
So, IF bare-metal-booted OS with kvm, can multiple layers of VMs w/kvm be done? [yes?]

Last edited by Jjanel; 08-06-2017 at 09:42 PM.
 
Old 08-07-2017, 06:02 PM   #11
Pyrotech72
Member
 
Registered: Jan 2016
Location: Tennessee
Distribution: several, but trying to get away from systemd while keeping KDE and KVM
Posts: 45

Rep: Reputation: 11
I used to run VirtualBox, but I always had to remove the intel_kvm kernel module manually before I started a VM. I decided that since KVM and VirtualBox didn't play nice together, I'd use the one that's built into Linux. That's been years ago.
 
Old 08-09-2017, 06:48 PM   #12
Robbot
LQ Newbie
 
Registered: Jul 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
Right, but even if VB doesn't support nested virtualization, I believe that VMware does. However, I'm facing the same issue even on VMW.

Jjanel, indeed it is an exercise from Jang's 2nd chapter. The instructions are clear enough but the dang flags never show up. :-/
 
Old 08-10-2017, 05:38 AM   #13
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Years ago I made nested VMs on VMware Workstation. But that was before virtualization CPU extensions. And it was 32-bit.
 
Old 08-10-2017, 07:22 AM   #14
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
You probably need to post your (exact) version of VMware, and guest VMware 'config'.
Like is req. for a (complete) 'bug report'! (So others can reproduce problem)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Networking between KVM and VirtualBox VM's Ulysses_ Linux - Virtualization and Cloud 4 07-31-2017 05:32 PM
Is kvm with virt-manager better to use over virtualbox and vmware gEEk_X99 Linux - Virtualization and Cloud 22 03-26-2015 08:00 PM
KVM vs VirtualBox Robynsveil Linux - Virtualization and Cloud 4 05-06-2013 01:42 AM
[SOLVED] new to virtualization -- kvm, virtualbox or vmware server Thane Linux - Virtualization and Cloud 17 01-20-2011 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration