Requires the qemu-server commit named "fix #6370: virtiofs: add support
for thread-pool-size option".

Set the maximum value to '256', the same as for the VM CPU cores.

Signed-off-by: Markus Frank <m.fr...@proxmox.com>
---
 www/manager6/qemu/VirtiofsEdit.js | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/www/manager6/qemu/VirtiofsEdit.js 
b/www/manager6/qemu/VirtiofsEdit.js
index 6983a763..33d38de4 100644
--- a/www/manager6/qemu/VirtiofsEdit.js
+++ b/www/manager6/qemu/VirtiofsEdit.js
@@ -81,6 +81,16 @@ Ext.define('PVE.qemu.VirtiofsInputPanel', {
                name: 'direct-io',
                fieldLabel: gettext('Allow Direct IO'),
            },
+           {
+               xtype: 'proxmoxintegerfield',
+               name: 'thread-pool-size',
+               minValue: 0,
+               maxValue: 256,
+               value: '',
+               emptyText: '0',
+               allowBlank: true,
+               fieldLabel: gettext('thread-pool-size'),
+           },
        ];
 
        me.virtiofs = {};
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to