qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Cody <jcody@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, pbonzini@redhat.com, eblake@redhat.com
Subject: [Qemu-devel] [PATCH v3 3/6] blockdev: rename block_stream_cb to a generic block_job_cb
Date: Thu, 27 Sep 2012 13:29:14 -0400	[thread overview]
Message-ID: <cefe8b7592b86776594a9ed0e4ce2bf62725eebd.1348760202.git.jcody@redhat.com> (raw)
In-Reply-To: <cover.1348760202.git.jcody@redhat.com>
In-Reply-To: <cover.1348760202.git.jcody@redhat.com>


Signed-off-by: Jeff Cody <jcody@redhat.com>
---
 blockdev.c   | 6 +++---
 trace-events | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/blockdev.c b/blockdev.c
index 7c83baa..9caa16f 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1063,12 +1063,12 @@ static QObject *qobject_from_block_job(BlockJob *job)
                               job->speed);
 }
 
-static void block_stream_cb(void *opaque, int ret)
+static void block_job_cb(void *opaque, int ret)
 {
     BlockDriverState *bs = opaque;
     QObject *obj;
 
-    trace_block_stream_cb(bs, bs->job, ret);
+    trace_block_job_cb(bs, bs->job, ret);
 
     assert(bs->job);
     obj = qobject_from_block_job(bs->job);
@@ -1110,7 +1110,7 @@ void qmp_block_stream(const char *device, bool has_base,
     }
 
     stream_start(bs, base_bs, base, has_speed ? speed : 0,
-                 block_stream_cb, bs, &local_err);
+                 block_job_cb, bs, &local_err);
     if (error_is_set(&local_err)) {
         error_propagate(errp, local_err);
         return;
diff --git a/trace-events b/trace-events
index dbc3007..29771a7 100644
--- a/trace-events
+++ b/trace-events
@@ -79,7 +79,7 @@ commit_start(void *bs, void *base, void *top, void *s, void *co, void *opaque) "
 
 # blockdev.c
 qmp_block_job_cancel(void *job) "job %p"
-block_stream_cb(void *bs, void *job, int ret) "bs %p job %p ret %d"
+block_job_cb(void *bs, void *job, int ret) "bs %p job %p ret %d"
 qmp_block_stream(void *bs, void *job) "bs %p job %p"
 
 # hw/virtio-blk.c
-- 
1.7.11.4

  parent reply	other threads:[~2012-09-27 17:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-27 17:29 [Qemu-devel] [PATCH v3 0/6] Live block commit Jeff Cody
2012-09-27 17:29 ` [Qemu-devel] [PATCH v3 1/6] block: add support functions for live commit, to find and delete images Jeff Cody
2012-09-27 17:29 ` [Qemu-devel] [PATCH v3 2/6] block: add live block commit functionality Jeff Cody
2012-09-27 17:29 ` Jeff Cody [this message]
2012-09-27 17:29 ` [Qemu-devel] [PATCH v3 4/6] block: helper function, to find the base image of a chain Jeff Cody
2012-09-27 17:29 ` [Qemu-devel] [PATCH v3 5/6] QAPI: add command for live block commit, 'block-commit' Jeff Cody
2012-09-27 17:57   ` Eric Blake
2012-09-27 18:01     ` Jeff Cody
2012-09-27 17:29 ` [Qemu-devel] [PATCH v3 6/6] qemu-iotests: add initial tests for live block commit Jeff Cody
2012-09-27 17:58 ` [Qemu-devel] [PATCH v3 0/6] Live " Eric Blake
2012-09-28 18:23 ` Kevin Wolf

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=cefe8b7592b86776594a9ed0e4ce2bf62725eebd.1348760202.git.jcody@redhat.com \
    --to=jcody@redhat.com \
    --cc=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --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).