Re: [CentOS] How to enable the svm cpu flag inside a vm?

2017-04-03 Thread timhughes
I ran into this issue as well so make a blog post about my efforts https://www.thegoldfish.org/2017/04/nested-virtualization-in-centos-6/ Summary is I needed to add a pass through command in libvirt to get qemu to start with the enable-nesting option

Re: [CentOS] How to enable the svm cpu flag inside a vm?

2016-09-27 Thread Leonard den Ottolander
Hello Barak, On Mon, 2016-09-26 at 18:53 +0300, Barak Korren wrote: > On 25 September 2016 at 17:57, Leonard den Ottolander >> > >> Nested Virtualization will be a tech preview in RHEL 7.3 Beta, and so > >> it'll be available after RHEL 7.3 is released and CentOS rebuilds it. > Officially its

Re: [CentOS] How to enable the svm cpu flag inside a vm?

2016-09-26 Thread Leonard den Ottolander
Hi, On Sun, 2016-09-25 at 10:46 -0400, Jonathan Billings wrote: > Nested Virtualization will be a tech preview in RHEL 7.3 Beta, and so > it'll be available after RHEL 7.3 is released and CentOS rebuilds it. Gave the beta a try. The option "nested" for AMD cpu's is no longer automatically set.

Re: [CentOS] How to enable the svm cpu flag inside a vm?

2016-09-26 Thread Barak Korren
On 25 September 2016 at 17:57, Leonard den Ottolander >> > >> Nested Virtualization will be a tech preview in RHEL 7.3 Beta, and so >> it'll be available after RHEL 7.3 is released and CentOS rebuilds it. > Officially its gonna be tech-preview in 7.3, but I can tell you we've been successfully

Re: [CentOS] How to enable the svm cpu flag inside a vm?

2016-09-25 Thread Leonard den Ottolander
Hello Jonathan, On Sun, 2016-09-25 at 10:46 -0400, Jonathan Billings wrote: > On Sun, Sep 25, 2016 at 04:38:39PM +0200, Leonard den Ottolander wrote: > > How do I pass the "-enable-nesting" option to qemu-kvm using either > > virt-manager.py, virsh or the domain xml? > > I saw this in the RHEL

Re: [CentOS] How to enable the svm cpu flag inside a vm?

2016-09-25 Thread Jonathan Billings
On Sun, Sep 25, 2016 at 04:38:39PM +0200, Leonard den Ottolander wrote: > The qemu-kvm option "-enable-nesting" that I dug up in the source looks > promising. No mention in the man page on either C6 or C7 but it is > mentioned here: >

Re: [CentOS] How to enable the svm cpu flag inside a vm?

2016-09-25 Thread Leonard den Ottolander
Hi, On Fri, 2016-09-23 at 15:05 +0200, Leonard den Ottolander wrote: > So the question is: How do I enable the svm flag in the guest? The qemu-kvm option "-enable-nesting" that I dug up in the source looks promising. No mention in the man page on either C6 or C7 but it is mentioned here:

[CentOS] How to enable the svm cpu flag inside a vm?

2016-09-23 Thread Leonard den Ottolander
Hello, I'm trying to get the Android Emulator to run inside a kvm vm on CentOS-6. Apparently the latest Android Emulators cannot run without hardware acceleration so I am trying to get the vm to see the svm cpu flag. Host: $ grep model\ name /proc/cpuinfo | sort -u model name : AMD