• Joerg Roedel's avatar
    KVM: SVM: get rid of nested_svm_vmexit_real · 34f80cfa
    Joerg Roedel authored
    This patch is the starting point of removing nested_svm_do from the
    nested svm code. The nested_svm_do function basically maps two guest
    physical pages to host virtual addresses and calls a passed function
    on it. This function pointer code flow is hard to read and not the
    best technical solution here.
    As a side effect this patch indroduces the nested_svm_[un]map helper
    functions.
    Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    34f80cfa
svm.c 75.4 KB