[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 10/22] fsdev: break out 9p-marshal.{c, h} from v
From: |
Wei Liu |
Subject: |
Re: [Qemu-devel] [PATCH 10/22] fsdev: break out 9p-marshal.{c, h} from virtio-9p-marshal.{c, h} |
Date: |
Thu, 7 Jan 2016 17:07:40 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Jan 07, 2016 at 10:12:44PM +0530, Aneesh Kumar K.V wrote:
> Wei Liu <address@hidden> writes:
>
> > Break out some generic functions for marshaling 9p state. Pure code
> > motion plus minor fixes for build system.
> >
> > Signed-off-by: Wei Liu <address@hidden>
> > ---
> > Makefile | 2 +-
> > fsdev/9p-marshal.c | 57 ++++++++++++++++++++++++++++++++
> > fsdev/9p-marshal.h | 84
> > +++++++++++++++++++++++++++++++++++++++++++++++
> > fsdev/Makefile.objs | 2 +-
> > fsdev/virtio-9p-marshal.c | 31 -----------------
> > fsdev/virtio-9p-marshal.h | 79 +-------------------------------------------
> > 6 files changed, 144 insertions(+), 111 deletions(-)
> > create mode 100644 fsdev/9p-marshal.c
> > create mode 100644 fsdev/9p-marshal.h
> >
> > diff --git a/Makefile b/Makefile
> > index 82b2fc8..7e881d8 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -240,7 +240,7 @@ qemu-io$(EXESUF): qemu-io.o $(block-obj-y)
> > $(crypto-obj-y) $(qom-obj-y) libqemuu
> >
> > qemu-bridge-helper$(EXESUF): qemu-bridge-helper.o
> >
> > -fsdev/virtfs-proxy-helper$(EXESUF): fsdev/virtfs-proxy-helper.o
> > fsdev/virtio-9p-marshal.o libqemuutil.a libqemustub.a
> > +fsdev/virtfs-proxy-helper$(EXESUF): fsdev/virtfs-proxy-helper.o
> > fsdev/9p-marshal.o fsdev/virtio-9p-marshal.o libqemuutil.a libqemustub.a
> > fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap
> >
> > qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
> > diff --git a/fsdev/9p-marshal.c b/fsdev/9p-marshal.c
> > new file mode 100644
> > index 0000000..610978e
> > --- /dev/null
> > +++ b/fsdev/9p-marshal.c
> > @@ -0,0 +1,57 @@
> > +/*
> > + * 9p backend
> > + *
> > + * Copyright IBM, Corp. 2010
> > + *
> > + * Authors:
> > + * Anthony Liguori <address@hidden>
> > + * Wei Liu <address@hidden>
>
>
> If it is just code movement just retain the authors as it is ?
>
I think this is residual of rebasing. I will remove this.
Wei.
> > + *
> > + * This work is licensed under the terms of the GNU GPL, version 2. See
> > + * the COPYING file in the top-level directory.
> > + *
> > + */
> > +
>
> -aneesh
>
- Re: [Qemu-devel] [PATCH 09/22] 9pfs: remove dead code, (continued)
- [Qemu-devel] [PATCH 06/22] 9pfs: rename virtio-9p-synth.{c, h} to 9p-synth.{c, h}, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 04/22] 9pfs: rename virtio-9p-posix-acl.c to 9p-posix-acl.c, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 07/22] 9pfs: rename virtio-9p-xattr{, -user}.{c, h} to 9p-xattr{, -user}.{c, h}, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 01/22] 9pfs: rename virtio-9p-coth.{c, h} to coth.{c, h}, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 05/22] 9pfs: rename virtio-9p-proxy.{c, h} to 9p-proxy.{c, h}, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 11/22] fsdev: 9p-marshal: introduce V9fsBlob, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 10/22] fsdev: break out 9p-marshal.{c, h} from virtio-9p-marshal.{c, h}, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 15/22] 9pfs: PDU processing functions should start pdu_ prefix, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 22/22] 9pfs: disentangle V9fsState, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 18/22] 9pfs: factor out pdu_push_and_notify, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 21/22] 9pfs: factor out v9fs_device_{, un}realize_common, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 19/22] 9pfs: break out virtio_init_iov_from_pdu, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 16/22] 9pfs: make pdu_{, un}marshal proper functions, Wei Liu, 2016/01/05
- [Qemu-devel] [PATCH 20/22] 9pfs: break out generic code from virtio-9p.{c, h}, Wei Liu, 2016/01/05