Re:Re: [PATCH] kvm: arm/arm64 : fix vm's hanging at startup time

2018-11-19 Thread peng.hao2
>On 19/11/2018 09:10, Mark Rutland wrote: >> On Sat, Nov 17, 2018 at 10:58:37AM +0800, peng.h...@zte.com.cn wrote: On 16/11/18 00:23, peng.h...@zte.com.cn wrote: >> Hi, >>> When virtual machine starts, hang up. >> >> I take it you mean the *guest* hangs? Because it doesn't get

Re:Re: [PATCH] kvm: arm/arm64 : fix vm's hanging at startup time

2018-11-16 Thread peng.hao2
>On 16/11/18 00:23, peng.h...@zte.com.cn wrote: >>> Hi, When virtual machine starts, hang up. >>> >>> I take it you mean the *guest* hangs? Because it doesn't get a timer >>> interrupt? >>> The kernel version of guest is 4.16. Host support vgic_v3. >>> >>> Your host kernel is

Re:Re: [PATCH] kvm: arm/arm64 : fix vm's hanging at startup time

2018-11-15 Thread peng.hao2
>> >> When virtual machine starts, hang up. The kernel version of guest >> is 4.16. Host support vgic_v3. >> It was mainly due to the incorrect vgic_irq's(intid=27) group value >> during injection interruption. when kvm_vgic_vcpu_init is called, >> dist is not initialized at this time. Unable to

Re:Re: [PATCH] kvm: arm/arm64 : fix vm's hanging at startup time

2018-11-15 Thread peng.hao2
>Hi, >> When virtual machine starts, hang up. > >I take it you mean the *guest* hangs? Because it doesn't get a timer >interrupt? > >> The kernel version of guest >> is 4.16. Host support vgic_v3. > >Your host kernel is something recent, I guess? > >> It was mainly due to the incorrect

Re:Re: [PATCH] kvm: arm/arm64 : fix vm's hanging at startup time

2018-11-15 Thread peng.hao2
>Hi Peng, > >On 15/11/18 15:14, Peng Hao wrote: >> When virtual machine starts, hang up. The kernel version of guest >> is 4.16. Host support vgic_v3. > >I don't understand the issue here. the vgic_irq->group field does not >exist in 4.16 (neither in the first nor the last version). Nor does the