|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file |
Date: | Thu, 25 Jun 2009 17:55:25 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 06/25/2009 04:07 PM, Stefano Stabellini wrote:
Looks to me like "works with libvirt and other management programs" implies that you can use it from scripts, because many management programs are, in fact, scripts.Having the possibility of using it from scripts would be nice but I wouldn't make it a requirement. With an rpc interface and the right scripting language you can still use the rpc interface from a very very short script.
I'd go further and make shell script support a non-goal. Maybe the majority of qemu control programs are scripts, but only a tiny minority of VMs are controlled by shell scripts. It is nearly impossible to write a correct nontrivial program in bash; and scripts will be slow due to the need to constantly fork/exec/connect.
Serious management programs will be written in real languages, and that's what we should optimize for.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |