[pve-devel] [PATCH qemu-server] tests: add tests for various combinations of configs for usb

2022-11-10 Thread Dominik Csapak
q35 + usb passthrough q35 + usb3 passthrough q35 + usb3 passthrough with new xhci controller old machine type + new usb config error old machine type + q35 + new usb config error old ostype (w2k) + new usb config error Signed-off-by: Dominik Csapak --- test/cfg2cmd/ostype-usb13-error.conf|

[pve-devel] applied-series: [PATCH qemu-server/pve-manager] use qemu-xhci for new guests

2022-11-10 Thread Thomas Lamprecht
Am 10/11/2022 um 15:35 schrieb Dominik Csapak: > qemu-xhci is to be preferred to nec-usb-xhci, but for compatibility > reasons, only use it for machine types >= 7.1 and ostypes l26 and > windows > 7 (older os' don't support it) > (depending on that machine version should be ok as long as we don't

[pve-devel] [PATCH qemu-server 1/1] Add pre/post-restore hooks to VMs

2022-11-10 Thread Stefan Hanreich
Signed-off-by: Stefan Hanreich --- PVE/API2/Qemu.pm | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index a539b5c..3d4079e 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -888,6 +888,7 @@ __PACKAGE__->register_method({

[pve-devel] [PATCH pve-docs 1/1] add pre/post-restore events to example hookscript

2022-11-10 Thread Stefan Hanreich
Signed-off-by: Stefan Hanreich --- examples/guest-example-hookscript.pl | 14 ++ 1 file changed, 14 insertions(+) diff --git a/examples/guest-example-hookscript.pl b/examples/guest-example-hookscript.pl index adeed59..19fe213 100755 --- a/examples/guest-example-hookscript.pl +++

[pve-devel] [PATCH v2 pve-container/qemu-server/pve-docs] Add pre/post-restore hooks

2022-11-10 Thread Stefan Hanreich
This patch adds hooks that run when the user restores a backup from the Web UI / CLI. I have tested this with both VMs/CTs via Web UI and CLI. Are there any other places where the hook should get triggered that I missed? Changes compared to v1: - slightly moved the call site of the

[pve-devel] [PATCH pve-container 1/1] Add pre/post-restore hooks to CTs

2022-11-10 Thread Stefan Hanreich
Signed-off-by: Stefan Hanreich --- src/PVE/API2/LXC.pm | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index 79aecaa..0e8cb95 100644 --- a/src/PVE/API2/LXC.pm +++ b/src/PVE/API2/LXC.pm @@ -380,6 +380,9 @@ __PACKAGE__->register_method({

[pve-devel] [PATCH kronosnet] cherry-pick pmtud fix

2022-11-10 Thread Fabian Grünbichler
as reported in https://forum.proxmox.com/threads/sudden-reboot-of-multiple-nodes-while-adding-a-new-node.116714/ this patch just fixes a particular issue where a node joins (as in quorum membership change, not limited to PVE cluster join) an existing cluster, but has a lower MTU than the

[pve-devel] [PATCH ha-manager 05/11] manager: online node usage: switch to Usage::Basic plugin

2022-11-10 Thread Fiona Ebner
no functional change is intended. One test needs adaptation too, because it created its own version of $online_node_usage. Signed-off-by: Fiona Ebner --- src/PVE/HA/Manager.pm | 35 +-- src/test/test_failover1.pl | 19 ++- 2 files changed,

[pve-devel] [PATCH v2 manager 3/3] ui: lxc/qemu: cpu edit: make cpuunits depend on node's cgroup version

2022-11-10 Thread Fiona Ebner
so that the default value and limits actually correspond to what will be used. Defaults to values for cgroup v2, because that is the more common scenario. Signed-off-by: Fiona Ebner --- No changes from v1. www/manager6/lxc/CreateWizard.js | 8 www/manager6/lxc/ResourceEdit.js |

Re: [pve-devel] [PATCH qemu-server/pve-manager] use qemu-xhci for new guests

2022-11-10 Thread Dominik Csapak
forgot to mention: i tested the passthrough with various devices (mouse, usb key, onlykey..) and the hotplugging with live migration with hot(un)plugging multiple times in various slots without any problems ___ pve-devel mailing list

[pve-devel] [PATCH ha-manager 11/11] manager: avoid scoring nodes when not trying next and current node is valid

2022-11-10 Thread Fiona Ebner
With the Usage::Static plugin, scoring is not as cheap anymore and select_service_node() is called for each running service. This should cover most calls of select_service_node(). Signed-off-by: Fiona Ebner --- I think the whole $found logic can be dropped *if* we ensure that $tried_nodes and

[pve-devel] [PATCH ha-manager 06/11] usage: add Usage::Static plugin

2022-11-10 Thread Fiona Ebner
for calculating node usage of services based upon static CPU and memory configuration as well as scoring the nodes with that information to decide where to start a new or recovered service. For getting the service stats, it's necessary to also consider the migration target (if present), becuase

[pve-devel] [PATCH ha-manager 04/11] manager: select service node: add $sid to parameters

2022-11-10 Thread Fiona Ebner
In preparation for scheduling based on static information, where the scoring of nodes depends on information from the service's VM/CT configuration file (and the $sid is required to query that). Signed-off-by: Fiona Ebner --- src/PVE/HA/Manager.pm | 4 +++- src/test/test_failover1.pl | 2

[pve-devel] [PATCH ha-manager 02/11] resources: add get_static_stats() method

2022-11-10 Thread Fiona Ebner
to be used for static resource scheduling. In container's vmstatus(), the 'cores' option takes precedence over the 'cpulimit' one, but it felt more accurate to prefer 'cpulimit' here. Signed-off-by: Fiona Ebner --- src/PVE/HA/Resources.pm | 5 + src/PVE/HA/Resources/PVECT.pm | 11

[pve-devel] [PATCH ha-manager 01/11] env: add get_static_node_stats() method

2022-11-10 Thread Fiona Ebner
to be used for static resource scheduling. Signed-off-by: Fiona Ebner --- src/PVE/HA/Env.pm | 6 ++ src/PVE/HA/Env/PVE2.pm| 13 + src/PVE/HA/Sim/TestEnv.pm | 6 ++ 3 files changed, 25 insertions(+) diff --git a/src/PVE/HA/Env.pm b/src/PVE/HA/Env.pm index

[pve-devel] [PATCH cluster 1/1] datacenter config: add cluster resource scheduling (crs) options

2022-11-10 Thread Fiona Ebner
Initially, with a setting for HA to switch between basic (just count services) and static (use static node and resource information). Signed-off-by: Fiona Ebner --- data/PVE/DataCenterConfig.pm | 25 + 1 file changed, 25 insertions(+) diff --git

[pve-devel] [PATCH proxmox-resource-scheduling 3/3] add Debian packaging

2022-11-10 Thread Fiona Ebner
Signed-off-by: Fiona Ebner --- .gitignore | 5 Makefile | 67 debian/changelog | 5 debian/control | 39 ++ debian/copyright | 16 +++ debian/debcargo.toml | 7 + 6

[pve-devel] [PATCH-SERIES proxmox-resource-scheduling/pve-ha-manager/etc] add static usage scheduler for HA manager

2022-11-10 Thread Fiona Ebner
Right now, the online node usage calculation for the HA manager only considers the number of active services on each node. This patch series allows switching to a 'static' scheduler mode instead, where static usage information from the nodes and guest configurations is used instead. This also

[pve-devel] [PATCH v3 manager 2/3] cluster resources: add cgroup-mode to node properties

2022-11-10 Thread Fiona Ebner
so the frontend has the information readily available. Suggested-by: Thomas Lamprecht Signed-off-by: Fiona Ebner --- Changes from v2: * Add it to the new 'static-info' kv instead of being standalone. * Fix params for get_node_kv() call (already in previous patch). PVE/API2/Cluster.pm

[pve-devel] [PATCH proxmox-resource-scheduling 1/3] initial commit

2022-11-10 Thread Fiona Ebner
Implement the TOPSIS[0] algorithm to score multi-valued alternatives according to a given set of weighted criteria. The number of alternatives cannot be known at compile time, but the number of criteria should be (a given module using the topsis module should have one (or more) fixed sets of

[pve-devel] [PATCH ha-manager 03/11] add Usage base plugin and Usage::Basic plugin

2022-11-10 Thread Fiona Ebner
in preparation to also support static resource scheduling via another such Usage plugin. The interface is designed in anticipation of the Usage::Static plugin, the Usage::Basic plugin doesn't require all parameters. In Usage::Static, the $haenv will necessary for logging and getting the static

[pve-devel] [PATCH ha-manager 10/11] manager: avoid scoring nodes if maintenance fallback node is valid

2022-11-10 Thread Fiona Ebner
With the Usage::Static plugin, scoring is not as cheap anymore and select_service_node() is called for each running service. Signed-off-by: Fiona Ebner --- src/PVE/HA/Manager.pm | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/PVE/HA/Manager.pm

[pve-devel] [PATCH docs 1/1] ha: add section about scheduler modes

2022-11-10 Thread Fiona Ebner
briefly describing the 'basic' and 'static' modes and with a note mentioning plans for balancers. Signed-off-by: Fiona Ebner --- ha-manager.adoc | 27 +++ 1 file changed, 27 insertions(+) diff --git a/ha-manager.adoc b/ha-manager.adoc index 54db2a5..dfed393 100644 ---

[pve-devel] [PATCH ha-manager 09/11] manager: use static resource scheduler when configured

2022-11-10 Thread Fiona Ebner
Signed-off-by: Fiona Ebner --- src/PVE/HA/Manager.pm | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/PVE/HA/Manager.pm b/src/PVE/HA/Manager.pm index 20b743c..7c85b67 100644 --- a/src/PVE/HA/Manager.pm +++ b/src/PVE/HA/Manager.pm @@ -8,6 +8,7 @@

[pve-devel] [PATCH ha-manager 07/11] env: add get_crs_settings() method

2022-11-10 Thread Fiona Ebner
for reading the resource scheduler settings. Signed-off-by: Fiona Ebner --- src/PVE/HA/Env.pm | 7 +++ src/PVE/HA/Env/PVE2.pm | 12 src/PVE/HA/Sim/Env.pm | 9 + 3 files changed, 28 insertions(+) diff --git a/src/PVE/HA/Env.pm b/src/PVE/HA/Env.pm index

[pve-devel] [PATCH proxmox-perl-rs 2/2] add basic test for resource scheduling

2022-11-10 Thread Fiona Ebner
currently only used to test the installed version and not automatically during build. See the FIXME note for why. Signed-off-by: Fiona Ebner --- pve-rs/test/Makefile | 4 ++ pve-rs/test/README | 2 + pve-rs/test/resource_scheduling.pl | 70

[pve-devel] [PATCH ha-manager 08/11] manager: set resource scheduler mode upon init

2022-11-10 Thread Fiona Ebner
Signed-off-by: Fiona Ebner --- src/PVE/HA/Manager.pm | 5 + 1 file changed, 5 insertions(+) diff --git a/src/PVE/HA/Manager.pm b/src/PVE/HA/Manager.pm index 63e6c8a..20b743c 100644 --- a/src/PVE/HA/Manager.pm +++ b/src/PVE/HA/Manager.pm @@ -52,6 +52,11 @@ sub new { $self->{ms} = {

[pve-devel] [PATCH manager 1/3] pvestatd: broadcast static node information

2022-11-10 Thread Fiona Ebner
Planned to be used for static resource scheduling in the HA manager. It's enough to broadcast the values whenever they are outdated or not set in the node's local kv store, because pmxcfs will re-broadcast the local kv store whenever the quorate partition changes. This is already relied upon for

[pve-devel] [PATCH proxmox-resource-scheduling 2/3] add pve_static module

2022-11-10 Thread Fiona Ebner
Models usage of guests and nodes, and allows scoring nodes on which to start a new service via TOPSIS. For this scoring, each node in turn is considered as if the service was already running on it. CPU and memory usage are used as criteria, with memory being weighted much more, because it's a

[pve-devel] [PATCH proxmox-perl-rs 1/2] pve-rs: add resource scheduling module

2022-11-10 Thread Fiona Ebner
backed by the proxmox-resource-scheduling crate. Initially to be used by the HA manager to allow it basing its decision where to start a new or recovered service on static usage information rather than just counting. Signed-off-by: Fiona Ebner --- Makefile | 1

[pve-devel] [PATCH qemu-server 5/7] fix #4324: USB: use qemu-xhci for machine versions >= 7.1

2022-11-10 Thread Dominik Csapak
going by reports in the forum (e.g. [0]) and semi-official qemu information[1], we should prefer qemu-xhci over nec-usb-xhci for compatibility purposes, we guard that behind the machine version, so that guests with a fixed version don't suddenly have a different usb controller after a reboot

[pve-devel] [PATCH qemu-server 6/7] USB: increase max usb devices to 14 for newer machine version and ostype

2022-11-10 Thread Dominik Csapak
for machine versions >= 7.1 and ostype linux or windows > 7, we use the qemu-xhci controller where we have up to 14 usable ports, so make them available to the user Signed-off-by: Dominik Csapak --- PVE/QemuServer.pm | 5 +++-- PVE/QemuServer/USB.pm | 13 + 2 files changed, 16

[pve-devel] [PATCH qemu-server/pve-manager] use qemu-xhci for new guests

2022-11-10 Thread Dominik Csapak
qemu-xhci is to be preferred to nec-usb-xhci, but for compatibility reasons, only use it for machine types >= 7.1 and ostypes l26 and windows > 7 (older os' don't support it) (depending on that machine version should be ok as long as we don't roll out qemu 7.1 before applying this series) With

[pve-devel] [PATCH qemu-server 4/7] USB: use machine_type_is_q35 instead of regex

2022-11-10 Thread Dominik Csapak
we refactored that into PVE::QemuServer::Machine a while ago, so we can use it here Signed-off-by: Dominik Csapak --- PVE/QemuServer/USB.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer/USB.pm b/PVE/QemuServer/USB.pm index b669c91..10c9bca 100644 ---

[pve-devel] [PATCH qemu-server 3/7] USB: print_usbdevice_full: error out on invalid configuration

2022-11-10 Thread Dominik Csapak
should not happen normally, but an inattentive user of that function may forget to check the validity of the parsed device, so err on the safe side here Signed-off-by: Dominik Csapak --- PVE/QemuServer/USB.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/QemuServer/USB.pm

[pve-devel] [PATCH qemu-server 7/7] fix #3271: USB: allow usb hotplugging for modern guests

2022-11-10 Thread Dominik Csapak
same as with the extended support for more usb devices, allow hotplugging for guests that can use the qemu-xhci controller which require a machine type >= 7.1 and a ostype l26 or windows > 7 if no usb device was passed through on startup, dynamically add the xhci controller (and remove if the

[pve-devel] [PATCH manager 2/2] ui: qemu: increase available usb ports depending on machine and ostype

2022-11-10 Thread Dominik Csapak
in the backend, we allow up to 14 usb ports, but only if the vm can use the qemu-xhci controller which is only possible since machine version 7.1 and if the ostype is l26 or windows > 7 for this we introduce two helpers: * qemu_min_version: modeled after the signature of 'min_version' from

[pve-devel] [PATCH manager 1/2] ui: USBInputPanel: use correct maximum usb index

2022-11-10 Thread Dominik Csapak
We already have that factored out in PVE.Utils, so use that. Signed-off-by: Dominik Csapak --- www/manager6/qemu/USBEdit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/qemu/USBEdit.js b/www/manager6/qemu/USBEdit.js index a2204584a..4373f82c3 100644 ---

[pve-devel] [PATCH qemu-server 2/7] move 'windows_version' to Helpers

2022-11-10 Thread Dominik Csapak
to avoid a cyclic dependency when we want to use that in PVE::QemuServer::USB Signed-off-by: Dominik Csapak --- PVE/API2/Qemu.pm| 2 +- PVE/QemuServer.pm | 20 +--- PVE/QemuServer/Cloudinit.pm | 3 ++- PVE/QemuServer/Helpers.pm | 19 +++

[pve-devel] [PATCH qemu-server 1/7] print_tabletdevice_full: make use of $q35 variable

2022-11-10 Thread Dominik Csapak
just outside of context, we already save the result from machine_type_is_q35 into the $q35 variable, but never use it. Signed-off-by: Dominik Csapak --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index

Re: [pve-devel] [PATCH V4 SERIES storage/manager/docs 0/3] fix #3967: add ZFS dRAID creation

2022-11-10 Thread Lukas Wagner
Tested-by: Lukas Wagner On 11/10/22 14:24, Stefan Hrdlicka wrote: V1 -> V2: # pve-storage * formating change * fixing typos & wording * added check if dRAID options draidspares & draiddata are used for something else then setting up a dRAID # pve-manager * add a viewModel and use a binding

[pve-devel] [PATCH V4 manager 2/3] fix #3967: enable ZFS dRAID creation in WebGUI

2022-11-10 Thread Stefan Hrdlicka
add fields for additional settings required by ZFS dRAID Signed-off-by: Stefan Hrdlicka --- www/manager6/node/ZFS.js | 69 1 file changed, 69 insertions(+) diff --git a/www/manager6/node/ZFS.js b/www/manager6/node/ZFS.js index 5b3bdbda..75d7d8e1 100644

[pve-devel] [PATCH V4 storage 1/3] fix #3967: enable ZFS dRAID creation via API

2022-11-10 Thread Stefan Hrdlicka
It is possible to set the number of spares and the size of data stripes via draidspares & dreaddata parameters. Signed-off-by: Stefan Hrdlicka --- PVE/API2/Disks/ZFS.pm | 55 ++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git

[pve-devel] [PATCH V4 docs 3/3] fix #3967: add ZFS dRAID documentation

2022-11-10 Thread Stefan Hrdlicka
add some basic explanation how ZFS dRAID works including links to openZFS for more details add documentation for two dRAID parameters used in code Signed-off-by: Stefan Hrdlicka --- local-zfs.adoc | 44 +++- 1 file changed, 43 insertions(+), 1

[pve-devel] [PATCH V4 SERIES storage/manager/docs 0/3] fix #3967: add ZFS dRAID creation

2022-11-10 Thread Stefan Hrdlicka
V1 -> V2: # pve-storage * formating change * fixing typos & wording * added check if dRAID options draidspares & draiddata are used for something else then setting up a dRAID # pve-manager * add a viewModel and use a binding for visiblity * remove controller # pve-docs * fix many typos * reword

Re: [pve-devel] [PATCH manager 4/4] d/control: drop ${shlibs:Depends} for pve-manager

2022-11-10 Thread Thomas Lamprecht
Am 21/10/2022 um 15:02 schrieb Fiona Ebner: > Now that the pvemailforward binary was dropped, there is a lintian > warning that it's not defined anymore. > > Signed-off-by: Fiona Ebner > --- > debian/control | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/debian/control

[pve-devel] applied-series: [PATCH-SERIES proxmox{, -mail-forward, -backup}/pve-manager] add proxmox-mail-forward helper binary

2022-11-10 Thread Wolfgang Bumiller
applied remaining patches On Fri, Oct 21, 2022 at 03:02:43PM +0200, Fiona Ebner wrote: > written in Rust, and replacing the pvemailforward binary in PVE. Can > be used in PVE and PBS as well as in a mixed installations of the two. > > To make reading the config files work, it is a setuid binary

[pve-devel] applied: [PATCH proxmox-backup 1/1] fix #4287: d/control: recommend proxmox-mail-forward

2022-11-10 Thread Wolfgang Bumiller
applied On Fri, Oct 21, 2022 at 03:02:48PM +0200, Fiona Ebner wrote: > which registers a binary in /root/.forward and handles mail forwarding > to the mail addresss configured for root@pam in PBS. Similar to how it > is done in PVE currently. > > Signed-off-by: Fiona Ebner > --- >

[pve-devel] applied: [PATCH proxmox-mail-forward 1/3] initial commit

2022-11-10 Thread Wolfgang Bumiller
created repo & applied added followups to: - bump the section-config dependency in Cargo.toml to include the changes from this series - use setresuid() to also drop the saved uid - initial dummy version bump commit ___ pve-devel mailing list

[pve-devel] [PATCH proxmox-backup v4 1/1] file-restore: make dynamic memory behaviour controllable

2022-11-10 Thread Dominik Csapak
by adding 'dynamic-memory' parameter that controls if we automatically increase the memory of the guest vm or not Signed-off-by: Dominik Csapak --- new in v4 not really happy with the 'clippy allow', but imho there is no obvious way to bundle those parameters without restructuring the code much

[pve-devel] [PATCH storage v4 3/3] api: FileRestore: allow automatic memory increase for privileged users

2022-11-10 Thread Dominik Csapak
if the user has the appropriate rights (details in the comments of 'check_allow_dynamic_memory') enable the dynamic memory behaviour of the file-restore binary Signed-off-by: Dominik Csapak --- new in v4: depends on pve-common 2/2 PVE/API2/Storage/FileRestore.pm | 25 +++--

[pve-devel] [PATCH proxmox-backup/common/storage v4] improve file-restore timeout behaviour

2022-11-10 Thread Dominik Csapak
this series improves the behaviour of the file-restore when some mount operations take longer than the 30 second pveproxy timeout and enables/disables the automatic increasing of memory depending on the users privileges depends (i'll add it to the seperate patches too) pve-storage 1/3 fixes the

[pve-devel] [PATCH storage v4 1/3] api: FileRestore: decode and return proper error of file-restore listing

2022-11-10 Thread Dominik Csapak
since commit ba690c40 ("file-restore: remove 'json-error' parameter from list_files") in proxmox-backup, the file-restore binary will return the error as json when called with '--output-format json' (which we do in PVE::PBSClient) here, we assume that 'file-restore' will fail in that case, and

[pve-devel] [PATCH common v4 2/2] PBSClient: add optional 'dynamic-memory' parameter to file-restore commands

2022-11-10 Thread Dominik Csapak
so that we can make use of the dynamic memory feature of file-restore (it automatically increases the memory of the file-restore vm when we detect a zfs path) Signed-off-by: Dominik Csapak --- new in v4 depends on the proxmox-backup patch for file-restore src/PVE/PBSClient.pm | 13 +++--

[pve-devel] [PATCH storage v4 2/3] api: FileRestore: make use of file-restores and guis timeout mechanism

2022-11-10 Thread Dominik Csapak
file-restore has a 'timeout' parameter and if that is exceeded, returns an error with the http code 503 Service Unavailable When the web ui encounters such an error, it retries the listing a few times before giving up. To make use of these, add the 'timeout' parameter to the new 'extraParams' of

[pve-devel] [PATCH common v4 1/2] PBSClient: file_restore_list: add extraParams and use timeout

2022-11-10 Thread Dominik Csapak
under some conditions, like when calling it in the api where we have a 30s pveproxy limit, we want to make use of the '--timeout' parameter of the file-restore binary, but we may want to call it in the future where we don't want add timeout. To achieve that, add an extendable 'extra_params' hash

Re: [pve-devel] [PATCH cluster v8 4/4] DataCenterConfig: add tag rights control to the datacenter config

2022-11-10 Thread Thomas Lamprecht
Am 18/10/2022 um 16:02 schrieb Dominik Csapak: > by adding a 'user-tag-privileges' and 'admin-tags' option. > The first sets the policy by which "normal" users (with > 'VM.Config.Options' on the respective guest) can create/delete tags > and the second is a list of tags only settable by 'admins' >

[pve-devel] applied-series: [PATCH SERIES v2 manager/docs/widget-toolkit/qemu-server 0/4] fix #3593

2022-11-10 Thread Wolfgang Bumiller
sorry for the delay, applied, thanks On Thu, Jun 30, 2022 at 05:09:44PM -0700, Daniel Bowder wrote: > Summary: > Allows for virtual machines to be pinned to CPU cores via an affinity value > added to the qemu configuration. I previously created a v1 of this patch, > but it was my first submission

Re: [pve-devel] [PATCH cluster v8 3/4] datacenter.cfg: add option for tag-style

2022-11-10 Thread Thomas Lamprecht
w.r.t. to this one and the next patch: I'd slightly prefer either having just a single property for all, or split it into two: style and rest. The latter may have a small benefit w.r.t. to stability - if a parser/edit bug sneaks in that breaks styling the access stuff might be still working,

Re: [pve-devel] [PATCH V3 qemu-server 3/3] migration : add del_nets_bridge_fdb

2022-11-10 Thread DERUMIER, Alexandre
Le lundi 07 novembre 2022 à 13:41 +0100, Mira Limbeck a écrit : > > I'm currently going through this patch series Thanks for looking at it ! > and I'm wondering. > Wouldn't it make more sense to delete the bridge fdb entries as part > of > the VM shutdown instead? > > This way those would