audio: create pcspk device early
Create the pcspk device early, so it exists at machine type initialization time. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20200702132525.6849-17-kraxel@redhat.com
This commit is contained in:
parent
525d654d7a
commit
6b8d141648
2 changed files with 3 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ struct PCMachineState {
|
|||
PCIBus *bus;
|
||||
I2CBus *smbus;
|
||||
PFlashCFI01 *flash[2];
|
||||
ISADevice *pcspk;
|
||||
|
||||
/* Configuration options: */
|
||||
uint64_t max_ram_below_4g;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue