From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfWax-0008Dn-7O for qemu-devel@nongnu.org; Thu, 23 May 2013 10:34:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfWau-0006qN-Ar for qemu-devel@nongnu.org; Thu, 23 May 2013 10:34:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfWau-0006qH-2V for qemu-devel@nongnu.org; Thu, 23 May 2013 10:34:16 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4NEYFb2007409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 23 May 2013 10:34:15 -0400 Received: from redhat.com (vpn-202-161.tlv.redhat.com [10.35.202.161]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id r4NEYDKP004714 for ; Thu, 23 May 2013 10:34:14 -0400 Date: Thu, 23 May 2013 17:34:38 +0300 From: "Michael S. Tsirkin" Message-ID: <1369319649-23900-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH 00/10] virtio: import headers from linux List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I'm working on adding new virtio layout to qemu. The job is complicated by the fact that qemu has its own copy of the virtio headers, sometimes with slightly different names and structure. Import headers from linux instead. Michael S. Tsirkin (10): scripts/update-linux-headers.sh: add virtio virtio-9p: switch to linux-headers virtio-net, eth: use linux-headers virtio-blk: switch to linux-headers virtio-balloon: switch to linux-headers virtio-rng: switch to linux-headers virtio-console: switch to linux-headers virtio: add virtio_ids from linux-headers virtio-pci: switch to linux-headers virtio: use ring structure from linux-headers hw/9pfs/virtio-9p.h | 13 +-- hw/block/dataplane/virtio-blk.c | 12 +-- hw/block/virtio-blk.c | 10 +- hw/virtio/virtio-balloon.c | 2 +- hw/virtio/virtio-pci.c | 49 +-------- hw/virtio/virtio.c | 23 +--- include/hw/virtio/virtio-balloon.h | 37 +------ include/hw/virtio/virtio-blk.h | 86 +-------------- include/hw/virtio/virtio-net.h | 138 +----------------------- include/hw/virtio/virtio-rng.h | 5 +- include/hw/virtio/virtio-serial.h | 38 +------ include/hw/virtio/virtio.h | 45 +------- include/net/eth.h | 5 +- include/net/tap.h | 24 +---- linux-headers/linux/if_ether.h | 140 ++++++++++++++++++++++++ linux-headers/linux/virtio_9p.h | 44 ++++++++ linux-headers/linux/virtio_balloon.h | 59 ++++++++++ linux-headers/linux/virtio_blk.h | 128 ++++++++++++++++++++++ linux-headers/linux/virtio_console.h | 74 +++++++++++++ linux-headers/linux/virtio_ids.h | 43 ++++++++ linux-headers/linux/virtio_net.h | 202 +++++++++++++++++++++++++++++++++++ linux-headers/linux/virtio_pci.h | 97 +++++++++++++++++ linux-headers/linux/virtio_rng.h | 8 ++ scripts/update-linux-headers.sh | 17 ++- 24 files changed, 852 insertions(+), 447 deletions(-) create mode 100644 linux-headers/linux/if_ether.h create mode 100644 linux-headers/linux/virtio_9p.h create mode 100644 linux-headers/linux/virtio_balloon.h create mode 100644 linux-headers/linux/virtio_blk.h create mode 100644 linux-headers/linux/virtio_console.h create mode 100644 linux-headers/linux/virtio_ids.h create mode 100644 linux-headers/linux/virtio_net.h create mode 100644 linux-headers/linux/virtio_pci.h create mode 100644 linux-headers/linux/virtio_rng.h -- MST