From: Rusty Russell Date: Wed, 11 Feb 2015 04:56:01 +0000 (+1030) Subject: lguest: use the PCI console device's emerg_wr for early boot messages. X-Git-Tag: fixes-v4.0-rc1~61^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a561adfaecc9eb6fb66941b450458801f3f60ca0;p=pandora-kernel.git lguest: use the PCI console device's emerg_wr for early boot messages. This involves manually checking the console device (which is always in slot 1 of bus 0) and using the window in VIRTIO_PCI_CAP_PCI_CFG to program it (as we can't map the BAR yet). We could in fact do this much earlier, but we wait for the first write from the virtio_cons_early_init() facility. Signed-off-by: Rusty Russell --- Reading git-diff-tree failed