On Thursday 19 June 2008 18:44:37 Yang, Sheng wrote: > 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
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 <[EMAIL PROTECTED]> > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
