[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bfe385f9-b075-12e7-43c3-7957bf1b54bc@redhat.com>
Date: Fri, 18 Feb 2022 10:43:48 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Peter Gonda <pgonda@...gle.com>, kvm@...r.kernel.org
Cc: Sean Christopherson <seanjc@...gle.com>,
Marc Orr <marcorr@...gle.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] KVM: SEV: Allow SEV intra-host migration of VM with
mirrors
On 2/11/22 20:36, Peter Gonda wrote:
> - WARN_ON(sev->num_mirrored_vms);
> + WARN_ON(!list_empty(&sev->mirror_vms));
>
> if (!sev_guest(kvm))
> return;
> @@ -2049,11 +2071,9 @@ void sev_vm_destroy(struct kvm *kvm)
Note, the WARN must now be moved after "if (!sev_guest(kvm))" (before,
num_mirrored_vms was initialized to 0).
Paolo
Powered by blists - more mailing lists