Re: [libvirt] [PATCH] virsh: maxvcpus: Always fall back to the old command if domain caps fail

2016-12-09 Thread Michal Privoznik
On 08.12.2016 09:45, Peter Krempa wrote: > 1ec22be5 added code that detects the maximum cpu count according to > domain capabilities. The code fell back to the old command only if the > API was not supported. If the API fails for other reasons the command > would fail. There's no point in not tryin

[libvirt] [PATCH] virsh: maxvcpus: Always fall back to the old command if domain caps fail

2016-12-08 Thread Peter Krempa
1ec22be5 added code that detects the maximum cpu count according to domain capabilities. The code fell back to the old command only if the API was not supported. If the API fails for other reasons the command would fail. There's no point in not trying the old API in such case. https://bugzilla.red