Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-24 Thread Stefan Berger
On 9/24/24 4:35 AM, Daniel P. Berrangé wrote: On Mon, Sep 23, 2024 at 01:30:50PM -0400, Stefan Berger wrote: On 9/23/24 12:55 PM, Daniel P. Berrangé wrote: On Fri, Sep 20, 2024 at 10:00:40AM -0400, Stefan Berger wrote: On 9/20/24 8:55 AM, Daniel P. Berrangé wrote: Instead I think there

Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-24 Thread Daniel P . Berrangé
On Mon, Sep 23, 2024 at 01:30:50PM -0400, Stefan Berger wrote: > > > On 9/23/24 12:55 PM, Daniel P. Berrangé wrote: > > On Fri, Sep 20, 2024 at 10:00:40AM -0400, Stefan Berger wrote: > > > > > > > > > On 9/20/24 8:55 AM, Daniel P. Berrangé wrote: > > > > Instead I think there should be a define

Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-23 Thread Stefan Berger
On 9/23/24 12:55 PM, Daniel P. Berrangé wrote: On Fri, Sep 20, 2024 at 10:00:40AM -0400, Stefan Berger wrote: On 9/20/24 8:55 AM, Daniel P. Berrangé wrote: Instead I think there should be a defined standard for how an distro package, or host sysadmin, would "drop in" a profile definition t

Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-23 Thread Daniel P . Berrangé
On Fri, Sep 20, 2024 at 10:00:40AM -0400, Stefan Berger wrote: > > > On 9/20/24 8:55 AM, Daniel P. Berrangé wrote: > > Instead I think there should be a defined standard for how an distro > > package, or host sysadmin, would "drop in" a profile definition to > > a well defined directory, where up

Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-20 Thread Stefan Berger
On 9/20/24 10:00 AM, Stefan Berger wrote: On 9/20/24 8:55 AM, Daniel P. Berrangé wrote: On Fri, Sep 20, 2024 at 01:53:41PM +0200, Peter Krempa wrote: On Fri, Sep 20, 2024 at 15:24:03 +0400, Marc-André Lureau wrote: Hi On Thu, Sep 19, 2024 at 10:05 PM Stefan Berger wrote: Extend the s

Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-20 Thread Stefan Berger
On 9/20/24 8:55 AM, Daniel P. Berrangé wrote: On Fri, Sep 20, 2024 at 01:53:41PM +0200, Peter Krempa wrote: On Fri, Sep 20, 2024 at 15:24:03 +0400, Marc-André Lureau wrote: Hi On Thu, Sep 19, 2024 at 10:05 PM Stefan Berger wrote: Extend the schema for the TPM emulator profile node. Requi

Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-20 Thread Daniel P . Berrangé
On Fri, Sep 20, 2024 at 01:53:41PM +0200, Peter Krempa wrote: > On Fri, Sep 20, 2024 at 15:24:03 +0400, Marc-André Lureau wrote: > > Hi > > > > On Thu, Sep 19, 2024 at 10:05 PM Stefan Berger > > wrote: > > > > > > Extend the schema for the TPM emulator profile node. Require that > > > the profil

Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-20 Thread Peter Krempa
On Fri, Sep 20, 2024 at 15:24:03 +0400, Marc-André Lureau wrote: > Hi > > On Thu, Sep 19, 2024 at 10:05 PM Stefan Berger wrote: > > > > Extend the schema for the TPM emulator profile node. Require that > > the profile the user provides looks like a JSON map that at least > > starts with '{' and e

Re: [RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-20 Thread Marc-André Lureau
Hi On Thu, Sep 19, 2024 at 10:05 PM Stefan Berger wrote: > > Extend the schema for the TPM emulator profile node. Require that > the profile the user provides looks like a JSON map that at least > starts with '{' and ends with '}'. > > Signed-off-by: Stefan Berger > --- > src/conf/schemas/basic

[RFC PATCH v1 3/6] schema: Extend schema for TPM emulator profile node

2024-09-19 Thread Stefan Berger
Extend the schema for the TPM emulator profile node. Require that the profile the user provides looks like a JSON map that at least starts with '{' and ends with '}'. Signed-off-by: Stefan Berger --- src/conf/schemas/basictypes.rng | 6 ++ src/conf/schemas/domaincommon.rng | 17 ++