mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
lguest: always put console in PCI slot #1.
This simplifies the early probe. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
59eba788db
commit
713e3f7224
@ -2773,6 +2773,9 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
/* We always have a console device, and it's always device 1. */
|
||||
setup_console();
|
||||
|
||||
/* The options are fairly straight-forward */
|
||||
while ((c = getopt_long(argc, argv, "v", opts, NULL)) != EOF) {
|
||||
switch (c) {
|
||||
@ -2813,9 +2816,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
verbose("Guest base is at %p\n", guest_base);
|
||||
|
||||
/* We always have a console device */
|
||||
setup_console();
|
||||
|
||||
/* Initialize the (fake) PCI host bridge device. */
|
||||
init_pci_host_bridge();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user