]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: silent destroy command errors on cleanup
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Fri, 13 Jun 2014 18:51:18 +0000 (22:51 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Fri, 13 Jun 2014 20:22:35 +0000 (00:22 +0400)
commitf477f555f0028286661610752e1da5fdf8132437
tree2d2a545d089012322dce7d8a49d423893ac00336
parent5c1f82efae32d5bcd286dc07a2b3549176dc5093
bhyve: silent destroy command errors on cleanup

When virBhyveProcessStart() fails, it tries to unload
a guest that could have been already loaded using
bhyveload(8) to make sure not to leave it hanging in memory.

However, we could fail before loading a VM into memory,
so 'bhyvectl --destroy' command will fail and print
an error message that looks confusing to users.

So ignore errors when running this in cleanup.
src/bhyve/bhyve_process.c