Re: [PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-02-01 Thread Eric Biggers
On Thu, Feb 01, 2018 at 12:12:00PM -0500, Paolo Bonzini wrote: > On 01/02/2018 10:33, Radim Krčmář wrote: > > 2018-01-31 17:30-0800, Eric Biggers: > >> From: Eric Biggers > >> > >> On x86, special KVM memslots such as the TSS region have anonymous > >> memory mappings created

Re: [PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-02-01 Thread Eric Biggers
On Thu, Feb 01, 2018 at 12:12:00PM -0500, Paolo Bonzini wrote: > On 01/02/2018 10:33, Radim Krčmář wrote: > > 2018-01-31 17:30-0800, Eric Biggers: > >> From: Eric Biggers > >> > >> On x86, special KVM memslots such as the TSS region have anonymous > >> memory mappings created on behalf of

Re: [PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-02-01 Thread Paolo Bonzini
On 01/02/2018 10:33, Radim Krčmář wrote: > 2018-01-31 17:30-0800, Eric Biggers: >> From: Eric Biggers >> >> On x86, special KVM memslots such as the TSS region have anonymous >> memory mappings created on behalf of userspace, and these mappings are >> removed when the VM is

Re: [PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-02-01 Thread Paolo Bonzini
On 01/02/2018 10:33, Radim Krčmář wrote: > 2018-01-31 17:30-0800, Eric Biggers: >> From: Eric Biggers >> >> On x86, special KVM memslots such as the TSS region have anonymous >> memory mappings created on behalf of userspace, and these mappings are >> removed when the VM is destroyed. >> >> It is

Re: [PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-02-01 Thread Radim Krčmář
2018-01-31 17:30-0800, Eric Biggers: > From: Eric Biggers > > On x86, special KVM memslots such as the TSS region have anonymous > memory mappings created on behalf of userspace, and these mappings are > removed when the VM is destroyed. > > It is however possible for

Re: [PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-02-01 Thread Radim Krčmář
2018-01-31 17:30-0800, Eric Biggers: > From: Eric Biggers > > On x86, special KVM memslots such as the TSS region have anonymous > memory mappings created on behalf of userspace, and these mappings are > removed when the VM is destroyed. > > It is however possible for removing these mappings

[PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-01-31 Thread Eric Biggers
From: Eric Biggers On x86, special KVM memslots such as the TSS region have anonymous memory mappings created on behalf of userspace, and these mappings are removed when the VM is destroyed. It is however possible for removing these mappings via vm_munmap() to fail. This

[PATCH] KVM/x86: remove WARN_ON() for when vm_munmap() fails

2018-01-31 Thread Eric Biggers
From: Eric Biggers On x86, special KVM memslots such as the TSS region have anonymous memory mappings created on behalf of userspace, and these mappings are removed when the VM is destroyed. It is however possible for removing these mappings via vm_munmap() to fail. This can most easily happen