Public bug reported:

Hi

I've seen the problem of this forum user in ubuntu 11.04 and 11.10 on the host 
side.
http://ubuntuforums.org/showthread.php?t=1870112

When rebooting a kvm guest with 
"reboot" the guest hangs somewhere. 
only way to get it up again is to kill the kvm process and start it with "virsh 
start guest"
the acpid package is installed on the guest
"virsh shutdown guest" is working without any errors.

I use on the guest
Linux ns2 3.0.0-15-server #26-Ubuntu SMP Fri Jan 20 19:07:39 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux
root@ns2:~# lsb_release -rd
Description:    Ubuntu 11.10
Release:        11.10

I use on the host
Linux fs 3.0.0-15-server #26-Ubuntu SMP Fri Jan 20 19:07:39 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux
root@fs:~# lsb_release -rd
Description:    Ubuntu 11.10
Release:        11.10

I've never seen the problem on ubuntu 10.10 host with any guestOS.

The special of this problem is that it's only happening when the guest is 
running for some time.
So you won't see the problem if you start the guest and reboot it following.

I only use the packages of the current ubuntu version on the host.

root@fs:~# dpkg -l | grep libvirt
ii  libvirt-bin                      0.9.2-4ubuntu15.1                       
the programs for the libvirt library
ii  libvirt0                         0.9.2-4ubuntu15.1                       
library for interfacing with different virtualization systems
ii  munin-libvirt-plugins            0.0.6-1                                 
Munin plugins using libvirt
ii  python-libvirt                   0.9.2-4ubuntu15.1                       
libvirt Python bindings
root@fs:~# dpkg -l | grep kvm
ii  qemu-kvm                         0.14.1+noroms-0ubuntu6.2                
Full virtualization on i386 and amd64 hardware
ii  qemu-kvm-extras                  0.15.50-2011.08-0ubuntu4                
QEMU system and user mode emulation (transitional package)

here my xml config of the guest

<domain type='kvm'>
  <name>ns2</name>
  <uuid>e0943e14-b124-3bc1-b4b2-97656b969c62</uuid>
  <memory>512000</memory>
  <currentMemory>512000</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-0.14'>hvm</type>
    <boot dev='hd'/>
    <boot dev='cdrom'/>
    <bootmenu enable='yes'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/var/vms/iso/ubuntu-11.10-server-amd64.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='1' unit='0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/var/vms/ns2/hd.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 
function='0x0'/>
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 
function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:e9:a2:07'/>
      <source bridge='br1'/>
      <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>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5902' autoport='no' keymap='de' 
passwd='password'/>
    <video>
      <model type='cirrus' vram='9216' 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='0x05' 
function='0x0'/>
    </memballoon>
  </devices>
</domain>

Kind regards,

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924247

Title:
  KVM - reboot VM problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/924247/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to