[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] 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 <tim@xxxxxxx>
---
 xen/arch/x86/hvm/hvm.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index c742d7b..66bbb10 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -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);
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.