From: Daniel Henrique Barboza <danielhb413@gmail.com>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com, mdroth@linux.vnet.ibm.com,
Daniel Henrique Barboza <danielhb413@gmail.com>
Subject: [Qemu-devel] [PATCH v1 0/6] QGA: systemd hibernate/suspend/hybrid-sleep
Date: Tue, 19 Jun 2018 16:38:00 -0300 [thread overview]
Message-ID: <20180619193806.17419-1-danielhb413@gmail.com> (raw)
This series adds systemd suspend support for QGA. Some newer
guests don't have pmutils anymore, leaving us with just the
Linux state file mechanism to suspend the guest OS, which does
not support hybrid-sleep. With this implementation, QGA is
now able to hybrid suspend newer guests again.
Most of the patches are cleanups in the existing suspend code,
aiming at both simplifying it and making it easier to extend
it with systemd.
Note: checkpatch.pl complains about patch 3:
ERROR: "(foo* const*)" should be "(foo * const*)"
#94: FILE: qga/commands-posix.c:1467:
+ execve(cmd_path, (char* const*)command, environ);
ERROR: space required before that '*' (ctx:VxB)
#94: FILE: qga/commands-posix.c:1467:
+ execve(cmd_path, (char* const*)command, environ);
Not sure how to make it know that this is a cast instead
of a math operation. Suggestions welcome
Daniel Henrique Barboza (6):
qga: refactoring qmp_guest_suspend_* functions
qga: bios_supports_mode: decoupling pm-utils and sys logic
qga: guest_suspend: decoupling pm-utils and sys logic
qga: removing switch statements, adding run_process_child
qga: adding systemd hibernate/suspend/hybrid-sleep support
qga: removing bios_supports_mode
qga/commands-posix.c | 315 ++++++++++++++++++++++++++++---------------
1 file changed, 210 insertions(+), 105 deletions(-)
--
2.17.1
next reply other threads:[~2018-06-19 19:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-19 19:38 Daniel Henrique Barboza [this message]
2018-06-19 19:38 ` [Qemu-devel] [PATCH v1 1/6] qga: refactoring qmp_guest_suspend_* functions Daniel Henrique Barboza
2018-06-19 19:38 ` [Qemu-devel] [PATCH v1 2/6] qga: bios_supports_mode: decoupling pm-utils and sys logic Daniel Henrique Barboza
2018-06-19 19:38 ` [Qemu-devel] [PATCH v1 3/6] qga: guest_suspend: " Daniel Henrique Barboza
2018-06-19 23:23 ` Marc-André Lureau
2018-06-20 20:05 ` Daniel Henrique Barboza
2018-06-19 19:38 ` [Qemu-devel] [PATCH v1 4/6] qga: removing switch statements, adding run_process_child Daniel Henrique Barboza
2018-06-19 23:25 ` Marc-André Lureau
2018-06-20 20:10 ` Daniel Henrique Barboza
2018-06-19 19:38 ` [Qemu-devel] [PATCH v1 5/6] qga: adding systemd hibernate/suspend/hybrid-sleep support Daniel Henrique Barboza
2018-06-19 19:38 ` [Qemu-devel] [PATCH v1 6/6] qga: removing bios_supports_mode Daniel Henrique Barboza
2018-06-19 21:56 ` [Qemu-devel] [PATCH v1 0/6] QGA: systemd hibernate/suspend/hybrid-sleep no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180619193806.17419-1-danielhb413@gmail.com \
--to=danielhb413@gmail.com \
--cc=armbru@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).