Skip to content

Refactor common part of xen backend and frontend

Emil Condrea qemu-devel xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 2 repliesIn review
  2. v213 patches 3 repliesSuperseded
  3. v115 patches 40 repliesSuperseded

Changes in v3 from the cover letter

* align second line with first parameter

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13xen: Fix coding style errorshw/char/xen_console.c hw/display/xenfb.c hw/net/xen_nic.c +1 more+76 -640 replies
2/13xen: Fix coding style warningshw/block/xen_disk.c hw/char/xen_console.c hw/display/xenfb.c +3 more+31 -160 replies
2/13xen: Fix coding style warningshw/block/xen_disk.c hw/char/xen_console.c hw/display/xenfb.c +3 more+31 -160 replies
3/13xen: Create a new file xen_pvdev.chw/xen/Makefile.objs hw/xen/xen_backend.c hw/xen/xen_pvdev.c +2 more+222 -1890 replies
3/13xen: Create a new file xen_pvdev.chw/xen/Makefile.objs hw/xen/xen_backend.c hw/xen/xen_pvdev.c +2 more+222 -1890 replies
4/13xen: Move xenstore_update to xen_pvdev.chw/xen/xen_backend.c hw/xen/xen_pvdev.c include/hw/xen/xen_backend.h +1 more+30 -270 replies
5/13xen: Move evtchn functions to xen_pvdev.chw/xen/xen_backend.c hw/xen/xen_pvdev.c include/hw/xen/xen_backend.h +1 more+39 -370 replies
6/13xen: Prepare xendev qtail to be shared with frontendshw/xen/xen_backend.c hw/xen/xen_pvdev.c include/hw/xen/xen_backend.h +1 more+62 -510 replies
7/13xen: Move xenstore cleanup and mkdir functionshw/xen/xen_backend.c hw/xen/xen_pvdev.c+51 -490 replies
8/13xen: Rename xen_be_printf to xen_pv_printfhw/block/xen_disk.c hw/char/xen_console.c hw/display/xenfb.c +7 more+117 -1170 replies
9/13xen: Rename xen_be_unbind_evtchnhw/block/xen_disk.c hw/char/xen_console.c hw/display/xenfb.c +4 more+7 -70 replies
10/13xen: Rename xen_be_send_notifyhw/block/xen_disk.c hw/char/xen_console.c hw/display/xenfb.c +4 more+15 -150 replies
11/13xen: Rename xen_be_evtchn_eventhw/xen/xen_backend.c hw/xen/xen_pvdev.c include/hw/xen/xen_pvdev.h+3 -30 replies
12/13xen: Rename xen_be_find_xendevhw/display/xenfb.c hw/xen/xen_backend.c hw/xen/xen_pvdev.c +1 more+5 -50 replies
13/13xen: Rename xen_be_del_xendevhw/xen/xen_backend.c hw/xen/xen_pvdev.c include/hw/xen/xen_pvdev.h+3 -30 replies

Reviews trailers per patch

7 of 15 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnthony PERARDQuan Xu
SeriesA-b A-b
1/13
2/13
2/13
3/13
3/13
4/13
5/13
6/13
7/13A-b
8/13A-b
9/13A-b R-b
10/13A-b R-b
11/13A-b R-b
12/13A-b R-b
13/13A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 00/13] Refactor common part of xen backend and frontend

This patch series was splitted from QEMU:Xen stubdom vTPM for HVM virtual machine
http://markmail.org/message/fkix7g3a5zdj7lvr

It contains a reorganization of xen backend and frontend functions together with code style fixes.
Common functions shared by backends and frontends are moved to xen_pvdev file.

---
Changes in v3:
* align second line with first parameter

Changes in v2:
* fixed parameter alignment when spliting long lines
* removed patches for creating xen_frontend

Emil Condrea (13):
xen: Fix coding style errors
xen: Fix coding style warnings
xen: Create a new file xen_pvdev.c
xen: Move xenstore_update to xen_pvdev.c
xen: Move evtchn functions to xen_pvdev.c
xen: Prepare xendev qtail to be shared with frontends
xen: Move xenstore cleanup and mkdir functions
xen: Rename xen_be_printf to xen_pv_printf
xen: Rename xen_be_unbind_evtchn
xen: Rename xen_be_send_notify
xen: Rename xen_be_evtchn_event
xen: Rename xen_be_find_xendev
xen: Rename xen_be_del_xendev

 hw/block/xen_disk.c          |  65 ++++----
 hw/char/xen_console.c        |  30 ++--
 hw/display/xenfb.c           | 127 ++++++++--------
 hw/net/xen_nic.c             |  36 +++--
 hw/usb/xen-usb.c             |  46 +++---
 hw/xen/Makefile.objs         |   2 +-
 hw/xen/xen_backend.c         | 348 +++++--------------------------------------
 hw/xen/xen_devconfig.c       |   4 +-
 hw/xen/xen_pvdev.c           | 316 +++++++++++++++++++++++++++++++++++++++
 include/hw/xen/xen_backend.h |  72 +--------
 include/hw/xen/xen_pvdev.h   |  78 ++++++++++
 xen-common.c                 |   4 +-
 12 files changed, 603 insertions(+), 525 deletions(-)
 create mode 100644 hw/xen/xen_pvdev.c
 create mode 100644 include/hw/xen/xen_pvdev.h
Signature · 7 lines
1.9.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel