From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1GZM-00037k-Hc for qemu-devel@nongnu.org; Thu, 20 Apr 2017 14:12:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1GZL-0001wE-G9 for qemu-devel@nongnu.org; Thu, 20 Apr 2017 14:12:40 -0400 References: <20170419222258.13415-1-eblake@redhat.com> <87k26fffxa.fsf@dusky.pond.sub.org> <20170420120922.GJ20955@redhat.com> <1f4e72ed-fab1-7099-768e-2a111df3a633@redhat.com> <87r30n83d1.fsf@dusky.pond.sub.org> From: Eric Blake Message-ID: <65718a2d-c866-09a9-b60c-69a6b9a263fd@redhat.com> Date: Thu, 20 Apr 2017 13:12:19 -0500 MIME-Version: 1.0 In-Reply-To: <87r30n83d1.fsf@dusky.pond.sub.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="30j48tWkATCMtRibvP1ewUFpnIoeIFhgu" Subject: Re: [Qemu-devel] [PATCH v2] event: Add source information to SHUTDOWN List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: "Daniel P. Berrange" , Peter Maydell , "open list:Overall" , "Michael S. Tsirkin" , Mark Cave-Ayland , qemu-devel@nongnu.org, Scott Wood , Gerd Hoffmann , "Edgar E. Iglesias" , Rob Herring , Stefano Stabellini , Magnus Damm , Alexander Graf , Christian Borntraeger , Anthony Perard , "open list:X86" , Richard Henderson , Artyom Tarasenko , Eduardo Habkost , Stefan Weil , Alistair Francis , "open list:Calxeda Highbank" , Jan Kiszka , Igor Mammedov , Cor nelia Huck , David Gibson , Paul Burton , Max Filippov , Marcelo Tosatti , Michael Walle , "open list:New World" , Yongbok Kim , Paolo Bonzini , Aurelien Jarno This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --30j48tWkATCMtRibvP1ewUFpnIoeIFhgu From: Eric Blake To: Markus Armbruster Cc: "Daniel P. Berrange" , Peter Maydell , "open list:Overall" , "Michael S. Tsirkin" , Mark Cave-Ayland , qemu-devel@nongnu.org, Scott Wood , Gerd Hoffmann , "Edgar E. Iglesias" , Rob Herring , Stefano Stabellini , Magnus Damm , Alexander Graf , Christian Borntraeger , Anthony Perard , "open list:X86" , Richard Henderson , Artyom Tarasenko , Eduardo Habkost , Stefan Weil , Alistair Francis , "open list:Calxeda Highbank" , Jan Kiszka , Igor Mammedov , Cor nelia Huck , David Gibson , Paul Burton , Max Filippov , Marcelo Tosatti , Michael Walle , "open list:New World" , Yongbok Kim , Paolo Bonzini , Aurelien Jarno Message-ID: <65718a2d-c866-09a9-b60c-69a6b9a263fd@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] event: Add source information to SHUTDOWN References: <20170419222258.13415-1-eblake@redhat.com> <87k26fffxa.fsf@dusky.pond.sub.org> <20170420120922.GJ20955@redhat.com> <1f4e72ed-fab1-7099-768e-2a111df3a633@redhat.com> <87r30n83d1.fsf@dusky.pond.sub.org> In-Reply-To: <87r30n83d1.fsf@dusky.pond.sub.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/20/2017 11:12 AM, Markus Armbruster wrote: >>> Well technically /usr/sbin/halt just terminates all processes / kerne= l and >>> halts CPUs, but the virtual machine is still active (and a 'reset' in= the >>> monitor can start it again. /usr/sbin/poweroff is what actually does = the >>> ACPI poweroff to trigger QEMU to exit[1] >> >> I'm thinking of this wording: >> >> triggered by a guest request (such as the guest running >> /usr/sbin/poweroff to trigger an ACPI shutdown or machine halt instruc= tion) >=20 > A quick glance at the patch suggests the instructions in question are > typically writes to some device register. I wouldn't call them "halt > instructions", in particular since there's the x86 "hlt" instruction > that does something else. Then maybe: a guest request (such as the guest running /usr/sbin/poweroff to trigger an ACPI or other hardware-specific shutdown sequence) --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --30j48tWkATCMtRibvP1ewUFpnIoeIFhgu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJY+PoDAAoJEKeha0olJ0NqInsH/1pcxnHBUPsEeRlLCD2Z78MC 1oHlpynEqi/qskZ2R/V1xPziwCKKyq/n6XplCn743NZ9mq8fp7cV9pvkdh0HbmyW zCaSum4FcBRsoyClfBd9SZd6KowRpbYNdvT023naU84ppRvwSkdkxraMT4Vv+9/f /N4wXenMxPl/dxaFL3E/n9cXDggXQM+C0j4Sl1vf25pAMnCZhDt2nyM/KCiBzt+q FFH1DfJVO0E6WL+c25q5FmZz4BL6CYRYh50neQxAcTT89GhPQbpGyd8aFvlDbTqi VAGdfTJNgD2nRKXShoDeAEGgh9b8QyA2eb+76W+aaGsQkYnO5x1Qh+qYuLWy15Y= =18eE -----END PGP SIGNATURE----- --30j48tWkATCMtRibvP1ewUFpnIoeIFhgu--