def METHOD_NAME(self, kernel_path, kernel_command_line,
           plugin, plugin_log, console_pattern, args=None):
    vm = self.get_vm()
    vm.set_console()
    vm.add_args('-kernel', kernel_path,
                '-append', kernel_command_line,
                '-plugin', plugin,
                '-d', 'plugin',
                '-D', plugin_log,
                '-net', 'none',
                '-no-reboot')
    if args:
        vm.add_args(*args)
    try:
        vm.launch()
    except:
        # TODO: probably fails because plugins not enabled but we
        # can't currently probe for the feature.
        self.cancel("TCG Plugins not enabled?")
    self.wait_for_console_pattern(console_pattern, vm)
    # ensure logs are flushed
    vm.shutdown()