qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a9de6d: qemu-ga: guest_file_handle_find(): ta


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a9de6d: qemu-ga: guest_file_handle_find(): take an Error a...
Date: Wed, 09 Jan 2013 09:00:36 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a9de6d01df3153b2ac0cade11e26a66d596d7166
      
https://github.com/qemu/qemu/commit/a9de6d01df3153b2ac0cade11e26a66d596d7166
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: guest_file_handle_find(): take an Error argument

Signed-off-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael Roth <address@hidden>

*Fixed missing space character in error message

Signed-off-by: Michael Roth <address@hidden>


  Commit: 3ac4b7c51e3ba181a86983ba2601a595ed8f3b1d
      
https://github.com/qemu/qemu/commit/3ac4b7c51e3ba181a86983ba2601a595ed8f3b1d
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: qmp_guest_file_close(): fix fclose() error check

fclose() returns EOF on error.

Signed-off-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: db3edb665549979b44e0376ab9e859f58b89b503
      
https://github.com/qemu/qemu/commit/db3edb665549979b44e0376ab9e859f58b89b503
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: qmp_guest_file_*: improve error reporting

Use error_setg_errno() when possible with an improved error description.

Signed-off-by: Luiz Capitulino <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: d220a6dfea10655efe70d37748a3c23cf0a00647
      
https://github.com/qemu/qemu/commit/d220a6dfea10655efe70d37748a3c23cf0a00647
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: qmp_guest_shutdown(): improve error reporting

Most errors are QERR_UNDEFINED_ERROR. Also, adds ga_wait_child() as
a future commit will use it too.

Signed-off-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: 261551d1cc3a830e9623971dffa8033b216f1d63
      
https://github.com/qemu/qemu/commit/261551d1cc3a830e9623971dffa8033b216f1d63
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: build_fs_mount_list(): take an Error argument

Signed-off-by: Luiz Capitulino <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: 617fbbc13219d26dd71d100d83d617ec8acf5e2d
      
https://github.com/qemu/qemu/commit/617fbbc13219d26dd71d100d83d617ec8acf5e2d
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: qmp_guest_fsfreeze_*(): get rid of sprintf() + error_set()

Convert them to error_setg_errno().

Signed-off-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: 071673b09021b60eab268653c6bcfba92eea7603
      
https://github.com/qemu/qemu/commit/071673b09021b60eab268653c6bcfba92eea7603
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: qmp_guest_fstrim(): get rid of sprintf() + error_set()

Convert them to error_setg_errno().

Signed-off-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: 878a0ae0ab3eb8428626e67995c9efad8eb1ba80
      
https://github.com/qemu/qemu/commit/878a0ae0ab3eb8428626e67995c9efad8eb1ba80
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: qmp_guest_network_get_interfaces(): get rid of snprintf() + 
error_set()

Convert them to error_setg_errno().

Signed-off-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: 6b26e837a40a7bed14080fb9029ad6c22409f8b3
      
https://github.com/qemu/qemu/commit/6b26e837a40a7bed14080fb9029ad6c22409f8b3
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: bios_supports_mode(): improve error reporting

Most errors are QERR_UNDEFINED_ERROR today.

Signed-off-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: 7b3760879bf323a0d9654a5158d5b3ed51882505
      
https://github.com/qemu/qemu/commit/7b3760879bf323a0d9654a5158d5b3ed51882505
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: guest_suspend(): improve error reporting

Most errors are QERR_UNDEFINED_ERROR today.

Signed-off-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: ec0f694c11e8e0958d727e40e0759ab99e5908d6
      
https://github.com/qemu/qemu/commit/ec0f694c11e8e0958d727e40e0759ab99e5908d6
  Author: Tomoki Sekiyama <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M qga/commands-posix.c
    M qga/guest-agent-core.h
    M qga/main.c

  Log Message:
  -----------
  qemu-ga: execute hook to quiesce the guest on fsfreeze-freeze/thaw

To use the online disk snapshot for online-backup, application-level
consistency of the snapshot image is required. However, currently the
guest agent can provide only filesystem-level consistency, and the
snapshot may contain dirty data, for example, incomplete transactions.
This patch provides the opportunity to quiesce applications before
snapshot is taken.

If --fsfreeze-hook option is specified, the hook is executed with
"freeze" argument before the filesystem is frozen by fsfreeze-freeze
command. As for fsfreeze-thaw command, the hook is executed with "thaw"
argument after the filesystem is thawed.

This patch depends on patchset to improve error reporting by Luiz Capitulino:
  http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg03016.html

Signed-off-by: Tomoki Sekiyama <address@hidden>
Reviewed-by: Luiz Capitulino <address@hidden>

*clarified usage in help output

Signed-off-by: Michael Roth <address@hidden>


  Commit: 96610da210697a1f33669d8bec0cb7b944d3a516
      
https://github.com/qemu/qemu/commit/96610da210697a1f33669d8bec0cb7b944d3a516
  Author: Tomoki Sekiyama <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M .gitignore
    M Makefile
    A scripts/qemu-guest-agent/fsfreeze-hook
    A scripts/qemu-guest-agent/fsfreeze-hook.d/mysql-flush.sh.sample

  Log Message:
  -----------
  qemu-ga: sample fsfreeze hooks

Adds sample hook scripts for --fsfreeze-hook option of qemu-ga.
  - fsfreeze-hook : execute scripts in fsfreeze-hook.d/
  - fsfreeze-hook.d/mysql-flush.sh.sample : quiesce MySQL before snapshot

Signed-off-by: Tomoki Sekiyama <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>


  Commit: 7cd5da7eef152a533c5774effd2e7bbfa5976c86
      
https://github.com/qemu/qemu/commit/7cd5da7eef152a533c5774effd2e7bbfa5976c86
  Author: Anthony Liguori <address@hidden>
  Date:   2013-01-09 (Wed, 09 Jan 2013)

  Changed paths:
    M .gitignore
    M Makefile
    M qga/commands-posix.c
    M qga/guest-agent-core.h
    M qga/main.c
    A scripts/qemu-guest-agent/fsfreeze-hook
    A scripts/qemu-guest-agent/fsfreeze-hook.d/mysql-flush.sh.sample

  Log Message:
  -----------
  Merge remote-tracking branch 'mdroth/qga-pull-1-8-2013' into staging

* mdroth/qga-pull-1-8-2013:
  qemu-ga: sample fsfreeze hooks
  qemu-ga: execute hook to quiesce the guest on fsfreeze-freeze/thaw
  qemu-ga: guest_suspend(): improve error reporting
  qemu-ga: bios_supports_mode(): improve error reporting
  qemu-ga: qmp_guest_network_get_interfaces(): get rid of snprintf() + 
error_set()
  qemu-ga: qmp_guest_fstrim(): get rid of sprintf() + error_set()
  qemu-ga: qmp_guest_fsfreeze_*(): get rid of sprintf() + error_set()
  qemu-ga: build_fs_mount_list(): take an Error argument
  qemu-ga: qmp_guest_shutdown(): improve error reporting
  qemu-ga: qmp_guest_file_*: improve error reporting
  qemu-ga: qmp_guest_file_close(): fix fclose() error check
  qemu-ga: guest_file_handle_find(): take an Error argument

Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/4b274b1603e1...7cd5da7eef15

reply via email to

[Prev in Thread] Current Thread [Next in Thread]