[pve-devel] [PATCH qemu-server] fix #1969: increase max unused disks
David Limbeck
d.limbeck at proxmox.com
Mon Nov 5 14:02:15 CET 2018
increase to 256, same as containers
Signed-off-by: David Limbeck <d.limbeck at proxmox.com>
---
PVE/QemuConfig.pm | 2 +-
PVE/QemuServer.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/QemuConfig.pm b/PVE/QemuConfig.pm
index c2192cf..6ba0cc3 100644
--- a/PVE/QemuConfig.pm
+++ b/PVE/QemuConfig.pm
@@ -20,7 +20,7 @@ mkdir $confdir;
my $lock_dir = "/var/lock/qemu-server";
mkdir $lock_dir;
-my $MAX_UNUSED_DISKS = 8;
+my $MAX_UNUSED_DISKS = 256;
# BEGIN implemented abstract methods from PVE::AbstractConfig
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 82c9b96..311a2d1 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -641,7 +641,7 @@ my $MAX_VIRTIO_DISKS = 16;
my $MAX_SATA_DISKS = 6;
my $MAX_USB_DEVICES = 5;
my $MAX_NETS = 32;
-my $MAX_UNUSED_DISKS = 8;
+my $MAX_UNUSED_DISKS = 256;
my $MAX_HOSTPCI_DEVICES = 4;
my $MAX_SERIAL_PORTS = 4;
my $MAX_PARALLEL_PORTS = 3;
--
2.11.0
More information about the pve-devel
mailing list