kvm: add a script to report hardware feature
PATCH 1/1 kvm: add a script to report hardware feature
From 5409ef94b0b0b9fd109389fdccd4827e04f9590f Mon Sep 17 00:00:00 2001
From: Sheng Yang <[email protected]>
Date: Thu, 19 Jun 2008 18:38:20 +0800
Subject: [PATCH] kvm: add a script to report hardware feature
--- scripts/kvm_report_features | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100755 scripts/kvm_report_features
scripts/kvm_report_features new file +11 -0
@@ -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
From 5409ef94b0b0b9fd109389fdccd4827e04f9590f Mon Sep 17 00:00:00 2001
From: Sheng Yang <[email protected]>
Date: Thu, 19 Jun 2008 18:38:20 +0800
Subject: [PATCH] kvm: add a script to report hardware feature
--- scripts/kvm_report_features | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100755 scripts/kvm_report_features
scripts/kvm_report_features new file +11 -0
@@ -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
Signature · 1 line
1.5.5
Quoted 4 lines · Sheng
From
5409ef94b0b0b9fd109389fdccd4827e04f9590fMon Sep 17 00:00:00 2001
From: Sheng Yang <[email protected]>
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. :)
Signature · 2 lines
Thanks Yang, Sheng
Quoted 27 lines
Signed-off-by Sheng Yang <[email protected]>--- scripts/kvm_report_features | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100755 scripts/kvm_report_featuresscripts/kvm_report_features new file +11
-1@@ -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