Skip to contentSkip to conversation

Graceful shutdown for OpenBSD

DISCUSSION [email protected] 2 participants 2 messages Sep 20, 2008 KVM

lore
Share & tools
lore
#0 lore raw

##Sent this first with wrong date (14th Sep), apologies.

Hello,

I want to be able to shut down all virtual machines gracefully by running "virsh shutdown VM".

For Linux (tested with Debian Lenny) this works.

But OpenBSD does not work.

I read somewhere that kvm/qemu sends an "acpi shutdown signal" to the guest OS when running the virsh shutdown command. Is this correct?

I am having problems enabling acpi on OpenBSD (its not enabled by default) and I want to be sure that everything on the side of the guest is working, so I need to know what exactly is this signal?

Maybe "power button pressed" or something?

Thank you.
Benjamin Reiter

#1 lore raw
Quoted 3 lines · [email protected] wrote:

Maybe "power button pressed" or something?

Yes. If OpenBSD supports power buttons, this should work.

Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.