All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm@vger.kernel.org
Subject: Re: [PATCH] test: add svm tests
Date: Mon, 02 Aug 2010 14:31:21 -0300	[thread overview]
Message-ID: <1280770281.2552.182.camel@freedom> (raw)
In-Reply-To: <4C56F90D.9090206@redhat.com>

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@redhat.com>
> > ---
> >   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


      reply	other threads:[~2010-08-02 17:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-02 14:56 [PATCH] test: add svm tests Avi Kivity
2010-08-02 16:57 ` Avi Kivity
2010-08-02 17:31   ` Lucas Meneghel Rodrigues [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1280770281.2552.182.camel@freedom \
    --to=lmr@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.