]> git.proxmox.com Git - pve-qemu-kvm.git/commit - debian/patches/series
Fix #932: passing BDRV_O_PROTOCOL breaks qcow2 on gluster
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 28 Apr 2016 12:00:59 +0000 (14:00 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 29 Apr 2016 06:55:27 +0000 (08:55 +0200)
commit62109fac06d52ffdd1c60b23dec41864c6e23c08
tree63db118447ce03ca1f3efaf68fa770d04a4544ad
parent07a8ebddc772d771c221eace740b683738badb78
Fix #932: passing BDRV_O_PROTOCOL breaks qcow2 on gluster

Passing BDRV_O_PROTOCOL causes qemu to open protocol based
paths as raw. This fails for our storage when using
glusterfs because we can use qcow2 files on there.
This also causes vma to refuse to write to them as the
expected size (the one the qcow2 was created for) does not
match the recognized file size (the size of the file
itself). (Which is good because it means the files should
not have been accessed via the wrong format backend by
accident.)

The reason for passing it was to deal with format probing
when using RBD without KRBD.

As described in the patch commit: we now provide a way to
specify the format explicitly and thereby follow qemu with
deprecating automatic guessing of raw formats.

This re-enables the raw-probing warning for non-krbd ceph
storages which now has to be addressed by passing the format
to the map fifo in PVE::QemuServer::restore_vma_archive().
debian/patches/pve/0045-vma-add-format-option-to-device-mapping.patch [new file with mode: 0644]
debian/patches/pve/0045-vma-also-guess-raw-for-dev-paths.patch [deleted file]
debian/patches/series