Skip to contentSkip to conversation

suspending in kvm and resuming in qemu

DISCUSSION Mehul Chadha 3 participants 3 messages Jan 18, 2011 – Jan 27, 2011 KVM

lore
Share & tools
lore
#0 lore raw

Hi,

I have been trying to get suspending and resuming done across kvm and qemu.
While resuming a suspended state in kvm, an error was generated saying "unknown section kvmclock" . I modified loadvm in qemu to neglect the kvmclock section.

Now, when I suspend and resume, qemu screen just stalls at the suspended state and it seems nothing is executing.

Pls give any inputs or help, where should I start looking at??

Thanks,
Mehul

#1 lore raw
Quoted 11 lines · Mehul Chadha

Hi,

I have been trying to get suspending and resuming done across kvm and qemu.
While resuming a suspended state in kvm, an error was generated saying "unknown section kvmclock" . I modified loadvm in qemu to neglect the kvmclock section.

Now, when I suspend and resume, qemu screen just stalls at the suspended state and it seems nothing is executing.

Pls give any inputs or help, where should I start looking at??

Thanks,
Mehul

The guest relies on kvmclock support, which is not implemented by qemu alone. So you'd have to disable kvmclock support (with no-kvmclock kernel boot option) in the guest.

#2 lore raw
Quoted 8 lines · Marcelo Tosatti
Quoted 7 lines · Mehul Chadha

Hi,

I have been trying to get suspending and resuming done across kvm and qemu.
While resuming a suspended state in kvm, an error was generated saying "unknown section kvmclock" . I modified loadvm in qemu to neglect the kvmclock section.

Now, when I suspend and resume, qemu screen just stalls at the suspended state and it seems nothing is executing.

Quoted 9 lines
Quoted 4 lines

Pls give any inputs or help, where should I start looking at??

Thanks,
Mehul

The guest relies on kvmclock support, which is not implemented by qemu alone. So you'd have to disable kvmclock support (with no-kvmclock kernel boot option) in the guest.

Or with -cpu qemu64,-kvmclock on the qemu command line.

Signature · 1 line
error compiling committee.c: too many arguments to function