[pve-devel] [PATCH v2 qemu-server 1/1] fix #2429: allow to specify cloud-init vendor snippet via cicustom

2021-08-23 Thread Constantin Herold
vendor.yaml runcmd: - apt update - apt install -y qemu-guest-agent - systemctl start qemu-guest-agent EOF Signed-off-by: Constantin Herold --- PVE/QemuServer.pm | 8 PVE/QemuServer/Cloudinit.pm | 23 ++- 2 files changed, 26 insertions(+), 5 d

[pve-devel] [PATCH v2 qemu-server 2/2] fix #3581: pass size via argument for memory-backend-ram qmp call

2021-08-17 Thread Constantin Herold
Signed-off-by: Constantin Herold --- PVE/QemuServer/Memory.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PVE/QemuServer/Memory.pm b/PVE/QemuServer/Memory.pm index f3e15f1..a41f5ae 100644 --- a/PVE/QemuServer/Memory.pm +++ b/PVE/QemuServer/Memory.pm @@ -143,8 +143,7

[pve-devel] [PATCH v2 qemu-server 1/2] fix #3581: cover letter

2021-08-17 Thread Constantin Herold
props have been removed in qemu 6, use arguments instead see https://qemu.weilnetz.de/doc/6.0/system/removed-features.html#object-add-option-props-removed-in-6-0 This might break memory hotplug for vm's tagged to qemu <=4.2 Constantin Herold (1): pass size via argument for memory-bac

Re: [pve-devel] [PATCH qemu-server] fix #3581: pass size via argument for memory-backend-ram qmp call

2021-08-17 Thread Constantin Herold
1 at 08:16:42PM +0200, Constantin Herold wrote: Signed-off-by: Constantin Herold --- PVE/QemuServer/Memory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer/Memory.pm b/PVE/QemuServer/Memory.pm index f3e15f1..e34727f 100644 --- a/PVE/QemuServer/Memory.pm +++ b/PVE

Re: [pve-devel] [PATCH qemu-server] fix #2429: allow to specify cloud-init vendor snippet via cicustom

2021-08-16 Thread Constantin Herold
h. Sorry that I missed that on friday. Which distributions and cloud-init versions did you test this on? The patch looks good to me. One addition I'd make, as we have a hard limit of 4MiB currently for the generated ISO, inline. On 8/12/21 9:17 PM, Constantin Herold wrote: Signed-off-b

[pve-devel] [PATCH qemu-server] fix #2429: allow to specify cloud-init vendor snippet via cicustom

2021-08-12 Thread Constantin Herold
Signed-off-by: Constantin Herold --- PVE/QemuServer.pm | 8 PVE/QemuServer/Cloudinit.pm | 18 +- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index cc73af8..90a4496 100644 --- a/PVE/QemuServer.pm +++ b

[pve-devel] [PATCH qemu-server] fix #3581: pass size via argument for memory-backend-ram qmp call

2021-08-12 Thread Constantin Herold
Signed-off-by: Constantin Herold --- PVE/QemuServer/Memory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer/Memory.pm b/PVE/QemuServer/Memory.pm index f3e15f1..e34727f 100644 --- a/PVE/QemuServer/Memory.pm +++ b/PVE/QemuServer/Memory.pm @@ -155,7 +155,7