ia64/linux-2.6.18-xen.hg

changeset 910:5bb4e5dd1abc

[IA64] xencomm: add XENVER_commandline support.

add XENVER_commandline support to xencomm.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:22:41 2009 +0900 (2009-06-29)
parents 865707f40531
children 92a119f247f7
files arch/ia64/xen/xcom_privcmd.c include/xen/interface/version.h
line diff
     1.1 --- a/arch/ia64/xen/xcom_privcmd.c	Tue Jun 23 11:12:38 2009 +0100
     1.2 +++ b/arch/ia64/xen/xcom_privcmd.c	Mon Jun 29 11:22:41 2009 +0900
     1.3 @@ -622,6 +622,9 @@ xencomm_privcmd_xen_version(privcmd_hype
     1.4  	case XENVER_get_features:
     1.5  		argsize = (arg == NULL) ? 0 : sizeof(xen_feature_info_t);
     1.6  		break;
     1.7 +	case XENVER_commandline:
     1.8 +		argsize = sizeof(xen_commandline_t);
     1.9 +		break;
    1.10  
    1.11  	default:
    1.12  		printk("%s: unknown version op %d\n", __func__, cmd);
     2.1 --- a/include/xen/interface/version.h	Tue Jun 23 11:12:38 2009 +0100
     2.2 +++ b/include/xen/interface/version.h	Mon Jun 29 11:22:41 2009 +0900
     2.3 @@ -78,6 +78,9 @@ typedef struct xen_feature_info xen_feat
     2.4  /* arg == xen_domain_handle_t. */
     2.5  #define XENVER_guest_handle 8
     2.6  
     2.7 +#define XENVER_commandline 9
     2.8 +typedef char xen_commandline_t[1024];
     2.9 +
    2.10  #endif /* __XEN_PUBLIC_VERSION_H__ */
    2.11  
    2.12  /*