From patchwork Tue Mar 5 17:17:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 225115 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 C5B6D2C0345 for ; Wed, 6 Mar 2013 04:44:10 +1100 (EST) Received: from localhost ([::1]:55669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCvXc-0002Xg-ID for incoming@patchwork.ozlabs.org; Tue, 05 Mar 2013 12:20:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCvVE-0007UF-8B for qemu-devel@nongnu.org; Tue, 05 Mar 2013 12:18:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCvVC-0004GK-Q6 for qemu-devel@nongnu.org; Tue, 05 Mar 2013 12:18:12 -0500 Received: from mail-qa0-f44.google.com ([209.85.216.44]:37827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCvVC-0004GD-Mb for qemu-devel@nongnu.org; Tue, 05 Mar 2013 12:18:10 -0500 Received: by mail-qa0-f44.google.com with SMTP id bv4so2033602qab.17 for ; Tue, 05 Mar 2013 09:18:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=r5md3pACj3k1PL0+qO+SndTfZ6EgEoUuzJ9RC1oXwq8=; b=aPU3iRyYkQU6M8NTsG77cU8HHgqfEdR4EYOAfb9W+WTcedTbOga7+VWmGULGjo969S Wrq7xxgaw146xy2XozucSYU6F6xrGfCDUFOUXsNrp3A/nr9Af9JxK+FRM9gGCAQIWhfA fn08djGohlZvXpyc+iSVWs27XjVIyYcPqsfLxm2HoGjA6pUBMXZ4fPkJSXytjhnyM9Ck SqCTEn8Gm/aFFbvMHDQ5hb1FKUzll3FtzhIpzXIczBCyEXQT/EEXnXfyCMJE8O8iwkrX wUDixdMDwVsPKGXwprgswjxf20JOZr6ZllhLBHK8zzs5TWoegUxR7DsU0OM+KgbitJwf nGiQ== X-Received: by 10.224.186.83 with SMTP id cr19mr39953343qab.51.1362503890410; Tue, 05 Mar 2013 09:18:10 -0800 (PST) Received: from yakj.usersys.redhat.com (93-34-176-20.ip50.fastwebnet.it. [93.34.176.20]) by mx.google.com with ESMTPS id ku2sm5717907qeb.4.2013.03.05.09.18.09 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 05 Mar 2013 09:18:09 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 5 Mar 2013 18:17:32 +0100 Message-Id: <1362503865-27292-6-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1362503865-27292-1-git-send-email-pbonzini@redhat.com> References: <1362503865-27292-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.216.44 Subject: [Qemu-devel] [PATCH 05/18] virtio-9p: use CONFIG_VIRTFS, not CONFIG_LINUX 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 Signed-off-by: Paolo Bonzini --- hw/virtio-pci.h | 2 +- hw/virtio.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/virtio-pci.h b/hw/virtio-pci.h index d24957c..e775525 100644 --- a/hw/virtio-pci.h +++ b/hw/virtio-pci.h @@ -75,7 +75,7 @@ struct VirtIOPCIProxy { VirtIOBlkConf blk; NICConf nic; uint32_t host_features; -#ifdef CONFIG_LINUX +#ifdef CONFIG_VIRTFS V9fsConf fsconf; #endif virtio_serial_conf serial; diff --git a/hw/virtio.h b/hw/virtio.h index 1e206b8..ae43d25 100644 --- a/hw/virtio.h +++ b/hw/virtio.h @@ -19,7 +19,7 @@ #include "qdev.h" #include "sysemu/sysemu.h" #include "qemu/event_notifier.h" -#ifdef CONFIG_LINUX +#ifdef CONFIG_VIRTFS #include "9p.h" #endif @@ -252,7 +252,7 @@ typedef struct VirtIOSCSIConf VirtIOSCSIConf; VirtIODevice *virtio_scsi_init(DeviceState *dev, VirtIOSCSIConf *conf); typedef struct VirtIORNGConf VirtIORNGConf; VirtIODevice *virtio_rng_init(DeviceState *dev, VirtIORNGConf *conf); -#ifdef CONFIG_LINUX +#ifdef CONFIG_VIRTFS VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf); #endif