Re: [PATCH 07/28] kvm tools: Move 'kvm__recommended_cpus' to arch-specific code

Alexander Graf
2011-12-07T15:00:05Z

On 07.12.2011, at 15:25, Avi Kivity <avi@redhat.com> wrote:

> On 12/07/2011 04:22 PM, Sasha Levin wrote:
>> On Wed, 2011-12-07 at 16:11 +0200, Avi Kivity wrote:
>>> On 12/07/2011 10:29 AM, Sasha Levin wrote:
>>>> I also got another one, but it's **completely untested** (not even
>>>> compiled). Alex, Matt, any chance one of you can loan a temporary ppc
>>>> shell for the upcoming tests of KVM tool/ppc KVM?
>>>>
>>>
>>> qemu offers free ppc shells
>>
>> qemu would let me nest a guest inside a ppc guest on my x86?
>
> On supervisor mode only (trap-and-emulate virtualization); I don't think
> qemu emulates ppc hypervisor mode.

Yup, that should work for PR KVM. I'm not sure Matt's patches work in that mode though.

So you should be able to run qemu-system-ppc64 -M pseries -nographic to emulate a ppc box and then do the same in the guest with -enable-kvm.

If that works, you can try with kvm tool in the first guest :).

Alex

>