• T
    kvm: svm: prepare for new bit definition in nested_ctl · cea3a19b
    Tom Lendacky 提交于
    Currently the nested_ctl variable in the vmcb_control_area structure is
    used to indicate nested paging support. The nested paging support field
    is actually defined as bit 0 of the field. In order to support a new
    feature flag the usage of the nested_ctl and nested paging support must
    be converted to operate on a single bit.
    
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: "Radim Krčmář" <rkrcmar@redhat.com>
    Cc: Joerg Roedel <joro@8bytes.org>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: x86@kernel.org
    Cc: kvm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: NTom Lendacky <thomas.lendacky@amd.com>
    Signed-off-by: NBrijesh Singh <brijesh.singh@amd.com>
    Reviewed-by: NBorislav Petkov <bp@suse.de>
    cea3a19b
svm.c 145.1 KB