]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: fix hostbridge device command generation
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 15 Mar 2014 15:17:14 +0000 (19:17 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 17 Mar 2014 17:02:31 +0000 (21:02 +0400)
commite8bb1adf3e3394d3c1794175c19f3650d40e9652
tree145cb838d765ba51058d1bea8e845bdfb6630cc6
parent7fcb6d058a54fa9d2dea41ee5b3ed454b32afaf3
bhyve: fix hostbridge device command generation

Addition of the hostbridge device was mistakenly placed to
bhyveBuildNetArgStr(). This could result in hostbridge device not being
added to the commandline if there are no network devices specified, but
hostbridge device should be added unconditionally.

Fix by placing it to virBhyveProcessBuildBhyveCmd().
src/bhyve/bhyve_command.c