summaryrefslogtreecommitdiffstats
path: root/include/hw/i386
diff options
context:
space:
mode:
authorGerd Hoffmann2020-07-02 15:25:21 +0200
committerGerd Hoffmann2020-07-06 17:01:11 +0200
commit6b8d1416482feb84f5c1d33a4e2acf7367a8f11f (patch)
tree87681a2aecf03db01dc4f5512e52ebc190a55d77 /include/hw/i386
parentaudio: rework pcspk_init() (diff)
downloadqemu-6b8d1416482feb84f5c1d33a4e2acf7367a8f11f.tar.gz
qemu-6b8d1416482feb84f5c1d33a4e2acf7367a8f11f.tar.xz
qemu-6b8d1416482feb84f5c1d33a4e2acf7367a8f11f.zip
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
Diffstat (limited to 'include/hw/i386')
-rw-r--r--include/hw/i386/pc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index d7690bf429..a802e69974 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -33,6 +33,7 @@ struct PCMachineState {
PCIBus *bus;
I2CBus *smbus;
PFlashCFI01 *flash[2];
+ ISADevice *pcspk;
/* Configuration options: */
uint64_t max_ram_below_4g;