From patchwork Wed Mar 16 10:46:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 8598321 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BC1B4C0553 for ; Wed, 16 Mar 2016 11:06:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22B4E202BE for ; Wed, 16 Mar 2016 11:06:59 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C81E2022A for ; Wed, 16 Mar 2016 11:06:58 +0000 (UTC) Received: from localhost ([::1]:55099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag9I1-0004nA-KV for patchwork-qemu-devel@patchwork.kernel.org; Wed, 16 Mar 2016 07:06:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag8zM-0003Vr-RZ for qemu-devel@nongnu.org; Wed, 16 Mar 2016 06:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ag8zI-0002Co-UF for qemu-devel@nongnu.org; Wed, 16 Mar 2016 06:47:40 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:33713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag8zI-0002Cc-G1 for qemu-devel@nongnu.org; Wed, 16 Mar 2016 06:47:36 -0400 Received: by mail-wm0-x232.google.com with SMTP id l68so183850884wml.0 for ; Wed, 16 Mar 2016 03:47:36 -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:in-reply-to:references; bh=rGJwA6+mnHYQ1JL4Klz7DWNjxRAqZAEo7iZK8Ivs7XU=; b=ygIAE/YFmNkIcsirYsysTGeW/qWyh0fKSqGnLMvob5GoGQXmARA54GwhBehNx1MTFq gZCpqEOkRRfCf4xz5Cw7qwdt+p/FA+l63JUN19AvVvNZb7aNUOpGUTNUbhMi+4NYcm2A 8cVQuBPbMo4puszViZVh5NXASSAGzaT+b4JVeBWrT3xNiyCNgimRonBW9jqFePgg7xpe G0E09Nv1kzlwNV2QnN5eF4NnMXUSOFfwrLezDX3K9dG1dkLxJkNyshQdfnrYOBMAKhmn dp6aoildBhqrMoIVDqre3qTt+jBxRAC+eVOu0LOUmPuW0lX5nsbh2x9qUqOoOGOHwOm4 mkdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=rGJwA6+mnHYQ1JL4Klz7DWNjxRAqZAEo7iZK8Ivs7XU=; b=mSmAb8/QMeMjVcX+A85c4r+fpZ+4K2l5ZT8cMuH4lQnRtDLVGrBln8n1vViBeV+ja0 TWf4P7WPSZp3uavxKIgXThu0ShhI6Jyh7SM/JJoomfFDl64q+lzITbEUooApd4EFfjuU 0W7kmW+rm8N27R2JTt7XIjxkhFzo9VmuU/ZBEQZrD92oGVNQHewTewZy3LRSkqw3g4ru Tc2cHd69v9ypbxIsC20OjG3SqFRSZrI3IDvFxACI3Ew5F9US0YbaV/SfWI1bR20VAjD9 PmUsrJq0Upfdj2eO3ZkEG8GRbU7uYj2mIqWU0GOHxFjXqGKDplwv9DwpGCZL788YKblF gg8w== X-Gm-Message-State: AD7BkJIkphBt1fcyArv74AXMN1quUAsX1CJk698431cbFP/uohCscxgn98mVNPqWvnPjCg== X-Received: by 10.194.174.231 with SMTP id bv7mr3012305wjc.17.1458125255888; Wed, 16 Mar 2016 03:47:35 -0700 (PDT) Received: from 640k.lan (94-39-161-17.adsl-ull.clienti.tiscali.it. [94.39.161.17]) by smtp.gmail.com with ESMTPSA id wr2sm2418094wjc.49.2016.03.16.03.47.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Mar 2016 03:47:35 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 16 Mar 2016 11:46:40 +0100 Message-Id: <1458125219-131698-31-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1458125219-131698-1-git-send-email-pbonzini@redhat.com> References: <1458125219-131698-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::232 Subject: [Qemu-devel] [PATCH 30/49] explicitly include linux/kvm.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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Paolo Bonzini --- hw/i386/kvm/i8254.c | 1 + hw/i386/kvm/pci-assign.c | 1 + hw/vfio/common.c | 3 +++ 3 files changed, 5 insertions(+) diff --git a/hw/i386/kvm/i8254.c b/hw/i386/kvm/i8254.c index a4462e5..734992e 100644 --- a/hw/i386/kvm/i8254.c +++ b/hw/i386/kvm/i8254.c @@ -29,6 +29,7 @@ #include "hw/timer/i8254.h" #include "hw/timer/i8254_internal.h" #include "sysemu/kvm.h" +#include "linux/kvm.h" #define KVM_PIT_REINJECT_BIT 0 diff --git a/hw/i386/kvm/pci-assign.c b/hw/i386/kvm/pci-assign.c index bf425a2..db2cbd2 100644 --- a/hw/i386/kvm/pci-assign.c +++ b/hw/i386/kvm/pci-assign.c @@ -33,6 +33,7 @@ #include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/pci/msi.h" +#include "linux/kvm.h" #include "kvm_i386.h" #include "hw/pci/pci-assign.h" diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 96ccb79..f8d6572 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -30,6 +30,9 @@ #include "hw/hw.h" #include "qemu/error-report.h" #include "sysemu/kvm.h" +#ifdef CONFIG_KVM +#include "linux/kvm.h" +#endif #include "trace.h" struct vfio_group_head vfio_group_list =