[PATCH 1/2] qemu: monitor:Prevent a NULl pointer from being accessed