[pve-devel] SPAM: [PATCH v2 qemu-server 0/3] vmstatus: add pressure + hostcpu/hostmem

2021-02-17 Thread Alexandre Derumier
This add new cgroups value stats. hostcpu/hostmem give the real cpu/mem usage of a vm, including vhost-net. Changelog v2: - rebase on last master - use new pressure code from pve-common Alexandre Derumier (3): vmstatus: add hostcpu value vmstatus: add hostmem value vmstatus: add

[pve-devel] SPAM: [PATCH v2 qemu-server 3/3] vmstatus: add pressure stats

2021-02-17 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 3a623c5..f99f969 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2706,6 +2706,8 @@ sub vmstatus { $d->{cpu} =

[pve-devel] SPAM: [PATCH v2 pve-container 1/1] vmstatus: add pressure stats

2021-02-17 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- src/PVE/LXC.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index bae236b..be71ef1 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -297,6 +297,8 @@ sub vmstatus { } else { $d->{cpu} = 0;

[pve-devel] [PATCH v2 qemu-server 1/3] vmstatus: add hostcpu value

2021-02-17 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 11 +++ 1 file changed, 11 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index f401baf..52db3d3 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2657,8 +2657,11 @@ sub vmstatus { my $pstat =

[pve-devel] SPAM: [PATCH v2 pve-container 0/1] vmstatus: add pressure stats

2021-02-17 Thread Alexandre Derumier
changelog v2: - rebase on last master - use new pressure code from pve-common Alexandre Derumier (1): vmstatus: add pressure stats src/PVE/LXC.pm | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 ___ pve-devel mailing list

[pve-devel] [PATCH v2 qemu-server 2/3] vmstatus: add hostmem value

2021-02-17 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 5 + 1 file changed, 5 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 52db3d3..3a623c5 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2668,6 +2668,11 @@ sub vmstatus { if ($pstat->{vsize})

Re: [pve-devel] [PATCH V2 qemu-server] fix #1739: cloudinit: add cisshdeletehostkeys option

2021-02-17 Thread Mira Limbeck
Thank you for the patch. I tried to test this patch with both a CentOS 8 and Ubuntu 20.04 VM and it never worked right. I added another line for 'once|yes|on|true' where ssh_deletekeys is set to 'true' as that is missing in this patch. Then I tried it with CentOS 8 and cloud-init 19.4. In

[pve-devel] [PATCH common] format: fix render_bytes with CLIFormatter

2021-02-17 Thread Stefan Reiter
CLIFormatter passes in an options hash as a second paramter, which so far was ignored. Now that we treat it as a precision parameter, check if it is a hash and extract the option from it before using it. Otherwise perl puts HASH(0x...) into the format and sprintf chokes. Signed-off-by: Stefan

Re: [pve-devel] [PATCH-SERIES v2] loosen up mailto regex for backwards compatibility

2021-02-17 Thread Fabian Ebner
On 17.02.21 11:35, Fabian Ebner wrote: On 17.02.21 10:52, Dominik Csapak wrote: LGTM, nothing obvious that is wrong one small thing though, after this patch i cannot have an @ in the local part of an email anymore, though i do not think that people actually use that? e.g. foo@b...@example.com

[pve-devel] applied: [PATCH lxc-syscalld] update to tokio 1.0

2021-02-17 Thread Wolfgang Bumiller
applied On Wed, Feb 17, 2021 at 11:39:38AM +0100, Fabian Grünbichler wrote: > and switch from PollEvented to AsyncFd, dropping the direct mio > dependency in turn. > > Signed-off-by: Fabian Grünbichler > --- > Cargo.toml | 3 +-- > src/io/pipe.rs | 9 + >

[pve-devel] [PATCH lxc-syscalld] update to tokio 1.0

2021-02-17 Thread Fabian Grünbichler
and switch from PollEvented to AsyncFd, dropping the direct mio dependency in turn. Signed-off-by: Fabian Grünbichler --- Cargo.toml | 3 +-- src/io/pipe.rs | 9 + src/io/polled_fd.rs | 45 +++-- src/main.rs | 2 +- 4

Re: [pve-devel] [PATCH-SERIES v2] loosen up mailto regex for backwards compatibility

2021-02-17 Thread Fabian Ebner
On 17.02.21 10:52, Dominik Csapak wrote: LGTM, nothing obvious that is wrong one small thing though, after this patch i cannot have an @ in the local part of an email anymore, though i do not think that people actually use that? e.g. foo@b...@example.com does not work anymore Thanks for the

Re: [pve-devel] [PATCH-SERIES v2] loosen up mailto regex for backwards compatibility

2021-02-17 Thread Dominik Csapak
LGTM, nothing obvious that is wrong one small thing though, after this patch i cannot have an @ in the local part of an email anymore, though i do not think that people actually use that? e.g. foo@b...@example.com does not work anymore Other than that, i tested it and worked as advertised