Hi For device&memory hot plug, Libvirt supports "attach device" command to hot plug virtio devices and memory. It should be necessary to update the device tree information and notify guest OS. RMM copies the qemu device tree to the realm through data_create when the virtual machine is in the NEW state. This means that if hot plug of virtio devices is supported, the device tree needs to be updated to the realm VM after the virtual machine is ACTIVE.
If rmm calls data_create after Realm VM is ACTIVE, the Realm Initial Measurement will change. After realm VM is ACTIVE, is RIM still allowed to change?