qemu-server/PVE/QemuServer
Fabian Grünbichler 260100ed33 fix #4085: properly activate cicustom storage(s)
PVE::Storage::path() neither activates the storage of the passed-in volume, nor
does it ensure that the returned value is actually a file or block device, so
this actually fixes two issues. PVE::Storage::abs_filesystem_path() actually
takes care of both, while still calling path() under the hood (since $volid
here is always a proper volid, unless we change the cicustom schema at some
point in the future).

Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit 9946d6fa57)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-03-22 11:25:11 +01:00
..
Agent.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
CGroup.pm add PVE::QemuServer::Cgroup 2020-11-24 12:00:33 +01:00
Cloudinit.pm fix #4085: properly activate cicustom storage(s) 2024-03-22 11:25:11 +01:00
CPUConfig.pm cpu config: indentation fixup 2022-11-17 16:46:40 +01:00
Drive.pm ovmf efi disk: ignore efitype parameter for ARM VMs 2023-02-23 16:29:57 +01:00
Helpers.pm vm start: set higher timeout if using PCI passthrough 2024-03-22 11:25:11 +01:00
ImportDisk.pm api: support VM disk import 2022-04-04 16:41:13 +02:00
Machine.pm cfg2cmd: fix +pveN machine types with pxe 2021-04-18 17:58:56 +02:00
Makefile add PVE::QemuServer::Cgroup 2020-11-24 12:00:33 +01:00
Memory.pm memory: hotplug: sort by numerical ID rather than slot when unplugging 2023-03-17 14:05:02 +01:00
Monitor.pm mon_cmd: add explicit return 2019-11-30 17:24:55 +01:00
OVF.pm parse ovf: untaint path when calling file_size_info 2022-03-11 10:45:59 +01:00
PCI.pm pci: make mediated device sysfs path independent of PCI id 2022-11-09 09:06:19 +01:00
USB.pm usb: fixup: include USB config only for non-q35 again 2022-11-11 07:43:03 +01:00