libxl: New slow lock + fix libxl_cdrom_insert with QEMU depriv
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest9 patches 1 replyIn review
- v29 patches 6 repliesSuperseded
- v19 patches 16 repliesSuperseded
Changes in v3 from the cover letter
- renamed libxl__ev_lock to libxl__ev_devlock
- rebased
- 1 patch not acked "libxl_internal: Introduce libxl__ev_devlock for devices hotplug via QMP"
- other patches have been updated for the new ev_devlock name and for the rebased
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | libxl_internal: Remove lost commenttools/ | +0 | 0 replies | |
| 2/9 | libxl: Pointer on usage of libxl__domain_userdata_locktools/ | +6 | 0 replies | |
| 3/9 | libxl_internal: Introduce libxl__ev_devlock for devices hotplug via QMPtools/ tools/ | +235 | 1 reply | |
| 4/9 | libxl: Add optimisation to ev_locktools/ tools/ | +22 | 0 replies | |
| 5/9 | libxl_disk: Reorganise libxl_cdrom_inserttools/ | +32 | 0 replies | |
| 6/9 | libxl_disk: Cut libxl_cdrom_insert into steps ..tools/ | +155 | 0 replies | |
| 7/9 | libxl_disk: Implement missing timeout for libxl_cdrom_inserttools/ | +21 | 0 replies | |
| 8/9 | libxl: Move qmp_parameters_* prototypes to libxl_internal.htools/ tools/ | +51 | 0 replies | |
| 9/9 | libxl_disk: Use ev_qmp in libxl_cdrom_inserttools/ tools/ tools/ | +100 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Ian Jackson | Wei Liu |
|---|---|---|
| 1/9 | A-b | A-b |
| 2/9 | A-b | |
| 3/9 | A-b | |
| 4/9 | A-b | |
| 5/9 | A-b | |
| 6/9 | A-b | |
| 7/9 | A-b | |
| 8/9 | A-b | |
| 9/9 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Xen-devel] [PATCH v3 0/9] libxl: New slow lock + fix libxl_cdrom_insert with QEMU depriv
Hi,
Changes in v3:
- renamed libxl__ev_lock to libxl__ev_devlock
- rebased
- 1 patch not acked "libxl_internal: Introduce libxl__ev_devlock for devices hotplug via QMP"
- other patches have been updated for the new ev_devlock name and for the rebased
Changes in v2:
- New libxl__ev_lock, which actually respect lock hierarchy (it's outside of CTX_LOCK).
- some smaller changes detailed in patch notes.
This patch series fix libxl_cdrom_insert to work with a depriviledge QEMU. For that, we need to use libxl__ev_qmp. For that, we need a new lock because userdata_lock can't be used anymore.
FYI: I don't think that enough yet to migrate a depriviledged QEMU. We may need to open disks/cdrom in libxl before starting QEMU, similar to what this patch series do when inserting a new cdrom.
Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.libxl-slow-lock-v3
Anthony PERARD (9):
libxl_internal: Remove lost comment
libxl: Pointer on usage of libxl__domain_userdata_lock
libxl_internal: Introduce libxl__ev_devlock for devices hotplug via
QMP
libxl: Add optimisation to ev_lock
libxl_disk: Reorganise libxl_cdrom_insert
libxl_disk: Cut libxl_cdrom_insert into steps ..
libxl_disk: Implement missing timeout for libxl_cdrom_insert
libxl: Move qmp_parameters_* prototypes to libxl_internal.h
libxl_disk: Use ev_qmp in libxl_cdrom_insert
tools/libxl/Makefile | 3 + tools/libxl/libxl_disk.c | 341 ++++++++++++++++++++++++++++------- tools/libxl/libxl_internal.c | 182 +++++++++++++++++++ tools/libxl/libxl_internal.h | 105 +++++++++-- tools/libxl/libxl_qmp.c | 89 ++++----- 5 files changed, 590 insertions(+), 130 deletions(-)
Signature · 7 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel