[pve-devel] [PATCH qemu-server] Add entry for windows 10 and 2016 support

Emmanuel Kasper e.kasper at proxmox.com
Thu Nov 17 15:03:38 CET 2016


All special flags for Windows 8 and Windows 2012 (win8 type)
are kept the same , since we set flags based on checking  if
/^win(\d+)$/ is greater than 6 or 7
---
 PVE/QemuServer.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index d228180..4046923 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -273,7 +273,7 @@ my $confdesc = {
     ostype => {
 	optional => 1,
 	type => 'string',
-        enum => [qw(other wxp w2k w2k3 w2k8 wvista win7 win8 l24 l26 solaris)],
+        enum => [qw(other wxp w2k w2k3 w2k8 wvista win7 win8 win10 l24 l26 solaris)],
 	description => "Specify guest operating system.",
 	verbose_description => <<EODESC,
 Specify guest operating system. This is used to enable special
@@ -1185,6 +1185,7 @@ sub os_list_description {
 	wvista => 'Windows Vista',
 	win7 => 'Windows 7',
 	win8 => 'Windows 8/2012',
+	win10 => 'Windows 10/2016',
 	l24 => 'Linux 2.4',
 	l26 => 'Linux 2.6',
     };
-- 
2.1.4





More information about the pve-devel mailing list