From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Kevin Wolf" <kwolf@redhat.com>,
"Luiz Capitulino" <lcapitulino@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@gmail.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: [Qemu-devel] [PATCH 04/16] qmp_change_blockdev() remove unused has_format
Date: Mon, 16 Dec 2013 10:31:05 +0100 [thread overview]
Message-ID: <1387186277-9573-5-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1387186277-9573-1-git-send-email-kraxel@redhat.com>
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
blockdev.c | 2 +-
include/sysemu/blockdev.h | 2 +-
qmp.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/blockdev.c b/blockdev.c
index 44755e1..6a85961 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1523,7 +1523,7 @@ static void qmp_bdrv_open_encrypted(BlockDriverState *bs, const char *filename,
}
void qmp_change_blockdev(const char *device, const char *filename,
- bool has_format, const char *format, Error **errp)
+ const char *format, Error **errp)
{
BlockDriverState *bs;
BlockDriver *drv = NULL;
diff --git a/include/sysemu/blockdev.h b/include/sysemu/blockdev.h
index 1082091..134712b 100644
--- a/include/sysemu/blockdev.h
+++ b/include/sysemu/blockdev.h
@@ -64,7 +64,7 @@ DriveInfo *drive_init(QemuOpts *arg, BlockInterfaceType block_default_type);
DriveInfo *add_init_drive(const char *opts);
void qmp_change_blockdev(const char *device, const char *filename,
- bool has_format, const char *format, Error **errp);
+ const char *format, Error **errp);
void do_commit(Monitor *mon, const QDict *qdict);
int do_drive_del(Monitor *mon, const QDict *qdict, QObject **ret_data);
#endif
diff --git a/qmp.c b/qmp.c
index 4c149b3..1d7a04d 100644
--- a/qmp.c
+++ b/qmp.c
@@ -400,7 +400,7 @@ void qmp_change(const char *device, const char *target,
if (strcmp(device, "vnc") == 0) {
qmp_change_vnc(target, has_arg, arg, err);
} else {
- qmp_change_blockdev(device, target, has_arg, arg, err);
+ qmp_change_blockdev(device, target, arg, err);
}
}
--
1.8.3.1
next prev parent reply other threads:[~2013-12-16 9:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-16 9:31 [Qemu-devel] [PULL 00/16] spice patch queue Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 01/16] spice: flip streaming video mode to off by default Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 02/16] vscclient: do not add a socket watch if there is not data to send Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 03/16] spice-char: remove unused field Gerd Hoffmann
2013-12-16 9:31 ` Gerd Hoffmann [this message]
2013-12-16 9:31 ` [Qemu-devel] [PATCH 05/16] include: add missing config-host.h include Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 06/16] char: add qemu_chr_fe_event() Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 07/16] spice-char: implement chardev port event Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 08/16] Split nbd block client code Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 09/16] nbd: don't change socket block during negotiate Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 10/16] nbd: pass export name as init argument Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 11/16] nbd: make nbd_client_session_close() idempotent Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 12/16] nbd: finish any pending coroutine Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 13/16] nbd: avoid uninitialized warnings Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 14/16] spice: move qemu_spice_display_*() from spice-graphics to spice-core Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 15/16] spice: move spice_server_vm_{start, stop} calls into qemu_spice_display_*() Gerd Hoffmann
2013-12-16 9:31 ` [Qemu-devel] [PATCH 16/16] spice: stop server for qxl hard reset Gerd Hoffmann
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=1387186277-9573-5-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=marcandre.lureau@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).