* [Qemu-devel] Documentation about qemu config file
@ 2016-04-04 14:27 Valerio Pachera
2016-04-05 13:40 ` Laszlo Ersek
2016-04-07 15:30 ` Markus Armbruster
0 siblings, 2 replies; 3+ messages in thread
From: Valerio Pachera @ 2016-04-04 14:27 UTC (permalink / raw)
To: qemu-devel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Documentation about qemu config file
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
1 sibling, 0 replies; 3+ messages in thread
From: Laszlo Ersek @ 2016-04-05 13:40 UTC (permalink / raw)
To: Valerio Pachera; +Cc: qemu-devel
On 04/04/16 16:27, Valerio Pachera wrote:
> 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.
>
(/me checks the timestamp -- no, you didn't send this on April 1st.
Okay. It is not a joke then, and the QEMU community is supposed to be
open and welcoming. Therefore:)
Have you heard of libvirt <http://libvirt.org/>?
Laszlo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Documentation about qemu config file
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
1 sibling, 0 replies; 3+ messages in thread
From: Markus Armbruster @ 2016-04-07 15:30 UTC (permalink / raw)
To: Valerio Pachera; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-07 15:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).