]> git.proxmox.com Git - qemu-server.git/commit
parse_drive: do not overwrite configured format
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 10 Jun 2015 08:22:42 +0000 (10:22 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 10 Jun 2015 08:22:42 +0000 (10:22 +0200)
commitd81f0f09fc039cd2ae1d2977406e2c16a681ba0d
treef5ebad0c1d7d642afd24d89baf64e96c14a274b3
parentb2ee900e3c32e59c29ff8d75464babac6742c5b3
parse_drive: do not overwrite configured format

Instead, we use qemu_img_format() to query the format when we need it.
We also pass the format to qemu in print_drive_full to avoid qemu warnings.
PVE/QemuServer.pm