]> git.karo-electronics.de Git - linux-beck.git/commit
Revert "virtio_console: Initialize guest_connected=true for rproc_serial"
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Mon, 18 Mar 2013 08:49:14 +0000 (19:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 18 Mar 2013 08:50:46 +0000 (19:20 +1030)
commitaabd6a8fa5a933bdf968cd86e34122745c1960e8
tree0ad6aacfb51136986e6d3c328e63015c8dee4f11
parente84e7a56a3aa2963db506299e29a5f3f09377f9b
Revert "virtio_console: Initialize guest_connected=true for rproc_serial"

This reverts commit 8078db789a92b10ff6e2d713231b5367e014c53b, and
adds a lengthy comment explaining the problem area.

The reverted patch caused opening of ports to fail for rproc_serial.
In probe guest_connected was set to true, but port_fops_open()
fails with -EMFILE if guest_connected already is true.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c