* [Qemu-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed
@ 2012-11-16 10:02 Dunrong Huang
2012-11-16 10:49 ` [Qemu-devel] [Spice-devel] " Christophe Fergeau
0 siblings, 1 reply; 6+ messages in thread
From: Dunrong Huang @ 2012-11-16 10:02 UTC (permalink / raw)
To: qemu-devel, spice-devel, Amit Shah, Hans de Goede
Hi all:
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.
the command line I use is:
~/usr/bin/qemu-system-x86_64 -enable-kvm -m 1024 -smp 1 -device
virtio-serial-pci -chardev spicevmc,id=charchannel1,name=vdagent
-device virtserialport,chardev=charchannel1,id=channel1,name=com.redhat.spice.0
-spice port=5900,addr=0.0.0.0,disable-ticketing -vga qxl -global
qxl-vga.vram_size=67108864 win7.qcow2 -usb -device usb-ehci
-readconfig ich9-ehci-uhci.cfg -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 -chardev
pty,id=charconsole0 -device
virtconsole,chardev=charconsole0,id=console0 -snapshot
I have installed virtio-serial drivers using virtio-win-0.1-30.iso in
windows guest. QEMU is installed using latest git tree.
I am rather surprised that in the following case, guest will not hang.
1) If I assign more than one cpu to guest, e.g. "-smp 2", guest will not hang.
2) If I do not use usbredir, i.e. delete thest parameters from command line:
"-usb -device usb-ehci -readconfig ich9-ehci-uhci.cfg -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3"
guest will not hang too.
3) If I dont use pty, i.e. delete these parameters,
" -chardev pty,id=charconsole0 -device
virtconsole,chardev=charconsole0,id=console0",
guest will not hang too.
I don't know what make QEMU hang, windows virtio-serial driver, QEMU
virtio-serial or usb redirection?
Any help is appreciated.
--
Best Regards,
Dunrong Huang
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed
2012-11-16 10:02 [Qemu-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed Dunrong Huang
@ 2012-11-16 10:49 ` Christophe Fergeau
2012-11-16 11:03 ` Marian Krcmarik
2012-11-16 11:22 ` Dunrong Huang
0 siblings, 2 replies; 6+ messages in thread
From: Christophe Fergeau @ 2012-11-16 10:49 UTC (permalink / raw)
To: Dunrong Huang; +Cc: Amit Shah, spice-devel, qemu-devel, Hans de Goede
[-- Attachment #1: Type: text/plain, Size: 378 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed
2012-11-16 10:49 ` [Qemu-devel] [Spice-devel] " Christophe Fergeau
@ 2012-11-16 11:03 ` Marian Krcmarik
2012-11-16 11:28 ` Dunrong Huang
2012-11-16 11:22 ` Dunrong Huang
1 sibling, 1 reply; 6+ messages in thread
From: Marian Krcmarik @ 2012-11-16 11:03 UTC (permalink / raw)
To: Christophe Fergeau; +Cc: Amit Shah, spice-devel, qemu-devel, Dunrong Huang
----- Original Message -----
> From: "Christophe Fergeau" <cfergeau@redhat.com>
> To: "Dunrong Huang" <riegamaths@gmail.com>
> Cc: "Amit Shah" <amit.shah@redhat.com>, "spice-devel" <spice-devel@lists.freedesktop.org>, "qemu-devel"
> <qemu-devel@nongnu.org>
> 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-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed
2012-11-16 10:49 ` [Qemu-devel] [Spice-devel] " Christophe Fergeau
2012-11-16 11:03 ` Marian Krcmarik
@ 2012-11-16 11:22 ` Dunrong Huang
2012-11-16 11:40 ` Christophe Fergeau
1 sibling, 1 reply; 6+ messages in thread
From: Dunrong Huang @ 2012-11-16 11:22 UTC (permalink / raw)
To: Christophe Fergeau; +Cc: Amit Shah, spice-devel, qemu-devel, Hans de Goede
Thanks for your quick reply.
2012/11/16 Christophe Fergeau <cfergeau@redhat.com>:
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed
2012-11-16 11:03 ` Marian Krcmarik
@ 2012-11-16 11:28 ` Dunrong Huang
0 siblings, 0 replies; 6+ messages in thread
From: Dunrong Huang @ 2012-11-16 11:28 UTC (permalink / raw)
To: Marian Krcmarik; +Cc: Amit Shah, spice-devel, qemu-devel, Christophe Fergeau
2012/11/16 Marian Krcmarik <mkrcmari@redhat.com>:
>
>
> ----- Original Message -----
>> From: "Christophe Fergeau" <cfergeau@redhat.com>
>> To: "Dunrong Huang" <riegamaths@gmail.com>
>> Cc: "Amit Shah" <amit.shah@redhat.com>, "spice-devel" <spice-devel@lists.freedesktop.org>, "qemu-devel"
>> <qemu-devel@nongnu.org>
>> 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-devel@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>
--
Best Regards,
Dunrong Huang
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed
2012-11-16 11:22 ` Dunrong Huang
@ 2012-11-16 11:40 ` Christophe Fergeau
0 siblings, 0 replies; 6+ messages in thread
From: Christophe Fergeau @ 2012-11-16 11:40 UTC (permalink / raw)
To: Dunrong Huang; +Cc: Amit Shah, spice-devel, qemu-devel, Hans de Goede
[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]
Hey,
On Fri, Nov 16, 2012 at 07:22:58PM +0800, Dunrong Huang wrote:
> 2012/11/16 Christophe Fergeau <cfergeau@redhat.com>:
> > 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
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-16 11:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 10:02 [Qemu-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed Dunrong Huang
2012-11-16 10:49 ` [Qemu-devel] [Spice-devel] " Christophe Fergeau
2012-11-16 11:03 ` Marian Krcmarik
2012-11-16 11:28 ` Dunrong Huang
2012-11-16 11:22 ` Dunrong Huang
2012-11-16 11:40 ` Christophe Fergeau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).