kern/171118: FreeBSD XENHVM guest doesn't shutdown cleanly

Mark Felder feld at feld.me
Mon Aug 27 14:10:04 UTC 2012


>Number:         171118
>Category:       kern
>Synopsis:       FreeBSD XENHVM guest doesn't shutdown cleanly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 27 14:10:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mark Felder
>Release:        9.0-RELEASE
>Organization:
>Environment:
>Description:
If you install FreeBSD as a guest on XenServer or XCP and utilize both sysutils/xen-tools and my Xen scripts (https://github.com/felderado/freebsd-xen-tools-scripts) the hypervisor will recognize the guest and give you additional features such as the ability to make the guest cleanly shutdown. When you do this to FreeBSD, it doesn't shutdown completely. It appears it is doing the equivalent of a "shutdown -h now" and halting instead of doing the complete poweroff. If you manually run "shutdown -p now" from the console it does cleanly poweroff the VM, indicating the capability exists; it just doesn't use the right shutdown method when the signal comes through XEN.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list