[PATCH] kvm: ensure that debugfs entries have been created

2011-12-14 Thread Hamo
by checking the return value from kvm_init_debug, we can ensure that the entries under debugfs for KVM have been created correctly. Signed-off-by: Yang Bai --- virt/kvm/kvm_main.c | 26 +++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/virt/kvm/kvm_main

[PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS}

2011-12-23 Thread hamo . by
From: Yang Bai commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checks device assignment permission but forgot to include the definition of MAY_{READ,WRITE,ACCESS} in linux/fs.h Include it and this fix the build error here: http://buildbot.b1-systems.de/kvm/builders/i386/builds/401 Signed-off-by:

Re: [PATCH] kvm: ensure that debugfs entries have been created

2011-12-19 Thread Yang Hamo Bai
On Thu, Dec 15, 2011 at 2:23 PM, Hamo wrote: > by checking the return value from kvm_init_debug, we > can ensure that the entries under debugfs for KVM have > been created correctly. > > Signed-off-by: Yang Bai > --- >  virt/kvm/kvm_main.c |   26 +++--- &

Re: [RFC PATCH 4/4] virt: Introduce regression testing infrastructure

2011-12-23 Thread Yang Hamo Bai
time.strftime('%Y-%m-%d-%H.%M.%S')) > +    record_result(average1, average2, f) > +    commands.getoutput("rm -f /tmp/netperf-avg-*") > + > + > +if __name__ == "__main__": > +    if len(sys.argv) < 3: > +        print 'Usage: python %s "$resul