commit | a561adfaecc9eb6fb66941b450458801f3f60ca0 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 11 15:26:01 2015 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 11 16:47:44 2015 +1030 |
tree | fc4bb1870df410e832adb8e321b6a2417706b33d | |
parent | 713e3f72244cb67fe1ad5c82a061c0b1be2f2fc5 [diff] |
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 <rusty@rustcorp.com.au>