Skip to content
Snippets Groups Projects
Commit a561adfa authored by Rusty Russell's avatar Rusty Russell
Browse files

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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 713e3f72
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment