Hi, Sorry for that something is wrong with my code posted earlier. Just now, I found a bug in it, which was introduced by my porting my work(which is developed under KVM83 and using svn depository) to KVM's git depository by hand. The bug is : you can not shutdown SMP guest by killing the related qemu process. I am examing my patch code to see the reason. BTW: counting the host mode time is quite easy. Hooking the virtual machine runstate change to the time sched_in/sched_out is called will satify Avi Kivity's requirement. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html