[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [Bug 657329] [NEW] APIC unusable on QEMU
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: [Bug 657329] [NEW] APIC unusable on QEMU |
Date: |
Sat, 09 Oct 2010 16:44:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Am 09.10.2010 15:51, Geoffrey Lee wrote:
> Public bug reported:
>
> The APIC is unusable with QEMU using x86-64 system emulation. Problem
> exists in the latest stable QEMU 0.12.5 as well as the latest git head.
> I am using Mac OS X 10.6, 64-bit version of QEMU.
>
> The QEMU binary was configured with:
>
> ./configure --target-list=i386-softmmu,x86_64-softmmubck-i-search:
> conf_
>
> Problem is that the hw/apic.c file (as well as a few other naughty
> files) rely on the cpu_single_env global - which is set to NULL in cpu-
> exec.c.
>
> Below is a test reading the local APIC version register:
>
> Before taking it out:
>
> (qemu) xp 0xfee00030
> 00000000fee00030: 0x00000000
> (qemu)
>
> After:
>
> (qemu) xp 0xfee00030
> 00000000fee00030: 0x00050011
> (qemu)
Well, the APIC is very well usable for the VCPUs (which run with proper
cpu_single_env set. It is just out of reach for your debugging attempt.
We are working (granted: not actively ATM) on a proper device dump
interface that will allow to inspect the current APIC state as well.
BTW, your "fix" won't work if you enable io-thread support.
Jan
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |