Re: [PATCH v2 2/2] tools/xl: add suspend and resume subcommands

2024-12-02 Thread Jason Andryuk
On 2024-11-28 12:19, Anthony PERARD wrote: On Tue, Nov 26, 2024 at 12:19:41PM -0500, Jason Andryuk wrote: diff --git a/tools/xl/xl_vmcontrol.c b/tools/xl/xl_vmcontrol.c index c45d497c28..3160966972 100644 --- a/tools/xl/xl_vmcontrol.c +++ b/tools/xl/xl_vmcontrol.c @@ -42,6 +42,16 @@ static void

Re: [PATCH v2 2/2] tools/xl: add suspend and resume subcommands

2024-11-28 Thread Anthony PERARD
On Tue, Nov 26, 2024 at 12:19:41PM -0500, Jason Andryuk wrote: > diff --git a/tools/xl/xl_vmcontrol.c b/tools/xl/xl_vmcontrol.c > index c45d497c28..3160966972 100644 > --- a/tools/xl/xl_vmcontrol.c > +++ b/tools/xl/xl_vmcontrol.c > @@ -42,6 +42,16 @@ static void unpause_domain(uint32_t domid) >

[PATCH v2 2/2] tools/xl: add suspend and resume subcommands

2024-11-26 Thread Jason Andryuk
From: zithro / Cyril RĂ©bert The xl command doesn't provide suspend/resume, so add them : xl suspend xl resume 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. Suggeste