qemu-server/PVE/QemuServer
Mira Limbeck b56d56cf3a fix #2173: use qemu-img to check cloudinit disk existence
use file_size_info to check for existence of cloudinit disk instead of
'-e'. It uses `qemu-img info` to get some file info, which can handle
rbd, and various other paths for volumes not exposed as normal file
or not mapped, yet.

this addresses a problem with rbd where the path returned available
is not checkable with '-e'.

Any size > 0 is interpreted as the image existing.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-30 12:53:28 +00:00
..
Agent.pm qemu agent: fixup error message letter-case 2018-07-11 11:26:00 +02:00
Cloudinit.pm fix #2173: use qemu-img to check cloudinit disk existence 2019-04-30 12:53:28 +00:00
ImportDisk.pm do not overwrite global signal handlers 2017-09-14 15:25:28 +02:00
Makefile add Agent helper package 2018-07-11 10:29:45 +02:00
Memory.pm memory: fix automatic num amapping 2019-02-18 10:45:17 +01:00
OVF.pm Initial support for importing OVF virtual machines 2017-09-25 13:31:55 +02:00
PCI.pm add ivshmem device to config 2019-02-26 08:01:12 +01:00
USB.pm followup: add FIXME comment 2018-11-27 13:45:23 +01:00