[libvirt] [PATCH] kvm: maxVCPU runtime detection

Daniel P. Berrange berrange at redhat.com
Fri Sep 5 11:39:12 UTC 2008


On Fri, Sep 05, 2008 at 12:16:27PM +0200, Guido G?nther wrote:
> Guido Günther wrote:
> > Hi,
> > On Fri, Aug 22, 2008 at 02:27:58PM +0100, Daniel P. Berrange wrote:
> >> On Fri, Aug 22, 2008 at 03:16:42PM +0200, Guido G?nther wrote:
> >> > 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()?
> Any comments on this one? Or is this too obviously broken?

I think this is fine to add. We can improve it later if required.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list