[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tools/xl: add suspend-to-ram and resume subcommands


  • To: Jan Beulich <jbeulich@xxxxxxxx>, zithro <slack@xxxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Wed, 7 Aug 2024 11:02:13 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OYYUaF/FTTY48T5J102NLO42+tpmVcbrbpil0R9w4dw=; b=ngui8AzShIVfFrImCGqxfbPgqSImUqJwJEqlAkydB0nZWII+vQlPIdCUjnG70IzmBNVpCQT6ZqzzudDokgd3yjSk6G01lvZ0a+1a9jVCprre0wkCfSkYg7corqDyLiGn+uEeXxxXucGc8jzpGElFokj2xAAr/onuHyWsKWInt1UNmhK5UJCXc6CvKcA9objqxNtkjf0Jm4jppIp9wu1C3cXoJn335H8r4xwx8Hy97zj3h2cmZj5cd8KnLCQx7GKeyRgE9FRFbSLUZzQ8k7S+IQdV0NcaLCqx0LOQPgbz2is4m/p5wqqApb3XSG3NaO+gWtNksg+mitTFFD6J+l0ImQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=D3mQocEVCPwtZ1dshHR5xDl5hz+IwopsIJC/9BvBhj0KlG+kW/o8o2owAHDv+/YQZKR5nG8UYuR6mMP9xPTIidEXPXMLb0nPcTvfYeS2aDLNNraWFgwYQtpe2p9NRB6cYuk1VHmPwEvvs95EcDaC13gd5jo9vVKo+m1YqKVVkc++A2+mZhx9Xw+c2dAq3xSnd5QPBMq0JTf43mF6hBlVcF6B+KLCfLZTsUz5T8YHQm0iLfqPv358DHPVp8KOufAzU8GCgNZemD4psHYAVCCuIt9mGQQaA7UMaMxFORL++YlbEhNQKD28K11/FFE3A0mwjlhp7lypmz8yPu0UcZALPQ==
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Wed, 07 Aug 2024 15:02:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2024-07-30 02:42, Jan Beulich wrote:
On 30.07.2024 00:31, zithro wrote:
Added my S-o-B (no other change).

PS: re-sent to account for Anthony mail address change

On 29 Feb 2024 08:00, zithro / Cyril Rébert wrote:
The xl command doesn't provide suspend/resume, so add them :
    xl suspend-to-ram <Domain>
    xl resume <Domain>

This patch follows a discussion on XenDevel: when you want the
virtualized equivalent of "sleep"-ing a host, it's better to
suspend/resume than to pause/unpause a domain.

Suggested-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Suggested-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Cyril Rébert (zithro) <slack@xxxxxxxxx>

Imo you want to properly re-submit, ...

---
- Tested on v4.17, x86

... with this testing also advanced to 4.19.

I'll test and re-submit this.

Thanks,
Jason



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.