qemu-server/PVE/CLI
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
..
Makefile convert qmrestore into a PVE::CLI class 2015-10-05 13:10:24 +02:00
qm.pm Create Drive.pm and move drive-related code there 2020-03-07 18:23:57 +01:00
qmrestore.pm tree-wide trailing whitespace cleanup 2019-09-25 16:55:53 +02:00