[libvirt] [PATCH] kvm: maxVCPU runtime detection

From: Guido Günther <agx sigxcpu org>

To: libvir-list redhat com

Subject: [libvirt] [PATCH] kvm: maxVCPU runtime detection

Date: Fri, 22 Aug 2008 15:16:42 +0200

Hi,
with recent linux kernels we can detect the maximum number of virtual
cpus at runtime via an ioctl. Possible patch attached. It does this on
every call to qemudGetMaxVCPUs. Would you prefer something that does
this only once in qemudStartup()?
Cheers,
-- Guido