Bug 855237
| Summary: | [libvirt] Add a new boot parameter to set the delay time before rebooting | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Eric Blake <eblake> |
| Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.4 | CC: | acathrow, akong, bili, bsarathy, dallan, dyasny, dyuan, gleb, juzhang, mkenneth, mzhan, rwu, veillard, virt-maint, wduffee, zhpeng |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.10.2-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 854191 | Environment: | |
| Last Closed: | 2013-02-21 07:23:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 854191 | ||
| Bug Blocks: | |||
|
Description
Eric Blake
2012-09-07 04:40:08 UTC
Moving to POST:
commit c33a922faad1de363aa4212edc1a329bd47e52b0
Author: Martin Kletzander <mkletzan>
Date: Tue Sep 18 12:30:52 2012 +0200
Add support for reboot-timeout
commit 94827a785d97e2ec83d488d664d10b28fbaed57e
Author: Martin Kletzander <mkletzan>
Date: Tue Sep 18 12:31:30 2012 +0200
qemu: Add support for reboot-timeout
Test ENV:
libvirt-0.10.2-6.el6.x86_64
Run a guest without any bootable device or pxe env.
Tried several rebootTimeout value: -1, 0, 1, 10000, 65535, >65535, <-1, 1.5, -1.5
<os>
<type arch='x86_64' machine='rhel6.3.0'>hvm</type>
<loader>/usr/share/seabios/bios-pm.bin</loader>
<boot dev='network'/>
<boot dev='hd'/>
<bios useserial='yes' rebootTimeout='$TIME'/>
</os>
qemu process can get the correct value, and it works fine.
0-65535, guest will reboot after 0~65s if boot from failure.
-1, will not reboot again.
when value is Out of range libvirt will report error:
virsh # edit aaa
error: unsupported configuration: invalid value for rebootTimeout, must be in range [-1,65535]
Failed. Try again? [y,n,f,?]:
So it's verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0276.html |