summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2010-08-26 14:34:44 +0100
committerRichard Jones <rjones@redhat.com>2010-08-26 15:04:38 +0100
commitd3fc7e1e4d592dbdc6b8b9edf92dddc0a67eac28 (patch)
tree2f81e377e6db729c8b79f1438ad020f1e3da1bff /tools
parentc0b38fbb27c8771916386f47361833722d54518f (diff)
Shut down the appliance cleanly
When guestfsd exits, or the user exits the virt-rescue shell, the init script exits which causes the kernel to panic. This isn't really a functional issue, as all useful work is done by this point. However, it does cause virt-rescue to display an unsightly error message. This patch causes the appliance to power off cleanly before the init script exits. Note it actually does a reboot rather than a poweroff. This is because ACPI is disabled in the appliance, meaning poweroff doesn't work, but qemu is configured not to restart on reboot.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions