i386: hvf: Fix smp boot hangs
commit26dc4a5bf96bb0ee19a0e446fead1546d5b07dac
authorHeiher <r@hev.cc>
Wed, 23 Jan 2019 07:34:02 +0000 (23 15:34 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2019 15:50:21 +0000 (5 16:50 +0100)
treec118c9eca2eb370626eaa649ef20f3c7d28bb75f
parentf5ce0a5f5a8d2f8c64001b87e9c27f897b00c58c
i386: hvf: Fix smp boot hangs

The machine that with hvf accelerator and smp sometimes boot hangs
because all processors are executing instructions at startup,
including early I/O emulations. We should just allow the bootstrap
processor to initialize the machine and then to wake up slave
processors by interrupt.

Signed-off-by: Heiher <r@hev.cc>
Message-Id: <20190123073402.28465-1-r@hev.cc>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hvf/hvf.c