mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemuDomainObjPrivate: Annotate 'allowReboot' field
Save further readers the headache of determining what it actually does and note that it's not used with qemu version supporting the 'set-action' command. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
851ae580cf
commit
6ab6d3f074
@ -154,6 +154,14 @@ struct _qemuDomainObjPrivate {
|
|||||||
|
|
||||||
bool fakeReboot;
|
bool fakeReboot;
|
||||||
bool pausedShutdown;
|
bool pausedShutdown;
|
||||||
|
/* allowReboot:
|
||||||
|
*
|
||||||
|
* Unused with new QEMU versions which have QEMU_CAPS_SET_ACTION.
|
||||||
|
*
|
||||||
|
* Otherwise if it's set to VIR_TRISTATE_BOOL_YES, QEMU was started with
|
||||||
|
* -no-shutdown, and if set to VIR_TRISTATE_BOOL_NO qemu was started with
|
||||||
|
* -no-reboot instead.
|
||||||
|
*/
|
||||||
virTristateBool allowReboot;
|
virTristateBool allowReboot;
|
||||||
|
|
||||||
int jobs_queued;
|
int jobs_queued;
|
||||||
|
Loading…
Reference in New Issue
Block a user