go-qemu
go-qemu copied to clipboard
Fix infinite recursion in flatunion marshalling.
The current implementation passes the value of Blockdevoptions as a field directly to the intermediate struct, causing the Marshal() function to be called repeatedly and resulting in a stack overflow. Add an intermediate type alias to fix this issue.
Fix #190