<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I also have crashes when I launch a
      Windows 7 VM with recent releases of qemu-kvm-2.0, while I don't
      have problems with qemu-kvm-1.7.1.<br>
      <br>
      I use snapshot=off :<br>
      <br>
      <font face="Times New Roman, Times, serif">-drive
        file=${SYSTEM_DISK},if=virtio,media=disk,cache=writeback,aio=native,snapshot=off
        <br>
      </font><br>
      and the following SPICE options :<br>
      <br>
      <font face="Times New Roman, Times, serif">-nographic \<br>
        -device qxl-vga \<br>
        -spice $SPICE_OPT \<br>
        -global qxl-vga.vram_size=$VGA_MEM \<br>
        -device virtio-serial-pci \<br>
        -soundhw hda \<br>
        -chardev spicevmc,id=vdagent,name=vdagent \<br>
        -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \<br>
        -balloon virtio \<br>
        -readconfig /opt/qemu_usb_redir/ich9-ehci-uhci.cfg \<br>
        -chardev spicevmc,name=usbredir,id=usbredirchardev1 \<br>
        -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1  \<br>
        -chardev spicevmc,name=usbredir,id=usbredirchardev2 \<br>
        -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2  \<br>
        -chardev spicevmc,name=usbredir,id=usbredirchardev3 \<br>
        -device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 \<br>
        -monitor stdio</font><br>
      <br>
      <br>
      <font face="Times New Roman, Times, serif">with SPICE_OPT=port=$SPICE_PORT,addr='localhost',password=$SPICE_PASS,image-compression=off,streaming-video=off,playback-compression=off</font><br>
      <br>
      Regards,<br>
      Dominique<br>
      <br>
      Le 25/04/2014 17:59, Marc-André Lureau a écrit :<br>
    </div>
    <blockquote
      cite="mid:2125364778.10330889.1398441573149.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">Hey

----- Original Message -----
</pre>
      <blockquote type="cite">
        <pre wrap="">

Try with hard disk image snapshot=on.

Here is how I run qemu:
QEMU_AUDIO_DRV=spice
TMPDIR=/home/rick/qemu/hds
/usr/local/bin/qemu-system-x86_64 -cpu host -enable-kvm \
-m 1536 -name Win7Pro64 -localtime -no-fd-bootchk -smp cores=4 \
-pidfile /home/rick/qemu/hds/win7pro64.pid \
-drive file=/home/rick/qemu/hds/win7pro64.qed,if=virtio,index=0,snapshot=on \
-vga qxl \
-net nic,model=virtio -net user \
-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 \
-chardev spicevmc,name=vdagent,id=vdagent \
-device
virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spice.0
\
-spice port=1247,disable-ticketing \
-monitor <a class="moz-txt-link-freetext" href="telnet:localhost:12471,server,nowait">telnet:localhost:12471,server,nowait</a> \
-drive if=none,id=cd,file=/dev/sg1 \
-device virtio-scsi-pci,id=scsi \
-device scsi-generic,drive=cd \
-balloon virtio \
-soundhw hda \
-device usb-ehci

Let me know if you still can't reproduce, then I'll run with spice debug
level 5.
</pre>
      </blockquote>
      <pre wrap="">
I have been trying to get closer to your configuration, however windows is pretty picky on configuration changes and I hit BSOD.

Can you remove as much hw/arguments from your qemu command line? (for ex, is it still reproducable without soundhw, balloon, CD etc?)

In any case, I think the log could provide some hints.

thanks
_______________________________________________
Spice-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <div style="color:#617d8c;">
        <h4>Dominique Rodrigues</h4>
        <a href="http://www.nanocloud.com">
          <!-- <img src="http://www.nanocloud.com/img/nanologo_small.png" height=30 alt="nanoClouD" style="text-decoration:none;border:0;"  /> -->
          nanoClouD
        </a>
        <br>
        8, rue Lemercier<br>
        75017 Paris<br>
        France<br>
        standard : +33 1 77 69 64 38<br>
        529 002 743 R.C.S. Paris<br>
      </div>
    </div>
  </body>
</html>