Re: [PATCH 0/3] KVM: Fixes and a cleanup for coalesced MMIO

2021-04-17 Thread Paolo Bonzini

On 13/04/21 00:20, Sean Christopherson wrote:

Fix two bugs that are exposed if unregistered a device on an I/O bus fails
due to OOM.  Tack on opportunistic cleanup in the related code.
  
Sean Christopherson (3):

   KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing
 SRCU
   KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
   KVM: Add proper lockdep assertion in I/O bus unregister

  include/linux/kvm_host.h  |  4 ++--
  virt/kvm/coalesced_mmio.c | 19 +--
  virt/kvm/kvm_main.c   | 26 --
  3 files changed, 35 insertions(+), 14 deletions(-)



Queued, thanks.

Paolo



[PATCH 0/3] KVM: Fixes and a cleanup for coalesced MMIO

2021-04-12 Thread Sean Christopherson
Fix two bugs that are exposed if unregistered a device on an I/O bus fails
due to OOM.  Tack on opportunistic cleanup in the related code.
 
Sean Christopherson (3):
  KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing
SRCU
  KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
  KVM: Add proper lockdep assertion in I/O bus unregister

 include/linux/kvm_host.h  |  4 ++--
 virt/kvm/coalesced_mmio.c | 19 +--
 virt/kvm/kvm_main.c   | 26 --
 3 files changed, 35 insertions(+), 14 deletions(-)

-- 
2.31.1.295.g9ea45b61b8-goog