search for: virdomaineventstoppeddetailtype

Displaying 1 result from an estimated 1 matches for "virdomaineventstoppeddetailtype".

2014 Aug 21
1
Reboot, halt, poweroff called inside an lxc domain
Hi all, Is there any possibility (using libvirt C API or whatever else) to "propagate" shutdown events (reboot, halt, power off) to a host? The API seems to lack this functionality - there exists function virConnectDomainEventRegisterAny, but the virDomainEventStoppedDetailType enum does not distinguish between these 3 different situations. Moreover, while rebooting a machine, an additional argument can be passed to reboot() syscall, which will be used by bootloader during the startup. Ideally, when calling e.g. "reboot recovery" inside an lxc container I'd...