hatching/vmcloak

The -soundhw argument of qemu was removed

Cryss76 opened this issue · 0 comments

While creating a base image with vmcloak init, I got the following error from qemu:
qemu-system-x86_64: -soundhw: invalid option

The argument -soundhw was deprecated since version 5.1 and seemed to be removed recently.

To fix it I replaced
"-soundhw", "hda",
in line 61 and 85 of vmcloak.dependencies.qemu with:
"-device", "intel-hda",
"-device", "hda-duplex",

This was recommended on this site:
https://qemu.readthedocs.io/en/stable-6.1/about/deprecated.html