I created an virtual machine in centos with qemu2.5, install windows 7 and
remote access with spice.

All the applications closed suddenly and back to login screen when I
visiting the website.

I login and found my documents didn't  save and I could not connect to the
Internet.

I got "Application Error 1000" in Windows Logs and it told me that the
winlogon.exe crashed.

It happen 3-4 times one day, 3 of my guests have the same situation and it
never happen in my physical PC.

How can I solve this problem?

Then windows error:

<?xml version="1.0" encoding="utf-8"?>

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
    <Provider Name="Application Error"/>
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-03-21T06:17:15.000000000Z"/>
    <EventRecordID>9287</EventRecordID>
    <Channel>Application</Channel>
    <Computer>gcloud-PC-zhangxm</Computer>
    <Security/>
  </System>
  <EventData>
    <Data>winlogon.exe</Data>
    <Data>6.1.7600.16385</Data>
    <Data>4a5bc8ce</Data>
    <Data>unknown</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000409</Data>
    <Data>0000000000da3c52</Data>
    <Data>234</Data>
    <Data>01d2a12538813760</Data>
    <Data>C:\Windows\system32\winlogon.exe</Data>
    <Data>unknown</Data>
    <Data>06db0240-0dfe-11e7-9af3-bbfefe728fc5</Data>
  </EventData>
</Event>



qemu version :
QEMU emulator version 2.5.1.1, Copyright (c) 2003-2008 Fabrice Bellard

linux:
Linux server112 4.2.0-1.el7.elrepo.x86_64 #1 SMP Sun Aug 30 21:25:29 EDT
2015 x86_64 x86_64 x86_64 GNU/Linux


Libvirt:

<?xml version="1.0" encoding="utf-8"?>

<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0"; type="kvm">

  <name>i-win701</name>
  <uuid>4f888442-f232-4b9d-b7fa-7caba869f2d8</uuid>
  <os>
    <type arch="x86_64" machine="pc-i440fx-1.7">hvm</type>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset="localtime"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu current="2">2</vcpu>
  <cpu>
    <topology sockets="1" cores="2" threads="1"/>
  </cpu>
  <pm>
    <suspend-to-mem enabled="no"/>
    <suspend-to-disk enabled="no"/>
  </pm>
  <memory>4194304</memory>
  <currentMemory>4194304</currentMemory>
  <pm>
    <suspend-to-mem enabled="no"/>
    <suspend-to-disk enabled="no"/>
  </pm>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk device="disk" type="file">
      <driver name="qemu" type="qcow2" cache="none"/>
      <source file="/vm/win701/win7.qcow2"/>
      <target bus="virtio" dev="vda"/>
    </disk>
    <disk type="file" device="cdrom">
      <source dev=""/>
      <target dev="hdc" bus="ide"/>
    </disk>
    <serial type="pty">
      <source path="/dev/pts/1"/>
      <target port="0"/>
    </serial>
    <input type="tablet" bus="usb"/>
    <input type="mouse" bus="ps2"/>
    <controller type="usb" index="0" model="ich9-ehci1">
      <alias name="usb0"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci1">
      <alias name="usb0"/>
      <master startport="0"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci2">
      <alias name="usb0"/>
      <master startport="2"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci3">
      <alias name="usb0"/>
      <master startport="4"/>
    </controller>
    <redirdev bus="usb" type="spicevmc">
      <alias name="redir0"/>
    </redirdev>
    <redirdev bus="usb" type="spicevmc">
      <alias name="redir1"/>
    </redirdev>
    <redirdev bus="usb" type="spicevmc">
      <alias name="redir2"/>
    </redirdev>
    <redirdev bus="usb" type="spicevmc">
      <alias name="redir3"/>
    </redirdev>
    <graphics type="spice" autoport="yes" listen="0.0.0.0"
keymap="en-us"></graphics>
    <sound model="ac97"/>
    <video>
      <model type="qxl" ram="65536" vram="65536" heads="1"/>
    </video>
    <channel type="unix">
      <source mode="bind"
path="/var/lib/libvirt/qemu/i-win701.org.qemu.guest_agent.0"/>
      <target type="virtio" name="org.qemu.guest_agent.0"/>
    </channel>
    <controller type="virtio-serial" index="0"/>
    <channel type="spicevmc">
      <target type="virtio" name="com.redhat.spice.0"/>
    </channel>
    <interface type="bridge">
      <mac address="fa:16:3e:5b:21:6f"/>
      <source bridge="virtio"/>
      <model type="virtio"/>
    </interface>
  </devices>
  <qemu:commandline>
    <qemu:arg value="-cpu"/>
    <qemu:arg value="host"/>
  </qemu:commandline>
</domain>

Regards,
John

Reply via email to