Re: [PATCH v2] Get the maxvcpus from both the qemuCaps and /dev/kvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2016-05-05 at 10:00 +0200, Jiri Denemark wrote:
> > 
> > I guess we could skip all the details and just give the user
> > 
> >   <vcpus max='255' suggested='96'/>
> > 
> > so they don't have to implement the logic themselves. But
> > reporting the KVM limits without taking QEMU limits into
> > consideration is not the way to go, I think.
> 
> Yes. I didn't want to say we should only report the number from KVM, I
> meant we should only show the number that is applicable to a KVM domain
> of the particular machine type. That is, both KVM and QEMU limits
> combined into a single number which gives the real limit.

Okay :)

But if we don't change 'virsh maxvcpus --type kvm' to report
the computed limit, instead of just the KVM limit as it does
now, the problem reported by Shivaprasad will still exist...

-- 
Andrea Bolognani
Software Engineer - Virtualization Team

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]