发布时间:2013-11-24 17:22:32
虽然kvm运行的虚拟机也是host的一个进程,但是却不能像UML那样直接gdb attach到对应的进程进行调试,毕竟kvm和uml完全不同,如果那样做的话,你会发现你attach的只是qemu-system-x86进程:(gdb) bt#0 0x00007f8dba022ed2 in select () from /lib64/libc.so.6#1 0x00007f8dbdd2118a in ?? () from /usr/local/bin/qe.........【阅读全文】
发布时间:2013-11-24 16:57:03
Laine Stump 2013-01-14 12:44:12 ESTAs far as I gather, the restrictions put in place by UEFI secure boot are roughly equivalent to CAP_COMPROMISE_KERNEL, and selinux has a policy called "compromise_kernel" that also checks for and prevents the same operations.Assignment of host hardwa.........【阅读全文】
发布时间:2013-11-24 16:53:14
KMM 支持 PCI-Passthrough 的代码在 virt/kvm/iommu.c 中,这里可通过其中的代码简单描述 PCI-Passthrough 的实现过程 : (1)Qemu-kvm 会根据管理软件或命令的指定执行 “Assign Device”的操作。为执行该操作,Qemu-kvm 在创建完一个 VM 的数据结构后,通过 ioctl() 向 KVM 内核发起 “Assig.........【阅读全文】