All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/12] tools: add support for per-domain xenstore quota
@ 2026-03-20 15:01 Juergen Gross
  2026-03-20 15:01 ` [PATCH v2 01/12] tools/libs/store: add get- and set-quota related functions Juergen Gross
                   ` (11 more replies)
  0 siblings, 12 replies; 20+ messages in thread
From: Juergen Gross @ 2026-03-20 15:01 UTC (permalink / raw)
  To: xen-devel
  Cc: Juergen Gross, Julien Grall, Anthony PERARD, Nick Rosbrook,
	George Dunlap

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

-- 
2.53.0



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

end of thread, other threads:[~2026-03-23 14:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 15:01 [PATCH v2 00/12] tools: add support for per-domain xenstore quota Juergen Gross
2026-03-20 15:01 ` [PATCH v2 01/12] tools/libs/store: add get- and set-quota related functions Juergen Gross
2026-03-23 12:16   ` Anthony PERARD
2026-03-20 15:01 ` [PATCH v2 02/12] tools/xenstored: add helper to parse domid Juergen Gross
2026-03-23 12:30   ` Anthony PERARD
2026-03-20 15:01 ` [PATCH v2 03/12] tools/xenstored: add central quota check functions Juergen Gross
2026-03-20 15:01 ` [PATCH v2 04/12] tools/xenstored: rework hard_quotas and soft_quotas arrays Juergen Gross
2026-03-20 15:01 ` [PATCH v2 05/12] tools/xenstored: add GLOBAL_QUOTA_DATA record for live update Juergen Gross
2026-03-23 12:50   ` Anthony PERARD
2026-03-20 15:01 ` [PATCH v2 06/12] tools/xenstored: split acc[] array in struct domain Juergen Gross
2026-03-20 15:01 ` [PATCH v2 07/12] tools/xenstored: use per-domain quota settings Juergen Gross
2026-03-20 15:01 ` [PATCH v2 08/12] tools/xenstored: implement the GET/SET_QUOTA commands Juergen Gross
2026-03-23 13:00   ` Anthony PERARD
2026-03-20 15:01 ` [PATCH v2 09/12] tools/libxl: add functions for retrieving and setting xenstore quota Juergen Gross
2026-03-23 13:19   ` Anthony PERARD
2026-03-20 15:01 ` [PATCH v2 10/12] tools/libxl: add support for xenstore quota in domain_config Juergen Gross
2026-03-23 13:21   ` Anthony PERARD
2026-03-20 15:01 ` [PATCH v2 11/12] tools/xl: add xl commands for xenstore quota operations Juergen Gross
2026-03-23 14:08   ` Anthony PERARD
2026-03-20 15:01 ` [PATCH v2 12/12] tools/xl: add support for xenstore quota setting via domain config Juergen Gross

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.