From: Markus Armbruster <armbru@redhat.com>
To: Valerio Pachera <sirio81@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Documentation about qemu config file
Date: Thu, 07 Apr 2016 17:30:57 +0200 [thread overview]
Message-ID: <87vb3twi4u.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <CAHS0cb85fr2o1Eoz9tqHRASG8bzcxEKaQTTLbTRVdDu=YyXzVg@mail.gmail.com> (Valerio Pachera's message of "Mon, 4 Apr 2016 16:27:33 +0200")
Valerio Pachera <sirio81@gmail.com> writes:
> Hi, I'm interested about the option -writeconfig/-readconfig.
> I'm looking for some documentation about the format of the file, the
> syntax of all possible options and if there's a library that helps to
> read and write this file from external applications.
>
> I've been writing a sort of a cli to manage guests across different
> servers and I wish to manage guest settings by qemu config file.
>
> Thank you in advance.
-readconfig and -writeconfig are documented badly. They use an INI file
format[*].
Unfortunately, it covers only a subset of the command line options.
The (flawed!) QMP command query-command-line-options currently shows
exactly the covered ones.
I second Laszlo's recommendation to check out existing solutions such as
libvirt before rolling your own.
[*] https://en.wikipedia.org/wiki/INI_file
prev parent reply other threads:[~2016-04-07 15:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-04 14:27 [Qemu-devel] Documentation about qemu config file Valerio Pachera
2016-04-05 13:40 ` Laszlo Ersek
2016-04-07 15:30 ` Markus Armbruster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vb3twi4u.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=sirio81@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.