From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIs9Z-0004By-NP for qemu-devel@nongnu.org; Tue, 12 Jan 2016 01:10:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIs9V-0006Lt-La for qemu-devel@nongnu.org; Tue, 12 Jan 2016 01:10:01 -0500 Received: from e28smtp03.in.ibm.com ([125.16.236.3]:56819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIs9U-0006LH-Lw for qemu-devel@nongnu.org; Tue, 12 Jan 2016 01:09:57 -0500 Received: from localhost by e28smtp03.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 12 Jan 2016 11:39:54 +0530 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id B95093940068 for ; Tue, 12 Jan 2016 11:39:20 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay01.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u0C68c5d11469162 for ; Tue, 12 Jan 2016 11:38:39 +0530 Received: from d28av04.in.ibm.com (localhost [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u0C68ZZM023794 for ; Tue, 12 Jan 2016 11:38:36 +0530 From: "Aneesh Kumar K.V" Date: Tue, 12 Jan 2016 11:38:07 +0530 Message-Id: <1452578912-12546-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Subject: [Qemu-devel] [PULL 00/25] VirtFS update List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org, "Aneesh Kumar K.V" The following changes since commit a7e00e2536941a6e570b45b7ab4afec4505ff67e: petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a (2016-01-07 14:57:26 +0100) are available in the git repository at: https://github.com/kvaneesh/qemu.git tags/for-upstream-signed for you to fetch changes up to 00588a0aa2ade2e32a552633bbbefdc6ae5e32a2: 9pfs: introduce V9fsVirtioState (2016-01-12 11:04:14 +0530) ---------------------------------------------------------------- VirtFS update: Cleanups mostly isolating virtio related details into separate files. This is done to enable easy addition of Xen transport for VirtFS. The changes include: 1. Rename a bunch of files and functions to make clear they are generic. 2. disentangle virtio transport code and generic 9pfs code. 3. Some function name clean-up. ---------------------------------------------------------------- Note: We do get few checkpatch.pl warning for typedef as below. "ERROR: open brace '{' following struct go on the same line" But VirtFS code always had open brace in the line next to typedef. I guess we should handle that in a separate patch Wei Liu (25): 9pfs: rename virtio-9p-coth.{c,h} to coth.{c,h} 9pfs: rename virtio-9p-handle.c to 9p-handle.c 9pfs: rename virtio-9p-local.c to 9p-local.c 9pfs: rename virtio-9p-posix-acl.c to 9p-posix-acl.c 9pfs: rename virtio-9p-proxy.{c,h} to 9p-proxy.{c,h} 9pfs: rename virtio-9p-synth.{c,h} to 9p-synth.{c,h} 9pfs: rename virtio-9p-xattr{,-user}.{c,h} to 9p-xattr{,-user}.{c,h} 9pfs: merge hw/virtio/virtio-9p.h into hw/9pfs/virtio-9p.h 9pfs: remove dead code fsdev: break out 9p-marshal.{c,h} from virtio-9p-marshal.{c,h} fsdev: rename virtio-9p-marshal.{c,h} to 9p-iov-marshal.{c,h} 9pfs: PDU processing functions don't need to take V9fsState as argument 9pfs: PDU processing functions should start pdu_ prefix 9pfs: make pdu_{,un}marshal proper functions 9pfs: factor out virtio_pdu_{,un}marshal 9pfs: factor out pdu_push_and_notify 9pfs: break out virtio_init_iov_from_pdu 9pfs: break out 9p.h from virtio-9p.h 9pfs: factor out virtio_9p_push_and_notify 9pfs: export pdu_{submit,alloc,free} 9pfs: move handle_9p_output and make it static function 9pfs: rename virtio_9p_set_fd_limit to use v9fs_ prefix 9pfs: rename virtio-9p.c to 9p.c 9pfs: factor out v9fs_device_{,un}realize_common 9pfs: introduce V9fsVirtioState Makefile | 2 +- fsdev/{virtio-9p-marshal.c => 9p-iov-marshal.c} | 175 +++++---- fsdev/9p-iov-marshal.h | 18 + fsdev/9p-marshal.c | 56 +++ fsdev/{virtio-9p-marshal.h => 9p-marshal.h} | 12 +- fsdev/Makefile.objs | 2 +- fsdev/virtfs-proxy-helper.c | 6 +- hw/9pfs/{virtio-9p-handle.c => 9p-handle.c} | 7 +- hw/9pfs/{virtio-9p-local.c => 9p-local.c} | 7 +- hw/9pfs/{virtio-9p-posix-acl.c => 9p-posix-acl.c} | 7 +- hw/9pfs/{virtio-9p-proxy.c => 9p-proxy.c} | 7 +- hw/9pfs/{virtio-9p-proxy.h => 9p-proxy.h} | 10 +- hw/9pfs/{virtio-9p-synth.c => 9p-synth.c} | 6 +- hw/9pfs/{virtio-9p-synth.h => 9p-synth.h} | 6 +- .../{virtio-9p-xattr-user.c => 9p-xattr-user.c} | 7 +- hw/9pfs/{virtio-9p-xattr.c => 9p-xattr.c} | 7 +- hw/9pfs/{virtio-9p-xattr.h => 9p-xattr.h} | 6 +- hw/9pfs/{virtio-9p.c => 9p.c} | 260 +++++++++----- hw/9pfs/9p.h | 326 +++++++++++++++++ hw/9pfs/Makefile.objs | 14 +- hw/9pfs/codir.c | 2 +- hw/9pfs/cofile.c | 2 +- hw/9pfs/cofs.c | 2 +- hw/9pfs/{virtio-9p-coth.c => coth.c} | 4 +- hw/9pfs/{virtio-9p-coth.h => coth.h} | 6 +- hw/9pfs/coxattr.c | 2 +- hw/9pfs/virtio-9p-device.c | 201 ++++++----- hw/9pfs/virtio-9p.h | 391 +-------------------- hw/s390x/virtio-ccw.h | 2 +- hw/virtio/virtio-pci.h | 3 +- include/hw/virtio/virtio-9p.h | 24 -- 31 files changed, 835 insertions(+), 745 deletions(-) rename fsdev/{virtio-9p-marshal.c => 9p-iov-marshal.c} (59%) create mode 100644 fsdev/9p-iov-marshal.h create mode 100644 fsdev/9p-marshal.c rename fsdev/{virtio-9p-marshal.h => 9p-marshal.h} (78%) rename hw/9pfs/{virtio-9p-handle.c => 9p-handle.c} (99%) rename hw/9pfs/{virtio-9p-local.c => 9p-local.c} (99%) rename hw/9pfs/{virtio-9p-posix-acl.c => 9p-posix-acl.c} (97%) rename hw/9pfs/{virtio-9p-proxy.c => 9p-proxy.c} (99%) rename hw/9pfs/{virtio-9p-proxy.h => 9p-proxy.h} (89%) rename hw/9pfs/{virtio-9p-synth.c => 9p-synth.c} (99%) rename hw/9pfs/{virtio-9p-synth.h => 9p-synth.h} (94%) rename hw/9pfs/{virtio-9p-xattr-user.c => 9p-xattr-user.c} (96%) rename hw/9pfs/{virtio-9p-xattr.c => 9p-xattr.c} (97%) rename hw/9pfs/{virtio-9p-xattr.h => 9p-xattr.h} (97%) rename hw/9pfs/{virtio-9p.c => 9p.c} (94%) create mode 100644 hw/9pfs/9p.h rename hw/9pfs/{virtio-9p-coth.c => coth.c} (95%) rename hw/9pfs/{virtio-9p-coth.h => coth.h} (98%) delete mode 100644 include/hw/virtio/virtio-9p.h *** BLURB HERE *** Wei Liu (25): 9pfs: rename virtio-9p-coth.{c,h} to coth.{c,h} 9pfs: rename virtio-9p-handle.c to 9p-handle.c 9pfs: rename virtio-9p-local.c to 9p-local.c 9pfs: rename virtio-9p-posix-acl.c to 9p-posix-acl.c 9pfs: rename virtio-9p-proxy.{c,h} to 9p-proxy.{c,h} 9pfs: rename virtio-9p-synth.{c,h} to 9p-synth.{c,h} 9pfs: rename virtio-9p-xattr{,-user}.{c,h} to 9p-xattr{,-user}.{c,h} 9pfs: merge hw/virtio/virtio-9p.h into hw/9pfs/virtio-9p.h 9pfs: remove dead code fsdev: break out 9p-marshal.{c,h} from virtio-9p-marshal.{c,h} fsdev: rename virtio-9p-marshal.{c,h} to 9p-iov-marshal.{c,h} 9pfs: PDU processing functions don't need to take V9fsState as argument 9pfs: PDU processing functions should start pdu_ prefix 9pfs: make pdu_{,un}marshal proper functions 9pfs: factor out virtio_pdu_{,un}marshal 9pfs: factor out pdu_push_and_notify 9pfs: break out virtio_init_iov_from_pdu 9pfs: break out 9p.h from virtio-9p.h 9pfs: factor out virtio_9p_push_and_notify 9pfs: export pdu_{submit,alloc,free} 9pfs: move handle_9p_output and make it static function 9pfs: rename virtio_9p_set_fd_limit to use v9fs_ prefix 9pfs: rename virtio-9p.c to 9p.c 9pfs: factor out v9fs_device_{,un}realize_common 9pfs: introduce V9fsVirtioState Makefile | 2 +- fsdev/{virtio-9p-marshal.c => 9p-iov-marshal.c} | 175 +++++---- fsdev/9p-iov-marshal.h | 18 + fsdev/9p-marshal.c | 56 +++ fsdev/{virtio-9p-marshal.h => 9p-marshal.h} | 12 +- fsdev/Makefile.objs | 2 +- fsdev/virtfs-proxy-helper.c | 6 +- hw/9pfs/{virtio-9p-handle.c => 9p-handle.c} | 7 +- hw/9pfs/{virtio-9p-local.c => 9p-local.c} | 7 +- hw/9pfs/{virtio-9p-posix-acl.c => 9p-posix-acl.c} | 7 +- hw/9pfs/{virtio-9p-proxy.c => 9p-proxy.c} | 7 +- hw/9pfs/{virtio-9p-proxy.h => 9p-proxy.h} | 10 +- hw/9pfs/{virtio-9p-synth.c => 9p-synth.c} | 6 +- hw/9pfs/{virtio-9p-synth.h => 9p-synth.h} | 6 +- .../{virtio-9p-xattr-user.c => 9p-xattr-user.c} | 7 +- hw/9pfs/{virtio-9p-xattr.c => 9p-xattr.c} | 7 +- hw/9pfs/{virtio-9p-xattr.h => 9p-xattr.h} | 6 +- hw/9pfs/{virtio-9p.c => 9p.c} | 260 +++++++++----- hw/9pfs/9p.h | 326 +++++++++++++++++ hw/9pfs/Makefile.objs | 14 +- hw/9pfs/codir.c | 2 +- hw/9pfs/cofile.c | 2 +- hw/9pfs/cofs.c | 2 +- hw/9pfs/{virtio-9p-coth.c => coth.c} | 4 +- hw/9pfs/{virtio-9p-coth.h => coth.h} | 6 +- hw/9pfs/coxattr.c | 2 +- hw/9pfs/virtio-9p-device.c | 201 ++++++----- hw/9pfs/virtio-9p.h | 391 +-------------------- hw/s390x/virtio-ccw.h | 2 +- hw/virtio/virtio-pci.h | 3 +- include/hw/virtio/virtio-9p.h | 24 -- 31 files changed, 835 insertions(+), 745 deletions(-) rename fsdev/{virtio-9p-marshal.c => 9p-iov-marshal.c} (59%) create mode 100644 fsdev/9p-iov-marshal.h create mode 100644 fsdev/9p-marshal.c rename fsdev/{virtio-9p-marshal.h => 9p-marshal.h} (78%) rename hw/9pfs/{virtio-9p-handle.c => 9p-handle.c} (99%) rename hw/9pfs/{virtio-9p-local.c => 9p-local.c} (99%) rename hw/9pfs/{virtio-9p-posix-acl.c => 9p-posix-acl.c} (97%) rename hw/9pfs/{virtio-9p-proxy.c => 9p-proxy.c} (99%) rename hw/9pfs/{virtio-9p-proxy.h => 9p-proxy.h} (89%) rename hw/9pfs/{virtio-9p-synth.c => 9p-synth.c} (99%) rename hw/9pfs/{virtio-9p-synth.h => 9p-synth.h} (94%) rename hw/9pfs/{virtio-9p-xattr-user.c => 9p-xattr-user.c} (96%) rename hw/9pfs/{virtio-9p-xattr.c => 9p-xattr.c} (97%) rename hw/9pfs/{virtio-9p-xattr.h => 9p-xattr.h} (97%) rename hw/9pfs/{virtio-9p.c => 9p.c} (94%) create mode 100644 hw/9pfs/9p.h rename hw/9pfs/{virtio-9p-coth.c => coth.c} (95%) rename hw/9pfs/{virtio-9p-coth.h => coth.h} (98%) delete mode 100644 include/hw/virtio/virtio-9p.h -- 2.5.0