Received: from eggs.gnu.org ([2001:4830:134:3::10]:45969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHb1O-0000tr-4Y for qemu-devel@nongnu.org; Mon, 27 Jun 2016 14:12:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHb1I-0004h7-T3 for qemu-devel@nongnu.org; Mon, 27 Jun 2016 14:12:33 -0400 Date: Mon, 27 Jun 2016 15:12:25 -0300 From: Eduardo Habkost Message-ID: <20160627181225.GR3332@thinpad.lan.raisama.net> References: <1467008386-21995-1-git-send-email-bharata@linux.vnet.ibm.com> <20160627065134.GR4242@voom.fritz.box> <20160627084047.GE27296@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160627084047.GE27296@in.ibm.com> Subject: Re: [Qemu-devel] [PATCH v2 1/1] spapr: Set compat type for CPUs of a core List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bharata B Rao Cc: David Gibson , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, imammedo@redhat.com, thuth@redhat.com On Mon, Jun 27, 2016 at 02:10:48PM +0530, Bharata B Rao wrote: [...] > However as I note in the patch description of the original patch in this > mail, -global is broken for certain cpu type names. > > -cpu host -global host-powerpc64-cpu.compat=power7 > -cpu POWER8 -global POWER8-powerpc64-cpu.compat=power7 > > work, but > > -cpu POWER8E -global POWER8E_v2.1-powerpc64-cpu.compat=power7 > > doesn't since cpu typename has . (dot) and this needs to be fixed. -global accepts the saner QemuOpts syntax, too. So this should work: -global driver=POWER8E_v2.1-powerpc64-cpu,property=compat,value=power7 -- Eduardo