Re: [RFC] KVM: x86: Support KVM VMs sharing SEV context

From: Paolo Bonzini
Date: Thu Feb 25 2021 - 15:40:13 EST


On 25/02/21 18:53, James Bottomley wrote:

https://lore.kernel.org/qemu-devel/8b824c44-6a51-c3a7-6596-921dc47fea39@xxxxxxxxxxxxx/

It sounds like this mechanism can be used to boot a vCPU through a
mirror VM after the fact, which is very compatible with the above whose
mechanism is simply to steal a VCPU to hold in reset until it's
activated.

Yes, and it's much cleaner because, for example, the extra vCPU need not participate in the ACPI hotplug stuff and can even use a simplified run loop.

Paolo