qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: John Snow <jsnow@redhat.com>
Cc: qemu-devel@nongnu.org, stefanha@redhat.com, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 7/8] qtest/ahci: add qcow2 support to ahci-test
Date: Mon, 9 Mar 2015 17:27:46 +0100	[thread overview]
Message-ID: <20150309162746.GH3593@noname.str.redhat.com> (raw)
In-Reply-To: <54FDC445.9050201@redhat.com>

Am 09.03.2015 um 17:03 hat John Snow geschrieben:
> On 03/09/2015 10:27 AM, Kevin Wolf wrote:
> >Am 26.02.2015 um 00:06 hat John Snow geschrieben:
> >>+void mkimg(const char *file, const char *fmt, unsigned size_mb)
> >>+{
> >>+    gchar *cli;
> >>+    bool ret;
> >>+    int rc;
> >>+    GError *err = NULL;
> >>+    char *qemu_img_path;
> >>+    gchar *out, *out2;
> >>+
> >>+    qemu_img_path = getenv("QTEST_QEMU_IMG");
> >>+    assert(qemu_img_path);
> >>+
> >>+    cli = g_strdup_printf("./%s create -f %s %s %uM", qemu_img_path,
> >>+                          fmt, file, size_mb);
> >>+    ret = g_spawn_command_line_sync(cli, &out, &out2, &rc, &err);
> >>+    if (err) {
> >>+        fprintf(stderr, "%s\n", err->message);
> >>+        g_error_free(err);
> >>+    }
> >>+    g_assert(ret && !err);
> >>+
> >>+    ret = g_spawn_check_exit_status(rc, &err);
> >
> >This function only exists since glib 2.34. Dropping the following
> >patches from the queue:
> >
> >pick 23134a5 qtest/ahci: add qcow2 support to ahci-test
> >pick 6ca5609 qtest/ahci: test different disk sectors
> >pick e2f0dee qtest/ahci: Add simple flush test
> >pick 396491b qtest/ahci: Allow override of default CLI options
> >pick eb8c8bd libqtest: add qmp_eventwait
> >pick 398bfc3 libqtest: add qmp_async
> >pick d3f77d1 libqos: add blkdebug_prepare_script
> >pick d628e51 qtest/ahci: add flush retry test
> >
> >This is patch 7 and 8 from this series and the complete series "ahci:
> >rerror/werror=stop resume tests", which seems to depend on them.
> >
> >Kevin
> >
> 
> Do we have a policy on glib version for qtests? I know we require a
> specific version for within QEMU itself, but there are many
> instances of functions newer than that being using in qtests
> already.

I would have assumed that it's the same requirement and make check
should work whereever you can build qemu. In practice, however, I'm
running qtests on a RHEL 6 host (without this series that still works
fine) and complaining only if things break there.

Kevin

  reply	other threads:[~2015-03-09 16:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 23:06 [Qemu-devel] [PATCH v2 0/8] ahci: add more IO tests John Snow
2015-02-25 23:06 ` [Qemu-devel] [PATCH v2 1/8] libqos/ahci: Zero-fill AHCI headers John Snow
2015-02-25 23:06 ` [Qemu-devel] [PATCH v2 2/8] qtest/ahci: Add a macro bootup routine John Snow
2015-02-25 23:06 ` [Qemu-devel] [PATCH v2 3/8] libqos/ahci: add ahci command helpers John Snow
2015-02-25 23:06 ` [Qemu-devel] [PATCH v2 4/8] qtest/ahci: Add DMA test variants John Snow
2015-02-25 23:06 ` [Qemu-devel] [PATCH v2 5/8] qtest/ahci: Add PIO and LBA48 tests John Snow
2015-02-25 23:06 ` [Qemu-devel] [PATCH v2 6/8] qtest/ahci: add fragmented dma test John Snow
2015-02-25 23:06 ` [Qemu-devel] [PATCH v2 7/8] qtest/ahci: add qcow2 support to ahci-test John Snow
2015-03-09 14:27   ` Kevin Wolf
2015-03-09 16:03     ` John Snow
2015-03-09 16:27       ` Kevin Wolf [this message]
2015-03-09 16:35         ` John Snow
2015-03-09 16:33       ` Markus Armbruster
2015-03-09 20:34     ` John Snow
2015-03-10  8:16       ` Kevin Wolf
2015-02-25 23:06 ` [Qemu-devel] [PATCH v2 8/8] qtest/ahci: test different disk sectors John Snow
2015-02-26 15:12 ` [Qemu-devel] [PATCH v2 0/8] ahci: add more IO tests Stefan Hajnoczi

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=20150309162746.GH3593@noname.str.redhat.com \
    --to=kwolf@redhat.com \
    --cc=armbru@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.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 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).