bt: use qemu_chr_alloc()
commitd5cafc733d21167fce7fcc3b45530ecb1f878e09
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 22 Oct 2016 07:55:22 +0000 (22 10:55 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2017 17:07:59 +0000 (27 18:07 +0100)
treeaa1a5e2357814a467a8c5f4cba3bfd58c8007b8d
parent41ac54b253f41df924c350ef63564df8e1d8ad88
bt: use qemu_chr_alloc()

Use common allocator for CharDriverState.

Rename the now untouched parent field.

The casts added are temporary, they are replaced with QOM type-safe
macros in a later patch in this series.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/bt/hci-csr.c