KVM - reboot VM problem (with 3+ days uptime)(with virtio drivers?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Natty |
Won't Fix
|
Medium
|
Unassigned | ||
Oneiric |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Hi
I've seen the problem of this forum user in ubuntu 11.04 and 11.10 on the host side.
http://
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-
ii python-libvirt 0.9.2-4ubuntu15.1 libvirt Python bindings
root@fs:~# dpkg -l | grep kvm
ii qemu-kvm 0.14.1+
ii qemu-kvm-extras 0.15.50-
here my xml config of the guest
<domain type='kvm'>
<name>ns2</name>
<uuid>
<memory>
<currentMemor
<vcpu>2</vcpu>
<os>
<type arch='x86_64' machine=
<boot dev='hd'/>
<boot dev='cdrom'/>
<bootmenu enable='yes'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/
<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='/
<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=
<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,
Changed in libvirt (Ubuntu): | |
status: | Incomplete → New |
Thanks for taking the time to report this bug. I'll try to reproduce when I can.
Is your guest a simple uptodate oneiric server image?