[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 44a109: ide: qdev: register ide bus unrealize
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 44a109: ide: qdev: register ide bus unrealize function |
Date: |
Thu, 16 Mar 2017 04:15:11 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 44a109c1b38ddc9f853c33861875d0a85262de4f
https://github.com/qemu/qemu/commit/44a109c1b38ddc9f853c33861875d0a85262de4f
Author: Li Qiang <address@hidden>
Date: 2017-03-15 (Wed, 15 Mar 2017)
Changed paths:
M hw/ide/qdev.c
Log Message:
-----------
ide: qdev: register ide bus unrealize function
we have an idebus unrealize function, but it was being
registered as the unrealize function for the IDE Device,
so it was not getting invoked on device teardown because
nothing is "unrealizing" the IDE devices themselves.
Suggested-by: John Snow <address@hidden>
Signed-off-by: Li Qiang <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>
Commit: c9f086418a255f386e1c4d2c1418c032eb349537
https://github.com/qemu/qemu/commit/c9f086418a255f386e1c4d2c1418c032eb349537
Author: Li Qiang <address@hidden>
Date: 2017-03-15 (Wed, 15 Mar 2017)
Changed paths:
M hw/ide/core.c
M include/hw/ide/internal.h
Log Message:
-----------
ide: core: add cleanup function
As the pci ahci can be hotplug and unplug, in the ahci unrealize
function it should free all the resource once allocated in the
realized function. This patch add ide_exit to free the resource.
Signed-off-by: Li Qiang <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>
Commit: d68f0f778e7f4fbd674627274267f269e40f0b04
https://github.com/qemu/qemu/commit/d68f0f778e7f4fbd674627274267f269e40f0b04
Author: Li Qiang <address@hidden>
Date: 2017-03-15 (Wed, 15 Mar 2017)
Changed paths:
M hw/ide/ahci.c
Log Message:
-----------
ide: ahci: call cleanup function in ahci unit
This can avoid memory leak when hotunplug the ahci device.
Signed-off-by: Li Qiang <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>
Commit: 7c756380281504900aa77af3233463cf3d37ad8f
https://github.com/qemu/qemu/commit/7c756380281504900aa77af3233463cf3d37ad8f
Author: Peter Maydell <address@hidden>
Date: 2017-03-16 (Thu, 16 Mar 2017)
Changed paths:
M hw/ide/ahci.c
M hw/ide/core.c
M hw/ide/qdev.c
M include/hw/ide/internal.h
Log Message:
-----------
Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into
staging
# gpg: Signature made Thu 16 Mar 2017 00:52:41 GMT
# gpg: using RSA key 0x7DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <address@hidden>"
# Primary key fingerprint: FAEB 9711 A12C F475 812F 18F2 88A9 064D 1835 61EB
# Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76 CBD0 7DEF 8106 AAFC 390E
* remotes/jnsnow/tags/ide-pull-request:
ide: ahci: call cleanup function in ahci unit
ide: core: add cleanup function
ide: qdev: register ide bus unrealize function
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/5b467b908162...7c7563802815
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 44a109: ide: qdev: register ide bus unrealize function,
GitHub <=