virsh restore causes kernel panic in guest.

Bug #411417 reported by Jarl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Hi. I use ubuntu-server 9.04 as host and ubuntu(JeOS) 9.04 as guest.

When I use virsh save followed by virsh restore, the guest OS results in a kernel panic.

Jarl

Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:
1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug? Be as detailed as possible.
This will help us to find and resolve the problem.

Changed in libvirt (Ubuntu):
status: New → Incomplete
Changed in libvirt (Ubuntu):
importance: Undecided → High
Revision history for this message
Chuck Short (zulcss) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Jarl (jarl-dk) wrote :

Here are steps to reproduce:

sudo vmbuilder kvm ubuntu --libvirt qemu:///system --mirror=http://dk.archive.ubuntu.com/ubuntu --hostname ubu-test
virsh start ubu-test
virsh save ubu-test save_dir/ubu-test_save
virsh restore save_dir/ubu-test_save

After this when I open virt-viewer, everything looks normal, but when I hit any key, the kernel crashes, here is a screendump from virt-viewer.

Changed in libvirt (Ubuntu):
status: Incomplete → New
Changed in libvirt (Ubuntu):
status: New → Confirmed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This is fixed in 0.7.5-5ubuntu15 (in Lucid).

Changed in libvirt (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Dig Ge (dig-ge-cn) wrote :

Hi all,

  I can reproduce this issue on lucid x86_64.

Environment:
  Host: Ubuntu Lucid x86_64 desktop with kernel "2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux"

ii kvm 1:84+dfsg-0ubuntu16+0.14.0+noroms+0ubuntu4.4
ii libvirt-bin 0.8.8-1ubuntu6.5
ii libvirt0 0.8.8-1ubuntu6.5
ii libvirtodbc0 6.1.2+dfsg1-1ubuntu4
ii python-libvirt 0.8.8-1ubuntu6.5
ii qemu 0.14.0+noroms-0ubuntu4.4
ii qemu-common 0.14.0+noroms-0ubuntu4.4
ii qemu-kvm 0.14.0+noroms-0ubuntu4.4

  Guest: Ubuntu Lucid x86_64 server

Steps:
 1. run "virt-manager",
 2. start a guest,
 3. click "Save" in "Virtual Machine" menu, and wait a progress dialog done,
 4. click "Restore" in "Virtual Machine" menu
Expect result:
 VM restored
Actually:
 Show a error dialog with following information:

Error restoring domain: operation failed: could not query memory balloon allocation

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/engine.py", line 956, in asyncfunc
    vm.startup()
  File "/usr/share/virt-manager/virtManager/domain.py", line 1049, in startup
    self._update_status()
  File "/usr/share/virt-manager/virtManager/domain.py", line 1274, in _update_status
    info = self.get_info()
  File "/usr/share/virt-manager/virtManager/domain.py", line 967, in get_info
    return self._backend.info()
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 823, in info
    if ret is None: raise libvirtError ('virDomainGetInfo() failed', dom=self)
libvirtError: operation failed: could not query memory balloon allocation

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.