]> xenbits.xensource.com Git - libvirt.git/commit
vbox: Errors in vboxAttachDrives are now critical
authorDawid Zamirski <dzamirski@datto.com>
Tue, 24 Oct 2017 19:35:29 +0000 (15:35 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 3 Nov 2017 17:15:54 +0000 (13:15 -0400)
commite3ecf4b8ce1671db1fd3d2e645223589b1ff8a01
treec58737edd831ef887286ca87f0c9a6b9ba67b586
parent60227fd5eef4dcd6083beeeadde3dac38b1e28f3
vbox: Errors in vboxAttachDrives are now critical

Previously, if one tried to define a VBOX VM and the API failed to
perform the requested actions for some reason, it would just log the
error and move on to process remaining disk definitions. This is not
desired as it could result in incorrectly defined VM without the caller
even knowing about it. So now all the code paths that call
virReportError are now treated as hard failures as they should have
been.
src/vbox/vbox_common.c