]> git.proxmox.com Git - qemu.git/commit
virtio-console: no need to remove char handlers explicitly
authorAmit Shah <amit.shah@redhat.com>
Fri, 13 Jan 2012 09:59:48 +0000 (15:29 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 13 Jan 2012 16:21:03 +0000 (10:21 -0600)
commita10348c3ad3a1bff7c5ace95a32187780d571ebd
tree4cb2170cdbf7c7f0436af662b5f44677bd287178
parenta87f3e8b080205879232f34ff6977cb225b70e05
virtio-console: no need to remove char handlers explicitly

qdev is now equipped (thanks to the last commit) to disassociate
chardevs from the qdev devices on the devices going away.  So doing it
in the virtio-console driver is not necessary.

Since that was the only thing being done in the qdev exit method, drop
it entirely.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-console.c