]> git.proxmox.com Git - qemu-server.git/commitdiff
hv_vendor_id : for winversion >= 6 , not >=7.
authorAlexandre Derumier <aderumier@odiso.com>
Fri, 11 Nov 2016 08:32:10 +0000 (09:32 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 11 Nov 2016 08:54:28 +0000 (09:54 +0100)
as It was previously.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm

index 54edd96ea841aa160c34d8f83dd204faaf046782..faa83f7a9c65e236d579b29927c2403d93f334e3 100644 (file)
@@ -6100,6 +6100,8 @@ sub add_hyperv_enlighments {
     return if $winversion < 6;
     return if $bios && $bios eq 'ovmf' && $winversion < 8;
 
+    push @$cpuFlags , 'hv_vendor_id=proxmox' if $gpu_passthrough;
+
     if (qemu_machine_feature_enabled ($machine_type, $kvmver, 2, 3)) {
        push @$cpuFlags , 'hv_spinlocks=0x1fff';
        push @$cpuFlags , 'hv_vapic';
@@ -6116,7 +6118,6 @@ sub add_hyperv_enlighments {
 
     if ($winversion >= 7) {
        push @$cpuFlags , 'hv_relaxed';
-       push @$cpuFlags , 'hv_vendor_id=proxmox' if $gpu_passthrough;
     }
 }