[pve-devel] [PATCH qemu-server] Fix #878: disk-size format

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Jan 29 08:58:59 CET 2016


disk-size is a format, not a type
---
 PVE/QemuServer.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 03da747..a62ab04 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -562,7 +562,8 @@ my %drivedesc_base = (
 	optional => 1,
     },
     size => {
-	type => 'disk-size',
+	type => 'string',
+	format => 'disk-size',
 	description => "Disk size. This is purely informational and has no effect.",
 	optional => 1,
     },
-- 
2.1.4





More information about the pve-devel mailing list