[libvirt] PATCH: allow to set nvcpus = 0

Evgeniy Sokolov evg at openvz.org
Mon Nov 17 15:44:07 UTC 2008

OpenVZ uses all CPUs available in system
- by default (number of CPUs did not set)
- number of CPUs = 0

Currenty, libvirt don't allow to set nvcpus = 0.

Attached patch removes limitation in libvirt set nvcpu = 0, but add it 
to each driver which allow to set number of virtual CPU. For OpenVZ set 
default number of CPUs = 0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-fix-nvcpus.diff
Type: text/x-patch
Size: 4259 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081117/3d5e2131/attachment-0001.bin>

More information about the libvir-list mailing list