[pve-devel] [PATCH qemu 0/4] Fix vmstate-snapshots w/ iothread=1

2020-05-27 Thread Stefan Reiter
Once again, iothreads making trouble. When enabled, snapshots including RAM deadlock QEMU, because our async-snapshot implementation (which recently moved back to using coroutines) tries to access and modify the state of disks running in seperate iothreads from the main one. Patch 1/4 fixes the is

[pve-devel] [PATCH qemu 3/4] savevm-async: flush IOThread-drives async before entering blocking part

2020-05-27 Thread Stefan Reiter
By flushing all drives where its possible to so before entering the blocking part (where the VM is stopped), we can reduce the time spent in said part for every disk that has an IOThread (other drives cannot be flushed async anyway). Signed-off-by: Stefan Reiter --- It's a bit hard to get benchm

[pve-devel] [PATCH qemu 1/4] savevm-async: move more code to cleanup and rename to finalize

2020-05-27 Thread Stefan Reiter
process_savevm_cleanup is renamed to process_savevm_finalize to accomodate more code that is not all cleanup related. The benefit of this is that it allows us to call functions which need to run in the main AIOContext directly. It doesn't majorly affect snapshot performance, since the first instru

[pve-devel] [PATCH qemu 2/4] util/async: Add aio_co_reschedule_self()

2020-05-27 Thread Stefan Reiter
From: Kevin Wolf From: Kevin Wolf Add a function that can be used to move the currently running coroutine to a different AioContext (and therefore potentially a different thread). Signed-off-by: Kevin Wolf --- Required for patch 3. See this discussion on the QEMU mailing list: https://lists.

[pve-devel] [PATCH qemu 4/4] savevm-async: add debug timing prints

2020-05-27 Thread Stefan Reiter
Signed-off-by: Stefan Reiter --- Doesn't have to be applied, but I thought I'd send it along anyway, since it helped me test patch 3 greatly. savevm-async.c | 16 1 file changed, 16 insertions(+) diff --git a/savevm-async.c b/savevm-async.c index 4ce83a0691..8848884593 100644

Re: [pve-devel] [PATCH v2 pve-manager] api, ui: allow to remove subscriptio

2020-05-27 Thread Thomas Lamprecht
On 5/26/20 9:39 PM, Moayad Almalat wrote: > Signed-off-by: Moayad Almalat > --- > PVE/API2/Subscription.pm | 24 > PVE/CLI/pvesubscription.pm| 1 + > www/manager6/node/Subscription.js | 9 + > 3 files changed, 34 insertions(+) > applied, some

[pve-devel] [pve-network] vlan: ovs: use dot1q-tunnel when vlanaware is enabled

2020-05-27 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VlanPlugin.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm index 8364451..987c553 100644 --- a/PVE/Network/SDN/Zones/VlanPlugin.pm ++

[pve-devel] [PATCH kernel] add pve-kernel-X.Y-libc-dev package

2020-05-27 Thread Thomas Lamprecht
This was long overdue, allows to access the full feature set of our kernel for some tools using the Linux API directly. Packaging mostly taken from Debian[0] [0]: https://salsa.debian.org/kernel-team/linux/-/blob/debian/4.19.118-2/debian/rules.real#L367 Signed-off-by: Thomas Lamprecht --- Pac