Re: [libvirt] [PATCH 1/2] bhyve: add CPU topology support

2018-05-29 Thread Roman Bogorodskiy
Peter Krempa wrote: > On Mon, May 28, 2018 at 20:27:50 +0400, Roman Bogorodskiy wrote: > > Recently, bhyve started supporting specifying guest CPU topology. > > It looks this way: > > > > bhyve -c cpus=C,sockets=S,cores=C,threads=T ... > > > > The old behaviour with bhyve -c C, where C is a

Re: [libvirt] [PATCH 1/2] bhyve: add CPU topology support

2018-05-29 Thread Peter Krempa
On Mon, May 28, 2018 at 20:27:50 +0400, Roman Bogorodskiy wrote: > Recently, bhyve started supporting specifying guest CPU topology. > It looks this way: > > bhyve -c cpus=C,sockets=S,cores=C,threads=T ... > > The old behaviour with bhyve -c C, where C is a number of vCPUs, is > still supported

[libvirt] [PATCH 1/2] bhyve: add CPU topology support

2018-05-28 Thread Roman Bogorodskiy
Recently, bhyve started supporting specifying guest CPU topology. It looks this way: bhyve -c cpus=C,sockets=S,cores=C,threads=T ... The old behaviour with bhyve -c C, where C is a number of vCPUs, is still supported. So if we have CPU topology in the domain XML, use the new syntax, otherwise