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

Re: [libvirt] [PATCH] build: fix broken build



On 07/19/2011 09:37 PM, Eric Blake wrote:
* src/libxl/libxl_driver.c (libxlDomainUndefineFlags): Use correct
enum value.
---

Pushing under the build-breaker rule.

  src/libxl/libxl_driver.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
index 2e7197c..d52a8b6 100644
--- a/src/libxl/libxl_driver.c
+++ b/src/libxl/libxl_driver.c
@@ -2766,7 +2766,7 @@ libxlDomainUndefineFlags(virDomainPtr dom,
      if (virFileExists(name)) {
          if (flags&  VIR_DOMAIN_UNDEFINE_MANAGED_SAVE) {
              if (unlink(name)<  0) {
-                libxlError(VIR_ERR_INTERNAL_ERR,
+                libxlError(VIR_ERR_INTERNAL_ERROR,
                             _("Failed to remove domain managed save image"));
                  goto cleanup;

remote_protocol-structs was also broken, so I squashed this in before pushing:

diff --git c/src/remote_protocol-structs w/src/remote_protocol-structs
index 46f3a00..96e74eb 100644
--- c/src/remote_protocol-structs
+++ w/src/remote_protocol-structs
@@ -1863,5 +1863,5 @@ enum remote_procedure {
         REMOTE_PROC_NODE_GET_MEMORY_STATS = 228,
         REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 229,
         REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230,
-        REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 231,
+        REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231,
 };


--
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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