x86/pvh: Don't start PVH guests on AMD hosts.
PATCH 1/1 x86/pvh: Don't start PVH guests on AMD hosts.
Nothing good will happen if we do: it's totally unimplemented.
Signed-off-by Tim Deegan <[email protected]>
--- xen/arch/x86/hvm/hvm.c | 3 +++ 1 file changed, 3 insertions(+)
xen/arch/x86/hvm/hvm.c +3 -0
@@ -521,6 +521,9 @@ static int pvh_dom_initialise(struct domain *d)if ( !d->arch.hvm_domain.hap_enabled )return -EINVAL ; +if ( !hvm_funcs.pvh_set_vcpu_info ) +return -ENOSYS ; +spin_lock_init (&d->arch.hvm_domain.irq_lock);hvm_init_cacheattr_region_list (d);
Signature · 1 line
1.7.10.4