]> git.proxmox.com Git - mirror_qemu.git/commit
be-hci: use backend functions
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 26 Jan 2017 13:55:04 +0000 (17:55 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 2 Jun 2017 07:33:53 +0000 (11:33 +0400)
commit93a78e41242ba164ae6af1690ea68fe22165ad4b
tree5019324d6e41f38207949ebe872ba64e5b851b86
parent7566c6efe75572c63a8841fc09d0a8935b188c2f
be-hci: use backend functions

Avoid accessing CharBackend directly, use qemu_chr_be_* methods instead.

be->chr_read should exists if qemu_chr_be_can_write() is true.

(use qemu_chr_be_write(), _impl() bypasses replay)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Andrzej Zaborowski <balrogg@gmail.com>
hw/bt/hci-csr.c