xenserver: Allow fail_mode to be set from xapi.