summary refs log tree commit diff stats
path: root/include/qemu-common.h
diff options
context:
space:
mode:
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>2013-09-11 14:04:32 +0800
committerKevin Wolf <kwolf@redhat.com>2013-09-12 10:12:47 +0200
commit2ea1dd758c45f8ff12c67ed7934c3ce021eeaf12 (patch)
tree350ebb1ae33ff6db65cea58d548fa1bec24adc78 /include/qemu-common.h
parentd982919d3897f36d79e215c46e3bc27fd6e27bf8 (diff)
downloadfocaccia-qemu-2ea1dd758c45f8ff12c67ed7934c3ce021eeaf12.tar.gz
focaccia-qemu-2ea1dd758c45f8ff12c67ed7934c3ce021eeaf12.zip
snapshot: new function bdrv_snapshot_find_by_id_and_name()
To make it clear about id and name in searching, add this API
to distinguish them. Caller can choose to search by id or name,
*errp will be set only for exception.

Some code are modified based on Pavel's patch.

Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qemu-common.h')
0 files changed, 0 insertions, 0 deletions