Message ID | ad1cc03c3544235426b73e3779edb36653f25287.1742465624.git.Sergiy_Kibrik@epam.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | make nested virtualization support optional | expand |
On 20.03.2025 11:36, Sergiy Kibrik wrote: > This is private header for SVM code, comment in header and file's changelog > suggest that intended name was svm/nestedsvm.h, so perhaps a small mistake here. > > Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com> > --- > xen/arch/x86/hvm/svm/intr.c | 2 +- > xen/arch/x86/hvm/svm/{nestedhvm.h => nestedsvm.h} | 0 > xen/arch/x86/hvm/svm/svm.c | 2 +- > 3 files changed, 2 insertions(+), 2 deletions(-) > rename xen/arch/x86/hvm/svm/{nestedhvm.h => nestedsvm.h} (100%) Yet then, if already we rename it, why not to just svm/nested.h? Jan
diff --git a/xen/arch/x86/hvm/svm/intr.c b/xen/arch/x86/hvm/svm/intr.c index 46186a1102..feaf42d81b 100644 --- a/xen/arch/x86/hvm/svm/intr.c +++ b/xen/arch/x86/hvm/svm/intr.c @@ -25,7 +25,7 @@ #include <public/hvm/ioreq.h> #include <xen/domain_page.h> -#include "nestedhvm.h" +#include "nestedsvm.h" static void svm_inject_nmi(struct vcpu *v) { diff --git a/xen/arch/x86/hvm/svm/nestedhvm.h b/xen/arch/x86/hvm/svm/nestedsvm.h similarity index 100% rename from xen/arch/x86/hvm/svm/nestedhvm.h rename to xen/arch/x86/hvm/svm/nestedsvm.h diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index e33a38c1e4..09ac138691 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -41,7 +41,7 @@ #include <public/sched.h> -#include "nestedhvm.h" +#include "nestedsvm.h" #include "svm.h" void noreturn svm_asm_do_resume(void);
This is private header for SVM code, comment in header and file's changelog suggest that intended name was svm/nestedsvm.h, so perhaps a small mistake here. Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com> --- xen/arch/x86/hvm/svm/intr.c | 2 +- xen/arch/x86/hvm/svm/{nestedhvm.h => nestedsvm.h} | 0 xen/arch/x86/hvm/svm/svm.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename xen/arch/x86/hvm/svm/{nestedhvm.h => nestedsvm.h} (100%)