[Bug 591423] Re: qemu -drive boot=on flag causes boot to hang.

Mike Mestnik mmestnik at nagios.com
Tue Jun 8 22:09:13 BST 2010


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_args[@]}"

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.



More information about the Ubuntu-server-bugs mailing list