lkml.org 
[lkml]   [2020]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v5 02/19] KVM: Reinstall old memslots if arch preparation fails
    On Tue, Jan 21, 2020 at 02:31:40PM -0800, Sean Christopherson wrote:
    > Reinstall the old memslots if preparing the new memory region fails
    > after invalidating a to-be-{re}moved memslot.
    >
    > Remove the superfluous 'old_memslots' variable so that it's somewhat
    > clear that the error handling path needs to free the unused memslots,
    > not simply the 'old' memslots.
    >
    > Fixes: bc6678a33d9b9 ("KVM: introduce kvm->srcu and convert kvm_set_memory_region to SRCU update")
    > Reviewed-by: Christoffer Dall <christoffer.dall@arm.com>
    > Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>

    Reviewed-by: Peter Xu <peterx@redhat.com>

    --
    Peter Xu

    \
     
     \ /
      Last update: 2020-02-05 23:09    [W:3.124 / U:0.308 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site