From: Paolo Bonzini <pbonzini@redhat.com>
To: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>, qemu-devel@nongnu.org
Cc: mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH] apic: reset apic_delivered global variable on machine reset
Date: Mon, 6 Feb 2017 10:50:31 +0100 [thread overview]
Message-ID: <e9e89b38-c964-8c9d-19e0-ae8e88486d7b@redhat.com> (raw)
In-Reply-To: <20170131114054.276.62201.stgit@PASHA-ISP>
On 31/01/2017 12:40, Pavel Dovgalyuk wrote:
> This patch adds call to apic_reset_irq_delivered when the virtual
> machine is reset.
>
> Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
> ---
> hw/intc/apic_common.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c
> index 17df24c..cda3e9c 100644
> --- a/hw/intc/apic_common.c
> +++ b/hw/intc/apic_common.c
> @@ -251,6 +251,8 @@ static void apic_reset_common(DeviceState *dev)
> s->apicbase = APIC_DEFAULT_ADDRESS | bsp | MSR_IA32_APICBASE_ENABLE;
> s->id = s->initial_apic_id;
>
> + apic_reset_irq_delivered();
> +
> s->vapic_paddr = 0;
> info->vapic_base_update(s);
>
>
Queued, thanks.
Paolo
prev parent reply other threads:[~2017-02-06 9:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 11:40 [Qemu-devel] [PATCH] apic: reset apic_delivered global variable on machine reset Pavel Dovgalyuk
2017-02-06 9:50 ` 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=e9e89b38-c964-8c9d-19e0-ae8e88486d7b@redhat.com \
--to=pbonzini@redhat.com \
--cc=mst@redhat.com \
--cc=pavel.dovgaluk@ispras.ru \
--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).