[Spice-devel] Qemu repository

Hans de Goede hdegoede at redhat.com
Thu May 17 23:39:23 PDT 2012


Hi,

On 05/18/2012 02:57 AM, Charles.Tsai-蔡清海-研究發展部 wrote:
> Hi Hans,
>
> 	Thank you for your suggestion.  I tried your Qemu code. But I found my qemu script which is only coded with simple qemu command options.
> 	Before using your Qemu code,  my VM could be launched by running the following script without any problem. But it failed to launch the VM      when using your Qemu code. Are there any major changes in Qemu that fail to run the following Qemu command options? Please give me some suggestions or hints why the following script fails to launch a VM. Thanks.
> 	
> =================================================
>
> #!/bin/sh
>
> ARGS="-localtime -spice port=5902,disable-ticketing \
> -drive file=/var/lib/libvirt/images/win7-64-ultimate.img \
> -vga qxl \
> -device virtio-serial-pci,ioeventfd=off \
> -chardev spicevmc,id=vdagent,name=vdagent \
> -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
> -smp 1,cores=2 -m 2048 -enable-kvm"
>
> echo "Starting QEMU with..."
> echo $ARGS
> echo "...."
> exec sudo qemu-system-x86_64  --version
> exec sudo /usr/local/bin/qemu-system-x86_64  $ARGS
>

Nothing obvious here why this would not work, it would help if you can
include the output of qemu when it fails.

Regards,

Hans


More information about the Spice-devel mailing list