Received: from eggs.gnu.org ([2001:4830:134:3::10]:37160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afrsc-0003Ej-Vr for qemu-devel@nongnu.org; Tue, 15 Mar 2016 12:31:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afrsa-0002pA-8y for qemu-devel@nongnu.org; Tue, 15 Mar 2016 12:31:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afrsa-0002p6-4C for qemu-devel@nongnu.org; Tue, 15 Mar 2016 12:31:32 -0400 From: Markus Armbruster References: <1458054221-16923-1-git-send-email-armbru@redhat.com> <1458054221-16923-15-git-send-email-armbru@redhat.com> <56E8305B.2000300@redhat.com> Date: Tue, 15 Mar 2016 17:31:28 +0100 In-Reply-To: <56E8305B.2000300@redhat.com> (Paolo Bonzini's message of "Tue, 15 Mar 2016 16:55:07 +0100") Message-ID: <87r3fbsnxb.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 14/15] Don't include qemu-common.h in headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org Paolo Bonzini writes: > On 15/03/2016 16:03, Markus Armbruster wrote: >> diff --git a/include/hw/hw.h b/include/hw/hw.h >> index 2cb69d5..151d65e 100644 >> --- a/include/hw/hw.h >> +++ b/include/hw/hw.h >> @@ -15,6 +15,7 @@ >> #include "qemu/module.h" >> >> #ifdef NEED_CPU_H >> +#include "cpu.h" >> #if TARGET_LONG_BITS == 64 >> #define qemu_put_betl qemu_put_be64 >> #define qemu_get_betl qemu_get_be64 > > This actually makes things somewhat worse. This dependency of hw/hw.h > on NEED_CPU_H should go away altogether. > > Would it be okay to stick to patches 1-13 for now? Yes, as long as "for now" approximately means "until 2.7 opens up". Proposed plan: I pursue 01-13 now, you rebase your need-cpu-h branch onto this work when it's ready, I rebase 14-15 onto yours, and carry on. Makes sense?