sanjay
2012-Sep-06 18:03 UTC
[libvirt-users] QEMU cmdline for default -smp reasonable (qemuBuildSmpArgs) ?
Hi! When only the vCPU tag is specified, libvirt by default generates a multi-socket topology(sockets=vCPUs,cores=1,threads=1) for the qemu command line. Is there a specific reason behind choice of this default behavior? Could a default of (socket=1,cores=vCPUs,threads=1) would have been a better choice ? -- Regards, Sanjay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120906/bfae779d/attachment.htm>
Jiri Denemark
2012-Sep-07 09:18 UTC
[libvirt-users] QEMU cmdline for default -smp reasonable (qemuBuildSmpArgs) ?
On Thu, Sep 06, 2012 at 14:03:14 -0400, sanjay wrote:> Hi! When only the vCPU tag is specified, libvirt by default generates a > multi-socket topology(sockets=vCPUs,cores=1,threads=1) for the qemu command > line. Is there a specific reason behind choice of this default > behavior? Could a default of (socket=1,cores=vCPUs,threads=1) would have > been a better choice ?We need to maintain backward compatibility. Changing it would mean that guest without topology configuration would suddenly see different CPU topology and that could confuse them or even invalidate SW licences and similar beasts. If you want different topology, you need to explicitly specify it in the XML. Jirka