[Pkg-libvirt-maintainers] Bug#495950: Bug#495950: libvirt assumes kvm can't do SMP
Guido Günther
agx at sigxcpu.org
Fri Aug 22 12:57:27 UTC 2008
On Thu, Aug 21, 2008 at 11:32:40PM +0100, Sjoerd Simons wrote:
[..snip..]
> Like i said in my mail, using virtsh setvcpu doesn't accept a number of cpu's
> more then 1. Changing the XML or running kvm by hand works fine ofcourse.
I overread the virsh - sorry.
> To summarize running:
> virtsh setvcpu 2
> returns an error (i can't acces the machine, so can't give you the exact error)
/* XXX future KVM will support SMP. Need to probe
kernel to figure out KVM module version i guess */
if (STRCASEEQ(type, "kvm"))
return 1;
There's a KVM_NR_MAX_VCPUS capability in recent KVM but this won't be
working until 2.6.27 so there's little point in fixing this for lenny
yet. I'll push a patch upstream - should we get 2.6.27 into lenny I'll
backport it, otherwise it will get into unstable with the new upstream
libvirt version.
Cheers,
-- Guido
More information about the Pkg-libvirt-maintainers
mailing list