From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: ddm <hope2hope@163.com>,
qemu-devel@nongnu.org,
Richard Henderson <richard.henderson@linaro.org>,
Eduardo Habkost <ehabkost@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] Can not relocate APIC registers address from 0xFEE00000 to self-defined physical addr
Date: Wed, 10 Jul 2019 17:41:09 +0200 [thread overview]
Message-ID: <adefe3b6-f8ff-5010-58e5-45a4445a648f@redhat.com> (raw)
In-Reply-To: <c49fcb4.af77.16bdae2795a.Coremail.hope2hope@163.com>
Cc'ing x86 ppl
On 7/10/19 9:56 AM, ddm wrote:
> hi guys,
>
>
> I wrote a Small OS (based on linux0.11) support SMP, and it can run well on bochs,
> Now i want to migrate it to Qemu, i found that when i use wrmsr command to relocate the APIC regsiters addr to a new physical address,
> it can not work, i can not initial APIC timer to trigger timer interrupt by the new physical addr just i relocate, but when use rdmsr to get APIC base addr has been changed to the new physical address, it's strange.
> In SMP env, if can not relocate APIC registers addr for each processor with different addr, it will result in conflict.
> So, i want to know qemu4.0 whether support remaping APIC base address by wrmsr command?
> if support, please tell me how to remap APIC base addr for each processor.
>
>
> Thank you!
>
next prev parent reply other threads:[~2019-07-10 15:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-10 7:56 [Qemu-devel] Can not relocate APIC registers address from 0xFEE00000 to self-defined physical addr ddm
2019-07-10 15:41 ` Philippe Mathieu-Daudé [this message]
2019-07-10 15:58 ` Paolo Bonzini
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=adefe3b6-f8ff-5010-58e5-45a4445a648f@redhat.com \
--to=philmd@redhat.com \
--cc=ehabkost@redhat.com \
--cc=hope2hope@163.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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).