tools: add support for per-domain xenstore quota
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 8 repliesIn review
- v111 patches 31 repliesSuperseded
Changes in v2 from the cover letter
- addressed all comments
- new patch 2
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | tools/libs/store: add get- and set-quota related functionstools/ tools/ tools/ +1 more | +157 | 1 reply | |
| 2/12 | tools/xenstored: add helper to parse domidtools/ | +39 | 1 reply | |
| 3/12 | tools/xenstored: add central quota check functionstools/ tools/ tools/ +2 more | +42 | 0 replies | |
| 4/12 | tools/xenstored: rework hard_quotas and soft_quotas arraystools/ tools/ tools/ +1 more | +76 | 0 replies | |
| 5/12 | tools/xenstored: add GLOBAL_QUOTA_DATA record for live updatetools/ tools/ tools/ | +140 | 1 reply | |
| 6/12 | tools/xenstored: split acc[] array in struct domaintools/ | +16 | 0 replies | |
| 7/12 | tools/xenstored: use per-domain quota settingstools/ | +45 | 0 replies | |
| 8/12 | tools/xenstored: implement the GET/SET_QUOTA commandstools/ tools/ tools/ | +120 | 1 reply | |
| 9/12 | tools/libxl: add functions for retrieving and setting xenstore quotatools/ tools/ tools/ +3 more | +233 | 1 reply | |
| 10/12 | tools/libxl: add support for xenstore quota in domain_configtools/ tools/ tools/ +3 more | +28 | 2 replies | |
| 11/12 | tools/xl: add xl commands for xenstore quota operationstools/ tools/ tools/ +3 more | +132 | 1 reply | |
| 12/12 | tools/xl: add support for xenstore quota setting via domain configdocs/ tools/ | +31 | 0 replies |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Anthony PERARD | Nick Rosbrook |
|---|---|---|
| 1/12 | R-b | |
| 2/12 | R-b | |
| 3/12 | R-b | |
| 4/12 | R-b | |
| 5/12 | R-b | |
| 6/12 | R-b | |
| 7/12 | R-b | |
| 8/12 | R-b | |
| 9/12 | R-b | A-b |
| 10/12 | R-b | A-b |
| 11/12 | R-b | |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/12] tools: add support for per-domain xenstore quota
This series is adding support for per-domain Xenstore quota to:
- xenstored
- libxenstore
- libxl
- xl
With this it is possible to e.g. allow larger limits for driver domains.
Changes in V2:
- addressed all comments
- new patch 2
Juergen Gross (12):
tools/libs/store: add get- and set-quota related functions tools/xenstored: add helper to parse domid tools/xenstored: add central quota check functions tools/xenstored: rework hard_quotas and soft_quotas arrays tools/xenstored: add GLOBAL_QUOTA_DATA record for live update tools/xenstored: split acc[] array in struct domain tools/xenstored: use per-domain quota settings tools/xenstored: implement the GET/SET_QUOTA commands tools/libxl: add functions for retrieving and setting xenstore quota tools/libxl: add support for xenstore quota in domain_config tools/xl: add xl commands for xenstore quota operations tools/xl: add support for xenstore quota setting via domain config
docs/man/xl.cfg.5.pod.in | 13 + tools/golang/xenlight/helpers.gen.go | 84 +++++ tools/golang/xenlight/types.gen.go | 10 + tools/include/libxl.h | 21 ++ tools/include/xenstore.h | 37 ++ tools/libs/light/Makefile | 1 + tools/libs/light/libxl_dom.c | 8 + tools/libs/light/libxl_domain.c | 11 + tools/libs/light/libxl_types.idl | 10 + tools/libs/light/libxl_xsquota.c | 116 ++++++ tools/libs/store/Makefile | 2 +- tools/libs/store/libxenstore.map | 8 + tools/libs/store/xs.c | 111 ++++++ tools/xenstored/control.c | 24 +- tools/xenstored/core.c | 41 ++- tools/xenstored/domain.c | 519 +++++++++++++++++++++------ tools/xenstored/domain.h | 28 +- tools/xenstored/lu.c | 6 + tools/xenstored/transaction.c | 2 +- tools/xenstored/watch.c | 4 +- tools/xl/Makefile | 1 + tools/xl/xl.h | 2 + tools/xl/xl_cmdtable.c | 10 + tools/xl/xl_parse.c | 47 ++- tools/xl/xl_parse.h | 1 + tools/xl/xl_xsquota.c | 90 +++++ 26 files changed, 1057 insertions(+), 150 deletions(-) create mode 100644 tools/libs/light/libxl_xsquota.c create mode 100644 tools/xl/xl_xsquota.c
Signature · 1 line
2.53.0