Received: from eggs.gnu.org ([2001:4830:134:3::10]:53547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk8Qz-0006O3-Vr for qemu-devel@nongnu.org; Wed, 14 Sep 2016 07:32:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bk8Qv-0000UI-03 for qemu-devel@nongnu.org; Wed, 14 Sep 2016 07:32:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk8Qu-0000U8-R6 for qemu-devel@nongnu.org; Wed, 14 Sep 2016 07:32:52 -0400 References: <1473847310-129729-1-git-send-email-imammedo@redhat.com> <1473847310-129729-2-git-send-email-imammedo@redhat.com> From: Marcel Apfelbaum Message-ID: Date: Wed, 14 Sep 2016 14:32:49 +0300 MIME-Version: 1.0 In-Reply-To: <1473847310-129729-2-git-send-email-imammedo@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] pc: fix regression introduced by adding 2.8 machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov , qemu-devel@nongnu.org Cc: mst@redhat.com, longpeng2@huawei.com, ehabkost@redhat.com On 09/14/2016 01:01 PM, Igor Mammedov wrote: > commit (a4d3c834 pc: Add 2.8 machine) didn't ammend > PC_COMPAT_2_6 to include PC_COMPAT_2_7 which results in > > {\ > .driver = "virtio-pci",\ > .property = "page-per-vq",\ > .value = "on",\ > }, > > and > > {\ > .driver = TYPE_X86_CPU,\ > .property = "l3-cache",\ > .value = "off",\ > }, > > being ignored and as result change PC_COMPAT_2_6 behaviour. > > Signed-off-by: Igor Mammedov > --- > include/hw/i386/pc.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h > index ebba151..d5654ab 100644 > --- a/include/hw/i386/pc.h > +++ b/include/hw/i386/pc.h > @@ -381,6 +381,7 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *); > HW_COMPAT_2_7 > > #define PC_COMPAT_2_6 \ > + PC_COMPAT_2_7 \ > HW_COMPAT_2_6 \ > {\ > .driver = "fw_cfg_io",\ > Reviewed-by: Marcel Apfelbaum Thanks, Marcel