qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] limit guest cpus for kvm enabled builds


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] limit guest cpus for kvm enabled builds
Date: Thu, 09 Apr 2009 11:44:45 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]