From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: guests not shutting down when host shuts down Date: Tue, 9 Jul 2013 16:35:40 +0300 Message-ID: <20130709133540.GB24941@redhat.com> References: <15785B7E063D464C86DD482FCAE4EBA5018CF0409398@XCH11.scidom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "KVM-ML (kvm@vger.kernel.org)" To: "Lentes, Bernd" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:19249 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753542Ab3GINfo convert rfc822-to-8bit (ORCPT ); Tue, 9 Jul 2013 09:35:44 -0400 Content-Disposition: inline In-Reply-To: <15785B7E063D464C86DD482FCAE4EBA5018CF0409398@XCH11.scidom.de> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jul 08, 2013 at 04:12:02PM +0200, Lentes, Bernd wrote: > Hi, >=20 > i have a SLES 11 SP2 64bit host with three guests: > - Windows XP 32 > - Ubuntu 12.04 LTS 64bit > - SLES 11 SP2 64bit >=20 > The SLES guest shuts down with the host shutdown. The others not. Whe= n i shutdown these two guests with the virt-manager, they shutdown fine= =2E Since shutdown using virt-manager works it is probably a libvirt proble= m. Try asking on the libvirt mailing list. > ACPI is activated in virt-manager for both of them. When the host shu= ts down, the two guests get a signal (excerpt from the log of the host:= ) >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 2013-07-07 16:39:51.674: starting up > LC_ALL=3DC PATH=3D/bin:/sbin:/usr/bin:/usr/sbin HOME=3D/ QEMU_AUDIO_D= RV=3Dnone /usr/bin/qemu-kvm -S -M pc-0.15 -enable-kvm -m 1025 -smp 1,so= ckets=3D1,cores=3D1,threads=3D1 -name greensql_2 -uuid 2cfbac9c-dbb2-c4= bf-4aba-2d18dc49d18e -nodefconfig -nodefaults -chardev socket,id=3Dchar= monitor,path=3D/var/lib/libvirt/qemu/greensql_2.monitor,server,nowait -= mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol -rtc base=3Dutc -= no-shutdown -drive file=3D/var/lib/kvm/images/greensql_2/disk0.raw,if=3D= none,id=3Ddrive-ide0-0-0,format=3Draw -device ide-drive,bus=3Dide.0,uni= t=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,bootindex=3D1 -drive if=3Dno= ne,media=3Dcdrom,id=3Ddrive-ide0-1-0,readonly=3Don,format=3Draw -device= ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 -n= etdev tap,fd=3D17,id=3Dhostnet0,vhost=3Don,vhostfd=3D20 -device virtio-= net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:37:92:a9,bus=3Dpci.0= ,addr=3D0x3 -usb -vnc 127.0.0.1:2 -vga cirrus -device virtio-balloon-pc= i,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 > Domain id=3D3 is tainted: high-privileges >=20 > qemu: terminating on signal 15 from pid 24958 >=20 > 2013-07-08 13:58:29.651: starting up > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > I'm a bit astonished about "no-shutdown" in the commandline, but the = sles guest also has it in its commandline, so it should not bother. >=20 > Thanks for any help. >=20 >=20 > Bernd >=20 >=20 >=20 >=20 >=20 > -- > Bernd Lentes >=20 > Systemadministration > Institut f=C3=BCr Entwicklungsgenetik > Geb=C3=A4ude 35.34 - Raum 208 > HelmholtzZentrum m=C3=BCnchen > bernd.lentes@helmholtz-muenchen.de > phone: +49 89 3187 1241 > fax: +49 89 3187 2294 > http://www.helmholtz-muenchen.de/idg >=20 > Wer nichts verdient au=C3=9Fer Geld verdient nichts au=C3=9Fer Geld >=20 > Helmholtz Zentrum M=C3=BCnchen > Deutsches Forschungszentrum f=C3=BCr Gesundheit und Umwelt (GmbH) > Ingolst=C3=A4dter Landstr. 1 > 85764 Neuherberg > www.helmholtz-muenchen.de > Aufsichtsratsvorsitzende: MinDir=C2=B4in B=C3=A4rbel Brumme-Bothe > Gesch=C3=A4ftsf=C3=BChrer: Prof. Dr. G=C3=BCnther Wess Dr. Nikolaus B= lum Dr. Alfons Enhsen > Registergericht: Amtsgericht M=C3=BCnchen HRB 6466 > USt-IdNr: DE 129521671 > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Gleb.