Skip to contentSkip to conversation

QEMU loadvm causes guest OS freeze

Qemu-devel NanothylL 3 participants 8 messages Oct 22, 2013 – Jul 22, 2018

lore
Share & tools
lore

NanothylL

author
#0 lore raw

Public bug reported:

HOST: ubuntu 13.10 x64
GUEST: winxp sp 3 x86

AFFECT QEMU(tested): v1.5.2, v1.5.3, v1.6.0, v1.6.1

I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install". After installing a winxp sp3 into the qemu-system-i386 with command line:

Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

** Affects: qemu
Importance: Undecided
Status: Incomplete

** Tags: freeze hang or system

** Changed in: qemu
Status: New => Incomplete

Signature · 18 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1242963

Title:
  QEMU loadvm causes guest OS freeze

Status in QEMU:
  Incomplete

Bug description:
  HOST: ubuntu 13.10 x64
  GUEST: winxp sp 3 x86

  AFFECT QEMU(tested): v1.5.2, v1.5.3,  v1.6.0, v1.6.1

  I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install".
  After installing a winxp sp3 into the qemu-system-i386 with command line:
Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1242963/+subscriptions

author
#1 lore raw

** Changed in: qemu
Status: Incomplete => New

Signature · 18 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1242963

Title:
  QEMU loadvm causes guest OS freeze

Status in QEMU:
  New

Bug description:
  HOST: ubuntu 13.10 x64
  GUEST: winxp sp 3 x86

  AFFECT QEMU(tested): v1.5.2, v1.5.3,  v1.6.0, v1.6.1

  I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install".
  After installing a winxp sp3 into the qemu-system-i386 with command line:
Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1242963/+subscriptions

author
#2 lore raw
In reply to NanothylL

Hi guys,

This bug has reported in a very long time. I have tested v1.7.0, v1.7.1 and even v2.0.0rc1, v2.0.0rc2. The bug is still there. This is very easy to reproduce. I dunno why it is not fixed until today.

I think living-snapshot is a very important feature for Qemu. Somebody can take a look at this issue. Or at least, give me some tips to let me know how to fix this?

Thanks!

Signature · 18 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1242963

Title:
  QEMU loadvm causes guest OS freeze

Status in QEMU:
  New

Bug description:
  HOST: ubuntu 13.10 x64
  GUEST: winxp sp 3 x86

  AFFECT QEMU(tested): v1.5.2, v1.5.3,  v1.6.0, v1.6.1

  I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install".
  After installing a winxp sp3 into the qemu-system-i386 with command line:
Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1242963/+subscriptions

author
#3 lore raw
In reply to NanothylL

I found something, hope this could be useful.

(qemu) info cpus
* CPU #0: pc=0x000000008054b7f1 thread_id=20447 (qemu) savevm x
(qemu) loadvm x
(qemu) info cpus
* CPU #0: pc=0x00000000806f69ba (halted) thread_id=20447

Signature · 18 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1242963

Title:
  QEMU loadvm causes guest OS freeze

Status in QEMU:
  New

Bug description:
  HOST: ubuntu 13.10 x64
  GUEST: winxp sp 3 x86

  AFFECT QEMU(tested): v1.5.2, v1.5.3,  v1.6.0, v1.6.1

  I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install".
  After installing a winxp sp3 into the qemu-system-i386 with command line:
Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1242963/+subscriptions

#4 lore raw
In reply to NanothylL

Pinging this as I'm running into the same issue, Win7 seems to be fine as a guest, just getting this with XP (SP3).

I'm 99% certain that 1.5.0 was still fine. I looked at the commits between that and 1.5.2 but did not really see anything obvious that could cause it.

Signature · 18 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1242963

Title:
  QEMU loadvm causes guest OS freeze

Status in QEMU:
  New

Bug description:
  HOST: ubuntu 13.10 x64
  GUEST: winxp sp 3 x86

  AFFECT QEMU(tested): v1.5.2, v1.5.3,  v1.6.0, v1.6.1

  I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install".
  After installing a winxp sp3 into the qemu-system-i386 with command line:
Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1242963/+subscriptions

#5 lore raw
In reply to NanothylL

I have the same bug, is there any news concerning a fix?

Signature · 18 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1242963

Title:
  QEMU loadvm causes guest OS freeze

Status in QEMU:
  New

Bug description:
  HOST: ubuntu 13.10 x64
  GUEST: winxp sp 3 x86

  AFFECT QEMU(tested): v1.5.2, v1.5.3,  v1.6.0, v1.6.1

  I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install".
  After installing a winxp sp3 into the qemu-system-i386 with command line:
Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1242963/+subscriptions

#6 lore raw
In reply to NanothylL

Looking through old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

** Changed in: qemu
Status: New => Incomplete

Signature · 18 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1242963

Title:
  QEMU loadvm causes guest OS freeze

Status in QEMU:
  Incomplete

Bug description:
  HOST: ubuntu 13.10 x64
  GUEST: winxp sp 3 x86

  AFFECT QEMU(tested): v1.5.2, v1.5.3,  v1.6.0, v1.6.1

  I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install".
  After installing a winxp sp3 into the qemu-system-i386 with command line:
Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1242963/+subscriptions

#7 lore raw
In reply to NanothylL

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
Status: Incomplete => Expired

Signature · 18 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1242963

Title:
  QEMU loadvm causes guest OS freeze

Status in QEMU:
  Expired

Bug description:
  HOST: ubuntu 13.10 x64
  GUEST: winxp sp 3 x86

  AFFECT QEMU(tested): v1.5.2, v1.5.3,  v1.6.0, v1.6.1

  I compile QEMU by myself with "./configure --target-list=i386-softmmu && make && make install".
  After installing a winxp sp3 into the qemu-system-i386 with command line:
Quoted 1 line

qemu-system-i386 -m 512 -hda xp.img -net user -net nic,model=rtl8139 -rtc base=localtime,clock=vm

I use monitor to create a live snapshot:

Quoted 3 lines

stop
savevm xxx
cont

And then I load this snapshot (I also try it in commad line: -loadvm xxx):

Quoted 2 lines

loadvm xxx
cont

After that, the windows system is freeze (don't accept any keyboard or mouse input, although I knew vcpu is still working).

If I compile with -enable-kvm and launch qemu-system-i386 with -enable-kvm, it looks like everything works well. I think it is a bug for qemu system.

BTW: freeze is not appearing 100%, but in my test, 95% cases would cause system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1242963/+subscriptions