[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] limit guest cpus for kvm enabled builds
From: |
Bruce Rogers |
Subject: |
Re: [Qemu-devel] [PATCH] limit guest cpus for kvm enabled builds |
Date: |
Thu, 09 Apr 2009 11:27:32 -0600 |
On 4/9/2009 at 10:44 AM, Anthony Liguori <address@hidden> wrote:
> Paul Brook wrote:
>> On Thursday 09 April 2009, Bruce Rogers wrote:
>>
>>> The x86 kvm kernel module limits guest cpu count to 16, but the userspace
>>> pc definition says 255 still. When invoking qemu-kvm with -smp > 16, it
>>> prints some error messages, then segfaults. One of the mistakes is that
>>> the error code from kvm_create_vcpu is ignored in ap_main_loop.
>>>
>>
>> You should fix that bug then.
>>
>
> I don't see the patch on the mailing list yet, but I'm pretty sure your
> patch is against kvm-userspace.git as ap_main_loop doesn't exist in
> upstream QEMU.
>
> And FWIW, we do properly handle an unsupported -smp value in upstream
> QEMU when using KVM.
>
> Regards,
>
> Anthony Liguori
OK thanks.
I've submitted a different patch on kvm mailing list.
- Bruce