Re: Dependency between <vcpu> and <topology>

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

 



On 09/15/2011 11:50 PM, Bharata B Rao wrote:
Hi,

Is there a dependency b/n<vcpu>  and<topology>  ?

There should be, but isn't yet.


Is specifying<vcpu>  mandatory for a SMP guest ?

No.


Can't I skip<vcpu>  but have<topology sockets= cores= threads=>  to
define a SMP guest ?

It should be possible, but isn't yet.


I see that if I skip<vcpu>, libvirt generates -smp 1 on qemu command
line which results in qemu booting a VM with single CPU irrespective
of the topology specified. Shouldn't libvirt arrive at correct CPU
count (vcpus=sockets*cores*threads ?) even if vcpu isn't specified
rather than defaulting to 1 ?

See also these bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=725269
https://bugzilla.redhat.com/show_bug.cgi?id=725271

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
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]