]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/xenbus: ignore console/0
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 13 Mar 2012 18:30:44 +0000 (18:30 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 19 Apr 2012 21:13:00 +0000 (17:13 -0400)
commit7f16b38e5772a86810f9c6fae582eea8d531d0fd
tree141752da2c5e9fd61b9a1fad57b246651de774de
parent4e5ed57acc4e9c0631926503ca08f217388ca418
xen/xenbus: ignore console/0

Unfortunately xend creates a bogus console/0 frotend/backend entry pair
on xenstore that console backends cannot properly cope with.
Any guest behavior that is not completely ignoring console/0 is going
to either cause problems with xenconsoled or qemu.
Returning 0 or -ENODEV from xencons_probe is not enough because it is
going to cause the frontend state to become 4 or 6 respectively.
The best possible thing we can do here is just ignore the entry from
xenbus_probe_frontend.

[upstream git commit 42c46e6]
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_probe_frontend.c