]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: Add CPU topology support
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 21 May 2018 14:53:36 +0000 (18:53 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 7 Jun 2018 15:26:26 +0000 (19:26 +0400)
commitb66fda0a743c02e84dd70fafc48d14544903efe9
tree70fa418714b17139781297a1f451a0e641a1d3d3
parent922c867f06c1b56360e6a810e4441d24c2dbfa6b
bhyve: Add CPU topology support

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 was 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 keep the old behaviour.

Also, document this feature in the bhyve driver page.

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
docs/drvbhyve.html.in
src/bhyve/bhyve_capabilities.c
src/bhyve/bhyve_capabilities.h
src/bhyve/bhyve_command.c
tests/bhyvexml2argvtest.c