Skip to content
  • Vitaly Kuznetsov's avatar
    af7228b8
    i386: Make Hyper-V version id configurable · af7228b8
    Vitaly Kuznetsov authored
    
    
    Currently, we hardcode Hyper-V version id (CPUID 0x40000002) to
    WS2008R2 and it is known that certain tools in Windows check this. It
    seems useful to provide some flexibility by making it possible to change
    this info at will. CPUID information is defined in TLFS as:
    
    EAX: Build Number
    EBX Bits 31-16: Major Version
        Bits 15-0: Minor Version
    ECX Service Pack
    EDX Bits 31-24: Service Branch
        Bits 23-0: Service Number
    
    Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
    Message-Id: <20210902093530.345756-8-vkuznets@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    af7228b8
    i386: Make Hyper-V version id configurable
    Vitaly Kuznetsov authored
    
    
    Currently, we hardcode Hyper-V version id (CPUID 0x40000002) to
    WS2008R2 and it is known that certain tools in Windows check this. It
    seems useful to provide some flexibility by making it possible to change
    this info at will. CPUID information is defined in TLFS as:
    
    EAX: Build Number
    EBX Bits 31-16: Major Version
        Bits 15-0: Minor Version
    ECX Service Pack
    EDX Bits 31-24: Service Branch
        Bits 23-0: Service Number
    
    Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
    Message-Id: <20210902093530.345756-8-vkuznets@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading