Stefan Berger
2007-Mar-28 02:17 UTC
[Xen-devel] [XEN][ACM] Allow versioning information in ACM XML policy
This patch allows version information to be embedded in the XML representation of the ACM policy. The translation tool has been adapted to parse the version found in the XML representation and put it into the binary policy. Xen has been adapted to remember the version information and report it when asked for the current policy. Signed-off-by: Stefan Berger <stefanb@us.ibm.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Mar-28 13:02 UTC
[Xen-devel] Re: [XEN][ACM] Allow versioning information in ACM XML policy
On 28/3/07 03:17, "Stefan Berger" <stefanb@us.ibm.com> wrote:> This patch allows version information to be embedded in the XML representation > of the ACM policy. The > translation tool has been adapted to parse the version found in the XML > representation and put it into the binary policy. Xen has been adapted > to remember the version information and report it when asked for the current > policy.Applied. Are the changes to make the structs all packed really required? We usually avoid gcc extensions in public header files (except in some very small number of cases). -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefan Berger
2007-Mar-28 13:40 UTC
Re: [Xen-devel] Re: [XEN][ACM] Allow versioning information in ACM XML policy
xen-devel-bounces@lists.xensource.com wrote on 03/28/2007 09:02:47 AM:> On 28/3/07 03:17, "Stefan Berger" <stefanb@us.ibm.com> wrote: > > > This patch allows version information to be embedded in the XML > representation > > of the ACM policy. The > > translation tool has been adapted to parse the version found in theXML> > representation and put it into the binary policy. Xen has been adapted > > to remember the version information and report it when asked for thecurrent> > policy. > > Applied. > > Are the changes to make the structs all packed really required? Weusually> avoid gcc extensions in public header files (except in some very small > number of cases).The structures are all serialized by for example writing them directly into a file. With the ''packed'' I want to prevent that on different architectures different binary policies are generated due to architecture-dependent padding inside the structures. With the way the structures are at the moment, there would not be any padding between the uint32_t from what I can tell after a test on x86 and powerpc, though maybe in the future. So the packed is there, but does not affect the padding at the moment. Stefan> > -- Keir > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel