lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ