https://www.mail-archive.com/qemu-devel@nongnu.org/msg833146.html
I tested this patch which simply increases the stack alignment to 16 bytes and it fixes the assertion failure and otherwise appears to work (in as far as it boots the libguestfs appliance). However I've no idea if this is the right thing to do. I also had to change the tabs to spaces otherwise checkpatch complains which makes the patch look a bit odd. Rich.