]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xen/ctrl: acknowledge all control requests
authorroyger <royger@FreeBSD.org>
Tue, 1 Oct 2019 08:21:41 +0000 (08:21 +0000)
committerroyger <royger@FreeBSD.org>
Tue, 1 Oct 2019 08:21:41 +0000 (08:21 +0000)
commit3bf9d5ecd2cadeb465877091f55d1ce7f19963a4
treed4366c157b9d55e8e154455ec0646ae544fbfb12
parent27a9e100abe69d620a8210a89c4ad74aa72fff97
xen/ctrl: acknowledge all control requests

Currently only suspend requests are acknowledged by writing an empty
string back to the xenstore control node, but poweroff or reboot
requests are not acknowledged and FreeBSD simply proceeds to perform
the desired action.

Fix this by acknowledging all requests, and remove the suspend specific
ack done in the handler.

Sponsored by: Citrix Systems R&D
MFC after: 3 days
sys/dev/xen/control/control.c