[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Can not relocate APIC registers address from 0xFEE00000
From: |
Philippe Mathieu-Daudé |
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 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
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!
>