all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH qemu-server 1/4] hotplug: disk: mark aio as non-hotpluggable
@ 2023-02-10 14:19 Fiona Ebner
  2023-02-10 14:19 ` [pve-devel] [PATCH qemu-server 2/4] drive commandline: factor out checks if io_uring is allowed by default Fiona Ebner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fiona Ebner @ 2023-02-10 14:19 UTC (permalink / raw)
  To: pve-devel

Previously, changing aio would be applied to the configuration, but
the drive would still be using the old setting.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 PVE/QemuServer.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index a0e16dcd..6130fe82 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5388,7 +5388,8 @@ sub vmconfig_update_disk {
 		# update existing disk
 
 		# skip non hotpluggable value
-		if (safe_string_ne($drive->{discard}, $old_drive->{discard}) ||
+		if (safe_string_ne($drive->{aio}, $old_drive->{aio}) ||
+		    safe_string_ne($drive->{discard}, $old_drive->{discard}) ||
 		    safe_string_ne($drive->{iothread}, $old_drive->{iothread}) ||
 		    safe_string_ne($drive->{queues}, $old_drive->{queues}) ||
 		    safe_string_ne($drive->{cache}, $old_drive->{cache}) ||
-- 
2.30.2





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-14  9:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-10 14:19 [pve-devel] [PATCH qemu-server 1/4] hotplug: disk: mark aio as non-hotpluggable Fiona Ebner
2023-02-10 14:19 ` [pve-devel] [PATCH qemu-server 2/4] drive commandline: factor out checks if io_uring is allowed by default Fiona Ebner
2023-02-10 14:19 ` [pve-devel] [PATCH qemu-server 3/4] drive commandline: factor out determining direct cache usage into helper Fiona Ebner
2023-02-10 14:19 ` [pve-devel] [PATCH qemu-server 4/4] fix #4525: clone disk: disallow mirror if it might cause problems with io_uring Fiona Ebner
2023-02-14  9:12 ` [pve-devel] applied-series: Re: [PATCH qemu-server 1/4] hotplug: disk: mark aio as non-hotpluggable Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal