xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/pvh: Don't start PVH guests on AMD hosts.
@ 2013-07-29 12:30 Tim Deegan
  0 siblings, 0 replies; only message in thread
From: Tim Deegan @ 2013-07-29 12:30 UTC (permalink / raw)
  To: xen-devel; +Cc: keir, jbeulich

Nothing good will happen if we do: it's totally unimplemented.

Signed-off-by: Tim Deegan <tim@xen.org>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-29 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 12:30 [PATCH] x86/pvh: Don't start PVH guests on AMD hosts Tim Deegan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).