From: Laszlo Ersek <lersek@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] target-i386: wake up processors that receive an SMI
Date: Tue, 19 May 2015 13:57:52 +0200 [thread overview]
Message-ID: <555B2540.60403@redhat.com> (raw)
In-Reply-To: <1432036024-29399-1-git-send-email-pbonzini@redhat.com>
On 05/19/15 13:47, Paolo Bonzini wrote:
> An SMI should definitely wake up a processor in halted state!
> This lets OVMF boot with SMM on multiprocessor systems, although
> it halts very soon after that with a "CpuIndex != BspIndex"
> assertion failure.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> target-i386/cpu.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target-i386/cpu.c b/target-i386/cpu.c
> index 7b6f9e4..4c4496b 100644
> --- a/target-i386/cpu.c
> +++ b/target-i386/cpu.c
> @@ -2982,6 +2982,7 @@ static bool x86_cpu_has_work(CPUState *cs)
> return ((cs->interrupt_request & CPU_INTERRUPT_HARD) &&
> (env->eflags & IF_MASK)) ||
> (cs->interrupt_request & (CPU_INTERRUPT_NMI |
> + CPU_INTERRUPT_SMI |
> CPU_INTERRUPT_INIT |
> CPU_INTERRUPT_SIPI |
> CPU_INTERRUPT_MCE));
>
Great, that's something I should look into then. I'll apply this and
then see what's up with the assertion failure.
Thanks!
Laszlo
prev parent reply other threads:[~2015-05-19 11:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 11:47 [Qemu-devel] [PATCH] target-i386: wake up processors that receive an SMI Paolo Bonzini
2015-05-19 11:57 ` Laszlo Ersek [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=555B2540.60403@redhat.com \
--to=lersek@redhat.com \
--cc=pbonzini@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.