[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Nesting QEMU Question
From: |
John Snow |
Subject: |
Re: [Qemu-devel] Nesting QEMU Question |
Date: |
Fri, 16 Dec 2016 12:58:31 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 12/14/2016 10:03 PM, Joey Connelly wrote:
> Hey QEMU dev group,
>
> I have a few questions related to nesting QEMU processes, but first here is
> my system setup:
>
>
>
> - *HOST MACHINE:* GNU/Linux release 4.5.5 (KVM version follows), Distro
> Fedora 24, x86_64 arch, supports Intel VT-x, QEMU 2.6.2, libvirt 1.3.3
>
>
> - *GUEST ISO:* GNU/Linux release 2.6.13 (KVM version follows), Distro
> SliTaz 4.0, i686 32-bit arch, does not appear to support Intel VT-x, QEMU
> 0.12.5, does not have libvirt
>
I'm not sure what you might mean by a guest OS having KVM and QEMU
packages but not "supporting" VT-x. KVM on Intel platforms _is_ the
support for VT-x.
You might be discovering that when you launch this guest environment
that it does not think your virtual CPU has VT-x, but that's a different
matter. Try searching around for how to enable Nested Virt for KVM.
"by default" this is off, AFAIK:
https://fedoraproject.org/wiki/How_to_enable_nested_virtualization_in_KVM
(Also, QEMU 0.12.5 is practically Precambrian in its age -- I have
massive reservations about your ability to use it to accomplish nested
virt...)
>
> My question is primarily in response to this comment from your qemu-devel
> threads:
>
> "qemu-system-x86_64 does not support KVM on a 32-bit host", Daniel Berrange.
>
> https://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg02186.html
>
>
>
>
>
> *[QUESTION#1.]*
>
> Since my guest OS is 32-bit, do I have to use qemu-system-i386 –enable-kvm
> on my host so that the guest can create a QEMU process of its own
> supporting KVM? Or are there additional qemu-system-i386 arguments I need
> from my host: –cpu <???> -machine <???>
>
>
>
>
>
> *[QUESTION#2.]*
>
> Since my guest OS does not support Intel VT-x, can I force this with
> qemu-system-i386 arguments? I’m not sure how exactly to do this.
>
>
>
> Thanks,
>
> -Joey
>