Re: [MINI-OS PATCH 2/2] x86: don't use a memory page for mapping the shared info page

2025-07-28 Thread Jürgen Groß
On 28.07.25 16:21, Jan Beulich wrote: On 08.07.2025 08:37, Juergen Gross wrote: --- a/hypervisor.c +++ b/hypervisor.c @@ -27,8 +27,10 @@ #include #include +#include #include #include +#include #include EXPORT_SYMBOL(hypercall_page); @@ -37,7 +39,8 @@ EXPORT_SYMBOL(hype

Re: [MINI-OS PATCH 2/2] x86: don't use a memory page for mapping the shared info page

2025-07-28 Thread Jan Beulich
On 08.07.2025 08:37, Juergen Gross wrote: > --- a/hypervisor.c > +++ b/hypervisor.c > @@ -27,8 +27,10 @@ > > #include > #include > +#include > #include > #include > +#include > #include > > EXPORT_SYMBOL(hypercall_page); > @@ -37,7 +39,8 @@ EXPORT_SYMBOL(hypercall_page); > ((s

[MINI-OS PATCH 2/2] x86: don't use a memory page for mapping the shared info page

2025-07-07 Thread Juergen Gross
There is no need to use a populated memory page for mapping the shared info page at that location. Just use an allocated virtual address for the shared info page. For PVH allocate an unused pfn. Signed-off-by: Juergen Gross --- arch/x86/mm.c | 7 --- arch/x86/setup.c | 15 -