Re: [Qemu-devel] [PATCH v4 3/3] arm: implement query-gic-capabilities

2016-03-19 Thread Peter Xu
On Wed, Mar 16, 2016 at 10:30:36AM +, Peter Maydell wrote: > On 8 March 2016 at 07:36, Peter Xu wrote: > > For emulated GIC capabilities, currently only gicv2 is supported. We > > need to add gicv3 in when emulated gicv3 ready. For KVM accelerated ARM > > VM, we detect the capability bits usin

Re: [Qemu-devel] [PATCH v4 3/3] arm: implement query-gic-capabilities

2016-03-16 Thread Peter Maydell
On 8 March 2016 at 07:36, Peter Xu wrote: > For emulated GIC capabilities, currently only gicv2 is supported. We > need to add gicv3 in when emulated gicv3 ready. For KVM accelerated ARM > VM, we detect the capability bits using ioctls. > > When probing the KVM capabilities, we cannot leverage exi

[Qemu-devel] [PATCH v4 3/3] arm: implement query-gic-capabilities

2016-03-07 Thread Peter Xu
For emulated GIC capabilities, currently only gicv2 is supported. We need to add gicv3 in when emulated gicv3 ready. For KVM accelerated ARM VM, we detect the capability bits using ioctls. When probing the KVM capabilities, we cannot leverage existing helper functions like kvm_create_device() sinc