Commit
81a76e4b12961a9f54f5021809074196dfe6dbba ("libxc: rework of
domain builder's page table handler") dropped a special case for pvh
resulting in page tables being mapped read-only. This led to a panic
of the domain in early boot.
Correct this error.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
unsigned m;
prot = domx86->params->lvl_prot[l];
- if ( l > 0 )
+ if ( l > 0 || dom->pvh_enabled )
return prot;
for ( m = 0; m < domx86->n_mappings; m++ )