On Mon, Mar 27, 2017 at 02:20:17PM +0100, Andrew Cooper wrote:
> On 27/03/17 14:11, Wei Liu wrote:
> > @@ -456,6 +455,9 @@ int __init construct_dom0(struct domain *d, const
> > module_t *image,
> >
> > process_pending_softirqs();
> >
> > +if ( opt_dom0_shadow && !dom0_pvh )
> > +
On 27/03/17 14:11, Wei Liu wrote:
> @@ -456,6 +455,9 @@ int __init construct_dom0(struct domain *d, const
> module_t *image,
>
> process_pending_softirqs();
>
> +if ( opt_dom0_shadow && !dom0_pvh )
> +panic("Shadow paging Dom0 only works in PVH mode");
Is there any way to do
Classic PV shadow paging Dom0 has been broken for years, and can't
possibly be configured after 4045953.
PVH shadow paging Dom0 should still be possible.
Change the code and documentation to clarify that.
Signed-off-by: Wei Liu
---
v2:
1. simplify need_paging
2. move panic to construct_dom0
Cc