VM: fix reloading of the target device, when disk type was changed