[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/5] block: Modify block-commit to use node-names

From: Jeff Cody
Subject: [Qemu-devel] [PATCH 0/5] block: Modify block-commit to use node-names
Date: Wed, 14 May 2014 23:20:14 -0400

Using node-names instead of filenames for block job operations
over QMP is a superior method of identifying the block driver
images to operate on, as it removes all pathname ambiguity.

This series is the conversion of block-commit to allow use of
node-names.  Also, it allows the user to specify the string for
the backing_file name to use in the overlay image.

So that node-names can be used as desired for all block job
operations, this series also auto-generates node-names for every
BDS.  User-specified node-names will override any autogenerated

Subsequent patches will convert the remaining block operations
(stream, backup, mirror)

These patches can also be seen at: 
https://github.com/codyprime/qemu-kvm-jtc.git, tag block-commit-node-v1a

Jeff Cody (5):
  block: Auto-generate node_names for each BDS entry
  block: add helper function to determine if a BDS is in a chain
  block: make 'top' argument to block-commit optional
  block: Accept node-name arguments for block-commit
  block: extend block-commit to accept a string for the backing file

 block.c                   | 33 ++++++++++++++++++++++++++++---
 block/commit.c            |  9 ++++++---
 blockdev.c                | 46 +++++++++++++++++++++++++++++++++++++++----
 include/block/block.h     |  4 +++-
 include/block/block_int.h |  3 ++-
 qapi-schema.json          | 50 ++++++++++++++++++++++++++++++++++++++---------
 qmp-commands.hx           | 40 +++++++++++++++++++++++++++++++------
 tests/qemu-iotests/040    | 28 ++++++++++++++++----------
 8 files changed, 176 insertions(+), 37 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]