qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 1ad3c6: qtest: unlink QEMU pid file after sta


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 1ad3c6: qtest: unlink QEMU pid file after startup
Date: Fri, 07 Feb 2014 09:00:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 1ad3c6abc0d67e00b84abaa5527bc64b70ca2205
      
https://github.com/qemu/qemu/commit/1ad3c6abc0d67e00b84abaa5527bc64b70ca2205
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2014-02-03 (Mon, 03 Feb 2014)

  Changed paths:
    M tests/libqtest.c

  Log Message:
  -----------
  qtest: unlink QEMU pid file after startup

After starting the QEMU process and initializing the QMP connection, we
can read the pid file and unlink it.

Just stash away the pid instead of the pid filename.  This way we can
avoid pid file leaks since running tests may abort(3) without cleanup.

Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 56db2e5843256c857addb17deb743109330649be
      
https://github.com/qemu/qemu/commit/56db2e5843256c857addb17deb743109330649be
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2014-02-03 (Mon, 03 Feb 2014)

  Changed paths:
    M tests/libqtest.c

  Log Message:
  -----------
  qtest: unlink UNIX domain sockets after connecting

UNIX domain sockets are leaked when tests call abort(3) (indirectly via
glib assert functions).

Unlink the files immediately after the connection has been established
to avoid leaks.

Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 91abb80b5f66e8387ae1a5ba85083e49b877938c
      
https://github.com/qemu/qemu/commit/91abb80b5f66e8387ae1a5ba85083e49b877938c
  Author: Peter Maydell <address@hidden>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M tests/libqtest.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stefanha/tags/qtest-for-peter' into 
staging

qtest resource cleanup patches

# gpg: Signature made Tue 04 Feb 2014 08:29:12 GMT using RSA key ID 81AB73C8
# gpg: Good signature from "Stefan Hajnoczi <address@hidden>"
# gpg:                 aka "Stefan Hajnoczi <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/qtest-for-peter:
  qtest: unlink UNIX domain sockets after connecting
  qtest: unlink QEMU pid file after startup

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/bc1c72171ceb...91abb80b5f66

reply via email to

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