From patchwork Thu Oct 18 13:11:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 12335 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 89FE1241AE for ; Thu, 18 Oct 2012 13:11:49 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 33A6DA18B66 for ; Thu, 18 Oct 2012 13:11:49 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so13185429iej.11 for ; Thu, 18 Oct 2012 06:11:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=2boIJRB5pEaWUcNtSgIdSLahBQuLZV3foHltVuvibjw=; b=HHVEYHWehrb0Wio3bvFONxwQ4Zla2QyveUKufp1m8taz6KgQ2dsdbW9HK8ljtpKztj fn1qcz7LQjx+uTJeKSw7OQUOqPqbsOlIwWKQKNxEycCqGTkD6KH6/V4Oi6ypqb4e0/XA XnWOFtcLsyvSHRk1R3WmfZNIaXEzTCgr+aDlBbi6JaNu2R1sbQZRtKEzi/IjHEI21/eD bPOQy+b950LC2ww4jGLKN4uWVpZNhLhE112+nJyPSaUmh8DNyf3gvAzEI3DMHW0vDYU3 h1Ngfo7pUAPnVopZeos8PtT2bnYLJeKVI3spHaO4My9IM3MBtvgnIq4s+WeiIaWY+VQ1 a+Ig== Received: by 10.50.194.169 with SMTP id hx9mr4616707igc.70.1350565908959; Thu, 18 Oct 2012 06:11:48 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp1069414igt; Thu, 18 Oct 2012 06:11:46 -0700 (PDT) Received: by 10.216.142.139 with SMTP id i11mr13826509wej.19.1350565905445; Thu, 18 Oct 2012 06:11:45 -0700 (PDT) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id fl3si31567910wib.25.2012.10.18.06.11.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Oct 2012 06:11:45 -0700 (PDT) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Authentication-Results: mx.google.com; spf=neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1TOpt0-0006Ed-Gh; Thu, 18 Oct 2012 14:11:42 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Blue Swirl Subject: [PATCH v2 2/8] hw/hw.h: Add include of qemu-log.h Date: Thu, 18 Oct 2012 14:11:36 +0100 Message-Id: <1350565902-23940-3-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1350565902-23940-1-git-send-email-peter.maydell@linaro.org> References: <1350565902-23940-1-git-send-email-peter.maydell@linaro.org> X-Gm-Message-State: ALoCoQk+sl9B55ek6roeuPa3VNCTURcifSmGaEvF32mtjfIMxRMTHOm4AkbNtFhhqfZvYQXbmOdi Add an include of qemu-log.h to hw.h, so that device model code has access to these logging functions without the need to directly include qemu-log.h. Signed-off-by: Peter Maydell --- hw/hw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/hw.h b/hw/hw.h index 16101de..b337ee3 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -12,6 +12,7 @@ #include "irq.h" #include "qemu-file.h" #include "vmstate.h" +#include "qemu-log.h" #ifdef NEED_CPU_H #if TARGET_LONG_BITS == 64