Commit 72ed08ed authored by Francesc Guasch's avatar Francesc Guasch
Browse files

show more KVM init errors

parent b843ca60
......@@ -119,7 +119,8 @@ sub _create_vm_kvm {
$storage = $vm_kvm->dir_img();
};
$vm_kvm = undef if $@ || !$internal_vm || !$storage;
return ($vm_kvm,$@);
$err_kvm .= ($@ or '');
return ($vm_kvm,$err_kvm);
}
sub _create_vm {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment