qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] x86: ioapic: boost default version to 0x20


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2] x86: ioapic: boost default version to 0x20
Date: Fri, 23 Sep 2016 11:29:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0


On 23/09/2016 07:33, Peter Xu wrote:
> It's 2.8 now, and maybe it's time to switch IOAPIC default version to
> 0x20.
> 
> Signed-off-by: Peter Xu <address@hidden>
> ---
> 
> V2:
> - keep compatible for qemu version <= 2.7 [Paolo]
> 
>  hw/intc/ioapic.c    | 2 +-
>  include/hw/compat.h | 4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/hw/intc/ioapic.c b/hw/intc/ioapic.c
> index 31791b0..fd9208f 100644
> --- a/hw/intc/ioapic.c
> +++ b/hw/intc/ioapic.c
> @@ -416,7 +416,7 @@ static void ioapic_realize(DeviceState *dev, Error **errp)
>  }
>  
>  static Property ioapic_properties[] = {
> -    DEFINE_PROP_UINT8("version", IOAPICCommonState, version, 0x11),
> +    DEFINE_PROP_UINT8("version", IOAPICCommonState, version, 0x20),
>      DEFINE_PROP_END_OF_LIST(),
>  };
>  
> diff --git a/include/hw/compat.h b/include/hw/compat.h
> index a1d6694..46412b2 100644
> --- a/include/hw/compat.h
> +++ b/include/hw/compat.h
> @@ -6,6 +6,10 @@
>          .driver   = "virtio-pci",\
>          .property = "page-per-vq",\
>          .value    = "on",\
> +    },{\
> +        .driver   = "ioapic",\
> +        .property = "version",\
> +        .value    = "0x11",\
>      },
>  
>  #define HW_COMPAT_2_6 \
> 

Queued, thanks.

Paolo



reply via email to

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