hatching / vmcloak

Automated Virtual Machine Generation and Cloaking for Cuckoo Sandbox.
479 stars 118 forks source link

The -soundhw argument of qemu was removed #206

Open Cryss76 opened 1 year ago

Cryss76 commented 1 year ago

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