Allow selecting ac97

This commit is contained in:
Jeremy Soller 2022-11-15 15:11:38 -07:00
parent c435121423
commit eb75853345
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -60,7 +60,13 @@ else
QEMUFLAGS+=-machine $(QEMU_MACHINE) QEMUFLAGS+=-machine $(QEMU_MACHINE)
endif endif
ifneq ($(audio),no) ifeq ($(audio),no)
# No audio
else ifeq ($(audio),ac97)
# AC'97
QEMUFLAGS+=-device AC97
else
# Intel High Definition Audio
QEMUFLAGS+=-device ich9-intel-hda -device hda-duplex QEMUFLAGS+=-device ich9-intel-hda -device hda-duplex
endif endif