xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: xen-devel@lists.xenproject.org
Cc: keir@xen.org, Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com,
	jbeulich@suse.com
Subject: [V3 PATCH 1/3] PVH xen tools: In Elf code, check hvm callback vector
Date: Tue, 10 Sep 2013 14:55:56 -0700	[thread overview]
Message-ID: <1378850158-25805-2-git-send-email-mukesh.rathor@oracle.com> (raw)
In-Reply-To: <1378850158-25805-1-git-send-email-mukesh.rathor@oracle.com>

 Add XENFEAT_hvm_callback_vector to elf_xen_feature_names
 so we can ensure the kernel supports all features required for
 PVH mode when building a PVH domU here. Note, hvm callback is
 required for PVH.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
 xen/common/libelf/libelf-dominfo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xen/common/libelf/libelf-dominfo.c b/xen/common/libelf/libelf-dominfo.c
index e79b339..25dd892 100644
--- a/xen/common/libelf/libelf-dominfo.c
+++ b/xen/common/libelf/libelf-dominfo.c
@@ -27,6 +27,7 @@ static const char *const elf_xen_feature_names[] = {
     [XENFEAT_auto_translated_physmap] = "auto_translated_physmap",
     [XENFEAT_supervisor_mode_kernel] = "supervisor_mode_kernel",
     [XENFEAT_pae_pgdir_above_4gb] = "pae_pgdir_above_4gb",
+    [XENFEAT_hvm_callback_vector] = "hvm_callback_vector",
     [XENFEAT_dom0] = "dom0"
 };
 static const unsigned elf_xen_features =
-- 
1.7.2.3

  reply	other threads:[~2013-09-10 21:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 21:55 [V3 PATCH 0/3]: PVH xen tools: tools changes to create PVH guest Mukesh Rathor
2013-09-10 21:55 ` Mukesh Rathor [this message]
2013-09-11  6:56   ` [V3 PATCH 1/3] PVH xen tools: In Elf code, check hvm callback vector Jan Beulich
2013-09-10 21:55 ` [V3 PATCH 2/3] PVH xen tools: libxc changes to build a PVH guest Mukesh Rathor
2013-09-11 10:03   ` Ian Campbell
2013-09-11 21:41     ` Mukesh Rathor
2013-09-12  8:31       ` Ian Campbell
2013-09-10 21:55 ` [V3 PATCH 3/3] PVH xen tools: libxl changes to create " Mukesh Rathor

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=1378850158-25805-2-git-send-email-mukesh.rathor@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xenproject.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).