[Qemu-devel] [PULL 00/28] Leak patches

Marc-André Lureau posted 28 patches 8 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170301090453.11075-1-marcandre.lureau@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
include/glib-compat.h           |  21 +++++++
include/hw/ptimer.h             |   1 +
include/qemu/timer.h            |   5 +-
tests/libqos/usb.h              |   1 +
tests/libqos/virtio-pci.h       |   6 +-
hw/acpi/pcihp.c                 |  11 ----
hw/acpi/piix4.c                 |   2 +
hw/core/bus.c                   |   2 +-
hw/core/ptimer.c                |   8 +++
hw/i386/acpi-build.c            |   4 +-
hw/usb/dev-storage.c            |  16 ++++++
hw/usb/dev-uas.c                |   2 +
qtest.c                         |   1 +
tests/bios-tables-test.c        |   2 +-
tests/e1000-test.c              |   1 +
tests/e1000e-test.c             |   6 +-
tests/eepro100-test.c           |   1 +
tests/endianness-test.c         |   3 +
tests/hd-geo-test.c             |  53 +++++++++++------
tests/i440fx-test.c             |   5 ++
tests/ide-test.c                |  12 ++++
tests/ipmi-bt-test.c            |   1 +
tests/ipmi-kcs-test.c           |   1 +
tests/libqos/usb.c              |   6 ++
tests/libqos/virtio-pci.c       |  38 +++++++++++--
tests/libqtest.c                |  10 ----
tests/postcopy-test.c           |   2 +-
tests/ptimer-test-stubs.c       |   5 ++
tests/ptimer-test.c             | 122 ++++++++++++++++++++++++----------------
tests/pvpanic-test.c            |   1 +
tests/q35-test.c                |   3 +
tests/tco-test.c                |  35 +++++++-----
tests/test-filter-mirror.c      |   2 +-
tests/test-filter-redirector.c  |   4 +-
tests/test-io-channel-command.c |   6 +-
tests/usb-hcd-ehci-test.c       |  19 +++++--
tests/usb-hcd-uhci-test.c       |   1 +
tests/vhost-user-test.c         |  11 ++--
tests/virtio-9p-test.c          |   2 +-
tests/virtio-blk-test.c         |  29 +++++-----
tests/virtio-scsi-test.c        |   2 +-
util/qemu-timer.c               |   5 --
42 files changed, 319 insertions(+), 149 deletions(-)
[Qemu-devel] [PULL 00/28] Leak patches
Posted by Marc-André Lureau 8 years, 8 months ago
The following changes since commit e7c83a885f865128ae3cf1946f8cb538b63cbfba:

  vhost-user: delay vhost_user_stop (2017-02-28 19:11:15 +0000)

are available in the git repository at:

  git@github.com:elmarco/qemu.git tags/leak-pull-request

for you to fetch changes up to 80e1eea37a25a7696137e680285e36d0bfdc9f34:

  tests: fix virtio-blk-test leaks (2017-03-01 11:58:57 +0400)

----------------------------------------------------------------

----------------------------------------------------------------

Igor Mammedov (1):
  pc: pcihp: avoid adding ACPI_PCIHP_PROP_BSEL twice

Marc-André Lureau (27):
  qtest: fix a memory leak
  tests: fix qmp response leak
  tests: fix leaks in test-io-channel-command
  timer: use an inline function for free
  glib-compat: add g_test_add_data_func_full fallback
  tests: fix ptimer leaks
  tests: fix endianness-test leaks
  tests: fix q35-test leaks
  tests: fix vhost-user-test leaks
  tests: fix ide-test leaks
  tests: fix hd-geo-test leaks
  tests: fix bios-tables-test leak
  tests: fix ipmi-kcs-test leak
  tests: fix ipmi-bt-test leak
  tests: fix eepro100-test leak
  tests: fix tco-test leaks
  tests: fix e1000-test leak
  tests: fix i440fx-test leaks
  tests: fix e1000e leaks
  tests: fix virtio-scsi-test leak
  tests: fix virtio-9p-test leaks
  bus: do not unref hotplug handler
  usb: release the created buses
  tests: allows to run single test in usb-hcd-ehci-test
  tests: fix usb-test leaks
  tests: add specialized device_find function
  tests: fix virtio-blk-test leaks

 include/glib-compat.h           |  21 +++++++
 include/hw/ptimer.h             |   1 +
 include/qemu/timer.h            |   5 +-
 tests/libqos/usb.h              |   1 +
 tests/libqos/virtio-pci.h       |   6 +-
 hw/acpi/pcihp.c                 |  11 ----
 hw/acpi/piix4.c                 |   2 +
 hw/core/bus.c                   |   2 +-
 hw/core/ptimer.c                |   8 +++
 hw/i386/acpi-build.c            |   4 +-
 hw/usb/dev-storage.c            |  16 ++++++
 hw/usb/dev-uas.c                |   2 +
 qtest.c                         |   1 +
 tests/bios-tables-test.c        |   2 +-
 tests/e1000-test.c              |   1 +
 tests/e1000e-test.c             |   6 +-
 tests/eepro100-test.c           |   1 +
 tests/endianness-test.c         |   3 +
 tests/hd-geo-test.c             |  53 +++++++++++------
 tests/i440fx-test.c             |   5 ++
 tests/ide-test.c                |  12 ++++
 tests/ipmi-bt-test.c            |   1 +
 tests/ipmi-kcs-test.c           |   1 +
 tests/libqos/usb.c              |   6 ++
 tests/libqos/virtio-pci.c       |  38 +++++++++++--
 tests/libqtest.c                |  10 ----
 tests/postcopy-test.c           |   2 +-
 tests/ptimer-test-stubs.c       |   5 ++
 tests/ptimer-test.c             | 122 ++++++++++++++++++++++++----------------
 tests/pvpanic-test.c            |   1 +
 tests/q35-test.c                |   3 +
 tests/tco-test.c                |  35 +++++++-----
 tests/test-filter-mirror.c      |   2 +-
 tests/test-filter-redirector.c  |   4 +-
 tests/test-io-channel-command.c |   6 +-
 tests/usb-hcd-ehci-test.c       |  19 +++++--
 tests/usb-hcd-uhci-test.c       |   1 +
 tests/vhost-user-test.c         |  11 ++--
 tests/virtio-9p-test.c          |   2 +-
 tests/virtio-blk-test.c         |  29 +++++-----
 tests/virtio-scsi-test.c        |   2 +-
 util/qemu-timer.c               |   5 --
 42 files changed, 319 insertions(+), 149 deletions(-)

-- 
2.12.0.rc2.3.gc93709801


Re: [Qemu-devel] [PULL 00/28] Leak patches
Posted by Peter Maydell 8 years, 8 months ago
On 1 March 2017 at 09:04, Marc-André Lureau <marcandre.lureau@redhat.com> wrote:
> The following changes since commit e7c83a885f865128ae3cf1946f8cb538b63cbfba:
>
>   vhost-user: delay vhost_user_stop (2017-02-28 19:11:15 +0000)
>
> are available in the git repository at:
>
>   git@github.com:elmarco/qemu.git tags/leak-pull-request
>
> for you to fetch changes up to 80e1eea37a25a7696137e680285e36d0bfdc9f34:
>
>   tests: fix virtio-blk-test leaks (2017-03-01 11:58:57 +0400)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------
>
> Igor Mammedov (1):
>   pc: pcihp: avoid adding ACPI_PCIHP_PROP_BSEL twice
>
> Marc-André Lureau (27):
>   qtest: fix a memory leak
>   tests: fix qmp response leak
>   tests: fix leaks in test-io-channel-command
>   timer: use an inline function for free
>   glib-compat: add g_test_add_data_func_full fallback
>   tests: fix ptimer leaks
>   tests: fix endianness-test leaks
>   tests: fix q35-test leaks
>   tests: fix vhost-user-test leaks
>   tests: fix ide-test leaks
>   tests: fix hd-geo-test leaks
>   tests: fix bios-tables-test leak
>   tests: fix ipmi-kcs-test leak
>   tests: fix ipmi-bt-test leak
>   tests: fix eepro100-test leak
>   tests: fix tco-test leaks
>   tests: fix e1000-test leak
>   tests: fix i440fx-test leaks
>   tests: fix e1000e leaks
>   tests: fix virtio-scsi-test leak
>   tests: fix virtio-9p-test leaks
>   bus: do not unref hotplug handler
>   usb: release the created buses
>   tests: allows to run single test in usb-hcd-ehci-test
>   tests: fix usb-test leaks
>   tests: add specialized device_find function
>   tests: fix virtio-blk-test leaks


Applied, thanks.

-- PMM