[PATCH 2/3] qemu: get the stackManager lock before getting nested lock