aboutsummaryrefslogtreecommitdiffstats
path: root/usb-redir.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:38 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:43 -0500
commit70f24fb6c647c65760c8e1caa29f72531d5be8cd (patch)
tree0e9816d4cbc2f6483926f1227cd355509cb3fdec /usb-redir.c
parentf69554b9e859f5672afda827a9f8772ff41d0f59 (diff)
char: rename qemu_chr_close() -> qemu_chr_delete()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'usb-redir.c')
-rw-r--r--usb-redir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb-redir.c b/usb-redir.c
index 84fa020b0..c74b1560b 100644
--- a/usb-redir.c
+++ b/usb-redir.c
@@ -837,7 +837,7 @@ static void usbredir_handle_destroy(USBDevice *udev)
{
USBRedirDevice *dev = DO_UPCAST(USBRedirDevice, dev, udev);
- qemu_chr_close(dev->cs);
+ qemu_chr_delete(dev->cs);
/* Note must be done after qemu_chr_close, as that causes a close event */
qemu_bh_delete(dev->open_close_bh);