if (vm != domain->host_data) This is just a safety check. It looks unlikely happened. After all, vm is obtained from the args. If the caller has a bug, can we check here to avoid possible problems that may arise in later code? Thanks, Guanrui