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

Denis Goleshchikhin 591423 at bugs.launchpad.net
Sun Aug 15 13:38:07 BST 2010


I needed to add "media=disk" option also to boot Windows XP properly on
my Intel Atom D510 based system (Linux 2.6.32-24-generic #39-Ubuntu SMP
Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux). So the Mike`s script for
me is:

#!/bin/bash

out_args=( )
while (( $# ))
 do if [[ "$1" = "-drive" ]]
  then out_args+=( "$1" "$(<<<"$2" sed \
    -e s/,boot=on/,media=disk/g \
    -e s/boot=on,/media=disk,/g \
    -e s/boot=on/media=disk/g \
   )" )
  shift 2
  else out_args+=( "$1" )
  shift
  fi
 done
exec -a "$0" "${0}-original" "${out_args[@]}"

-- 
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 libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list