def METHOD_NAME(pm_test, plug_type):
    """
    Run pm(reboot/system_reset/shutdown) related test after balloon
    device is hot-plug or hot-unplug
    :param pm_test: power management test name,e.g. reboot/shutdown
    :param plug_type:balloon device plug operation,e.g.hot_plug or hot_unplug
    """
    error_context.context("Run %s test after %s balloon device"
                          % (pm_test, plug_type), test.log.info)
    utils_test.run_virt_sub_test(test, params, env, pm_test)