<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hot_plug_cpu(self, cpu):
 """Plugs a CPU into the machine. in cpu of type int The CPU id to insert. """

        if not isinstance(cpu, baseinteger):
            raise TypeError("cpu can only be an instance of type baseinteger")
        self._call("hotPlugCPU",
                     in_p=[cpu])