• Stefano Stabellini's avatar
    xen/xenbus: ignore console/0 · 42c46e6b
    Stefano Stabellini authored
    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: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    42c46e6b
xenbus_probe_frontend.c 10.8 KB