mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
713e3f7224
commit
a561adfaec
1 changed files with 134 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue