On Mon, 2010-08-02 at 19:57 +0300, Avi Kivity wrote: > On 08/02/2010 05:56 PM, Avi Kivity wrote: > > Test behaviour both with svm enabled and with svm disabled. > > > > Signed-off-by: Avi Kivity<avi@xxxxxxxxxx> > > --- > > kvm/test/x86/unittests.cfg | 10 ++++++++++ > > 1 files changed, 10 insertions(+), 0 deletions(-) > > > > diff --git a/kvm/test/x86/unittests.cfg b/kvm/test/x86/unittests.cfg > > index f39c5bd..7796e41 100644 > > --- a/kvm/test/x86/unittests.cfg > > +++ b/kvm/test/x86/unittests.cfg > > @@ -53,3 +53,13 @@ file = xsave.flat > > > > [rmap_chain] > > file = rmap_chain.flat > > + > > +[svm] > > +file = svm.flat > > +smp = 2 > > +extra_params = -enable-nesting -cpu qemu64,+svm > > + > > +[svm-disabled] > > +file = svm.flat > > +smp = 2 > > +extra_params = -cpu qemu64,-svm > > This doesn't appear to work. The test is run, but smp and extra_params > are ignored: > > 08/02 19:51:05 DEBUG| kvm_vm:0637| Running qemu command: > /root/autotest/client/tests/kvm/qemu -name 'vm1' -monitor > unix:'/tmp/monitor-humanmonitor1-20100802-194922-fika',server,nowait > -serial unix:'/tmp/serial-20100802-194922-fika',server,nowait -m 512 > -kernel '/root/autotest/client/tests/kvm/unittests/svm.flat' -vnc :0 > -chardev file,id=testlog,path=/tmp/testlog-20100802-194922-fika -device > testdev,chardev=testlog -S Ok, my fault, I have fixed it and just sent a patch upstream. Will commit soon and rebase the internal test tree afterwards. Sorry and thanks for pointing this out! Lucas -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html