[pve-devel] [PATCH qemu-server v4 0/3]
    Emmanuel Kasper 
    e.kasper at proxmox.com
       
    Tue May  9 16:26:03 CEST 2017
    
    
  
this version(v4) changes:
 * add optional switch -format to select between raw|qcow2|vmdk, like qm move_disk.
 For this the code handling target format in clone_disk was factored out in a
 separate sub that we reuse
 * fix overwriting of vm.conf when importdisk and ovfdisk were combined
 (was bitten by autovivification)
 * rename command and package from diskimport to importdisk, because we
 mostly have listsnapshots, move_disk, etc ... (verb + name)
 * useful nitpicks from Thomas about code formatting
v3 changes:
 * when command lines parameters are mandatory, do not hide them behind switches
Emmanuel Kasper (3):
  Refactor the resolution of target disk format in own sub
  Add ImportDisk module to import external disk images into a VM
  Add new qm option 'diskimport' to import external disk images
 PVE/CLI/qm.pm                | 45 +++++++++++++++++++++
 PVE/QemuServer.pm            | 27 ++++++++-----
 PVE/QemuServer/ImportDisk.pm | 96 ++++++++++++++++++++++++++++++++++++++++++++
 PVE/QemuServer/Makefile      |  1 +
 4 files changed, 158 insertions(+), 11 deletions(-)
 create mode 100755 PVE/QemuServer/ImportDisk.pm
-- 
2.11.0
    
    
More information about the pve-devel
mailing list