On 17/08/21 18:05, Peter Xu wrote:
I'm also wondering whether kvm-smram needs a whole bitmap as I don't know what RAM would be touched within system manager mode (as I thought it should only touch a very limited range and should be defined somewhere), but that's off-topic.
The kvm-smram dirty bitmap will include all memory touched while the SMM address space is in effect, so not just SMRAM. The two KVM dirty bitmaps end up in just one QEMU dirty bitmap (the one with id DIRTY_MEMORY_MIGRATION) but they are separate at the kernel level.
Paolo