Let device_by_name return a device object.
Before cloning, reattach the source disk in read-only mode.