mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-27 05:01:06 +00:00

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>
17 lines
299 B
Makefile
17 lines
299 B
Makefile
SOURCES=PCI.pm \
|
|
USB.pm \
|
|
Memory.pm \
|
|
ImportDisk.pm \
|
|
OVF.pm \
|
|
Cloudinit.pm \
|
|
Agent.pm \
|
|
Helpers.pm \
|
|
Monitor.pm \
|
|
Machine.pm \
|
|
CPUConfig.pm \
|
|
Drive.pm \
|
|
|
|
.PHONY: install
|
|
install: ${SOURCES}
|
|
for i in ${SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/QemuServer/$$i; done
|