[pve-devel] applied: [PATCH qemu-server 1/1] CPU flags: Add aes flag

2019-08-23 Thread Thomas Lamprecht
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/

[pve-devel] applied: [PATCH manager 1/1] CPU flags: Add aes flag

2019-08-23 Thread Thomas Lamprecht
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

[pve-devel] [PATCH qemu-server v2 1/5] add create and remove reboot trigger subs

2019-08-23 Thread Dominik Csapak
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

[pve-devel] [PATCH qemu-server v2 0/5] add reboot api

2019-08-23 Thread Dominik Csapak
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

[pve-devel] [PATCH qemu-server v2 5/5] api: add missing index child links

2019-08-23 Thread Dominik Csapak
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 =>

[pve-devel] [PATCH qemu-server v2 4/5] qm: add reboot command

2019-08-23 Thread Dominik Csapak
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

[pve-devel] [PATCH qemu-server v2 3/5] api: add reboot api call

2019-08-23 Thread Dominik Csapak
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

[pve-devel] [PATCH qemu-server v2 2/5] qm: cleanup: detect and handle reboot trigger

2019-08-23 Thread Dominik Csapak
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

[pve-devel] [PATCH widget-toolkit] Add hebrew to list of languages

2019-08-23 Thread Dominic Jäger
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

[pve-devel] [PATCH qemu-server] fix #1934: add qemu fw_cfg variables via 'tags'

2019-08-23 Thread Dominik Csapak
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