From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: [PATCH] kvm: add a script to report hardware feature Date: Thu, 19 Jun 2008 18:44:37 +0800 Message-ID: <200806191844.37283.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_VijWI5ft3gtYJeu" To: kvm@vger.kernel.org Return-path: Received: from mga02.intel.com ([134.134.136.20]:55152 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755886AbYFSKot (ORCPT ); Thu, 19 Jun 2008 06:44:49 -0400 Sender: kvm-owner@vger.kernel.org List-ID: --Boundary-00=_VijWI5ft3gtYJeu Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =46rom 5409ef94b0b0b9fd109389fdccd4827e04f9590f Mon Sep 17 00:00:00 2001 =46rom: Sheng Yang Date: Thu, 19 Jun 2008 18:38:20 +0800 Subject: [PATCH] kvm: add a script to report hardware feature Signed-off-by: Sheng Yang =2D-- 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 =2D-- /dev/null +++ b/scripts/kvm_report_features @@ -0,0 +1,11 @@ +#!/bin/bash + +report=3D/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 =2D- 1.5.5 --Boundary-00=_VijWI5ft3gtYJeu Content-Type: text/x-diff; charset="utf-8"; name="0001-kvm-add-a-script-to-report-hardware-feature.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-kvm-add-a-script-to-report-hardware-feature.patch" =46rom 5409ef94b0b0b9fd109389fdccd4827e04f9590f Mon Sep 17 00:00:00 2001 =46rom: Sheng Yang Date: Thu, 19 Jun 2008 18:38:20 +0800 Subject: [PATCH] kvm: add a script to report hardware feature Signed-off-by: Sheng Yang =2D-- 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 =2D-- /dev/null +++ b/scripts/kvm_report_features @@ -0,0 +1,11 @@ +#!/bin/bash + +report=3D/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 =2D-=20 1.5.5 --Boundary-00=_VijWI5ft3gtYJeu--