• I
    xen: do not respond to unknown xenstore control requests · 55271723
    Ian Campbell 提交于
    The PV xenbus control/shutdown node is written by the toolstack as a
    request to the guest to perform a particular action (shutdown, reboot,
    suspend etc). The guest is expected to acknowledge that it will
    complete a request by clearing the control node.
    
    Previously it would acknowledge any request, even if it did not know
    what to do with it. Specifically in the case where CONFIG_PM_SLEEP is
    not enabled the kernel would acknowledge a suspend request even though
    it was not actually going to do anything.
    
    Instead make the kernel only acknowledge requests if it is actually
    going to do something with it. This will improve the toolstack's
    ability to diagnose and deal with failures.
    Signed-off-by: NIan Campbell <ian.campbell@citrix.com>
    Reviewed-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    55271723
manage.c 6.6 KB