From patchwork Thu Feb 12 20:36:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Glauber Costa X-Patchwork-Id: 6913 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n1CKaXdC022594 for ; Thu, 12 Feb 2009 20:36:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758768AbZBLUgb (ORCPT ); Thu, 12 Feb 2009 15:36:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758893AbZBLUgb (ORCPT ); Thu, 12 Feb 2009 15:36:31 -0500 Received: from mx2.redhat.com ([66.187.237.31]:37355 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758768AbZBLUga (ORCPT ); Thu, 12 Feb 2009 15:36:30 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n1CKaOFQ017715; Thu, 12 Feb 2009 15:36:24 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n1CKaNuP008513; Thu, 12 Feb 2009 15:36:24 -0500 Received: from localhost.localdomain (virtlab1.virt.bos.redhat.com [10.16.72.21]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n1CKaNkr032141; Thu, 12 Feb 2009 15:36:23 -0500 From: Glauber Costa To: kvm@vger.kernel.org Cc: qemu-devel@nongnu.org, avi@redhat.com Subject: [PATCH] include qemu-kvm.h at all cases. Date: Thu, 12 Feb 2009 15:36:22 -0500 Message-Id: <1234470982-330-1-git-send-email-glommer@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org We don't have any kind of kvm support for linux-user targets, but conditionalizing the inclusion of kvm header make linux-user compilation break. And we don't have a reason to prevent that, do we? Signed-off-by: Glauber Costa --- qemu/gdbstub.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu/gdbstub.c b/qemu/gdbstub.c index c4d4361..a23e916 100644 --- a/qemu/gdbstub.c +++ b/qemu/gdbstub.c @@ -33,8 +33,8 @@ #include "qemu-char.h" #include "sysemu.h" #include "gdbstub.h" -#include "qemu-kvm.h" #endif +#include "qemu-kvm.h" #define MAX_PACKET_LENGTH 4096