dirty tracking
图示
图示
vfio qemu vfio_realize => vfio_attach_device => VFIOIOMMUClass->attach_device : vfio_iommu_legacy_class_init : iommufd_cdev_attach vfio_iommu_leg...
what is iommu IOMMU 顾名思义,就是让IO 的MMU, 可以允许IO request 进行类似于 CPU 侧MMU根据页表映射 而完成地址转换的行为。 而IO request 主要包含哪些呢? DMA request interrupt 而iommu 的作用就是完成这些request的重映射, 如下图所示: CPU 侧 request 通过CPU M...
查看host-bridge配置空间 [root@A06-R08-I134-73-919XB72 openEuler-2403]# lspci -xxx -s 00:00.0 00: [86 80] [00 2f] [40 05] [10 00] 02 [00 00 06] 00 00 [00] 00 [vendor] [device] [comm...
related patch KVM: VMX: wbinvd exiting commit e5edaa01c4cea5f60c617fac989c6458df0ecc4e Eddie Dong Sun Nov 11 12:28:35 2007 +0200 ...
PCI bridge dev vmstate static const VMStateDescription pci_bridge_dev_vmstate = { .name = "pci_bridge", .priority = MIG_PRI_PCI_BUS, .fields = (VMStateField[]) { VMSTATE_PCI_DE...
参考链接 We Are Not Getting Any Younger: A New Approach to Time and Timers
setup timer boot cpu start_kernel => time_init(); => choose early clocksource in [hpet, pm, pit] to calibrate_tsc ## 以hpet计算tsc 为例 ## 这里主要是因为hpet/pit/pm频率是确定的,但是tsc ...
调用栈 snp_set_memory_private set_memory_encrypted => __set_memory_enc_dec(addr, numpages, true) => __set_memory_enc_pgtable => cpa_flush() => x86_platform.guest.enc_statu...
背景 我们如果对一个只启动bios的虚拟机做热迁移,发现其实际迁移的数据量不大, 如下: qemu 参数: # src qemu-system-x86_64 -m 16G --nographic --enable-kvm --serial tcp:localhost:6666,server,nowait --monitor stdio # dst: qemu-system-x86_64...