qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Fix qemu-img argument handling
Date: Sat, 07 Feb 2009 17:29:11 +0100	[thread overview]
Message-ID: <498DB6D7.2090807@reactos.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

Hi,

qemu-img doesn't work on MS Windows, when compiled with MinGW Runtime 
package >= 3.15
According to 
http://sourceforge.net/tracker/index.php?func=detail&aid=2222263&group_id=2435&atid=102435 
, qemu-img shouldn't skip the first argument (command name) by doing 
optind++.

Attached patch fixes the problems, and repairs qemu-img parsing with 
MinGW Runtime package >= 3.15

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>

Hervé

[-- Attachment #2: qemu-img-optind.diff --]
[-- Type: plain/text, Size: 379 bytes --]

             reply	other threads:[~2009-02-07 16:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 16:29 Hervé Poussineau [this message]
2009-02-07 20:11 ` [Qemu-devel] [PATCH] Fix qemu-img argument handling Robert Riebisch
2009-02-09 18:15 ` Aurelien Jarno
2009-02-14 17:33 ` Robert Riebisch
2009-02-27 19:08 ` Anthony Liguori

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=498DB6D7.2090807@reactos.org \
    --to=hpoussin@reactos.org \
    --cc=qemu-devel@nongnu.org \
    /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 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).