blockdev_rename: remove old left-over rename()
Signed-off-by: Alexandre Derumier <alexandre.derumier@groupe-cyllene.com>
This commit is contained in:
parent
019f375de7
commit
82822d100b
1 changed files with 0 additions and 2 deletions
|
|
@ -912,8 +912,6 @@ sub blockdev_rename {
|
|||
generate_throttle_blockdev($drive_id, $target_fmt_blockdev->{'node-name'});
|
||||
mon_cmd($vmid, 'blockdev-reopen', options => [$throttle_blockdev]);
|
||||
} else {
|
||||
rename($src_file_blockdev->{filename}, $target_file_blockdev->{filename});
|
||||
|
||||
#intermediate snapshot
|
||||
mon_cmd($vmid, 'blockdev-add', %$target_fmt_blockdev);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue