xenconsole: try to attach to PV console if HVM fails
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 2 Oct 2015 15:48:59 +0000 (17:48 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 8 Oct 2015 11:22:45 +0000 (12:22 +0100)
commit96b4f77a55833895677cf4b4a33fc50c7b3da032
treeab5b6c09849b0dc1e4a2d8e224cfe0bbd6f62655
parenta3d07f8262111d1edd539913a82443acf0b1a3c6
xenconsole: try to attach to PV console if HVM fails

HVM guests have always used the emulated serial console by default, but if
the emulated serial pty cannot be fetched from xenstore try to use the PV
console instead.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
tools/console/client/main.c