Blob Blame History Raw
From b25ab2bb8869d7606d106f1a928cdd33e6e55d64 Mon Sep 17 00:00:00 2001
From: "Daniel P. Berrange" <berrange@redhat.com>
Date: Fri, 17 Jul 2015 14:59:08 +0100
Subject: [PATCH] Add VIR_ERR_MIGRATE_FINISH_OK constant

(cherry picked from commit dcd67816a57415eb57407deb18ca425a9b563507)
---
 Virt.xs               | 1 +
 lib/Sys/Virt/Error.pm | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/Virt.xs b/Virt.xs
index 43ffd62..8f725e6 100644
--- a/Virt.xs
+++ b/Virt.xs
@@ -8320,4 +8320,5 @@ BOOT:
       REGISTER_CONSTANT(VIR_ERR_STORAGE_VOL_EXIST, ERR_STORAGE_VOL_EXIST);
       REGISTER_CONSTANT(VIR_ERR_CPU_INCOMPATIBLE, ERR_CPU_INCOMPATIBLE);
       REGISTER_CONSTANT(VIR_ERR_XML_INVALID_SCHEMA, ERR_INVALID_SCHEMA);
+      REGISTER_CONSTANT(VIR_ERR_MIGRATE_FINISH_OK, ERR_MIGRATE_FINISH_OK);
     }
diff --git a/lib/Sys/Virt/Error.pm b/lib/Sys/Virt/Error.pm
index 43f4862..d254daa 100644
--- a/lib/Sys/Virt/Error.pm
+++ b/lib/Sys/Virt/Error.pm
@@ -768,6 +768,10 @@ The CPUs are not compatible
 
 The XML document does not comply with the XML schema
 
+=item Sys::Virt::Error::ERR_MIGRATE_FINISH_OK
+
+Migration finished but expected to return NULL domain.
+
 =back
 
 =head1 AUTHORS