摘要:/usr/libexec/qemu-kvm -h $ /path/to/aarch64-softmmu/qemu-system-aarch64 \ -machine virt \ -cpu cortex-a57 \ -nographic -smp 1 \ -hda /path/to/rootfs.e
阅读全文
摘要:$ qemu-system-aarch64 -M help akita Sharp SL-C1000 (Akita) PDA (PXA270) ... z2 Zipit Z2 (PXA27x) $ qemu-system-aarch64 -M virt -cpu help arm1026 ... t
阅读全文
摘要:[root@localhost ~]# virsh undefine vhuser-test1error: Failed to undefine domain vhuser-test1error: Requested operation is not valid: cannot undefine d
阅读全文
摘要:socat - UNIX-CONNECT:/tmp/vhost-user1
阅读全文
摘要:[root@localhost ~]# ps -elf | grep qemu 6 S root 49878 1 0 80 0 - 6068 poll_s 22:00 ? 00:00:00 /usr/libexec/qemu-kvm -name guest=vhuser-test1,debug-th
阅读全文
摘要:[root@localhost cloud_images]# qemu-system-aarch64 -smp 8 -m 8192 -cpu host -M virt -nographic -drive file=vhuser-test1.qcow2,id=hd0 -device virtio-bl
阅读全文
摘要:ps -eLo ruser,pid,ppid,lwp,psr,args | awk '{if($5==3) print $0}' 还是借助于ps指令 :ps -eLo ruser,pid,ppid,lwp,psr| awk ‘{if($5==1) print $0}’。解释为:ps命令显示当前系统的
阅读全文
摘要:virtqueue 是 Guest操作系统内存的一部分,用作Guest和Host的数据传输缓存。Host可以在Userspace实现(QEMU),也可以在内核态实现(vHost)。 比如,物理网卡收到发往虚拟机的数据包后,将其转发到对应的TAP设备。Qemu中TAP设备分为后端驱动和TAP设备关联,
阅读全文
摘要:1. set_guest_notifiers初始化流程 static void virtio_pci_bus_class_init(ObjectClass *klass, void *data){ k->set_guest_notifiers = virtio_pci_set_guest_notif
阅读全文
摘要:https://kernelgo.org/virtio-overview.html http://lihanlu.cn/virtio-frontend-kick/ Qemu Vhost Block架构分析 https://blog.csdn.net/u012377031/article/detail
阅读全文
摘要: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
阅读全文
摘要:guest侧virtio probe https://www.jianshu.com/p/e4b29d16bae4 https://kernelgo.org/virtio-overview.html https://blog.csdn.net/qq_15437629/article/details/
阅读全文
摘要:virtio-fs介绍 在guest之间共享文件系统的方案 virtio-fs把文件mmap进qemu的进程地址空间并让不同guest使用DAX访问该内存空间 DAX数据访问和元数据的共享内存访问都是通过共享内存的方式避免不必要的VM/hypervisor之间通信(在元数据没有改变的情况下) Kat
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:[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
阅读全文
摘要:https://github.com/stefanha/nc-vsock/blob/master/nc-vsock.c Skip to content Search or jump to… Pull requests Issues Marketplace Explore @magnate3 Lear
阅读全文
摘要:irtio是Linux虚拟机平台上统一的虚拟IO接口驱动。通常主机为了让客户机像在真实环境中一样运行,需要为客户机创建各式各样的虚拟设备,如磁盘,网卡,显卡,时钟,USB 等。这些虚拟设备大大降低了客户机的性能。使用virtio。虚拟机guest不用关注如何创建各种虚拟硬件设备(如磁盘,网卡,显卡等
阅读全文
摘要:https://github.com/firecracker-microvm/firecracker/blob/master/docs/vsock.md Firecracker 仅仅实现了以下功能: 基于 VirtIO 的网络,磁盘和套接字驱动(virtio-net,virtio-blk,virti
阅读全文
摘要:https://www.cnblogs.com/bakari/p/8421743.html 什么是 vhost-user 在 vhost 的方案中,由于 vhost 实现在内核中,guest 与 vhost 的通信,相较于原生的 virtio 方式性能上有了一定程度的提升,从 guest 到 kvm
阅读全文