On Thu, Mar 5, 2026 at 8:53 AM Juergen Gross <[email protected]> wrote:
>
> Add support for xenstore quota in the struct domain_config. Initially
> it will be used only for migration of a domain.
>
> Signed-off-by: Juergen Gross <[email protected]>
> ---
>  tools/golang/xenlight/helpers.gen.go |  6 ++++++
>  tools/golang/xenlight/types.gen.go   |  1 +
>  tools/libs/light/libxl_dom.c         |  8 ++++++++
>  tools/libs/light/libxl_domain.c      | 10 ++++++++++
>  tools/libs/light/libxl_types.idl     |  1 +
>  5 files changed, 26 insertions(+)
>
> diff --git a/tools/golang/xenlight/helpers.gen.go 
> b/tools/golang/xenlight/helpers.gen.go
> index 6c9af904c5..416c2d3e07 100644
> --- a/tools/golang/xenlight/helpers.gen.go
> +++ b/tools/golang/xenlight/helpers.gen.go
> @@ -1286,6 +1286,9 @@ if err := 
> x.TrapUnmappedAccesses.fromC(&xc.trap_unmapped_accesses);err != nil {
>  return fmt.Errorf("converting field TrapUnmappedAccesses: %v", err)
>  }
>  x.XenstoreFeatureMask = uint32(xc.xenstore_feature_mask)
> +if err := x.XenstoreQuota.fromC(&xc.xenstore_quota);err != nil {
> +return fmt.Errorf("converting field XenstoreQuota: %v", err)
> +}
>
>   return nil}
>
> @@ -1825,6 +1828,9 @@ if err := 
> x.TrapUnmappedAccesses.toC(&xc.trap_unmapped_accesses); err != nil {
>  return fmt.Errorf("converting field TrapUnmappedAccesses: %v", err)
>  }
>  xc.xenstore_feature_mask = C.uint32_t(x.XenstoreFeatureMask)
> +if err := x.XenstoreQuota.toC(&xc.xenstore_quota); err != nil {
> +return fmt.Errorf("converting field XenstoreQuota: %v", err)
> +}
>
>   return nil
>   }
> diff --git a/tools/golang/xenlight/types.gen.go 
> b/tools/golang/xenlight/types.gen.go
> index 5393277190..7e7292cf70 100644
> --- a/tools/golang/xenlight/types.gen.go
> +++ b/tools/golang/xenlight/types.gen.go
> @@ -629,6 +629,7 @@ VmtraceBufKb int
>  Vpmu Defbool
>  TrapUnmappedAccesses Defbool
>  XenstoreFeatureMask uint32
> +XenstoreQuota XsQuotaSet
>  }
>
>  type DomainBuildInfoTypeUnion interface {

For the golang stuff:

Acked-by: Nick Rosbrook <[email protected]

Reply via email to