Received: from eggs.gnu.org ([2001:4830:134:3::10]:57265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cH5M3-00020D-KY for qemu-devel@nongnu.org; Wed, 14 Dec 2016 03:56:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cH5M0-0002eN-JR for qemu-devel@nongnu.org; Wed, 14 Dec 2016 03:56:03 -0500 Received: from mail-wj0-f194.google.com ([209.85.210.194]:35251) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cH5M0-0002eH-C5 for qemu-devel@nongnu.org; Wed, 14 Dec 2016 03:56:00 -0500 Received: by mail-wj0-f194.google.com with SMTP id he10so3080533wjc.2 for ; Wed, 14 Dec 2016 00:56:00 -0800 (PST) Sender: Paolo Bonzini References: <1481285870-3396-1-git-send-email-thuth@redhat.com> <1481285870-3396-6-git-send-email-thuth@redhat.com> <192aeaa3-042c-6e37-80b3-7a21453c542f@redhat.com> <604aea80-b160-8cc8-c4e5-231669ca7443@redhat.com> From: Paolo Bonzini Message-ID: Date: Wed, 14 Dec 2016 09:54:53 +0100 MIME-Version: 1.0 In-Reply-To: <604aea80-b160-8cc8-c4e5-231669ca7443@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 05/20] arm: Move CPU files to target/ folder List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , Laurent Vivier , Peter Maydell Cc: Anthony Green , Mark Cave-Ayland , QEMU Developers , Max Filippov , "Edgar E. Iglesias" , Guan Xuetao , Jia Liu , Alexander Graf , Christian Borntraeger , Richard Henderson , Artyom Tarasenko , James Hogan , Eduardo Habkost , Cornelia Huck , David Gibson , Peter Crosthwaite , Bastian Koppelmann , Marcelo Tosatti , Michael Walle , Yongbok Kim , Aurelien Jarno On 14/12/2016 08:59, Thomas Huth wrote: >>> Right, good catch, thanks! Looks like I did it right in the other >>> patches and used target/ppc/cpu.h there for example ... I'll fix it for >>> ARM in the next version of the patch... >> There is the same problem in: m68k, alpha, mips and sh4. >> >> Could you fix them too? > You mean the #inlcude "cpu-qom.h" statements? I think they are less > critical since there is no cpu-qom.h in the generic include folder ... > but yes, better safe than sorry, I'll fix these statements, too. There is no cpu.h either in include/. The only path added is include/, not include/migration/ or include/qom/, so "cpu.h" can only come from targets. "git grep include.*cpu.h hw" shows that a wide majority of inclusions (120 against 9, many of which in hw/arm) doesn't prepend target-foo/. So the patch looks good to me. Paolo