qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v6 0/2]: qemu-ga: Add the guest-suspend command
@ 2012-01-16 20:09 Luiz Capitulino
  2012-01-16 20:09 ` [Qemu-devel] [PATCH 1/2] qemu-ga: set O_NONBLOCK for serial channels Luiz Capitulino
  2012-01-16 20:09 ` [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command Luiz Capitulino
  0 siblings, 2 replies; 33+ messages in thread
From: Luiz Capitulino @ 2012-01-16 20:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: eblake, jcody, mdroth

Several fixes, but no major changes.

This series depends on this patch from Michael:

 http://lists.gnu.org/archive/html/qemu-devel/2012-01/msg01382.html

v6

o improve schema documentation
o change reopen_fd_to_null() to return void
o fix reopen_fd_to_null() no to close stdin [Eric]
o use execle() and do PATH lookup in the parent [Eric/Jamie]
o do not use fopen()/fgets() [Eric]
o check fork() return value [Eric]
o use EXIT_SUCCESS/EXIT_FAILURE [Eric]

 qapi-schema-guest.json     |   32 ++++++
 qemu-ga.c                  |   20 +++-
 qga/guest-agent-commands.c |  263 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 313 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 33+ messages in thread
* [Qemu-devel] [PATCH v7 0/2]: qemu-ga: Add the guest-suspend command
@ 2012-01-17 13:27 Luiz Capitulino
  2012-01-17 13:27 ` [Qemu-devel] [PATCH 2/2] " Luiz Capitulino
  0 siblings, 1 reply; 33+ messages in thread
From: Luiz Capitulino @ 2012-01-17 13:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: eblake, jcody, mdroth

Small fixes, no major changes.

This series depends on the following series from Michael:

http://lists.gnu.org/archive/html/qemu-devel/2012-01/msg02110.html

v7

o drop find_executable_file() and use g_find_program_in_path()
  instead [Daniel]
o fix off by one bug [Daniel]
o drop slog() usage [Michael]

 qapi-schema-guest.json     |   32 ++++++
 qemu-ga.c                  |   20 ++++-
 qga/guest-agent-commands.c |  226 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 276 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 33+ messages in thread
* [Qemu-devel] [PATCH v5 0/2]: qemu-ga: Add the guest-suspend command
@ 2012-01-13 19:15 Luiz Capitulino
  2012-01-13 19:15 ` [Qemu-devel] [PATCH 2/2] " Luiz Capitulino
  0 siblings, 1 reply; 33+ messages in thread
From: Luiz Capitulino @ 2012-01-13 19:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: eblake, jcody, mdroth

I've tried to address all review comments in this new version. The
two most important changes is that I've added the 'sleep' and 'hybrid'
modes back and now the guest is queried for suspend support (the way
I'm doing this is also worth reviewing).

This series depends on this patch from Michael:

 http://lists.gnu.org/archive/html/qemu-devel/2012-01/msg01382.html

and from a patch I've submitted to seabios to disable S3 advertise,
as S3 is broken in qemu today.

v5

o add 'sleep' and 'hybrid' modes back
o query for suspend support using pm-is-supported & manual check
o use _exit() [Daniel]
o reopen standard file-descriptors to /dev/null [Eric]
o make the SIGCHLD handler more portable by calling waitpid() in
  a loop, as not all unix versions will raise SIGCHLD multiple
  times if several children terminate at once (I don't even know
  if Linux does that)

 qapi-schema-guest.json     |   29 ++++++
 qemu-ga.c                  |   20 ++++-
 qga/guest-agent-commands.c |  212 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 259 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 33+ messages in thread
* [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command
@ 2012-01-04 19:45 Luiz Capitulino
  2012-01-04 19:45 ` [Qemu-devel] [PATCH 2/2] " Luiz Capitulino
  0 siblings, 1 reply; 33+ messages in thread
From: Luiz Capitulino @ 2012-01-04 19:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: amit.shah, jcody, mdroth

This version drops modes 'sleep' and 'hybrid' because they don't work
properly due to issues in qemu. Only the 'hibernate' mode is supported
for now.

Also note that virtio doesn't currently support ACPI S4. There are
patches flying on lkml to fix that though.

Please refer to patch 2/2 for more details on the implementation.

v4

o Drop 'sleep' and 'hybrid' modes
o pull in a fix from Michael Roth (patch 1/2)

 qapi-schema-guest.json     |   23 ++++++++++++++++++
 qemu-ga.c                  |   19 +++++++++++++-
 qga/guest-agent-commands.c |   55 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2012-01-18 19:14 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-16 20:09 [Qemu-devel] [PATCH v6 0/2]: qemu-ga: Add the guest-suspend command Luiz Capitulino
2012-01-16 20:09 ` [Qemu-devel] [PATCH 1/2] qemu-ga: set O_NONBLOCK for serial channels Luiz Capitulino
2012-01-16 20:09 ` [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command Luiz Capitulino
2012-01-16 21:06   ` Daniel P. Berrange
2012-01-17 12:18     ` Luiz Capitulino
2012-01-17 12:27       ` Daniel P. Berrange
2012-01-16 22:17   ` Michael Roth
2012-01-17 12:22     ` Luiz Capitulino
  -- strict thread matches above, loose matches on Subject: below --
2012-01-17 13:27 [Qemu-devel] [PATCH v7 0/2]: " Luiz Capitulino
2012-01-17 13:27 ` [Qemu-devel] [PATCH 2/2] " Luiz Capitulino
2012-01-13 19:15 [Qemu-devel] [PATCH v5 0/2]: " Luiz Capitulino
2012-01-13 19:15 ` [Qemu-devel] [PATCH 2/2] " Luiz Capitulino
2012-01-13 21:48   ` Eric Blake
2012-01-16 10:51     ` Jamie Lokier
2012-01-16 15:59       ` Eric Blake
2012-01-17 10:57         ` Jamie Lokier
2012-01-18 19:13           ` Eric Blake
2012-01-16 15:46     ` Luiz Capitulino
2012-01-16 17:08     ` Luiz Capitulino
2012-01-16 17:13       ` Daniel P. Berrange
2012-01-16 17:18         ` Luiz Capitulino
2012-01-16 17:23           ` Luiz Capitulino
2012-01-16 20:02             ` Michael Roth
2012-01-16 20:35               ` Daniel P. Berrange
2012-01-16 22:06                 ` Michael Roth
2012-01-17 11:05                   ` Jamie Lokier
2012-01-16 20:08       ` Eric Blake
2012-01-16 20:19         ` Luiz Capitulino
2012-01-16 21:10           ` Eric Blake
2012-01-04 19:45 [Qemu-devel] [PATCH v4 0/2]: " Luiz Capitulino
2012-01-04 19:45 ` [Qemu-devel] [PATCH 2/2] " Luiz Capitulino
2012-01-04 20:00   ` Michael Roth
2012-01-04 20:03   ` Eric Blake
2012-01-05 12:29     ` Luiz Capitulino
2012-01-05 12:46   ` Daniel P. Berrange
2012-01-05 12:58     ` Luiz Capitulino

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).