qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v7 2/6] Implement GIC-500 base class


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v7 2/6] Implement GIC-500 base class
Date: Fri, 31 Jul 2015 16:38:44 +0100

On 26 July 2015 at 14:52, Pavel Fedin <address@hidden> wrote:
>  And could you be not so strict on this file?

OK, so having thought about this this week, this is what I
suggest.

For this patch series we should retain this class hierarchy,
but remove all the fields corresponding to state information
which isn't used by the KVM subclass (and all the accessor
macro definitions, and that GICV3_NCPU definition, and so on).
We should have a migration information struct which says
"not migratable".

That gives us the right structure into which we can
add the correct state fields when we get the design
right (and for whichever of emulation and KVM state
save/load gets there first).

We do need to make sure we get right:
 * the class hierarchy
 * the API to the rest of QEMU (meaning of GPIO pins,
   memory regions, any qdev/qom properties)

(and in the other parts of the patchset, also that we get
the right memory map for the virt board with the GICv3
in it and that the mechanism for selecting GICv2 or GICv3
or "whatever you've got" is good.)

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]