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

[Xen-changelog] [xen stable-4.6] libxl: Revert 3658f7a0bdd8 "libxl: fix libxl_set_memory_target"



commit 09f521a077024d5955d766eef7a040d2af928ec2
Author:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
AuthorDate: Sat Jan 21 19:03:23 2017 +0000
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Sat Jan 21 19:03:23 2017 +0000

    libxl: Revert 3658f7a0bdd8 "libxl: fix libxl_set_memory_target"
    
    I backported
      3658f7a0bdd8fcda217559927e25263a07398c27
      libxl: fix libxl_set_memory_target
    but this was not necessary, because the commit it fixes is not in
    Xen 4.6.
    
    So the backport introduces a duplicate cal to xc_domain_getinfolist
    and also breaks the build with
        libxl.c:4908:5: error: â??râ?? undeclared (first use in this function)
    
    Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index 66dcfb8..18e9d4d 100644
--- a/tools/libxl/libxl.c
+++ b/tools/libxl/libxl.c
@@ -4905,13 +4905,6 @@ retry_transaction:
         goto out;
     }
 
-    r = xc_domain_getinfolist(ctx->xch, domid, 1, &info);
-    if (r != 1 || info.domain != domid) {
-        abort_transaction = 1;
-        rc = ERROR_FAIL;
-        goto out;
-    }
-
     libxl_dominfo_init(&ptr);
     xcinfo2xlinfo(ctx, &info, &ptr);
     uuid = libxl__uuid2string(gc, ptr.uuid);
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.6

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.