2020年10月24日

摘要: 1. set_guest_notifiers初始化流程 static void virtio_pci_bus_class_init(ObjectClass *klass, void *data){ k->set_guest_notifiers = virtio_pci_set_guest_notif 阅读全文
posted @ 2020-10-24 17:29 tycoon3 阅读(1415) 评论(0) 推荐(0)
摘要: https://kernelgo.org/virtio-overview.html http://lihanlu.cn/virtio-frontend-kick/ Qemu Vhost Block架构分析 https://blog.csdn.net/u012377031/article/detail 阅读全文
posted @ 2020-10-24 16:24 tycoon3 阅读(2977) 评论(1) 推荐(0)
摘要: https://www.cnblogs.com/yi-mu-xi/p/12923523.html vhost_user_backend_init() ........ vhost_setup_slave_channel(dev) ......... qemu_set_fd_handler(u->sl 阅读全文
posted @ 2020-10-24 12:53 tycoon3 阅读(272) 评论(0) 推荐(0)
摘要: guest侧virtio probe https://www.jianshu.com/p/e4b29d16bae4 https://kernelgo.org/virtio-overview.html https://blog.csdn.net/qq_15437629/article/details/ 阅读全文
posted @ 2020-10-24 10:51 tycoon3 阅读(449) 评论(0) 推荐(0)
摘要: virtio-fs介绍 在guest之间共享文件系统的方案 virtio-fs把文件mmap进qemu的进程地址空间并让不同guest使用DAX访问该内存空间 DAX数据访问和元数据的共享内存访问都是通过共享内存的方式避免不必要的VM/hypervisor之间通信(在元数据没有改变的情况下) Kat 阅读全文
posted @ 2020-10-24 10:16 tycoon3 阅读(1535) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_20817327/article/details/106655151 net/tap.c static void net_init_tap_one { 699 vhostfd = open("/dev/vhost-net", O_RDWR); 700 阅读全文
posted @ 2020-10-24 10:04 tycoon3 阅读(280) 评论(0) 推荐(0)
摘要: virtio-vsock virtio-vsock provides a way for applications running on a guest VM and the host system to communicate with each other using the standard 阅读全文
posted @ 2020-10-24 09:42 tycoon3 阅读(919) 评论(0) 推荐(0)
摘要: [root@x86compute01 ~]# ps aux | grep vhost 64055 3950 3.3 0.0 5996552 208716 ? Sl 4月22 8799:09 /usr/bin/qemu-system-x86_64 -name guest=instance-000030 阅读全文
posted @ 2020-10-24 09:18 tycoon3 阅读(515) 评论(0) 推荐(0)

导航