From patchwork Thu Feb 4 15:28:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 77039 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o14FVYCx018295 for ; Thu, 4 Feb 2010 15:31:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932809Ab0BDPbc (ORCPT ); Thu, 4 Feb 2010 10:31:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46355 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932478Ab0BDPbc (ORCPT ); Thu, 4 Feb 2010 10:31:32 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o14FVT6h004844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Feb 2010 10:31:31 -0500 Received: from redhat.com (vpn2-9-138.ams2.redhat.com [10.36.9.138]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id o14FVR8w024761 for ; Thu, 4 Feb 2010 10:31:28 -0500 Date: Thu, 4 Feb 2010 17:28:18 +0200 From: "Michael S. Tsirkin" To: kvm@vger.kernel.org Subject: [PATCH 10/20] virtio: move typedef to qemu-common Message-ID: <20100204152818.GK8461@redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 04 Feb 2010 15:31:35 +0000 (UTC) diff --git a/hw/virtio.h b/hw/virtio.h index 235e7c4..5dae591 100644 --- a/hw/virtio.h +++ b/hw/virtio.h @@ -68,7 +68,6 @@ static inline target_phys_addr_t vring_align(target_phys_addr_t addr, } typedef struct VirtQueue VirtQueue; -typedef struct VirtIODevice VirtIODevice; #define VIRTQUEUE_MAX_SIZE 1024 diff --git a/qemu-common.h b/qemu-common.h index 5e935d1..9a31ce0 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -225,6 +225,7 @@ typedef struct I2SCodec I2SCodec; typedef struct DeviceState DeviceState; typedef struct SSIBus SSIBus; typedef struct EventNotifier EventNotifier; +typedef struct VirtIODevice VirtIODevice; /* CPU save/load. */ void cpu_save(QEMUFile *f, void *opaque);