Re: [RFC][PATCH v2 14/21] kvm: register in mm_struct

2019-02-04 Thread Paolo Bonzini
On 02/02/19 07:57, Peter Xu wrote: > > I'm thinking whether it's legal for multiple VMs to run on a single mm > address space. I don't see a limitation so far but it's very possible > I am just missing something there (if there is, IMHO they might be > something nice to put into the commit

Re: [RFC][PATCH v2 14/21] kvm: register in mm_struct

2019-02-02 Thread Fengguang Wu
Hi Peter, On Sat, Feb 02, 2019 at 02:57:41PM +0800, Peter Xu wrote: On Wed, Dec 26, 2018 at 09:15:00PM +0800, Fengguang Wu wrote: VM is associated with an address space and not a specific thread. >From Documentation/virtual/kvm/api.txt: Only run VM ioctls from the same process (address

Re: [RFC][PATCH v2 14/21] kvm: register in mm_struct

2019-02-01 Thread Peter Xu
On Wed, Dec 26, 2018 at 09:15:00PM +0800, Fengguang Wu wrote: > VM is associated with an address space and not a specific thread. > > >From Documentation/virtual/kvm/api.txt: >Only run VM ioctls from the same process (address space) that was used >to create the VM. Hi, Fengguang, AFAIU

[RFC][PATCH v2 14/21] kvm: register in mm_struct

2018-12-26 Thread Fengguang Wu
VM is associated with an address space and not a specific thread. >From Documentation/virtual/kvm/api.txt: Only run VM ioctls from the same process (address space) that was used to create the VM. CC: Nikita Leshenko CC: Christian Borntraeger Signed-off-by: Fengguang Wu ---