DspCfg: append backup parameters compression and tunnelALlow customers enabling/disabling tunneling and compression
for the backups started by Virtuozzo Automator
https://jira.vzint.dev/browse/PSBM-150576
https://jira.vzint.dev/browse/PSBM-150577
Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
Conflicts:
src/CmdParam.cpp
src/CmdParam.h
src/PrlDisp.cpp
manual: NUMA nodes should be compatible with cpu-sockets #PSBM-149609Linux kernel produces warning if number of NUMA nodes is not compatible
with the cpu-sockets. So, we should only check the number of CPU sockets
is multiple of the NUMA nodes.
Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
vm: introduce NUMA nodes parameter #PSBM-146634Allow to simulate on Virtual machines NUMA Nodes
Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
vm: addded update NVRAM feature #PSBM-146309Append manual tool for updating efi from 2M flash to 4M size
for VM with all customer's variables
Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
Conflicts:
src/PrlVm.cpp
Remove netfilter support #PSBM-145299The kernel counterpart of this feature has been dropped in VHS9.
Signed-off-by: Efim Shevrin <efim.shevrin@virtuozzo.com>
Merge pull request #185 in OVZ/prlctl from ~ALEKSANDR.LESKIN/prlctl:PSBM-131869 to master* commit '2625f6638a10dc3e0fe8a853ae3d03368bed963c':
list info: show chipset type for VM #PSBM-131869
create VM: introduce chipset parameter for creating vm command #PSBM-131869
create VM: introduce chipset parameter for creating vm command #PSBM-131869Allow user to create vm with defined chipset q35 or piix (pc-i440fx)
Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
build: fix compilation warning about auto_ptrauto_ptr is depricated in std+11, use instead unique_ptr
Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
cmdParam: fix compilation warning -Waddress-of-packed-memberPatch fix next Warning:
taking address of packed member of ‘_PRL_MEMGUARANTEE_DATA’ may
result in an unaligned pointer value [-Waddress-of-packed-member]
Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
Fix ostype conditions for FreeBSD support #PSBM-143389 #PSBM-143398Replace (m_ostype == PVS_GUEST_TYPE_LINUX) by
(m_ostype == PVS_GUEST_TYPE_LINUX || m_ostype == PVS_GUEST_TYPE_FREEBSD) to:
1. set term_handler() as a signal handler;
2. set appropriate environment variables in the guest.
Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Conflicts:
src/PrlVm.cpp
prlsrvctl: change vcmmd set policy message from fail to warning #PSBM-143450If we change the vcmd policy using the prlsrvctl set --vcmmd-policy command,
any non-zero return code is considered a configuration setting error.
In terms of vcmmd VCMMD_ERROR_POLICY_SET_ACTIVE_VES is only a warning.
In the dispatcher, the code VCMMD_ERROR_POLICY_SET_ACTIVE_VES corresponds to
the code PRL_ERR_RUNNING_VM_OR_CT. So we change the behavior of prlsrvctl and
change the message text ...
Return creation venet0 if net inface name not specified #PSBM-142817After the d15baf246 commit, we removed the ability to create a venet without
specifying the network adapter and interface type. It can break
client scripts and verification tests. We return previous functionality.
Signed-off-by: Efim Shevrin <efim.shevrin@virtuozzo.com>