add PBSClient module PBSClient.pm contains methods for: * handling (sensitive) config-information (passwords, encryption keys) * creating/restoring/forgetting/listing backups code is mostly based on the current PBSPlugin in pve-storage Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
introduce SysFSTools initially, copy pci related subs from PVE::QemuServer we want to have it in common, so we can maybe reuse them later, also the code is not really qemu-server related Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
swap raw syscall numbers with syscall.ph for easier porting Raw syscall numbers were not platform independent, so replace them with the helpers provided from the syscall.ph perl bits helper. This makes reading the code easier as a nice side effect. As syscall.ph is not an ordinary module and makes problems when it is required by multiple modules we make a own module PVE::Syscall which loads it and allows to export the necessary constants in a sane way. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>