Linux 虚拟化技术

LINUX 虚拟化技术:

http://www.ibm.com/developerworks/cn/linux/theme/virtualization/index.html

 

from http://sheepdog.taobao.org/people/zituan/virt_in_taobao.html#(13)

 

 
 

 

The vhost-blk uses two kernel threads to handle the guests' requests.One is to submit them via Linux kernel's internal AIO structs,and the other is signal the guests the completion of the IO requests. The current qemu-kvm's native AIO in the user mode acctually just uses one io-thread to submitting and signalling. One more nuance is that qemu-kvm AIO signals the completion of the requests one by one. Like vhost-net, the in-kernel vhost-blk module reduces the number of the system calls during the requests handling and the code path is shorter than the implementation of the qemu-kvm.

你可能感兴趣的:(linux)