qemu-server/PVE/QemuServer
Fabian Ebner e0fd2b2f84 Create Drive.pm and move drive-related code there
The initialization for the drive keys in $confdesc is changed
to be a single for-loop iterating over the keys of $drivedesc_hash and
the initialization of the unusedN keys is move to directly below it.

To avoid the need to change all the call sites, functions with more than
a few callers are exported from the submodule and imported into QemuServer.pm.

For callers of the now imported functions within QemuServer.pm, the prefix
PVE::QemuServer is dropped, because it is unnecessary and now even confusing.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2020-03-07 18:23:57 +01:00
..
Agent.pm fix #2612: allow input-data in guest exec and make command optional 2020-03-03 14:34:02 +01:00
Cloudinit.pm cloudinit: fix vm start hanging with disk on ZFS 2019-10-18 21:40:34 +02:00
CPUConfig.pm cpu models: add missing comma 2020-03-06 17:57:46 +01:00
Drive.pm Create Drive.pm and move drive-related code there 2020-03-07 18:23:57 +01:00
Helpers.pm add new helper to calculate timeout based on vm config 2020-01-15 17:36:16 +01:00
ImportDisk.pm qm importdisk: tell user to what VM disk we actually imported 2019-10-29 19:11:21 +01:00
Machine.pm version_guard scsi drive count 2020-02-12 10:32:57 +01:00
Makefile Create Drive.pm and move drive-related code there 2020-03-07 18:23:57 +01:00
Memory.pm refactor: create QemuServer::Monitor for high-level QMP access 2019-11-20 16:29:23 +01:00
Monitor.pm mon_cmd: add explicit return 2019-11-30 17:24:55 +01:00
OVF.pm Initial support for importing OVF virtual machines 2017-09-25 13:31:55 +02:00
PCI.pm fix #2264: add virtio-rng device 2020-03-06 18:09:04 +01:00
USB.pm usb: Add USB3 capabilities to Spice USB devices 2019-09-21 13:22:17 +02:00