From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: "Roger Pau Monné" <roger.pau@citrix.com>
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: [RFC PATCH 0/15]: PVH xen: Patches for PVH guests
Date: Tue, 15 Jan 2013 11:49:27 -0800 [thread overview]
Message-ID: <20130115114927.4416b05f@mantra.us.oracle.com> (raw)
In-Reply-To: <50F58609.6000009@citrix.com>
On Tue, 15 Jan 2013 17:38:33 +0100
Roger Pau Monné <roger.pau@citrix.com> wrote:
> On 14/01/13 23:40, Mukesh Rathor wrote:
Hi Roger,
Ah yes, you need the following patch on your linux side. Please keep
me posted how it goes, and whatever testing/performance stuff you do.
Don't forget CONFIG_XEN_X86_PVH btw :).
Thanks,
Mukesh
From 7a7b03ff160840edf43e7213d14e4a7620874a73 Mon Sep 17 00:00:00 2001
From: Mukesh Rathor <mukesh.rathor@oracle.com>
Date: Wed, 14 Nov 2012 18:16:54 -0800
Subject: [PATCH 13/13] PVH: remove macro FEATURES_PVH and put PVH
strings in the ELFNOTE line, because there's a null char before
FEATURES_PVH and in the FEATURES_PVH strings since this is not C file
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
---
arch/x86/xen/xen-head.S | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/arch/x86/xen/xen-head.S b/arch/x86/xen/xen-head.S
index 1a6bca1..340fd4e 100644
--- a/arch/x86/xen/xen-head.S
+++ b/arch/x86/xen/xen-head.S
@@ -13,14 +13,6 @@
#include <xen/interface/elfnote.h>
#include <asm/xen/interface.h>
-#ifdef CONFIG_XEN_X86_PVH
-#define FEATURES_PVH "|writable_descriptor_tables" \
- "|auto_translated_physmap" \
- "|supervisor_mode_kernel" \
- "|hvm_callback_vector"
-#else
-#define FEATURES_PVH /* Not supported */
-#endif
__INIT
ENTRY(startup_xen)
@@ -104,7 +96,11 @@ NEXT_HYPERCALL(arch_6)
#endif
ELFNOTE(Xen, XEN_ELFNOTE_ENTRY, _ASM_PTR startup_xen)
ELFNOTE(Xen, XEN_ELFNOTE_HYPERCALL_PAGE, _ASM_PTR
hypercall_page)
- ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz
"!writable_page_tables|pae_pgdir_above_4gb"FEATURES_PVH) +#ifdef
CONFIG_XEN_X86_PVH
+ ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz
"!writable_page_tables|pae_pgdir_above_4gb|writable_descriptor_tables|auto_translated_physmap|supervisor_mode_kernel|hvm_callback_vector")
+#else
+ ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz
"!writable_page_tables|pae_pgdir_above_4gb")+#endif
ELFNOTE(Xen, XEN_ELFNOTE_PAE_MODE, .asciz "yes")
ELFNOTE(Xen, XEN_ELFNOTE_LOADER, .asciz "generic")
ELFNOTE(Xen, XEN_ELFNOTE_L1_MFN_VALID,
--
1.7.2.3
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-01-15 19:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-12 1:22 [RFC PATCH 0/15]: PVH xen: Patches for PVH guests Mukesh Rathor
2013-01-14 17:28 ` Roger Pau Monné
2013-01-14 22:40 ` Mukesh Rathor
2013-01-15 16:38 ` Roger Pau Monné
2013-01-15 19:49 ` Mukesh Rathor [this message]
2013-01-15 22:46 ` Roger Pau Monné
2013-01-15 23:55 ` Mukesh Rathor
2013-01-16 8:58 ` Roger Pau Monné
2013-01-16 22:21 ` Mukesh Rathor
2013-01-16 23:15 ` Roger Pau Monné
2013-01-17 0:40 ` Mukesh Rathor
2013-01-17 9:49 ` Roger Pau Monné
2013-01-18 3:22 ` Konrad Rzeszutek Wilk
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=20130115114927.4416b05f@mantra.us.oracle.com \
--to=mukesh.rathor@oracle.com \
--cc=roger.pau@citrix.com \
--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).