From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55023 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4aen-00048W-3W for qemu-devel@nongnu.org; Sat, 09 Oct 2010 10:44:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4aem-0004yv-19 for qemu-devel@nongnu.org; Sat, 09 Oct 2010 10:44:16 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:56276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4ael-0004yi-Mo for qemu-devel@nongnu.org; Sat, 09 Oct 2010 10:44:15 -0400 Message-ID: <4CB07FB6.6070102@web.de> Date: Sat, 09 Oct 2010 16:44:06 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <20101009135148.4804.78327.malonedeb@palladium.canonical.com> <20101009135148.4804.78327.malonedeb@palladium.canonical.com> In-Reply-To: <20101009135148.4804.78327.malonedeb@palladium.canonical.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF5225095A3972825395A9B92" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [Bug 657329] [NEW] APIC unusable on QEMU List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 657329 <657329@bugs.launchpad.net> Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF5225095A3972825395A9B92 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 09.10.2010 15:51, Geoffrey Lee wrote: > Public bug reported: >=20 > 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. >=20 > The QEMU binary was configured with: >=20 > ./configure --target-list=3Di386-softmmu,x86_64-softmmubck-i-search: > conf_ >=20 > 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. >=20 > Below is a test reading the local APIC version register: >=20 > Before taking it out: >=20 > (qemu) xp 0xfee00030 > 00000000fee00030: 0x00000000 > (qemu) >=20 > After: >=20 > (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 --------------enigF5225095A3972825395A9B92 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkywf7YACgkQitSsb3rl5xQRPACfWY2eYGrSqtGKUCugHCIO55Go fFsAnj5+MtWtzyPg1a37a7ULT4uPpFsk =CKLK -----END PGP SIGNATURE----- --------------enigF5225095A3972825395A9B92--