From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v2 5/5] Documentation: Add ABI entry for sysfs file vmcsinfo and vmcsinfo_maxsize Date: Thu, 14 Jun 2012 16:21:56 +0300 Message-ID: <4FD9E574.90800@redhat.com> References: <4FB35C48.30708@cn.fujitsu.com> <4FB35DEF.2040008@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dzickus-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, luto-3s7WtUTddSA@public.gmane.org, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Joerg Roedel , mtosatti-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org, ludwig.nussel-l3A5Bk7waGM@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org, Greg KH To: zhangyanfei Return-path: In-Reply-To: <4FB35DEF.2040008-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kexec-bounces-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Errors-To: kexec-bounces+glkk-kexec=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: kvm.vger.kernel.org On 05/16/2012 10:57 AM, zhangyanfei wrote: > We create two new sysfs files, vmcsinfo and vmcsinfo_maxsize. And > here we add an Documentation/ABI entry for them. > > > diff --git a/Documentation/ABI/testing/sysfs-kernel-vmcsinfo b/Documentation/ABI/testing/sysfs-kernel-vmcsinfo > new file mode 100644 > index 0000000..adbf866 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-kernel-vmcsinfo > @@ -0,0 +1,16 @@ > +What: /sys/kernel/vmcsinfo > +Date: April 2012 > +KernelVersion: 3.4.0 > +Contact: Zhang Yanfei > +Description > + Shows physical address of VMCSINFO. VMCSINFO contains > + the VMCS revision identifier and encoded offsets of fields > + in VMCS data on Intel processors equipped with the VT > + extensions. > + > +What: /sys/kernel/vmcsinfo_maxsize > +Date: April 2012 > +KernelVersion: 3.4.0 > +Contact: Zhang Yanfei > +Description > + Shows max size of VMCSINFO. > This describes the cpu, so maybe /sys/devices/cpu is a better place for these files. Would it make sense to expose the actual fields? that is, have /sys/devices/cpu/vmcs/0806 contain the offset of GUEST_DS_SELECTOR. -- error compiling committee.c: too many arguments to function