I created a kvm virtual machine with windows 7 using qemu2.5. I controlled the vm by spice and do some normal things in the vm, such as file editing, visit websites. I felled my vm run slowly after few days and I got 'insufficient system resources exist to complete the requested service' when I tried to open Task Manager or login the system.
1. How can I solve this problem? 2. How can I improve the performance of vm with window7 (Have some confuguration of qemu, guest or host system need to pay attention to)? Here are the information: qemu version: QEMU emulator version 2.5.1.1, Copyright (c) 2003-2008 Fabrice Bellard uname -a Linux server01 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: <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm"> <name>win7_001</name> <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> <memory>4194304</memory> <currentMemory>4194304</currentMemory> <devices> <emulator>/root/qemu25/x86_64-softmmu/qemu-system-x86_64</emulator> <disk device="disk" type="file"> <driver name="qemu" type="qcow2" cache="none"/> <source file="/root/vm/wind7_01/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'/> <sound model="ac97"/> <video> <model type="qxl" ram="65536" vram="65536" heads="1"/> </video> <channel type="unix"> <source mode="bind"/> <target type="virtio" name="org.qemu.guest_agent.0"/> </channel> <interface type="bridge"> <mac address="fa:16:3e:6f:55:5b"/> <source bridge="virtio"/> <model type="virtio"/> </interface> </devices> <qemu:commandline> <qemu:arg value="-cpu"/> <qemu:arg value="host"/> </qemu:commandline> </domain> Regards John.