Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-03-15 Thread Huang, Kai
Thanks! Thanks, -Kai On 3/14/2017 5:57 AM, Paolo Bonzini wrote: On 13/03/2017 15:58, fangying wrote: Hi, Huang Kai After weeks of intensive testing, we think the problem is solved and this issue can be closed. Thanks for the update. We got to the same conclusion. Paolo

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-03-15 Thread Huang, Kai
Thanks! Thanks, -Kai On 3/14/2017 5:57 AM, Paolo Bonzini wrote: On 13/03/2017 15:58, fangying wrote: Hi, Huang Kai After weeks of intensive testing, we think the problem is solved and this issue can be closed. Thanks for the update. We got to the same conclusion. Paolo

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-03-13 Thread Paolo Bonzini
On 13/03/2017 15:58, fangying wrote: > Hi, Huang Kai > > After weeks of intensive testing, we think the problem is solved and > this issue can be closed. Thanks for the update. We got to the same conclusion. Paolo

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-03-13 Thread Paolo Bonzini
On 13/03/2017 15:58, fangying wrote: > Hi, Huang Kai > > After weeks of intensive testing, we think the problem is solved and > this issue can be closed. Thanks for the update. We got to the same conclusion. Paolo

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-03-13 Thread fangying
Hi, Huang Kai After weeks of intensive testing, we think the problem is solved and this issue can be closed. On 2017/2/27 15:38, Huang, Kai wrote: On 2/25/2017 2:44 PM, Herongguang (Stephen) wrote: On 2017/2/24 23:14, Paolo Bonzini wrote: On 24/02/2017 16:10, Chris Friesen wrote: On

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-03-13 Thread fangying
Hi, Huang Kai After weeks of intensive testing, we think the problem is solved and this issue can be closed. On 2017/2/27 15:38, Huang, Kai wrote: On 2/25/2017 2:44 PM, Herongguang (Stephen) wrote: On 2017/2/24 23:14, Paolo Bonzini wrote: On 24/02/2017 16:10, Chris Friesen wrote: On

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-26 Thread Huang, Kai
On 2/25/2017 2:44 PM, Herongguang (Stephen) wrote: On 2017/2/24 23:14, Paolo Bonzini wrote: On 24/02/2017 16:10, Chris Friesen wrote: On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: Hopefully Gaohuai and Rongguang can help with this too.

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-26 Thread Huang, Kai
On 2/25/2017 2:44 PM, Herongguang (Stephen) wrote: On 2017/2/24 23:14, Paolo Bonzini wrote: On 24/02/2017 16:10, Chris Friesen wrote: On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: Hopefully Gaohuai and Rongguang can help with this too.

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Herongguang (Stephen)
On 2017/2/24 23:14, Paolo Bonzini wrote: On 24/02/2017 16:10, Chris Friesen wrote: On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: Hopefully Gaohuai and Rongguang can help with this too. Paolo Yes, we are looking into and testing this.

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Herongguang (Stephen)
On 2017/2/24 23:14, Paolo Bonzini wrote: On 24/02/2017 16:10, Chris Friesen wrote: On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: Hopefully Gaohuai and Rongguang can help with this too. Paolo Yes, we are looking into and testing this.

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Paolo Bonzini
On 24/02/2017 16:10, Chris Friesen wrote: > On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: > >> On 2017/2/22 22:43, Paolo Bonzini wrote: > >>> Hopefully Gaohuai and Rongguang can help with this too. >>> >>> Paolo >> >> Yes, we are looking into and testing this. >> >> I think this can

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Paolo Bonzini
On 24/02/2017 16:10, Chris Friesen wrote: > On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: > >> On 2017/2/22 22:43, Paolo Bonzini wrote: > >>> Hopefully Gaohuai and Rongguang can help with this too. >>> >>> Paolo >> >> Yes, we are looking into and testing this. >> >> I think this can

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Chris Friesen
On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: Hopefully Gaohuai and Rongguang can help with this too. Paolo . Yes, we are looking into and testing this. I think this can result in any memory corruption, if VM1 writes its PML buffer into

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Chris Friesen
On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: Hopefully Gaohuai and Rongguang can help with this too. Paolo . Yes, we are looking into and testing this. I think this can result in any memory corruption, if VM1 writes its PML buffer into

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Greg KH
On Fri, Feb 24, 2017 at 11:00:32AM +0100, Paolo Bonzini wrote: > > > On 24/02/2017 10:59, Greg KH wrote: > > On Fri, Feb 24, 2017 at 05:35:17PM +0800, Herongguang (Stephen) wrote: > >> > >> > >> On 2017/2/24 10:23, Herongguang (Stephen) wrote: > >>> > >>> > >>> On 2017/2/22 22:43, Paolo Bonzini

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Greg KH
On Fri, Feb 24, 2017 at 11:00:32AM +0100, Paolo Bonzini wrote: > > > On 24/02/2017 10:59, Greg KH wrote: > > On Fri, Feb 24, 2017 at 05:35:17PM +0800, Herongguang (Stephen) wrote: > >> > >> > >> On 2017/2/24 10:23, Herongguang (Stephen) wrote: > >>> > >>> > >>> On 2017/2/22 22:43, Paolo Bonzini

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Paolo Bonzini
On 24/02/2017 10:59, Greg KH wrote: > On Fri, Feb 24, 2017 at 05:35:17PM +0800, Herongguang (Stephen) wrote: >> >> >> On 2017/2/24 10:23, Herongguang (Stephen) wrote: >>> >>> >>> On 2017/2/22 22:43, Paolo Bonzini wrote: On 22/02/2017 14:31, Chris Friesen wrote: >>> >>

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Paolo Bonzini
On 24/02/2017 10:59, Greg KH wrote: > On Fri, Feb 24, 2017 at 05:35:17PM +0800, Herongguang (Stephen) wrote: >> >> >> On 2017/2/24 10:23, Herongguang (Stephen) wrote: >>> >>> >>> On 2017/2/22 22:43, Paolo Bonzini wrote: On 22/02/2017 14:31, Chris Friesen wrote: >>> >>

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Greg KH
On Fri, Feb 24, 2017 at 05:35:17PM +0800, Herongguang (Stephen) wrote: > > > On 2017/2/24 10:23, Herongguang (Stephen) wrote: > > > > > > On 2017/2/22 22:43, Paolo Bonzini wrote: > > > > > > > > > On 22/02/2017 14:31, Chris Friesen wrote: > > > > > > > > > > > > > > > > Can you reproduce

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Greg KH
On Fri, Feb 24, 2017 at 05:35:17PM +0800, Herongguang (Stephen) wrote: > > > On 2017/2/24 10:23, Herongguang (Stephen) wrote: > > > > > > On 2017/2/22 22:43, Paolo Bonzini wrote: > > > > > > > > > On 22/02/2017 14:31, Chris Friesen wrote: > > > > > > > > > > > > > > > > Can you reproduce

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Herongguang (Stephen)
On 2017/2/24 10:23, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: On 22/02/2017 14:31, Chris Friesen wrote: Can you reproduce it with kernel 4.8+? I'm suspecting commmit 4e59516a12a6 ("kvm: vmx: ensure VMCS is current while enabling PML", 2016-07-14) to be the

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-24 Thread Herongguang (Stephen)
On 2017/2/24 10:23, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: On 22/02/2017 14:31, Chris Friesen wrote: Can you reproduce it with kernel 4.8+? I'm suspecting commmit 4e59516a12a6 ("kvm: vmx: ensure VMCS is current while enabling PML", 2016-07-14) to be the

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-23 Thread Herongguang (Stephen)
On 2017/2/22 22:43, Paolo Bonzini wrote: On 22/02/2017 14:31, Chris Friesen wrote: Can you reproduce it with kernel 4.8+? I'm suspecting commmit 4e59516a12a6 ("kvm: vmx: ensure VMCS is current while enabling PML", 2016-07-14) to be the fix. I can't easily try with a newer kernel, the

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-23 Thread Herongguang (Stephen)
On 2017/2/22 22:43, Paolo Bonzini wrote: On 22/02/2017 14:31, Chris Friesen wrote: Can you reproduce it with kernel 4.8+? I'm suspecting commmit 4e59516a12a6 ("kvm: vmx: ensure VMCS is current while enabling PML", 2016-07-14) to be the fix. I can't easily try with a newer kernel, the