[PATCH] uml: Simplify console opening/closing and irq registration