* [Qemu-devel] version command line option
@ 2009-09-16 13:32 Pascal Erb
2009-09-16 15:17 ` Laurent Desnogues
0 siblings, 1 reply; 3+ messages in thread
From: Pascal Erb @ 2009-09-16 13:32 UTC (permalink / raw)
To: qemu-devel
hi,
actually I'm getting closer to qemu. And I like it ;-) . As I want to deliver
some cd with a virtual machine on it, there's the need to check for an
existing installation of qemu on the target host. I managed to check this by
simply invoking qemu -h which returns 0 for success. But it seems to be
impossible to do something like
qemu --version
to find out some version information. Since this should be easy to implement,
I'd do this. Any informations how to proceed?
Greetings,
Pascal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] version command line option
2009-09-16 13:32 [Qemu-devel] version command line option Pascal Erb
@ 2009-09-16 15:17 ` Laurent Desnogues
2009-09-17 11:38 ` Pascal Erb
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Desnogues @ 2009-09-16 15:17 UTC (permalink / raw)
To: Pascal Erb; +Cc: qemu-devel
On Wed, Sep 16, 2009 at 3:32 PM, Pascal Erb <pascal.erb@gruo.de> wrote:
> But it seems to be
> impossible to do something like
>
> qemu --version
>
> to find out some version information. Since this should be easy to implement,
> I'd do this. Any informations how to proceed?
I came up with this but that looks overly complex and fragile :-)
qemu-x86_64 -h | head -1 | awk '{ print $3 }' | sed 's/,$//'
Laurent
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] version command line option
2009-09-16 15:17 ` Laurent Desnogues
@ 2009-09-17 11:38 ` Pascal Erb
0 siblings, 0 replies; 3+ messages in thread
From: Pascal Erb @ 2009-09-17 11:38 UTC (permalink / raw)
To: qemu-devel
> I came up with this but that looks overly complex and fragile :-)
>
> qemu-x86_64 -h | head -1 | awk '{ print $3 }' | sed 's/,$//'
>
Hmmm. I agree with you. This looks really fragile since it is impossible to
know in advance, head, awk or sed to be installed on the target host (having
some ugly commercial OS with very low abilities in mind...). But thank you
anyway that you strived for a quick solution :-)
My question tended more into the way: Where is the repository and where could
I find the coding guidelines, etc? And how should I proceed to add the
corresponding source code? About the repository I found already out how to
make an anonymous checkout (git clone git://git.savannah.nongnu.org/qemu.git).
Is there a howto document somewhere how to submit my code? Are there any
public accessible documents about qemu's architecture or structure?
Greetings,
Pascal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-17 11:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 13:32 [Qemu-devel] version command line option Pascal Erb
2009-09-16 15:17 ` Laurent Desnogues
2009-09-17 11:38 ` Pascal Erb
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).