qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 1efd6e: virtio-rng: Move error-checking forwa


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 1efd6e: virtio-rng: Move error-checking forward to prevent...
Date: Mon, 04 Aug 2014 06:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 1efd6e072cb13b7a7050acc9c673eb4ff25ddfc9
      
https://github.com/qemu/qemu/commit/1efd6e072cb13b7a7050acc9c673eb4ff25ddfc9
  Author: John Snow <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M hw/virtio/virtio-rng.c

  Log Message:
  -----------
  virtio-rng: Move error-checking forward to prevent memory leak

This patch pushes the error-checking forward and the virtio
initialization backward in the device realization function
in order to prevent memory leaks for hot plug scenarios.

Signed-off-by: John Snow <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: c617dd3b7e8e82511060b8f7a9c51e46c5c1e87a
      
https://github.com/qemu/qemu/commit/c617dd3b7e8e82511060b8f7a9c51e46c5c1e87a
  Author: John Snow <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M hw/virtio/virtio-rng.c

  Log Message:
  -----------
  virtio-rng: replace error_set calls with error_setg

Under recommendation from Luiz Capitulino, we are changing
the error_set calls to error_setg while we are fixing up
the error handling pathways of virtio-rng.

Signed-off-by: John Snow <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: 924c09db51b147881d51d8102deb4f285305c1b7
      
https://github.com/qemu/qemu/commit/924c09db51b147881d51d8102deb4f285305c1b7
  Author: Peter Maydell <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M hw/virtio/virtio-rng.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/amit-virtio-rng/for-2.2' into staging

* remotes/amit-virtio-rng/for-2.2:
  virtio-rng: replace error_set calls with error_setg
  virtio-rng: Move error-checking forward to prevent memory leak

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


Compare: https://github.com/qemu/qemu/compare/7b13ff3f156b...924c09db51b1

reply via email to

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