qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/2] pc: fix regression introduced by adding 2.8


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] [PATCH 1/2] pc: fix regression introduced by adding 2.8 machine
Date: Wed, 14 Sep 2016 14:32:49 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

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 <address@hidden>
---
 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 <address@hidden>

Thanks,
Marcel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]