Received: from eggs.gnu.org ([2001:4830:134:3::10]:57516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8meR-0007fY-Tx for qemu-devel@nongnu.org; Wed, 18 Apr 2018 08:57:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8meO-0002AL-8W for qemu-devel@nongnu.org; Wed, 18 Apr 2018 08:57:32 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56478 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8meO-0002AH-3W for qemu-devel@nongnu.org; Wed, 18 Apr 2018 08:57:28 -0400 References: <20180417224054.26363-1-lersek@redhat.com> <20180418060243.iafg4wj5gwsruop5@sirius.home.kraxel.org> <20180418090457.dqg5gxnzobdofkao@sirius.home.kraxel.org> <20180418115734.GG27579@redhat.com> <20180418123002.7hiu2hr6rdxvab5u@sirius.home.kraxel.org> <20180418123212.GK27579@redhat.com> From: Laszlo Ersek Message-ID: Date: Wed, 18 Apr 2018 14:57:24 +0200 MIME-Version: 1.0 In-Reply-To: <20180418123212.GK27579@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [qemu RFC v2] qapi: add "firmware.json" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "=?UTF-8?Q?Daniel_P._Berrang=c3=a9?=" , Gerd Hoffmann Cc: qemu-devel@nongnu.org, libvir-list@redhat.com, Alexander Graf , Ard Biesheuvel , David Gibson , Eric Blake , Gary Ching-Pang Lin , Kashyap Chamarthy , Markus Armbruster , Michael Roth , Michal Privoznik , Paolo Bonzini , Peter Krempa , Peter Maydell , Thomas Huth On 04/18/18 14:32, Daniel P. Berrang=C3=A9 wrote: > On Wed, Apr 18, 2018 at 02:30:02PM +0200, Gerd Hoffmann wrote: >> Hi, >> >>> So now the question is should this string be declared to be >>> glob format, or regex format. Regex is more flexible, but >>> regex syntax is ill-defined because every regex engine is >>> slightly different. >> >> I'd go for glob. It's good enough for the version number and >> most likely we don't need anything else. >> >> And the machine types are a list, so there is still the option >> to just have multiple entries in case it turns out we need >> something glob can't cover with a single entry. >=20 > Ok, works for me. Me too, thanks. Laszlo