qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/4] Machine config files


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 0/4] Machine config files
Date: Fri, 12 Jun 2009 19:35:16 +0300

On 6/12/09, Anthony Liguori <address@hidden> wrote:
> Kevin Wolf wrote:
>
> > Markus Armbruster schrieb:
> >  Don't get me wrong, I'm not against configuration files. Having them is
> > great and probably I'd even find some uses for them occasionally. I just
> > don't want to be _forced_ to use them which I fear is what Paul is
> > talking about.
> >
> >
>
>  What we need is a command line option that can be used to manipulate a
> device tree.  All of the existing options could then be implemented in terms
> of the former option.
>
>  There will probably be a lot of things in the future that you can only do
> via device tree manipulation.  I don't see any reason why not to add
> convenient syntax though for the most common things.

-fdt_change /cpus/address@hidden/clock-frequency 0x20000000
-fdt_delete /plb/obp/address@hidden
-fdt_add /plb/obp/address@hidden serial (this is complicated)

But I fear we would be replicating basic awk functionality.

An external tool for manipulating the tree may still be useful.




reply via email to

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