From patchwork Tue Sep 25 12:55:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 186815 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 762002C0092 for ; Tue, 25 Sep 2012 23:43:34 +1000 (EST) Received: from localhost ([::1]:34615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGUhG-00045C-2s for incoming@patchwork.ozlabs.org; Tue, 25 Sep 2012 08:57:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGUgX-0002U9-D1 for qemu-devel@nongnu.org; Tue, 25 Sep 2012 08:56:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGUgU-000101-Gl for qemu-devel@nongnu.org; Tue, 25 Sep 2012 08:56:21 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:65329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGUgU-0000zu-BF for qemu-devel@nongnu.org; Tue, 25 Sep 2012 08:56:18 -0400 Received: by pbbrp2 with SMTP id rp2so67620pbb.4 for ; Tue, 25 Sep 2012 05:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; bh=NXoSleSwaCQwcNrtVPW97IrAO0aE5IMCS2O2o3EaDeQ=; b=LdA6tJD4xBXuev67bEJgjgjpcFSB0OLvUl4fGHdygWGmNx7UjHvtC7rUJMnALEzjwO QoMC3hOIMwhHREDi+z+CuS0OVLS1RS9tSBS40Rx7dwxFA/oq3lbfJ1rGQ85SMORtO5I+ vILr5n+Gu7w+b1r21ysXDUY4lPi4TIkmJM4Ju+HkTf1VUzo6KOOm1Hs/fS5n8bB8f6QC r4zF3QH3aiEZKnwLsCxErTczp3erjzK5VsHuGQDCRz5/ny4p+yUNaom4Mr3a3SCGZUzi V9ui7hHjkl5SAr73c84lLqBA3nCM1fxXkDHgwaA/ZMs4qZBFgT9udYCXmHYzovKHsu5m UBWA== Received: by 10.68.138.166 with SMTP id qr6mr45555735pbb.69.1348577777573; Tue, 25 Sep 2012 05:56:17 -0700 (PDT) Received: from yakj.usersys.redhat.com (93-34-169-1.ip50.fastwebnet.it. [93.34.169.1]) by mx.google.com with ESMTPS id py9sm309335pbb.20.2012.09.25.05.56.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Sep 2012 05:56:16 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 25 Sep 2012 14:55:47 +0200 Message-Id: <1348577763-12920-2-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1348577763-12920-1-git-send-email-pbonzini@redhat.com> References: <1348577763-12920-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.45 Subject: [Qemu-devel] [PATCH 01/17] build: do not rely on indirect inclusion of qemu-config.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Some files in the block layer rely on qemu-char.h including qemu-config.h, but the block layer does not need qemu-char.h at all. Clean this up. Signed-off-by: Paolo Bonzini --- block/blkdebug.c | 1 + block/iscsi.c | 1 + qemu-config.h | 1 + 3 file modificati, 3 inserzioni(+) diff --git a/block/blkdebug.c b/block/blkdebug.c index 59dcea0..213789b 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -23,6 +23,7 @@ */ #include "qemu-common.h" +#include "qemu-config.h" #include "block_int.h" #include "module.h" diff --git a/block/iscsi.c b/block/iscsi.c index 0b96165..cf133d5 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -27,6 +27,7 @@ #include #include #include "qemu-common.h" +#include "qemu-config.h" #include "qemu-error.h" #include "block_int.h" #include "trace.h" diff --git a/qemu-config.h b/qemu-config.h index 5557562..daf1539 100644 --- a/qemu-config.h +++ b/qemu-config.h @@ -2,6 +2,7 @@ #define QEMU_CONFIG_H #include "error.h" +#include "qemu-option.h" extern QemuOptsList qemu_fsdev_opts; extern QemuOptsList qemu_virtfs_opts;