All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: Amos Kong <akong@redhat.com>
Cc: Avi Kivity <avi@redhat.com>,
	Michael Goldish <mgoldish@redhat.com>,
	autotest@test.kernel.org, kvm@vger.kernel.org,
	Uri Lublin <ulublin@redhat.com>
Subject: Re: [KVM-AUTOTEST PATCH] KVM test: refactor kvm_config.py
Date: Thu, 10 Feb 2011 10:42:40 -0200	[thread overview]
Message-ID: <1297341760.2605.9.camel@freedom> (raw)
In-Reply-To: <20110210011847.GA1118@t173.nay.redhat.com>

On Thu, 2011-02-10 at 09:18 +0800, Amos Kong wrote:
> On Wed, Feb 09, 2011 at 11:28:56AM +0200, Avi Kivity wrote:
> > On 02/09/2011 03:50 AM, Michael Goldish wrote:
> > >This is a reimplementation of the dict generator.  It is much faster than the
> > >current implementation and uses a very small amount of memory.  Running time
> > >and memory usage scale polynomially with the number of defined variants,
> > >compared to exponentially in the current implementation.
> > >
> > >Instead of regular expressions in the filters, the following syntax is used:
> > >
> > >, means OR
> > >.. means AND
> > >. means IMMEDIATELY-FOLLOWED-BY
> > >
> > >Example:
> > >
> > >only qcow2..Fedora.14, RHEL.6..raw..boot, smp2..qcow2..migrate..ide
> > >
> > 
> > 
> > Is it not possible to keep the old syntax?  Breaking people's
> > scripts is bad.
> 
> we only need convert the configure file, it's not too complex

Yes, the benefits of the new format outnumber the inconveniences. As for
my opinion on the operator, .. is sufficiently clear and expressive to
do most of the stuff we need to do with configuration anyway.


  reply	other threads:[~2011-02-10 12:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09  1:50 [KVM-AUTOTEST PATCH] KVM test: refactor kvm_config.py Michael Goldish
2011-02-09  2:56 ` Cleber Rosa
2011-02-09  9:28 ` Avi Kivity
2011-02-09 10:07   ` Michael Goldish
2011-02-09 10:19     ` Avi Kivity
2011-02-10  1:18   ` Amos Kong
2011-02-10 12:42     ` Lucas Meneghel Rodrigues [this message]
2011-02-09 16:06 ` Ryan Harper
2011-02-09 16:21   ` Eduardo Habkost
2011-02-09 23:31     ` [Autotest] " Ryan Harper
2011-02-10  9:14       ` Michael Goldish
2011-02-10 10:34         ` [Autotest] " Avi Kivity
2011-02-10 10:46           ` Michael Goldish
2011-02-10 10:47             ` Avi Kivity
2011-02-10 10:55               ` Michael Goldish
2011-02-10 10:57                 ` [Autotest] " Michael Goldish
2011-02-10 11:03                   ` Avi Kivity
2011-02-10 11:46                     ` Michael Goldish
2011-02-10 13:45                     ` Eduardo Habkost

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=1297341760.2605.9.camel@freedom \
    --to=lmr@redhat.com \
    --cc=akong@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mgoldish@redhat.com \
    --cc=ulublin@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.