Re: [PATCH v2] KVM: SEV: Allow SEV intra-host migration of VM with mirrors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux