Re: [RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-13 Thread Christoffer Dall
On Wed, Sep 13, 2017 at 11:13:55PM +0200, Auger Eric wrote: > Hi Christoffer, > > On 13/09/2017 21:34, Christoffer Dall wrote: > > Hi Wanghaibin, > > > > On Wed, Sep 06, 2017 at 09:05:09PM +0800, wanghaibin wrote: > >> This patch fix the migrate save tables failure. > >> > >> When the virtual

Re: [RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-13 Thread Auger Eric
Hi Christoffer, On 13/09/2017 21:34, Christoffer Dall wrote: > Hi Wanghaibin, > > On Wed, Sep 06, 2017 at 09:05:09PM +0800, wanghaibin wrote: >> This patch fix the migrate save tables failure. >> >> When the virtual machine is in booting and the devices haven't initialized, >> the all virtual

Re: [RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-13 Thread Christoffer Dall
Hi Wanghaibin, On Wed, Sep 06, 2017 at 09:05:09PM +0800, wanghaibin wrote: > This patch fix the migrate save tables failure. > > When the virtual machine is in booting and the devices haven't initialized, > the all virtual dte/ite may be invalid. If migrate at this moment, the save > tables

Re: [RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-13 Thread Auger Eric
Hi Wanghaibin, On 12/09/2017 13:15, wanghaibin wrote: > On 2017/9/11 2:46, Auger Eric wrote: > >> Hi Wanghaibin, >> >> On 07/09/2017 13:28, Auger Eric wrote: >>> Hi Wanghaibin, >>> >>> On 07/09/2017 03:32, wanghaibin wrote: On 2017/9/7 0:20, Auger Eric wrote: > Hi, > > On

Re: [RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-12 Thread wanghaibin
On 2017/9/11 2:46, Auger Eric wrote: > Hi Wanghaibin, > > On 07/09/2017 13:28, Auger Eric wrote: >> Hi Wanghaibin, >> >> On 07/09/2017 03:32, wanghaibin wrote: >>> On 2017/9/7 0:20, Auger Eric wrote: >>> Hi, On 06/09/2017 15:05, wanghaibin wrote: > This patch fix the migrate

Re: [RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-10 Thread Auger Eric
Hi Wanghaibin, On 07/09/2017 13:28, Auger Eric wrote: > Hi Wanghaibin, > > On 07/09/2017 03:32, wanghaibin wrote: >> On 2017/9/7 0:20, Auger Eric wrote: >> >>> Hi, >>> >>> On 06/09/2017 15:05, wanghaibin wrote: This patch fix the migrate save tables failure. When the virtual

Re: [RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-06 Thread wanghaibin
On 2017/9/7 0:20, Auger Eric wrote: > Hi, > > On 06/09/2017 15:05, wanghaibin wrote: >> This patch fix the migrate save tables failure. >> >> When the virtual machine is in booting and the devices haven't initialized, >> the all virtual dte/ite may be invalid. If migrate at this moment, the save

Re: [RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-06 Thread Auger Eric
Hi, On 06/09/2017 15:05, wanghaibin wrote: > This patch fix the migrate save tables failure. > > When the virtual machine is in booting and the devices haven't initialized, > the all virtual dte/ite may be invalid. If migrate at this moment, the save > tables interface traversal device list, and

[RFC PATCH 2/3] kvm: arm/arm64: vgic-vits: free its resource when vm reboot/reset

2017-09-06 Thread wanghaibin
This patch fix the migrate save tables failure. When the virtual machine is in booting and the devices haven't initialized, the all virtual dte/ite may be invalid. If migrate at this moment, the save tables interface traversal device list, and check the dte is valid or not. if not, it will return