qemu/chardev
Anton Nefedov 7c44a2a9d1 char: forbid direct chardevice access for hotswap devices
qemu_chr_fe_get_driver() is unsafe, frontends with hotswap support
should not access CharDriver ptr directly as CharDriver might change.

Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1499342940-56739-5-git-send-email-anton.nefedov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-07-14 11:04:33 +02:00
..
2017-06-02 11:33:53 +04:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-06-02 11:33:53 +04:00
2017-06-02 11:33:53 +04:00
2017-06-02 11:33:53 +04:00
2017-06-02 11:33:53 +04:00