From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvbBd-00050i-Hk for qemu-devel@nongnu.org; Sat, 06 Jul 2013 18:42:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvbBc-0005iM-EU for qemu-devel@nongnu.org; Sat, 06 Jul 2013 18:42:37 -0400 MIME-Version: 1.0 In-Reply-To: <51D87BC6.2090600@suse.de> References: <1372536117-28167-1-git-send-email-afaerber@suse.de> <1372536117-28167-34-git-send-email-afaerber@suse.de> <51D87BC6.2090600@suse.de> Date: Sun, 7 Jul 2013 02:42:35 +0400 Message-ID: From: Max Filippov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH RFC qom-cpu 33/41] cpu: Turn cpu_get_phys_page_debug() into a CPUClass hook List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Andreas_F=C3=A4rber?= Cc: Peter Maydell , Anthony Green , qemu-devel@nongnu.org, Alexander Graf , Blue Swirl , Michael Walle , qemu-ppc , Paul Brook , "Edgar E. Iglesias" , jan.kiszka@web.de, Guan Xuetao , Aurelien Jarno , Richard Henderson On Sun, Jul 7, 2013 at 12:19 AM, Andreas F=C3=A4rber wro= te: > Am 29.06.2013 22:01, schrieb Andreas F=C3=A4rber: >> Since all targets now assign a softmmu-only field, we can drop helpers >> cpu_class_set_{do_unassigned_access,vmsd}() and device_class_set_vmsd(). >> >> Prepares for changing cpu_memory_rw_debug() argument to CPUState. >> >> Signed-off-by: Andreas F=C3=A4rber > > The following fixup for xtensa is required. This demonstrates how > dangerous it is to pass void* arguments directly into functions - please > always use a typed local variable to enforce type checks. With this fix it works, so for xtensa part Acked-by: Max Filippov My question about having configuration pointer cached in the env still remains though. --=20 Thanks. -- Max