On 11/25/2013 09:11 AM, Peter Krempa wrote:
Add support for string conversion from and to the virStorageVolType
enum.
---
src/conf/storage_conf.c | 4 ++++
src/conf/storage_conf.h | 2 ++
src/libvirt_private.syms | 2 ++
3 files changed, 8 insertions(+)
You can drop most of this patch; commit 1b5c8d4 added the same.
+++ b/src/libvirt_private.syms
@@ -701,6 +701,8 @@ virStorageVolDefFree;
virStorageVolDefParseFile;
virStorageVolDefParseNode;
virStorageVolDefParseString;
+virStorageVolTypeFromString;
+virStorageVolTypeToString;
This may be the only salvageable part; if so, squash it into the patch
where you first need the symbols exported.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org