All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/18] Xen PV backend 'qdevification'
@ 2018-11-21 15:11 Paul Durrant
  2018-11-21 15:11   ` Paul Durrant
                   ` (25 more replies)
  0 siblings, 26 replies; 157+ messages in thread
From: Paul Durrant @ 2018-11-21 15:11 UTC (permalink / raw)
  To: qemu-block, qemu-devel, xen-devel
  Cc: Paul Durrant, Anthony Perard, Eduardo Habkost, Gerd Hoffmann,
	Greg Kurz, Jason Wang, Kevin Wolf, Marc-André Lureau,
	Marcel Apfelbaum, Max Reitz, Michael S. Tsirkin, Paolo Bonzini,
	Richard Henderson, Stefan Hajnoczi, Stefano Stabellini,
	Tim Smith

This series introduces a new QOM compliant framework for Xen PV backends.
This is achieved by first moving the current non-compliant framework aside,
before building up a new framework incrementally.

This series was prompted by a thread [1] started by Kevin Wolf in response
to patches against xen_disk.c posted by Tim Smith. Therefore, alongside
the patches introducing the new framework, other patches build up a QOM
compliant replacement for 'xen_disk', called 'xen-qdisk'. Patch #16 swaps
this new device into place (having establisheda mechanism to auto-
instantiate devices that is compliant with existing Xen toolstacks in
patch #15) and patch #18 then removes the old xen_disk code.

Subsequent series will port other Xen PV backends across to the new
framework.

The series is also available as a repository branch [2] on xenbits.xen.org.

[1] https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg00259.html
[2] http://xenbits.xen.org/gitweb/?p=people/pauldu/qemu.git;a=shortlog;h=refs/heads/qom23

Paul Durrant (18):
  xen: re-name XenDevice to XenLegacyDevice...
  xen: introduce new 'XenBus' and 'XenDevice' object hierarchy
  xen: introduce 'xen-qdisk'
  xen: create xenstore areas for XenDevice-s
  xen: add xenstore watcher infratructure
  xen: add grant table interface for XenDevice-s
  xen: add event channel interface for XenDevice-s
  xen: duplicate xen_disk.c as basis of dataplane/xen-qdisk.c
  xen: remove unnecessary code from dataplane/xen-qdisk.c
  xen: add header and build dataplane/xen-qdisk.c
  xen: remove 'XenBlkDev' and 'blkdev' names from dataplane/xen-qdisk
  xen: remove 'ioreq' struct/varable/field names from
    dataplane/xen-qdisk.c
  xen: purge 'blk' and 'ioreq' from function names in
    dataplane/xen-qdisk.c
  xen: add implementations of xen-qdisk connect and disconnect
    functions...
  xen: add a mechanism to automatically create XenDevice-s...
  xen: automatically create XenQdiskDevice-s
  MAINTAINERS: add myself as a Xen maintainer
  xen: remove the legacy 'xen_disk' backend

 MAINTAINERS                                        |    5 +-
 hw/9pfs/xen-9p-backend.c                           |   16 +-
 hw/block/Makefile.objs                             |    2 +-
 hw/block/dataplane/Makefile.objs                   |    1 +
 hw/block/dataplane/xen-qdisk.c                     |  756 +++++++++++++++
 hw/block/dataplane/xen-qdisk.h                     |   25 +
 hw/block/trace-events                              |    7 +
 hw/block/xen-qdisk.c                               |  698 +++++++++++++
 hw/block/xen_disk.c                                | 1011 -------------------
 hw/char/xen_console.c                              |   12 +-
 hw/display/xenfb.c                                 |   25 +-
 hw/i386/xen/xen-hvm.c                              |    5 +-
 hw/i386/xen/xen-mapcache.c                         |    2 +-
 hw/i386/xen/xen_platform.c                         |    2 +-
 hw/net/xen_nic.c                                   |   14 +-
 hw/usb/xen-usb.c                                   |   25 +-
 hw/xen/Makefile.objs                               |    2 +-
 hw/xen/trace-events                                |   17 +
 hw/xen/xen-backend.c                               |   67 ++
 hw/xen/xen-bus-helper.c                            |  152 +++
 hw/xen/xen-bus.c                                   | 1021 ++++++++++++++++++++
 hw/xen/xen-common.c                                |    2 +-
 hw/xen/{xen_backend.c => xen-legacy-backend.c}     |   74 +-
 hw/xen/xen_devconfig.c                             |    2 +-
 hw/xen/xen_pt.c                                    |    2 +-
 hw/xen/xen_pt_config_init.c                        |    2 +-
 hw/xen/xen_pt_graphics.c                           |    2 +-
 hw/xen/xen_pt_msi.c                                |    2 +-
 hw/xen/xen_pvdev.c                                 |   20 +-
 hw/xenpv/xen_domainbuild.c                         |    2 +-
 hw/xenpv/xen_machine_pv.c                          |    5 +-
 include/hw/xen/xen-backend.h                       |   24 +
 include/hw/xen/xen-bus-helper.h                    |   31 +
 include/hw/xen/xen-bus.h                           |  132 +++
 .../hw/xen/{xen_backend.h => xen-legacy-backend.h} |   43 +-
 include/hw/xen/xen-qdisk.h                         |   51 +
 include/hw/xen/xen_pvdev.h                         |   38 +-
 include/qemu/module.h                              |    3 +
 38 files changed, 3150 insertions(+), 1150 deletions(-)
 create mode 100644 hw/block/dataplane/xen-qdisk.c
 create mode 100644 hw/block/dataplane/xen-qdisk.h
 create mode 100644 hw/block/xen-qdisk.c
 delete mode 100644 hw/block/xen_disk.c
 create mode 100644 hw/xen/xen-backend.c
 create mode 100644 hw/xen/xen-bus-helper.c
 create mode 100644 hw/xen/xen-bus.c
 rename hw/xen/{xen_backend.c => xen-legacy-backend.c} (89%)
 create mode 100644 include/hw/xen/xen-backend.h
 create mode 100644 include/hw/xen/xen-bus-helper.h
 create mode 100644 include/hw/xen/xen-bus.h
 rename include/hw/xen/{xen_backend.h => xen-legacy-backend.h} (61%)
 create mode 100644 include/hw/xen/xen-qdisk.h
---
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Greg Kurz <groug@kaod.org>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Cc: Max Reitz <mreitz@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Tim Smith <tim.smith@citrix.com>
-- 
2.11.0

^ permalink raw reply	[flat|nested] 157+ messages in thread

end of thread, other threads:[~2018-12-06 15:49 UTC | newest]

Thread overview: 157+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-21 15:11 [Qemu-devel] [PATCH 00/18] Xen PV backend 'qdevification' Paul Durrant
2018-11-21 15:11 ` [Qemu-devel] [PATCH 01/18] xen: re-name XenDevice to XenLegacyDevice Paul Durrant
2018-11-21 15:11   ` Paul Durrant
2018-11-28 16:06   ` [Qemu-devel] " Anthony PERARD
2018-11-28 16:06   ` Anthony PERARD
2018-11-21 15:11 ` [Qemu-devel] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy Paul Durrant
2018-11-28 16:19   ` [Qemu-block] " Kevin Wolf
2018-11-28 16:19   ` [Qemu-devel] " Kevin Wolf
2018-11-28 16:26     ` Paul Durrant
2018-11-28 16:26       ` Paul Durrant
2018-11-28 16:28       ` [Qemu-devel] " Paul Durrant
2018-11-28 16:28         ` Paul Durrant
2018-11-28 16:28       ` [Qemu-devel] " Stefano Stabellini
2018-11-28 16:28         ` Stefano Stabellini
2018-11-28 16:29         ` [Qemu-devel] " Paul Durrant
2018-11-28 16:29           ` Paul Durrant
2018-11-28 16:39           ` [Qemu-devel] " Kevin Wolf
2018-11-28 16:39             ` Kevin Wolf
2018-11-28 16:45             ` [Qemu-devel] " Paul Durrant
2018-11-28 16:46               ` Paul Durrant
2018-11-28 16:46                 ` Paul Durrant
2018-11-29  9:04                 ` [Qemu-devel] " Kevin Wolf
2018-11-29  9:04                   ` Kevin Wolf
2018-11-28 16:45             ` Paul Durrant
2018-11-28 17:01       ` [Qemu-devel] " Eric Blake
2018-11-28 17:01         ` Eric Blake
2018-11-28 17:04         ` Paul Durrant
2018-11-28 17:04           ` Paul Durrant
2018-11-28 17:10   ` [Qemu-devel] " Anthony PERARD
2018-11-28 17:10     ` Anthony PERARD
2018-11-28 17:17     ` [Qemu-devel] " Paul Durrant
2018-11-28 17:17       ` Paul Durrant
2018-11-28 17:32       ` [Qemu-devel] " Anthony PERARD
2018-11-28 17:32         ` Anthony PERARD
2018-11-21 15:11 ` Paul Durrant
2018-11-21 15:11 ` [PATCH 03/18] xen: introduce 'xen-qdisk' Paul Durrant
2018-11-21 15:11 ` [Qemu-devel] " Paul Durrant
2018-11-29 16:05   ` Anthony PERARD
2018-11-29 16:05   ` [Qemu-devel] " Anthony PERARD
2018-12-04 15:20     ` Paul Durrant
2018-12-04 15:49       ` Anthony PERARD
2018-12-04 15:50         ` Paul Durrant
2018-12-04 15:50         ` Paul Durrant
2018-12-04 15:49       ` Anthony PERARD
2018-12-04 17:14       ` [Qemu-devel] " Paul Durrant
2018-12-04 17:14       ` Paul Durrant
2018-12-04 15:20     ` Paul Durrant
2018-11-21 15:11 ` [Qemu-devel] [PATCH 04/18] xen: create xenstore areas for XenDevice-s Paul Durrant
2018-11-29 18:48   ` Anthony PERARD
2018-11-29 18:48   ` [Qemu-devel] " Anthony PERARD
2018-12-05 12:05     ` Paul Durrant
2018-12-05 12:43       ` Paul Durrant
2018-12-05 12:43       ` [Qemu-devel] " Paul Durrant
2018-12-05 13:58         ` Anthony PERARD
2018-12-05 14:24           ` Paul Durrant
2018-12-05 14:24           ` Paul Durrant
2018-12-05 13:58         ` Anthony PERARD
2018-12-05 16:28       ` Anthony PERARD
2018-12-05 16:28       ` [Qemu-devel] " Anthony PERARD
2018-12-05 12:05     ` Paul Durrant
2018-11-21 15:11 ` Paul Durrant
2018-11-21 15:11 ` [Qemu-devel] [PATCH 05/18] xen: add xenstore watcher infratructure Paul Durrant
2018-12-03 14:42   ` Anthony PERARD
2018-12-05 15:24     ` Paul Durrant
2018-12-05 15:24     ` Paul Durrant
2018-12-03 14:42   ` Anthony PERARD
2018-11-21 15:11 ` Paul Durrant
2018-11-21 15:11 ` [Qemu-devel] [PATCH 06/18] xen: add grant table interface for XenDevice-s Paul Durrant
2018-11-21 15:11   ` Paul Durrant
2018-12-03 15:45   ` [Qemu-devel] " Anthony PERARD
2018-12-03 15:45     ` Anthony PERARD
2018-12-05 16:12     ` Paul Durrant
2018-12-05 16:12     ` [Qemu-devel] " Paul Durrant
2018-11-21 15:12 ` [PATCH 07/18] xen: add event channel " Paul Durrant
2018-11-21 15:12 ` [Qemu-devel] " Paul Durrant
2018-12-03 16:24   ` Anthony PERARD
2018-12-03 16:24     ` Anthony PERARD
2018-12-04 14:24     ` [Qemu-devel] " Anthony PERARD
2018-12-04 14:24       ` Anthony PERARD
2018-12-05 16:16       ` Paul Durrant
2018-12-05 16:16       ` [Qemu-devel] " Paul Durrant
2018-11-21 15:12 ` [Qemu-devel] [PATCH 08/18] xen: duplicate xen_disk.c as basis of dataplane/xen-qdisk.c Paul Durrant
2018-11-21 15:12   ` Paul Durrant
2018-12-03 16:35   ` [Qemu-devel] " Anthony PERARD
2018-12-03 16:35     ` Anthony PERARD
2018-12-03 16:42     ` [Qemu-devel] " Anthony PERARD
2018-12-03 16:42       ` Anthony PERARD
2018-11-21 15:12 ` [Qemu-devel] [PATCH 09/18] xen: remove unnecessary code from dataplane/xen-qdisk.c Paul Durrant
2018-11-21 15:12   ` Paul Durrant
2018-12-03 16:58   ` [Qemu-devel] " Anthony PERARD
2018-12-03 16:58     ` Anthony PERARD
2018-11-21 15:12 ` [Qemu-devel] [PATCH 10/18] xen: add header and build dataplane/xen-qdisk.c Paul Durrant
2018-11-21 15:12   ` Paul Durrant
2018-12-03 18:09   ` Anthony PERARD
2018-12-03 18:09   ` [Qemu-devel] " Anthony PERARD
2018-12-05 17:31     ` Paul Durrant
2018-12-05 17:31     ` [Qemu-devel] " Paul Durrant
2018-11-21 15:12 ` [PATCH 11/18] xen: remove 'XenBlkDev' and 'blkdev' names from dataplane/xen-qdisk Paul Durrant
2018-11-21 15:12 ` [Qemu-devel] " Paul Durrant
2018-12-04 11:05   ` Anthony PERARD
2018-12-04 11:05   ` [Qemu-devel] " Anthony PERARD
2018-11-21 15:12 ` [Qemu-devel] [PATCH 12/18] xen: remove 'ioreq' struct/varable/field names from dataplane/xen-qdisk.c Paul Durrant
2018-11-21 15:12   ` Paul Durrant
2018-12-04 11:34   ` Anthony PERARD
2018-12-04 11:34   ` [Qemu-devel] " Anthony PERARD
2018-11-21 15:12 ` [Qemu-devel] [PATCH 13/18] xen: purge 'blk' and 'ioreq' from function names in dataplane/xen-qdisk.c Paul Durrant
2018-11-21 15:12   ` Paul Durrant
2018-12-04 12:10   ` [Qemu-devel] " Anthony PERARD
2018-12-04 12:10     ` Anthony PERARD
2018-12-05 17:28     ` [Qemu-devel] " Paul Durrant
2018-12-05 17:28     ` Paul Durrant
2018-11-21 15:12 ` [PATCH 14/18] xen: add implementations of xen-qdisk connect and disconnect functions Paul Durrant
2018-11-21 15:12 ` [Qemu-devel] " Paul Durrant
2018-11-28 16:34   ` Kevin Wolf
2018-11-28 16:34     ` Kevin Wolf
2018-11-28 16:40     ` [Qemu-devel] " Paul Durrant
2018-11-28 16:40       ` Paul Durrant
2018-11-29  9:00       ` [Qemu-devel] " Kevin Wolf
2018-11-29  9:33         ` Paul Durrant
2018-11-29 10:46           ` Kevin Wolf
2018-11-29 10:46             ` Kevin Wolf
2018-11-29 10:47             ` Paul Durrant
2018-11-29 10:47             ` [Qemu-devel] " Paul Durrant
2018-11-29  9:33         ` Paul Durrant
2018-11-29  9:00       ` Kevin Wolf
2018-12-04 12:33   ` Anthony PERARD
2018-12-04 12:33   ` [Qemu-devel] " Anthony PERARD
2018-12-06 12:27     ` Paul Durrant
2018-12-06 12:27       ` Paul Durrant
2018-11-21 15:12 ` [Qemu-devel] [PATCH 15/18] xen: add a mechanism to automatically create XenDevice-s Paul Durrant
2018-11-21 15:12   ` Paul Durrant
2018-12-04 15:35   ` [Qemu-devel] " Anthony PERARD
2018-12-04 15:35     ` Anthony PERARD
2018-12-06 12:36     ` [Qemu-devel] " Paul Durrant
2018-12-06 12:36       ` Paul Durrant
2018-12-06 15:24       ` Anthony PERARD
2018-12-06 15:24       ` [Qemu-devel] " Anthony PERARD
2018-12-06 15:36         ` Paul Durrant
2018-12-06 15:36           ` Paul Durrant
2018-11-21 15:12 ` [Qemu-devel] [PATCH 16/18] xen: automatically create XenQdiskDevice-s Paul Durrant
2018-12-04 16:40   ` Anthony PERARD
2018-12-04 16:40     ` Anthony PERARD
2018-12-06 13:06     ` Paul Durrant
2018-12-06 13:06     ` [Qemu-devel] " Paul Durrant
2018-11-21 15:12 ` Paul Durrant
2018-11-21 15:12 ` [Qemu-devel] [PATCH 17/18] MAINTAINERS: add myself as a Xen maintainer Paul Durrant
2018-11-21 15:12   ` Paul Durrant
2018-11-27 19:05   ` Stefano Stabellini
2018-11-27 19:05   ` [Qemu-devel] " Stefano Stabellini
2018-11-29 14:00   ` Philippe Mathieu-Daudé
2018-11-29 14:01     ` Paul Durrant
2018-11-29 14:01     ` Paul Durrant
2018-11-29 14:00   ` Philippe Mathieu-Daudé
2018-12-04 16:42   ` Anthony PERARD
2018-12-04 16:42     ` Anthony PERARD
2018-11-21 15:12 ` [Qemu-devel] [PATCH 18/18] xen: remove the legacy 'xen_disk' backend Paul Durrant
2018-11-21 15:12   ` Paul Durrant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.