Anthony Liguori wrote:
> 
> This should get moved to kvm_resched() since both VT/SVM would benefit
> from this.
> 
I would suggest we just add similar code in SVM side. After we 
optimize the MSR/VMCS register save/restore to skip for 
those lightweight VM EXIT (handled by KVM). Giving up preemption
 disable in kvm_resched means we need to do a full context 
restore for host which is architecture specific.

Actually I am thinking to totally give up kvm_resched and just let 
control return to Qemu which is much clean and provide Qemu
 more chance to handle some kind of hardware event such as network 
packet arrive etc. Today Qemu is totally depending on heavyweight VM
Exit 
to handle those events and virtual IRQ injections which may be not
sufficient.

Thanks, eddie

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to