From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Xu <peterx@redhat.com>, qemu-devel@nongnu.org
Cc: imammedo@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2] x86: ioapic: boost default version to 0x20
Date: Fri, 23 Sep 2016 11:29:20 +0200 [thread overview]
Message-ID: <d97e395e-10e6-302f-ba13-490791c041f0@redhat.com> (raw)
In-Reply-To: <1474608795-23058-1-git-send-email-peterx@redhat.com>
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 <peterx@redhat.com>
> ---
>
> 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
prev parent reply other threads:[~2016-09-23 9:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-23 5:33 [Qemu-devel] [PATCH v2] x86: ioapic: boost default version to 0x20 Peter Xu
2016-09-23 9:29 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d97e395e-10e6-302f-ba13-490791c041f0@redhat.com \
--to=pbonzini@redhat.com \
--cc=imammedo@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).