Re: [Qemu-devel] [RFC PATCH v3 1/5] hw/intc: Implement ITS base class

2015-11-29 Thread Pavel Fedin
Hello! > > +/* Our two regions are always adjacent, therefore we now combine them > > + * into a single one in order to make our users' life easier. > > + */ > > +memory_region_init(&s->iomem_main, OBJECT(s), "gicv3_its", ITS_SIZE); > > +memory_region_add_subregion(&s->iomem_m

Re: [Qemu-devel] [RFC PATCH v3 1/5] hw/intc: Implement ITS base class

2015-11-29 Thread Shannon Zhao
On 2015/11/24 18:13, Pavel Fedin wrote: > +static const VMStateDescription vmstate_its = { > +.name = "arm_gicv3_its", > +.pre_save = gicv3_its_pre_save, > +.post_load = gicv3_its_post_load, > +.fields = (VMStateField[]) { > +VMSTATE_UINT32(ctlr, GICv3ITSState), > +

Re: [Qemu-devel] [RFC PATCH v3 1/5] hw/intc: Implement ITS base class

2015-11-27 Thread Peter Maydell
On 24 November 2015 at 10:13, Pavel Fedin wrote: > This is the basic skeleton for both KVM and software-emulated ITS. > Since we already prepare status structure, we also introduce complete > VMState description. But, because we currently have no migratable > implementations, we also set unmigrata

[Qemu-devel] [RFC PATCH v3 1/5] hw/intc: Implement ITS base class

2015-11-24 Thread Pavel Fedin
This is the basic skeleton for both KVM and software-emulated ITS. Since we already prepare status structure, we also introduce complete VMState description. But, because we currently have no migratable implementations, we also set unmigratable flag. Signed-off-by: Pavel Fedin --- hw/intc/Makefi