[libvirt] [PATCH v2 0/7] extend virsh domstate to show additional information

Bjoern Walk bwalk at linux.ibm.com
Wed Mar 27 05:07:57 UTC 2019


Bjoern Walk <bwalk at linux.ibm.com> [2019-03-25, 09:04AM +0100]:
> This patch series introduces the ability to save additional information
> for the domain state and exposes this information in virsh domstate.
> 
> For example in the case of QEMU guest panic events, we can provide additional
> information like the crash reason or register state of the domain. This
> information usually gets logged in the domain log but for debugging it is
> useful to have it accessible from the client. Therefore, let's introduce a new
> public API function, virDomainGetStateParams, an extensible version of
> virDomainGetState, which returns the complete state of the domain, including
> newly introduced additional information.
> 
> Let's also extend virsh domstate and introduce a new parameter --info to show
> the domain state, reason and additional information when available.
> 
>     virsh domstate --info guest1
>     crashed (panicked: s390: core='1' psw-mask='0x1234000000000000' \
>         psw-addr='0x0000000000001234' reason='disabled-wait')

Any chance we might squeeze this one in before the freeze?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 902 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190327/3277d9ba/attachment-0001.sig>


More information about the libvir-list mailing list