WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [IA64] xencomm: add XENVER_commandline support.

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [IA64] xencomm: add XENVER_commandline support.
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Fri, 19 Jun 2009 19:01:52 +0900
Delivery-date: Fri, 19 Jun 2009 03:01:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
[IA64] xencomm: add XENVER_commandline support.

add XENVER_commandline support.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff --git a/arch/ia64/xen/xcom_privcmd.c b/arch/ia64/xen/xcom_privcmd.c
--- a/arch/ia64/xen/xcom_privcmd.c
+++ b/arch/ia64/xen/xcom_privcmd.c
@@ -622,6 +622,9 @@ xencomm_privcmd_xen_version(privcmd_hype
        case XENVER_get_features:
                argsize = (arg == NULL) ? 0 : sizeof(xen_feature_info_t);
                break;
+       case XENVER_commandline:
+               argsize = sizeof(xen_commandline_t);
+               break;
 
        default:
                printk("%s: unknown version op %d\n", __func__, cmd);
diff --git a/include/xen/interface/version.h b/include/xen/interface/version.h
--- a/include/xen/interface/version.h
+++ b/include/xen/interface/version.h
@@ -78,6 +78,9 @@ typedef struct xen_feature_info xen_feat
 /* arg == xen_domain_handle_t. */
 #define XENVER_guest_handle 8
 
+#define XENVER_commandline 9
+typedef char xen_commandline_t[1024];
+
 #endif /* __XEN_PUBLIC_VERSION_H__ */
 
 /*


-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [IA64] xencomm: add XENVER_commandline support., Isaku Yamahata <=