]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.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>
Tue, 13 Mar 2012 23:24:52 +0000 (19:24 -0400)
commit42c46e6ba5461fcab289bf4a1b7160f94c10aa28
treeac81c4586d8925158f38d59a5c4134eeabb00440
parentcf8e019b523a8caa95b56ff0ce62a4856b14395f
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.

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