]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hostdev: Only rollback detach of managed devices on error
authorAndrea Bolognani <abologna@redhat.com>
Thu, 17 Dec 2015 14:11:27 +0000 (15:11 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 21 Dec 2015 10:22:45 +0000 (11:22 +0100)
commite926df601d9ec420aa04e38fb74bfba93141aee2
tree1f333a8b4479322728e1258b634a32274ca7d4b4
parentb8a625f3847c72799ff1558c246de30c76f6956a
hostdev: Only rollback detach of managed devices on error

Since we don't detach unmanaged devices before attaching them to a
domain, we shouldn't reattach them to rollback an error either.
src/util/virhostdev.c