Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #168048 > unrolled thread

kvm amd nested

Started byParas pradhan <pradhanparas@gmail.com>
First post2016-05-19 00:00 +0200
Last post2016-05-20 17:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  kvm amd nested Paras pradhan <pradhanparas@gmail.com> - 2016-05-19 00:00 +0200
    Re: kvm amd nested Linux-Fan <Ma_Sys.ma@web.de> - 2016-05-19 17:50 +0200
      Re: kvm amd nested Paras pradhan <pradhanparas@gmail.com> - 2016-05-20 17:50 +0200

#168048 — kvm amd nested

FromParas pradhan <pradhanparas@gmail.com>
Date2016-05-19 00:00 +0200
Subjectkvm amd nested
Message-ID<rAhFv-7ET-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On a Jessie host I can see nested kvm is set

-------------------

cat /sys/module/kvm_amd/parameters/nested

1

------------------

On the virtual machines  I can see 'svm' but not seeing /sys/module/kvm_amd
. When I try to create a VM,  I get  Warning : KVM is not available. KVM
kernel modules are not loaded. lsmod |grep kvm says its loaded.


What did I miss?

Thanks

Paras.

[toc] | [next] | [standalone]


#168073

FromLinux-Fan <Ma_Sys.ma@web.de>
Date2016-05-19 17:50 +0200
Message-ID<rAymZ-1DD-9@gated-at.bofh.it>
In reply to#168048

[Multipart message — attachments visible in raw view] — view raw

[Wed, 18 May 2016 16:59:02 -0500] Paras pradhan
<pradhanparas@gmail.com> wrote:
> On a Jessie host I can see nested kvm is set
> 
> -------------------
> 
> cat /sys/module/kvm_amd/parameters/nested
> 
> 1
> 
> ------------------
> 
> On the virtual machines  I can see 'svm' but not
> seeing /sys/module/kvm_amd . When I try to create a VM,  I get
> Warning : KVM is not available. KVM kernel modules are not loaded.
> lsmod |grep kvm says its loaded.
> 
> 
> What did I miss?

[...]

You need to expose the virtualization feature the VMs. For Intel
machines, it works as described on my page at
http://masysma.lima-city.de/37/how_to_transition_from_virtualbox_to_kvm.xhtml
(Section ``Enabling Nested Virtualization...'')

For AMD, I do not know how to do it, but if I understand it correctly,
it cannot be too much of a difference.

HTH
Linux-Fan

-- 
http://masysma.lima-city.de/

[toc] | [prev] | [next] | [standalone]


#168096

FromParas pradhan <pradhanparas@gmail.com>
Date2016-05-20 17:50 +0200
Message-ID<rAUQx-7ji-9@gated-at.bofh.it>
In reply to#168073

[Multipart message — attachments visible in raw view] — view raw

On the vm: The problem is: kvm module is loaded but not kvm_amd. When I
do:

modprobe kvm_amd

I get

modprobe: ERROR: could not insert 'kvm_amd': Invalid argument

On the server: Looks like something is missing even though it says nested
on "1".




On Thu, May 19, 2016 at 10:49 AM, Linux-Fan <Ma_Sys.ma@web.de> wrote:

> [Wed, 18 May 2016 16:59:02 -0500] Paras pradhan
> <pradhanparas@gmail.com> wrote:
> > On a Jessie host I can see nested kvm is set
> >
> > -------------------
> >
> > cat /sys/module/kvm_amd/parameters/nested
> >
> > 1
> >
> > ------------------
> >
> > On the virtual machines  I can see 'svm' but not
> > seeing /sys/module/kvm_amd . When I try to create a VM,  I get
> > Warning : KVM is not available. KVM kernel modules are not loaded.
> > lsmod |grep kvm says its loaded.
> >
> >
> > What did I miss?
>
> [...]
>
> You need to expose the virtualization feature the VMs. For Intel
> machines, it works as described on my page at
>
> http://masysma.lima-city.de/37/how_to_transition_from_virtualbox_to_kvm.xhtml
> (Section ``Enabling Nested Virtualization...'')
>
> For AMD, I do not know how to do it, but if I understand it correctly,
> it cannot be too much of a difference.
>
> HTH
> Linux-Fan
>
> --
> http://masysma.lima-city.de/
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web