Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH v2 5/5] Documentation: Add ABI entry for sysfs file vmcsinfo and vmcsinfo_maxsize

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


zhangyanfei at cn

May 16, 2012, 12:57 AM

Post #1 of 2 (75 views)
Permalink
[PATCH v2 5/5] Documentation: Add ABI entry for sysfs file vmcsinfo and vmcsinfo_maxsize

We create two new sysfs files, vmcsinfo and vmcsinfo_maxsize. And
here we add an Documentation/ABI entry for them.

Signed-off-by: zhangyanfei <zhangyanfei [at] cn>
---
Documentation/ABI/testing/sysfs-kernel-vmcsinfo | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-kernel-vmcsinfo

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 <zhangyanfei [at] cn>
+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 <zhangyanfei [at] cn>
+Description
+ Shows max size of VMCSINFO.
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


avi at redhat

Jun 14, 2012, 6:21 AM

Post #2 of 2 (67 views)
Permalink
Re: [PATCH v2 5/5] Documentation: Add ABI entry for sysfs file vmcsinfo and vmcsinfo_maxsize [In reply to]

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 <zhangyanfei [at] cn>
> +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 <zhangyanfei [at] cn>
> +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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.