[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] qapi-schema.json: Reformat TargetType enum to o

From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] qapi-schema.json: Reformat TargetType enum to one-per-line
Date: Mon, 20 May 2013 17:47:06 +0100

On 20 May 2013 17:41, Eric Blake <address@hidden> wrote:
> Yep, that raises (once again) the question of dynamic introspection -
> there's a difference between the maximum amount of information known at
> compile time, and the subset of enum values that are actually usable at
> runtime.  This list is static (all known architectures)

It's not really static though for practical purposes. The user
still has to be able to cope with "I know about architecture foo
but it's not in the list" (if talking to an older qemu) or
"the list contains architecture bar which I don't know about"
(if talking to a newer qemu). I think the only thing we really
need to avoid is changing the name of an existing architecture?

-- PMM

reply via email to

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