diff options
author | Anthony Liguori | 2012-01-27 15:58:52 +0100 |
---|---|---|
committer | Anthony Liguori | 2012-01-27 15:58:52 +0100 |
commit | 21fe5bc678b16d748db385fb1be95caa96b00eee (patch) | |
tree | 33342168c916f107f2c1e89c8fff8490b9e46f88 /block/blkdebug.c | |
parent | qemu-io: end aio help text sentences with periods (diff) | |
parent | scsi: Guard against buflen exceeding req->cmd.xfer in scsi_disk_emulate_command (diff) | |
download | qemu-21fe5bc678b16d748db385fb1be95caa96b00eee.tar.gz qemu-21fe5bc678b16d748db385fb1be95caa96b00eee.tar.xz qemu-21fe5bc678b16d748db385fb1be95caa96b00eee.zip |
Merge remote-tracking branch 'kwolf/for-anthony' into staging
* kwolf/for-anthony: (22 commits)
scsi: Guard against buflen exceeding req->cmd.xfer in scsi_disk_emulate_command
qcow: Use bdrv functions to replace file operation
qcow: Return real error code in qcow_open
block/vdi: Zero unused parts when allocating a new block (fix #919242)
virtio-blk: add virtio_blk_handle_read trace event
docs: describe live block operations
block: add support for partial streaming
add QERR_BASE_NOT_FOUND
block: add bdrv_find_backing_image
blockdev: make image streaming safe across hotplug
qmp: add query-block-jobs
qmp: add block_job_cancel command
qmp: add block_job_set_speed command
qmp: add block_stream command
block: rate-limit streaming operations
block: add image streaming block job
block: add BlockJob interface for long-running operations
block: make copy-on-read a per-request flag
block: check bdrv_in_use() before blockdev operations
coroutine: add co_sleep_ns() coroutine sleep function
...
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r-- | block/blkdebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index 9b885359e4..a251802ad4 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -292,10 +292,10 @@ static int blkdebug_open(BlockDriverState *bs, const char *filename, int flags) return -EINVAL; } - config = strdup(filename); + config = g_strdup(filename); config[c - filename] = '\0'; ret = read_config(s, config); - free(config); + g_free(config); if (ret < 0) { return ret; } |