On 05/07/2017 16:02, Anton Nefedov wrote:
> {
> -if (!qemu_chr_fe_get_driver(&s->chr)) {
> +if (!qemu_chr_fe_backend_connected(&s->chr)) {
> error_setg(errp, "Can't create serial device, empty char device");
Same here.
Paolo
On Wed, Jul 05, 2017 at 05:02:04PM +0300, Anton Nefedov wrote:
> for a backend change, a number of ioctls has to be replayed to sync
> the current setup of a frontend to a backend tty. This is hopefully
> enough so we don't have to track, store and replay the whole original
> control byte sequence.
for a backend change, a number of ioctls has to be replayed to sync
the current setup of a frontend to a backend tty. This is hopefully
enough so we don't have to track, store and replay the whole original
control byte sequence.
Signed-off-by: Anton Nefedov
Reviewed-by: Vladimir Sementsov-Ogievsk