Skip to contentSkip to conversation

tools/libxc: Drop unused xc_compression_*()

PATCH In review Andrew Cooper 2 participants 2 messages Dec 19, 2019 – Dec 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/libxc: Drop unused xc_compression_*()

There have been no users of the xc_compression_*() interface since Migration v2 replaced legacy migration (2016, c/s b15bc4345).

It would need adjusting to fit into migration v2, and can be pulled out of git history if someone wants to resurrect it in the future.

---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>

---
 tools/libxc/Makefile          |   2 +-
 tools/libxc/include/xenctrl.h |  60 -----
 tools/libxc/xc_compression.c  | 545 ------------------------------------------
 3 files changed, 1 insertion(+), 606 deletions(-)
 delete mode 100644 tools/libxc/xc_compression.c
tools/libxc/Makefile +1 -1
index cbc30001f6..6d0af563c0 100644
@@ -63,7 +63,7 @@ GUEST_SRCS-$(CONFIG_X86) += xc_sr_save_x86_pv.c
 GUEST_SRCS-$(CONFIG_X86) += xc_sr_save_x86_hvm.c
 GUEST_SRCS-y += xc_sr_restore.c
 GUEST_SRCS-y += xc_sr_save.c
-GUEST_SRCS-y += xc_offline_page.c xc_compression.c
+GUEST_SRCS-y += xc_offline_page.c
 else
 GUEST_SRCS-y += xc_nomigrate.c
 endif
tools/libxc/include/xenctrl.h +0 -60

66 lines not on this page · raw message

tools/libxc/xc_compression.c deleted +0 -545

545 lines not on this page · raw message

Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw

Andrew Cooper writes ("[PATCH] tools/libxc: Drop unused xc_compression_*()"):

Quoted 2 lines

There have been no users of the xc_compression_*() interface since Migration v2 replaced legacy migration (2016, c/s b15bc4345).

Taking you at your word that this is unused - I haven't checked myself.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel