From: "Yang, Sheng" <sheng.yang@intel.com>
To: kvm@vger.kernel.org
Subject: Re: [PATCH] kvm: add a script to report hardware feature
Date: Thu, 19 Jun 2008 18:48:31 +0800 [thread overview]
Message-ID: <200806191848.31936.sheng.yang@intel.com> (raw)
In-Reply-To: <200806191844.37283.sheng.yang@intel.com>
On Thursday 19 June 2008 18:44:37 Yang, Sheng wrote:
> From 5409ef94b0b0b9fd109389fdccd4827e04f9590f Mon Sep 17 00:00:00 2001
> From: Sheng Yang <sheng.yang@intel.com>
> Date: Thu, 19 Jun 2008 18:38:20 +0800
> Subject: [PATCH] kvm: add a script to report hardware feature
o... I forgot to add [PATCH 4/4]... :(
Just a simple script, may be not needed. But maybe a script is more easy to be
found? Or maybe we can set up a soft symbol link to the position in
userspace?
Deal with it as you want, Avi. :)
--
Thanks
Yang, Sheng
>
>
> Signed-off-by: Sheng Yang <sheng.yang@intel.com>
> ---
> scripts/kvm_report_features | 11 +++++++++++
> 1 files changed, 11 insertions(+), 0 deletions(-)
> create mode 100755 scripts/kvm_report_features
>
> diff --git a/scripts/kvm_report_features b/scripts/kvm_report_features
> new file mode 100755
> index 0000000..66e746d
> --- /dev/null
> +++ b/scripts/kvm_report_features
> @@ -0,0 +1,11 @@
> +#!/bin/bash
> +
> +report=/sys/devices/system/kvm/kvm0/kvm_hw_feature_report
> +
> +if [ -a $report ];
> +then
> + cat $report
> +else
> + echo Feature report interface didn\'t exist.
> + echo Maybe don\'t support in this version or modules are not loaded.
> +fi
> --
> 1.5.5
prev parent reply other threads:[~2008-06-19 10:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-19 10:44 [PATCH] kvm: add a script to report hardware feature Yang, Sheng
2008-06-19 10:48 ` Yang, Sheng [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200806191848.31936.sheng.yang@intel.com \
--to=sheng.yang@intel.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox