xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Tim Deegan <tim@xen.org>
To: xen-devel@lists.xen.org
Cc: keir@xen.org, jbeulich@suse.com
Subject: [PATCH] x86/pvh: Don't start PVH guests on AMD hosts.
Date: Mon, 29 Jul 2013 13:30:12 +0100	[thread overview]
Message-ID: <1375101012-494-1-git-send-email-tim@xen.org> (raw)

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

                 reply	other threads:[~2013-07-29 12:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375101012-494-1-git-send-email-tim@xen.org \
    --to=tim@xen.org \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).