aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2012-08-16 16:41:06 +0100
committerLaine Stump <laine@laine.org>2012-08-17 15:43:25 -0400
commitf9150c81584112ce884032ee63229c6a3154d1af (patch)
tree0506398a2d19a178ed16d4fc4009b097655d79c4 /include
parentdocs: Enhance documentation of log_filters (diff)
downloadlibvirt-f9150c81584112ce884032ee63229c6a3154d1af.tar.gz
libvirt-f9150c81584112ce884032ee63229c6a3154d1af.tar.bz2
libvirt-f9150c81584112ce884032ee63229c6a3154d1af.zip
conf: move DevicePCIAddress functions to separate file
Move the functions the parse/format, and validate PCI addresses to their own file so they can be conveniently used in other places besides device_conf.c Refactoring existing code without causing any functional changes to prepare for new code. This patch makes the code reusable. Signed-off-by: Shradha Shah <sshah@solarflare.com>
Diffstat (limited to 'include')
-rw-r--r--include/libvirt/virterror.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libvirt/virterror.h b/include/libvirt/virterror.h
index 913fc5d31..d0af43d77 100644
--- a/include/libvirt/virterror.h
+++ b/include/libvirt/virterror.h
@@ -110,6 +110,7 @@ typedef enum {
VIR_FROM_AUTH = 46, /* Error from auth handling */
VIR_FROM_DBUS = 47, /* Error from DBus */
VIR_FROM_PARALLELS = 48, /* Error from Parallels */
+ VIR_FROM_DEVICE = 49, /* Error from Device */
# ifdef VIR_ENUM_SENTINELS
VIR_ERR_DOMAIN_LAST