xen, fbfront: fix connecting to backend
authorJuergen Gross <jgross@suse.com>
Fri, 7 Apr 2017 15:28:23 +0000 (17:28 +0200)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:17:49 +0000 (13:17 +0000)
commit8fd97755fec136b6f20e411a27044a2655184fcb
tree0c31eef375ab8526298f26cf2a8f0702663d017f
parent111d7076574f3c4c36c63155ef6a0cef71b648a0
xen, fbfront: fix connecting to backend

commit 9121b15b5628b38b4695282dc18c553440e0f79b upstream.

Connecting to the backend isn't working reliably in xen-fbfront: in
case XenbusStateInitWait of the backend has been missed the backend
transition to XenbusStateConnected will trigger the connected state
only without doing the actions required when the backend has
connected.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/video/xen-fbfront.c