Received: from [140.186.70.92] (port=42851 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdjwN-0000SD-1L for qemu-devel@nongnu.org; Tue, 27 Jul 2010 09:11:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdjwL-0000ap-N6 for qemu-devel@nongnu.org; Tue, 27 Jul 2010 09:11:26 -0400 Received: from sinclair.provo.novell.com ([137.65.248.137]:8764) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdjwL-0000aS-Cq for qemu-devel@nongnu.org; Tue, 27 Jul 2010 09:11:25 -0400 Message-Id: <4C4E8699020000480009AFF8@sinclair.provo.novell.com> Date: Tue, 27 Jul 2010 07:11:21 -0600 From: "Bruce Rogers" Subject: Re: [Qemu-devel] [PATCH] move 'unsafe' to end of caching modes in help References: <4C4704FC020000480009AB6E@sinclair.provo.novell.com> <20100727102632.GI12387@redhat.com> In-Reply-To: <20100727102632.GI12387@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: qemu-devel@nongnu.org >>> On 7/27/2010 at 04:26 AM, "Daniel P. Berrange" = wrote:=20 > On Wed, Jul 21, 2010 at 02:32:28PM -0600, Bruce Rogers wrote: >> Libvirt parses qemu help output to determine qemu features. In = particular >> it probes for the following: "cache=3Dwritethrough|writeback|none". = The >> addition of the unsafe cache mode was inserted within this string, as >> opposed to being added to the end, which impacted libvirt's probe. >> Unbreak libvirt by keeping the existing cache modes intact and add >> unsafe to the end. >=20 > We have inverted the check we made so that instead of doing a positive > check for the new syntax, we do a negative check for the old syntax, > avoiding this problem. Of couse any existing deployed livirt will still > be broken with latest QEMU, but the previous QEMU version string change > mean that is already the case for any libvirt < 0.8.2 >=20 > Daniel This seems like a quite reasonable resolution to me. Thanks! Bruce