Received: from eggs.gnu.org ([2001:4830:134:3::10]:36779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8jYL-0005kh-30 for qemu-devel@nongnu.org; Fri, 03 Jun 2016 03:29:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8jYJ-0007Ux-5W for qemu-devel@nongnu.org; Fri, 03 Jun 2016 03:29:56 -0400 Date: Fri, 3 Jun 2016 09:30:09 +0200 From: Peter Krempa Message-ID: <20160603073009.GG5194@andariel.pipo.sk> References: <1464799050-11002-1-git-send-email-imammedo@redhat.com> <1464799050-11002-5-git-send-email-imammedo@redhat.com> <20160601184620.GE13503@thinpad.lan.raisama.net> <20160602142222.307ec4ee@nial.brq.redhat.com> <20160602145322.GG19055@thinpad.lan.raisama.net> <20160602150506.GF5194@andariel.pipo.sk> <20160602183104.3720c55d@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20160602183104.3720c55d@nial.brq.redhat.com> Subject: Re: [Qemu-devel] [PATCH RFC 4/8] target-i386: cpu: consolidate calls of object_property_parse() in x86_cpu_parse_featurestr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Eduardo Habkost , qemu-devel@nongnu.org, peter.maydell@linaro.org, pbonzini@redhat.com, rth@twiddle.net, blauwirbel@gmail.com, mark.cave-ayland@ilande.co.uk, qemu-arm@nongnu.org, libvir-list@redhat.com, Jiri Denemark On Thu, Jun 02, 2016 at 18:31:04 +0200, Igor Mammedov wrote: > On Thu, 2 Jun 2016 17:05:06 +0200 > Peter Krempa wrote: > > On Thu, Jun 02, 2016 at 11:53:22 -0300, Eduardo Habkost wrote: > > > On Thu, Jun 02, 2016 at 02:22:22PM +0200, Igor Mammedov wrote: [...] > > I couldn't find anything regarding xlevel (so we might actually not > > support it at all), but we indeed do limit the hv_spinlock count: > >=20 > >=20 > > if (def->hyperv_spinlocks < 0xFFF) { > > virReportError(VIR_ERR_XML_ERROR, "%s", > > _("HyperV spinlock retry count must = be " > > "at least 4095")); > > goto error; > > } > >=20 > > Peter > Peter, > Does libvirt still uses -cpu xxx,+feat1,-feat2 syntax > or canonical property syntax there feat1=3Don,feat2=3Doff We use the legacy one: -cpu core2duo,+ds,+acpi,+ht,+tm,+ds_cpl, ... and -cpu 'qemu32,hv_relaxed,hv_vapic, ...=20 for the hyperv features. We probably can switch to the new one if there's a reasonable way how to detect that qemu is supporting the new one. Peter