只有偏执狂才能生存
发布时间:2013-04-26 12:53:32
As in the other threads I've PCI passthrough configured:On the Proxmox host I do nothing with the PCI-card I want to use for "pci-passthrough". For example, I have not disabled it in the host,also I have not disable a module, because for this PCI-card there is no module in the host. I'm not s.........【阅读全文】
发布时间:2013-04-25 22:04:21
KMM 支持 PCI-Passthrough 的代码在 virt/kvm/iommu.c 中,这里可通过其中的代码简单描述 PCI-Passthrough 的实现过程 : (1)Qemu-kvm 会根据管理软件或命令的指定执行 “Assign Device”的操作。为执行该操作,Qemu-kvm 在创建完一个 VM 的数据结构后,通过 ioctl() 向 KVM 内核发起 “Assig.........【阅读全文】
发布时间:2013-04-25 17:52:14
host虚拟机——运行windbg的虚拟机host虚拟机的运行参数中包含“-serial tcp::4445,server,nowait”(4445为端口号,任意可用的TCP端口即可)在虚拟机中需要安装windbg和symbols,指定“Symbol File Path...”,然后开始“Kenerl Debug...”target虚拟机——需要调试的虚拟机target虚拟机运行参数中包含“-s.........【阅读全文】
发布时间:2013-04-24 19:28:00
内核make menuconfig 里的BUS选项里有 < > PCI Stub driver 这个配置看Kconfig中的help:Say Y or M here if you want be able to reserve a PCI device when it is going to be assigned to a guest operating system.源代码的注释:* Usage is simple, allocate a new id to the stub driver and bind the* device .........【阅读全文】
发布时间:2013-04-14 10:03:44
动态库 life,使用了主程序中的symbol,day.gcc -shared -o life life.c------------------------------------#include #include #include int day (int a);int life(int a){ return day(a)+8;} 主程序,注意 使用了 -rdynamic选项。 这.........【阅读全文】