mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 23:10:08 +00:00
kbase: Use virt-admin daemon-timeout correctly
In a few examples we recommend disabling daemon timeout when fetching debug logs. While it makes sense the actual syntax used results in an error: # virt-admin daemon-timeout 0 error: unexpected data '0' This is because --timeout is required. Update examples to include it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
a4f38f6ffe
commit
8877646665
@ -25,7 +25,7 @@ the system clears this setting::
|
||||
|
||||
# virt-admin -c virtqemud:///system daemon-log-outputs "3:journald 1:file:/var/log/libvirt/libvirtd.log"
|
||||
# virt-admin -c virtqemud:///system daemon-log-filters "3:remote 4:event 3:util.json 3:util.object 3:util.dbus 3:util.netlink 3:node_device 3:rpc 3:access 1:*"
|
||||
# virt-admin -c virtqemud:///system daemon-timeout 0
|
||||
# virt-admin -c virtqemud:///system daemon-timeout --timeout 0
|
||||
|
||||
The last command disabling timeout of the daemon is available since
|
||||
``libvirt-8.6.0``. With older versions make sure to reproduce the issue within
|
||||
@ -224,7 +224,7 @@ is re-started with another command.
|
||||
|
||||
To prevent auto-shutdown of the daemon you can use the following command::
|
||||
|
||||
virt-admin daemon-timeout 0
|
||||
virt-admin daemon-timeout --timeout 0
|
||||
|
||||
The above is introduced in libvirt-8.6.0.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user