I wrote a little script that should have solved my problems, however
libvirt has other ideas.

http://pastebin.com/HgwtQ3iL
#!/bin/bash
out_args=( )
while (( $# ))
        do if [[ "$1" = "-drive" ]]
                then out_args+=( "$1" "$(<<<"$2" sed \
                                -e s/,boot=on//g \
                                -e s/boot=on,//g \
                                -e s/boot=on//g \
                        )" )
                shift 2
                else out_args+=( "$1" )
                shift
                fi
        done
exec "${0}-original" "${out_ar...@]}"

http://pastebin.com/7SKxnJGV
Some strace output, the exec on line 15 fails with a permission problem.

-- 
qemu -drive boot=on flag causes boot to hang.
https://bugs.launchpad.net/bugs/591423
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to