Re: [PATCH 5/9] KVM: arm: move has_run_once after the map_resources

2021-03-12 Thread Auger Eric
Hi Alexandru, On 1/20/21 4:56 PM, Alexandru Elisei wrote: > Hi Eric, > > On 1/14/21 10:02 AM, Auger Eric wrote: >> Hi Alexandru, >> >> On 1/12/21 3:55 PM, Alexandru Elisei wrote: >>> Hi Eric, >>> >>> On 12/12/20 6:50 PM, Eric Auger wrote: has_run_once is set to true at the beginning of

Re: [PATCH 5/9] KVM: arm: move has_run_once after the map_resources

2021-01-20 Thread Alexandru Elisei
Hi Eric, On 1/14/21 10:02 AM, Auger Eric wrote: > Hi Alexandru, > > On 1/12/21 3:55 PM, Alexandru Elisei wrote: >> Hi Eric, >> >> On 12/12/20 6:50 PM, Eric Auger wrote: >>> has_run_once is set to true at the beginning of >>> kvm_vcpu_first_run_init(). This generally is not an issue >>> except

Re: [PATCH 5/9] KVM: arm: move has_run_once after the map_resources

2021-01-14 Thread Auger Eric
Hi Alexandru, On 1/12/21 3:55 PM, Alexandru Elisei wrote: > Hi Eric, > > On 12/12/20 6:50 PM, Eric Auger wrote: >> has_run_once is set to true at the beginning of >> kvm_vcpu_first_run_init(). This generally is not an issue >> except when exercising the code with KVM selftests. Indeed, >> if

Re: [PATCH 5/9] KVM: arm: move has_run_once after the map_resources

2021-01-12 Thread Alexandru Elisei
Hi Eric, On 12/12/20 6:50 PM, Eric Auger wrote: > has_run_once is set to true at the beginning of > kvm_vcpu_first_run_init(). This generally is not an issue > except when exercising the code with KVM selftests. Indeed, > if kvm_vgic_map_resources() fails due to erroneous user settings, >

[PATCH 5/9] KVM: arm: move has_run_once after the map_resources

2020-12-12 Thread Eric Auger
has_run_once is set to true at the beginning of kvm_vcpu_first_run_init(). This generally is not an issue except when exercising the code with KVM selftests. Indeed, if kvm_vgic_map_resources() fails due to erroneous user settings, has_run_once is set and this prevents from continuing executing