From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3Xqb-0006wf-Ig for qemu-devel@nongnu.org; Tue, 03 Jun 2008 10:50:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3Xqa-0006ug-Mk for qemu-devel@nongnu.org; Tue, 03 Jun 2008 10:50:48 -0400 Received: from [199.232.76.173] (port=32965 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3Xqa-0006uR-CU for qemu-devel@nongnu.org; Tue, 03 Jun 2008 10:50:48 -0400 Received: from gecko.sbs.de ([194.138.37.40]:22604) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K3Xqa-0001uD-Hu for qemu-devel@nongnu.org; Tue, 03 Jun 2008 10:50:48 -0400 Received: from mail2.sbs.de (localhost [127.0.0.1]) by gecko.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id m53Eoj5u019022 for ; Tue, 3 Jun 2008 16:50:45 +0200 Received: from [139.25.109.167] (mchn012c.mchp.siemens.de [139.25.109.167] (may be forged)) by mail2.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id m53EojL3013377 for ; Tue, 3 Jun 2008 16:50:45 +0200 Message-ID: <48455A44.6000404@siemens.com> Date: Tue, 03 Jun 2008 16:50:44 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] KQEMU: userspace updates of descriptor tables Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, (my) question of the day: What happens to the KQEMU's shadow GDT and LDT if the guest modifies their content (and not their locations) while QEMU is running in emulator mode in userspace? I just enforced dt_changed=1 in update_dt_cache(), and this took me a few steps further in the bring-up of our special guest OS under KQEMU. In theory, this requires some flag in the kqemu_cpu_state to signal such events down on KQEMU_EXEC - given userspace keeps track of all changes already. Is there such a bit? Haven't looked into that details yet. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux