[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [Qemu-devel] [PATCH v2] event: Add source information to SHUTDOWN
- To: Markus Armbruster <armbru@xxxxxxxxxx>
- From: Eric Blake <eblake@xxxxxxxxxx>
- Date: Thu, 20 Apr 2017 13:12:19 -0500
- Cc: Peter Maydell <peter.maydell@xxxxxxxxxx>, "open list:Overall" <kvm@xxxxxxxxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Mark Cave-Ayland <mark.cave-ayland@xxxxxxxxxxxx>, qemu-devel@xxxxxxxxxx, Cor nelia Huck <cornelia.huck@xxxxxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxxxxx>, "Edgar E. Iglesias" <edgar.iglesias@xxxxxxxxx>, Rob Herring <robh@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Magnus Damm <magnus.damm@xxxxxxxxx>, Alexander Graf <agraf@xxxxxxx>, Christian Borntraeger <borntraeger@xxxxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, "open list:X86" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>, Artyom Tarasenko <atar4qemu@xxxxxxxxx>, Eduardo Habkost <ehabkost@xxxxxxxxxx>, Stefan Weil <sw@xxxxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxxxxx>, "open list:Calxeda Highbank" <qemu-arm@xxxxxxxxxx>, Jan Kiszka <jan.kiszka@xxxxxx>, Paolo Bonzini <pbonzini@xxxxxxxxxx>, Scott Wood <scottwood@xxxxxxxxxxxxx>, Richard Henderson <rth@xxxxxxxxxxx>, "Daniel P. Berrange" <berrange@xxxxxxxxxx>, Paul Burton <paul.burton@xxxxxxxxxx>, Max Filippov <jcmvbkbc@xxxxxxxxx>, Marcelo Tosatti <mtosatti@xxxxxxxxxx>, Michael Walle <michael@xxxxxxxx>, "open list:New World" <qemu-ppc@xxxxxxxxxx>, Yongbok Kim <yongbok.kim@xxxxxxxxxx>, Igor Mammedov <imammedo@xxxxxxxxxx>, Aurelien Jarno <aurelien@xxxxxxxxxxx>
- Delivery-date: Thu, 20 Apr 2017 18:12:52 +0000
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com D7AAAC04B941
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D7AAAC04B941
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
- Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
On 04/20/2017 11:12 AM, Markus Armbruster wrote:
>>> Well technically /usr/sbin/halt just terminates all processes / kernel 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 instruction)
>
> 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)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|