[Spice-devel] Qemu repository

Charles.Tsai-蔡清海-研究發展部 charles.tsai at cloudena.com
Thu May 17 23:48:40 PDT 2012


Hans,

There is no output. It simply just exits.
Is there any way to get the log of Qemu? I tried to find the log in
/var/log/libvirt/qemu but found nothing there.


-----Original Message-----
From: Hans de Goede [mailto:hdegoede at redhat.com] 
Sent: Friday, May 18, 2012 2:39 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: Alon Levy; Yonit Halperin; Jonah.Wu-吳君勉-研究發展部; spice-devel at freedesktop.org
Subject: Re: [Spice-devel] Qemu repository

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