[IA64] xencomm: add XENVER_commandline support.

add XENVER_commandline support.

Signed-off-by: Isaku Yamahata <yamah...@valinux.co.jp>

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@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Reply via email to