From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 994CCF46100 for ; Mon, 23 Mar 2026 12:51:18 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1259310.1552620 (Exim 4.92) (envelope-from ) id 1w4ekF-0002Ym-1M; Mon, 23 Mar 2026 12:50:59 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1259310.1552620; Mon, 23 Mar 2026 12:50:59 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1w4ekE-0002Yf-V5; Mon, 23 Mar 2026 12:50:58 +0000 Received: by outflank-mailman (input) for mailman id 1259310; Mon, 23 Mar 2026 12:50:58 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1w4ekE-0002YZ-2T for xen-devel@lists.xenproject.org; Mon, 23 Mar 2026 12:50:58 +0000 Received: from mail180-47.suw31.mandrillapp.com (mail180-47.suw31.mandrillapp.com [198.2.180.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id ee03a985-26b6-11f1-9ccf-f158ae23cfc8; Mon, 23 Mar 2026 13:50:55 +0100 (CET) Received: from pmta11.mandrill.prod.suw01.rsglab.com (localhost [127.0.0.1]) by mail180-47.suw31.mandrillapp.com (Mailchimp) with ESMTP id 4ffY1n58DQzPm0hHP for ; Mon, 23 Mar 2026 12:50:53 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id 020fb4d42f844abfbc94953b73f98011; Mon, 23 Mar 2026 12:50:53 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: ee03a985-26b6-11f1-9ccf-f158ae23cfc8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; s=mte1; t=1774270253; x=1774540253; bh=QV6Ov3N//XtKC760wpPNi7XKYh20alxA4UR8FMz7buo=; h=From:Subject:To:Cc:Message-Id:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=ghVdtAW3be4ChHCa3/2FQ5TryVBdzNVH710YKrOSHiuPGpeANSyYCanap6k67uBIN BdUUCwWOHM0lWmiKePeEnGCcQcZMAivTKUGruTVaVbw+eTQCsoX1tTKHqCETtq2CWx WKHRTOoHR2M2lFKU24YvWgd5VAaluJjNYy4EMuqGSu5O7B0twtMbRayTT0bhV5YEbX CJKFpjvhtETrgbyyBTcoxA9uIonDmN9bJjqacLv2I8u0j7UKQr0fdbqdvZCe6orZm0 +klrnR143UR67/tIor8Ofs5ktFXNbsWL8ydgQH8yU1Yj9X0dLz+X+Jw7ziH8Dp8qwI 4mCHZaItUq1Rg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mte1; t=1774270253; x=1774530753; i=anthony.perard@vates.tech; bh=QV6Ov3N//XtKC760wpPNi7XKYh20alxA4UR8FMz7buo=; h=From:Subject:To:Cc:Message-Id:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=YYjcQNyJR8ikmOGOvGb+6PXF9lhLCKJYsi2/rEQXeYGGBzBsTD9w3LqjIX+k6/6ID +zs6UGHc3X63cNIn7m9Suw9m/OLycBGc19hMObEy7yvTaUT/xO7aFZ0LDYsWlT5dAW Q0hic4BBrZOJxTV9Y5o+GG1NA7jt2xaffIoWSknDbP7x63uRFWz4iww4Li5zUfu4eL HSYOGdd7lNfeS8jUzPsCTxznrMZnaSd7nJpTcZA5k54nC29VG0gja6VTjln2OPb90/ EV3q1FUp6KrbxoHtpEi03THDoE3qkjDC1Jbzb4Rq+LxmuwWeMq3waJsSoZt9lmjdA9 ys2rMzhJ6xcjw== From: "Anthony PERARD" Subject: =?utf-8?Q?Re:=20[PATCH=20v2=2005/12]=20tools/xenstored:=20add=20GLOBAL=5FQUOTA=5FDATA=20record=20for=20live=20update?= X-Bm-Disclaimer: Yes X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1774270253135 To: "Juergen Gross" Cc: xen-devel@lists.xenproject.org, "Julien Grall" Message-Id: References: <20260320150120.874878-1-jgross@suse.com> <20260320150120.874878-6-jgross@suse.com> In-Reply-To: <20260320150120.874878-6-jgross@suse.com> X-Native-Encoded: 1 X-Report-Abuse: =?UTF-8?Q?Please=20forward=20a=20copy=20of=20this=20message,=20including=20all=20headers,=20to=20abuse@mandrill.com.=20You=20can=20also=20report=20abuse=20here:=20https://mandrillapp.com/contact/abuse=3Fid=3D30504962.020fb4d42f844abfbc94953b73f98011?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20260323:md Date: Mon, 23 Mar 2026 12:50:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On Fri, Mar 20, 2026 at 04:01:13PM +0100, Juergen Gross wrote: > Communicate the global quota settings via the GLOBAL_QUOTA_DATA > record to the new Xenstore instance. > > This avoids to lose global quota settings done via xenstore-control. > > In theory it would be possible to drop any quota related command line > parameters in the live update case, but they don't do any harm, as > the record data is applied on top of the command line data. > > For soft-quota just prepend "soft-" to the quota name. > > Use sub-functions for building and analyzing the quota part of the > migration stream, as they will be reused for per-domain quotas. > > Signed-off-by: Juergen Gross > --- > V2: > - add macros for soft-quota name prefix and its length (Anthony Perard) > - don't allow disabled quota in parse_quota_name() (Anthony Perard) > - rename "len" to "rec_len" in dump_state_glb_quota() (Anthony Perard) > - rename build_quota_data() parameter "name" to "names_buf" (Anthony Perard) > - let get_quota_size() start with len 0 (Anthony Perard) Reviewed-by: Anthony PERARD Thanks, -- Anthony Perard | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech