Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Marian Krcmarik


- Original Message -
> From: "Christophe Fergeau" 
> To: "Dunrong Huang" 
> Cc: "Amit Shah" , "spice-devel" 
> , "qemu-devel"
> 
> Sent: Friday, November 16, 2012 11:49:30 AM
> Subject: Re: [Spice-devel] QEMU hangs when shutdown windows7 guest with 
> virtio-serial drivers installed
> 
> On Fri, Nov 16, 2012 at 06:02:33PM +0800, Dunrong Huang wrote:
> > I meet a weird problem:
> > If I I boot QEMU with virtio-serial being enabled and assign only
> > one
> > cpu to windows VM, when I shutdown VM, QEMU hangs with using 100%
> > cpu.
> 
> What version of virtio-serial were you using? The old virtio-serial
> driver
> from spice-guest-tools-0.1 had similar issues.
This is known issue of virtio-serial, unfortunately I cannot find publicly 
available binary, but should be fixed by:
https://github.com/YanVugenfirer/kvm-guest-drivers-windows/commit/4f979020d9d532afa3970203127f67bc6a5749bf

> 
> Christophe
> 
> ___
> Spice-devel mailing list
> spice-de...@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 



Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Christophe Fergeau
Hey,

On Fri, Nov 16, 2012 at 07:22:58PM +0800, Dunrong Huang wrote:
> 2012/11/16 Christophe Fergeau :
> > On Fri, Nov 16, 2012 at 06:02:33PM +0800, Dunrong Huang wrote:
> >> I meet a weird problem:
> >> If I I boot QEMU with virtio-serial being enabled and assign only one
> >> cpu to windows VM, when I shutdown VM, QEMU hangs with using 100% cpu.
> >
> > What version of virtio-serial were you using? The old virtio-serial driver
> > from spice-guest-tools-0.1 had similar issues.
> The driver I downloaded is from
> http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/virtio-win-0.1-30.iso.
> 
> After mounting ISO, I found following content:
> $ cat win7/x86/vioser.inf
> [Version]
> Signature="$WINDOWS NT$"
> Class=System
> ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
> Provider=%REDHAT%
> DriverVer=07/03/2012,61.63.103.3000
> CatalogFile=vioser.cat
> DriverPackageType = PlugAndPlay
> DriverPackageDisplayName = %VirtioSerial.DeviceDesc%
> 
> Is there a newer driver that has fixed the issue?

The virtio-win-0.1-30 drivers are the newest ones I know of.

Christophe


pgpdfBHZvYhOL.pgp
Description: PGP signature


Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Dunrong Huang
2012/11/16 Marian Krcmarik :
>
>
> - Original Message -
>> From: "Christophe Fergeau" 
>> To: "Dunrong Huang" 
>> Cc: "Amit Shah" , "spice-devel" 
>> , "qemu-devel"
>> 
>> Sent: Friday, November 16, 2012 11:49:30 AM
>> Subject: Re: [Spice-devel] QEMU hangs when shutdown windows7 guest with 
>> virtio-serial drivers installed
>>
>> On Fri, Nov 16, 2012 at 06:02:33PM +0800, Dunrong Huang wrote:
>> > I meet a weird problem:
>> > If I I boot QEMU with virtio-serial being enabled and assign only
>> > one
>> > cpu to windows VM, when I shutdown VM, QEMU hangs with using 100%
>> > cpu.
>>
>> What version of virtio-serial were you using? The old virtio-serial
>> driver
>> from spice-guest-tools-0.1 had similar issues.
> This is known issue of virtio-serial, unfortunately I cannot find publicly 
> available binary, but should be fixed by:
> https://github.com/YanVugenfirer/kvm-guest-drivers-windows/commit/4f979020d9d532afa3970203127f67bc6a5749bf
>
Thanks, I will check it, but I dont know how to compile window driver
as a linux programmer, :-).
Need a windows guy to help me compile it.
>>
>> Christophe
>>
>> ___
>> Spice-devel mailing list
>> spice-de...@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>



-- 
Best Regards,

Dunrong Huang



Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Dunrong Huang
Thanks for your quick reply.

2012/11/16 Christophe Fergeau :
> On Fri, Nov 16, 2012 at 06:02:33PM +0800, Dunrong Huang wrote:
>> I meet a weird problem:
>> If I I boot QEMU with virtio-serial being enabled and assign only one
>> cpu to windows VM, when I shutdown VM, QEMU hangs with using 100% cpu.
>
> What version of virtio-serial were you using? The old virtio-serial driver
> from spice-guest-tools-0.1 had similar issues.
The driver I downloaded is from
http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/virtio-win-0.1-30.iso.

After mounting ISO, I found following content:
$ cat win7/x86/vioser.inf
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%REDHAT%
DriverVer=07/03/2012,61.63.103.3000
CatalogFile=vioser.cat
DriverPackageType = PlugAndPlay
DriverPackageDisplayName = %VirtioSerial.DeviceDesc%

Is there a newer driver that has fixed the issue?
>
> Christophe



-- 
Best Regards,

Dunrong Huang



Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Christophe Fergeau
On Fri, Nov 16, 2012 at 06:02:33PM +0800, Dunrong Huang wrote:
> I meet a weird problem:
> If I I boot QEMU with virtio-serial being enabled and assign only one
> cpu to windows VM, when I shutdown VM, QEMU hangs with using 100% cpu.

What version of virtio-serial were you using? The old virtio-serial driver
from spice-guest-tools-0.1 had similar issues.

Christophe


pgpsuydkg0cDM.pgp
Description: PGP signature