On 01.08.19 19:22, Peter Keresztes Schmidt wrote:
> Signed-off-by: Peter Keresztes Schmidt
> ---
> PVE/QemuServer.pm | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 8c519b5..106d2ae 100644
> --- a/PVE/QemuServer.pm
> +++ b/
On 01.08.19 19:39, Peter Keresztes Schmidt wrote:
> Signed-off-by: Peter Keresztes Schmidt
> ---
> www/manager6/form/VMCPUFlagSelector.js | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/www/manager6/form/VMCPUFlagSelector.js
> b/www/manager6/form/VMCPUFlagSelector.js
Signed-off-by: Dominik Csapak
---
new in v2
PVE/QemuServer.pm | 12
1 file changed, 12 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 9f5bf56..d1767a9 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -7369,6 +7369,18 @@ sub nbd_stop {
vm_mon_cmd
this adds a reboot api call for vms, which uses a reboot trigger file
that gets detected by the qm cleanup call to start the vm again
this api call is useful when users want to apply pending hardware changes
without waiting for the vm to shutdown
changes from rfc:
* move the creation/deletion int
Signed-off-by: Dominik Csapak
---
PVE/API2/Qemu.pm | 4
1 file changed, 4 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 5094721..6ddfca7 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -1916,6 +1916,10 @@ __PACKAGE__->register_method({
{ subdir =>
Signed-off-by: Dominik Csapak
---
PVE/CLI/qm.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm
index f9b0fd7..0e8475e 100755
--- a/PVE/CLI/qm.pm
+++ b/PVE/CLI/qm.pm
@@ -999,6 +999,8 @@ our $cmddef = {
shutdown => [ "PVE::API2::Qemu", 'vm_shutdown', ['vm
this creates a reboot trigger file (inspired by pve-container)
and relies on the 'qm cleanup' call by the qmeventd to detect
and restart the vm afterwards
Signed-off-by: Dominik Csapak
---
changes from rfc:
* use PVE::QemuServer:vm_stop instead of the api call, to prevent
the ha manager to chan
if the reboot trigger file was set, start the vm again
also cleanup the reboot trigger on vm startup, to prevent
leftover files to trigger a reboot at the next shutdown
Signed-off-by: Dominik Csapak
---
change from rfc:
* use remove_reboot_trigger sub
* cleanup also on vm start
PVE/CLI/qm.pm
Signed-off-by: Dominic Jäger
---
Tested on PVE and PMG.
Utils.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Utils.js b/Utils.js
index 9b62bf6..533272d 100644
--- a/Utils.js
+++ b/Utils.js
@@ -76,7 +76,8 @@ Ext.define('Proxmox.Utils', { utilities: {
ru: 'Russian
this add the 'tags' property to vms, which has the format:
key=value(;key=value)*
each value will be set as
-fw_cfg 'name=opt/com.proxmox/$key,string=$value'
(qemu recommends using a unique rfqdn)
this way, users can tag the vm with that information available inside
e.g. under linux the value c
10 matches
Mail list logo