VM-Windows 10 pauses it self


Recommended Posts

Hi Guys,

 

I am having no luck with this unRaid. Anyway my problem is VM pauses itself after a certain period of time. Don't know what to upload. So I am uploading Digonosis and please see VM logs and I pasted XML as well. Any help will be appreciated.

 

VM Logs

 

 

2016-03-05 07:35:54.606+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0

Domain id=1 is tainted: high-privileges

Domain id=1 is tainted: host-cpu

char device redirected to /dev/pts/0 (label charserial0)

qemu: terminating on signal 15 from pid 11610

2016-03-05 08:08:18.840+0000: shutting down

2016-03-05 08:08:29.086+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0

Domain id=2 is tainted: high-privileges

Domain id=2 is tainted: host-cpu

char device redirected to /dev/pts/0 (label charserial0)

qemu: terminating on signal 15 from pid 11610

2016-03-05 08:10:35.427+0000: shutting down

2016-03-05 08:11:00.491+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0

Domain id=3 is tainted: high-privileges

Domain id=3 is tainted: host-cpu

char device redirected to /dev/pts/0 (label charserial0)

 

 

XML

 

<domain type='kvm' id='3'>

  <name>Windows10</name>

  <uuid>34c10366-9ea5-5a1e-3cda-639e74bd427d</uuid>

  <metadata>

    <vmtemplate name="Custom" icon="windows.png" os="windows"/>

  </metadata>

  <memory unit='KiB'>11010048</memory>

  <currentMemory unit='KiB'>8388608</currentMemory>

  <memoryBacking>

    <nosharepages/>

    <locked/>

  </memoryBacking>

  <vcpu placement='static'>2</vcpu>

  <cputune>

    <vcpupin vcpu='0' cpuset='1'/>

    <vcpupin vcpu='1' cpuset='2'/>

  </cputune>

  <resource>

    <partition>/machine</partition>

  </resource>

  <os>

    <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>

  </os>

  <features>

    <acpi/>

    <apic/>

    <hyperv>

      <relaxed state='on'/>

      <vapic state='on'/>

      <spinlocks state='on' retries='8191'/>

    </hyperv>

  </features>

  <cpu mode='host-passthrough'>

    <topology sockets='1' cores='2' threads='1'/>

  </cpu>

  <clock offset='localtime'>

    <timer name='hypervclock' present='yes'/>

    <timer name='hpet' present='no'/>

  </clock>

  <on_poweroff>destroy</on_poweroff>

  <on_reboot>restart</on_reboot>

  <on_crash>restart</on_crash>

  <devices>

    <emulator>/usr/bin/qemu-system-x86_64</emulator>

    <disk type='file' device='disk'>

      <driver name='qemu' type='raw' cache='writeback'/>

      <source file='/mnt/cache/VMwares/Windows10/vdisk1.img'/>

      <backingStore/>

      <target dev='hdb' bus='virtio'/>

      <boot order='1'/>

      <alias name='virtio-disk1'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>

    </disk>

    <disk type='file' device='disk'>

      <driver name='qemu' type='raw' cache='writeback'/>

      <source file='/mnt/user/VMwares/Windows10/vdisk2.img'/>

      <backingStore/>

      <target dev='hdc' bus='virtio'/>

      <alias name='virtio-disk2'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>

    </disk>

    <disk type='file' device='cdrom'>

      <driver name='qemu' type='raw'/>

      <source file='mnt/user/Softwares/Softwares/WinDows10_Virtio.iso'/>

      <backingStore/>

      <target dev='hda' bus='ide'/>

      <readonly/>

      <boot order='2'/>

      <alias name='ide0-0-0'/>

      <address type='drive' controller='0' bus='0' target='0' unit='0'/>

    </disk>

    <controller type='usb' index='0'>

      <alias name='usb'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>

    </controller>

    <controller type='pci' index='0' model='pci-root'>

      <alias name='pci.0'/>

    </controller>

    <controller type='ide' index='0'>

      <alias name='ide'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>

    </controller>

    <controller type='virtio-serial' index='0'>

      <alias name='virtio-serial0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>

    </controller>

    <interface type='bridge'>

      <mac address='52:54:00:1b:37:8f'/>

      <source bridge='virbr0'/>

      <target dev='vnet0'/>

      <model type='virtio'/>

      <alias name='net0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>

    </interface>

    <serial type='pty'>

      <source path='/dev/pts/0'/>

      <target port='0'/>

      <alias name='serial0'/>

    </serial>

    <console type='pty' tty='/dev/pts/0'>

      <source path='/dev/pts/0'/>

      <target type='serial' port='0'/>

      <alias name='serial0'/>

    </console>

    <channel type='unix'>

      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/Windows10.org.qemu.guest_agent.0'/>

      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>

      <alias name='channel0'/>

      <address type='virtio-serial' controller='0' bus='0' port='1'/>

    </channel>

    <input type='tablet' bus='usb'>

      <alias name='input0'/>

    </input>

    <input type='mouse' bus='ps2'/>

    <input type='keyboard' bus='ps2'/>

    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>

      <listen type='address' address='0.0.0.0'/>

    </graphics>

    <video>

      <model type='vmvga' vram='16384' heads='1'/>

      <alias name='video0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>

    </video>

    <memballoon model='virtio'>

      <alias name='balloon0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>

    </memballoon>

  </devices>

</domain>

tower-diagnostics-20160306-0910.zip

Link to comment
  • 3 weeks later...

I'm Having the same issue.

It started after adding a new drive

I've added another cache drive so the issue isn't no cache space.

I have reduced the memory, Dashboard says 74% memory usage when on.

I've attempted using 1 CPU core, No help there

I've removed gpu pass-through, Disabled Hyper-V.....

 

The last thing I am currently testing is copying the vm disk to a HDD and create a new vm with that disk, its taking a while as its pretty large (600GB)

If anyone has any other methods to try please let me know

 

|Logs:

2016-03-23 14:08:21.276+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0

Domain id=8 is tainted: high-privileges

Domain id=8 is tainted: host-cpu

char device redirected to /dev/pts/1 (label charserial0)

qemu: terminating on signal 15 from pid 4155

2016-03-23 14:10:55.794+0000: shutting down

 

Link to comment

I'm Having the same issue.

It started after adding a new drive

I've added another cache drive so the issue isn't no cache space.

I have reduced the memory, Dashboard says 74% memory usage when on.

I've attempted using 1 CPU core, No help there

I've removed gpu pass-through, Disabled Hyper-V.....

 

The last thing I am currently testing is copying the vm disk to a HDD and create a new vm with that disk, its taking a while as its pretty large (600GB)

If anyone has any other methods to try please let me know

 

|Logs:

2016-03-23 14:08:21.276+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0

Domain id=8 is tainted: high-privileges

Domain id=8 is tainted: host-cpu

char device redirected to /dev/pts/1 (label charserial0)

qemu: terminating on signal 15 from pid 4155

2016-03-23 14:10:55.794+0000: shutting down

 

 

What are the specs of your server cpu & memory?

Link to comment
  • 1 month later...

I'm seeing this same issue.  It's recent, though.  I created this VM more than a month ago and it's been running flawlessly until yesterday, where this same "pausing itself" behavior reared its ugly head.  It seems like it might be CPU or Network load related as I can start up the VM and leave it idle with no issue and it'll pause after streaming video for a few minutes (streaming via Plex).  Here's my XML and log, if it'll help.

 

<domain type='kvm'>
  <name>Windows 10 Pro</name>
  <uuid>6fcf3a30-7c58-cd7c-9aa5-46d392660fed</uuid>
  <metadata>
    <vmtemplate name="Custom" icon="windows.png" os="windows"/>
  </metadata>
  <memory unit='KiB'>6291456</memory>
  <currentMemory unit='KiB'>6291456</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='3'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='2' threads='1'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user0/vDisks/Windows 10 Pro/vdisk1.img'/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/ISOs/windows10.iso'/>
      <target dev='hda' bus='ide'/>
      <readonly/>
      <boot order='2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/ISOs/virtio-win-0.1.113.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:ba:ce:15'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/Windows 10 Pro.org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vmvga' vram='16384' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
</domain>

Domain id=1 is tainted: high-privileges
Domain id=1 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
qemu: terminating on signal 15 from pid 2140
2016-04-27 05:02:14.129+0000: shutting down
2016-04-27 05:02:19.371+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0
Domain id=2 is tainted: high-privileges
Domain id=2 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
qemu: terminating on signal 15 from pid 2140
2016-04-27 05:03:49.233+0000: shutting down
2016-04-27 05:04:01.513+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0
Domain id=3 is tainted: high-privileges
Domain id=3 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
qemu: terminating on signal 15 from pid 2140
2016-04-27 05:04:55.473+0000: shutting down
2016-04-27 05:05:28.108+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0
Domain id=4 is tainted: high-privileges
Domain id=4 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
qemu: terminating on signal 15 from pid 2140
2016-04-27 05:06:58.700+0000: shutting down
2016-04-27 17:57:18.838+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0
Domain id=5 is tainted: high-privileges
Domain id=5 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
qemu: terminating on signal 15 from pid 2140
2016-04-27 18:36:02.707+0000: shutting down
2016-04-27 18:36:16.015+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0
Domain id=6 is tainted: high-privileges
Domain id=6 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
qemu: terminating on signal 15 from pid 2140
2016-04-27 18:41:14.344+0000: shutting down

If anyone has heard of a solution for this one, I am all ears!

Link to comment
  • 5 months later...

Was this issue ever resolved?  I am now experiencing this with my newly created VM

 

I found the root cause to this issue.  My cache drive was running out of space so the VM was being automatically paused by KVM.  For anyone that comes across this thread in the future, please check your cache drive for free space.

Link to comment
  • 3 years later...
32 minutes ago, Rafi said:

My VM is not on a chache drive and it pauses ran fine untill yesterday

Hi i'm haveing the same issue 

And have you checked the free space on the drive that is holding the vdisk?  IE: did you over provision the vdisk and it now won't fit on the drive?

Link to comment
  • 2 months later...
  • 7 months later...

Necropost.

 

Anyone else have anything to offer on this subject?  If I'm connected via RDC or VNC (Splashtop) then the Win10 VM works fine. If I close the connection, the system won't run headless - it'll suspend/sleep within 30 minutes.

 

I've got a long multi-day batch file conversion process running and needless to say, it's not going well because of this.

Link to comment

All hibernate/sleep options are turned off, performance set to max, etc.  I believe the issue may be specific to a particular application.  I wrote a small batch script to output the time to the command prompt every 30 seconds and that never stops or misses a beat, indicating the VM isn't suspending.

 

So, doesn't seem related to this thread.

Edited by Espressomatic
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.