[MINIOS PATCH v3 00/12] remove device specific struct file members

Juergen Gross posted 12 patches 2 years, 3 months ago
Failed in applying to current master (apply log)
Config.mk                     |   2 -
arch/x86/testbuild/all-no     |   2 -
arch/x86/testbuild/all-yes    |   2 -
arch/x86/testbuild/newxen-yes |   2 -
blkfront.c                    |  92 ++++++--
console/console.c             |   2 +-
console/xenbus.c              | 112 +++++++++
console/xencons_ring.c        |   6 +-
fbfront.c                     | 127 ++++++++--
gntmap.c                      |   2 +-
include/blkfront.h            |   5 -
include/console.h             |   7 +-
include/lib.h                 |  29 +--
include/netfront.h            |   3 +-
include/tpm_tis.h             |   6 -
include/tpmfront.h            |   5 -
lib/sys.c                     | 424 ++++++++--------------------------
lib/xs.c                      |  65 ++++--
netfront.c                    |  65 +++++-
tpm_tis.c                     | 121 ++++++----
tpmfront.c                    | 100 +++++---
xenbus/xenbus.c               |   1 +
22 files changed, 649 insertions(+), 531 deletions(-)
[MINIOS PATCH v3 00/12] remove device specific struct file members
Posted by Juergen Gross 2 years, 3 months ago
This series is a followup to the series sent recently:

https://lists.xen.org/archives/html/xen-devel/2022-01/threads.html#00635

It contains the last cleanups related to struct file and can only be
applied after the Xen libraries have stopped using the related union
members:

https://lists.xen.org/archives/html/xen-devel/2022-01/threads.html#00643

The three series applied have been tested to work with:

- xenstorepvh-stubdom
- pv-grub
- ioemu-stubdom

Changes in V3:
- comments addressed

Changes in V2:
- add many patches for using alloc_file_type() and struct file_ops

Juergen Gross (12):
  remove event channel specific struct file definitions
  remove gnttab specific member from struct file
  use alloc_file_type() and get_file_from_fd() in xs
  use alloc_file_type() and get_file_from_fd() in tpm_tis
  use alloc_file_type() and get_file_from_fd() in tpmfront
  use alloc_file_type() and get_file_from_fd() in blkfront
  use alloc_file_type() and get_file_from_fd() in netfront
  use alloc_file_type() and get_file_from_fd() in fbfront
  use file_ops and get_file_from_fd() for console
  add struct file_ops for file type socket
  add struct file_ops for FTYPE_FILE
  make files array private to sys.c

 Config.mk                     |   2 -
 arch/x86/testbuild/all-no     |   2 -
 arch/x86/testbuild/all-yes    |   2 -
 arch/x86/testbuild/newxen-yes |   2 -
 blkfront.c                    |  92 ++++++--
 console/console.c             |   2 +-
 console/xenbus.c              | 112 +++++++++
 console/xencons_ring.c        |   6 +-
 fbfront.c                     | 127 ++++++++--
 gntmap.c                      |   2 +-
 include/blkfront.h            |   5 -
 include/console.h             |   7 +-
 include/lib.h                 |  29 +--
 include/netfront.h            |   3 +-
 include/tpm_tis.h             |   6 -
 include/tpmfront.h            |   5 -
 lib/sys.c                     | 424 ++++++++--------------------------
 lib/xs.c                      |  65 ++++--
 netfront.c                    |  65 +++++-
 tpm_tis.c                     | 121 ++++++----
 tpmfront.c                    | 100 +++++---
 xenbus/xenbus.c               |   1 +
 22 files changed, 649 insertions(+), 531 deletions(-)

-- 
2.26.2


Re: [MINIOS PATCH v3 00/12] remove device specific struct file members
Posted by Samuel Thibault 2 years, 3 months ago
Juergen Gross, le dim. 16 janv. 2022 09:33:16 +0100, a ecrit:
> This series is a followup to the series sent recently:
> 
> https://lists.xen.org/archives/html/xen-devel/2022-01/threads.html#00635
> 
> It contains the last cleanups related to struct file and can only be
> applied after the Xen libraries have stopped using the related union
> members:
> 
> https://lists.xen.org/archives/html/xen-devel/2022-01/threads.html#00643
> 
> The three series applied have been tested to work with:
> 
> - xenstorepvh-stubdom
> - pv-grub
> - ioemu-stubdom

Thanks!

Samuel