xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86: Expose hypervisor's PVH support via xen_caps
@ 2014-05-23 14:55 Boris Ostrovsky
  2014-05-23 15:00 ` Andrew Cooper
  0 siblings, 1 reply; 12+ messages in thread
From: Boris Ostrovsky @ 2014-05-23 14:55 UTC (permalink / raw)
  To: keir, jbeulich; +Cc: boris.ostrovsky, xen-devel

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
---
 xen/arch/x86/setup.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index b2a808a..59b31b1 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -1462,6 +1462,11 @@ void arch_get_xen_caps(xen_capabilities_info_t *info)
         safe_strcat(*info, s);
         snprintf(s, sizeof(s), "hvm-%d.%d-x86_64 ", major, minor);
         safe_strcat(*info, s);
+        if ( hvm_funcs.pvh_supported )
+        {
+            snprintf(s, sizeof(s), "pvh-%d.%d-x86_64 ", major, minor);
+            safe_strcat(*info, s);
+        }
     }
 }
 
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-05-28 21:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 14:55 [PATCH] x86: Expose hypervisor's PVH support via xen_caps Boris Ostrovsky
2014-05-23 15:00 ` Andrew Cooper
2014-05-23 15:08   ` Boris Ostrovsky
2014-05-23 15:20     ` Andrew Cooper
2014-05-23 15:32       ` Boris Ostrovsky
2014-05-23 15:35         ` Roger Pau Monné
2014-05-23 15:53           ` Boris Ostrovsky
2014-05-28  9:42             ` Ian Campbell
2014-05-28 18:18               ` boris ostrovsky
2014-05-28 21:12               ` Mukesh Rathor
2014-05-26  9:33       ` Jan Beulich
2014-05-27  3:03         ` Boris Ostrovsky

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).