[Spice-devel] Fail to create a printing channel

2012-03-22 Thread Charles . Tsai-蔡清海-研究發展部
Alon, I am running the following script to create the printing channel based on the virtio device framework. When the VM is launched, it seems to block somewhere in Qemu. If I remove the following two lines, the VM can be launched without any problem.

Re: [Spice-devel] Fail to create a printing channel

2012-03-22 Thread Alon Levy
On Thu, Mar 22, 2012 at 07:34:38PM +0800, Charles.Tsai-蔡清海-研究發展部 wrote: > Alon, Or anyone else on the list.. > > I am running the following script to create the printing channel based > on the virtio device framework. > When the VM is launched, it seems to block somewhere in Qemu. >

Re: [Spice-devel] Fail to create a printing channel

2012-03-22 Thread Charles . Tsai-蔡清海-研究發展部
Alon, I did all of what you mentioned before. Nothing is missed in my checklist. Function "spice_server_char_device_add_interface" in fact is not called at all. Qemu somehow is blocked somewhere. For now, I still do not know the root cause. -Original Message- From: Alon Levy [mailto:al..

Re: [Spice-devel] Fail to create a printing channel

2012-03-22 Thread Alon Levy
On Thu, Mar 22, 2012 at 09:55:45PM +0800, Charles.Tsai-蔡清海-研究發展部 wrote: > Alon, > > I did all of what you mentioned before. Nothing is missed in my checklist. > Function "spice_server_char_device_add_interface" in fact is not called at > all. > Qemu somehow is blocked somewhere. For now, I still

Re: [Spice-devel] Fail to create a printing channel

2012-03-22 Thread Charles . Tsai-蔡清海-研究發展部
Alon, I will put some traces in Qemu to see if I can find out where the code is stuck. -Original Message- From: Alon Levy [mailto:al...@redhat.com] Sent: Thursday, March 22, 2012 10:22 PM To: Charles.Tsai-蔡清海-研究發展部 Cc: spice-devel@lists.freedesktop.org Subject: Re: Fail to cre

Re: [Spice-devel] Fail to create a printing channel

2012-03-22 Thread Charles . Tsai-蔡清海-研究發展部
Alon, In Windows, driver name is provided by the device driver. In this case , "com.redhat.print.0" is the device visible to application. Because device "com.redhat.print.0" is created by the Qemu which is in Linux, how the Linux passes the driver information to Windows So that Windows applicati

Re: [Spice-devel] Fail to create a printing channel

2012-03-23 Thread Alon Levy
On Fri, Mar 23, 2012 at 05:08:34AM +, Charles.Tsai-蔡清海-研究發展部 wrote: > Alon, > > In Windows, driver name is provided by the device driver. In this case , > "com.redhat.print.0" is the device visible to application. > Because device "com.redhat.print.0" is created by the Qemu which is in Linux,

Re: [Spice-devel] Fail to create a printing channel

2012-03-23 Thread Charles . Tsai-蔡清海-研究發展部
Alon, Thank you for information. In order isolate the issue, I simply just ran the following script to create the printing channel. Initially, I disable the Virio serial adapter. When I enable the Virtio serial adapter, the Windows is totally locked up. I am going to debug the Windows virtio