Skip to contentSkip to conversation

tools: remove xenpmd

PATCH In review Ian Campbell 4 participants 5 messages Feb 17, 2016 – Feb 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: remove xenpmd

It has four instances of the same CID 1198719 (strncpy(..., 32) into a 32-byte buffer).

However ever since it was checked in in 2008 it has contained a /tmp instead of the real ones in /proc. I therefore conclude that it has not ever been used in its current form in the last 8 years and might as well therefore be deleted. The code remains in the git history should anyone one to reanimate it.

Searching online shows no references to the use of this tool.

---
 .gitignore            |   1 -
 .hgignore             |   1 -
 tools/Makefile        |   1 -
 tools/xenpmd/Makefile |  27 ---
 tools/xenpmd/xenpmd.c | 515 --------------------------------------------------
 5 files changed, 545 deletions(-)
 delete mode 100644 tools/xenpmd/Makefile
 delete mode 100644 tools/xenpmd/xenpmd.c
.gitignore +0 -1
index 91f690c..1ae7ab5 100644
@@ -210,7 +210,6 @@ tools/xcutils/readnotes
 tools/xenmon/xentrace_setmask
 tools/xenmon/xenbaked
 tools/xenpaging/xenpaging
-tools/xenpmd/xenpmd
 tools/xenstat/xentop/xentop
 tools/xenstore/xenstore
 tools/xenstore/xenstore-chmod
.hgignore +0 -1
index 0bd29a1..5df2277 100644
@@ -243,7 +243,6 @@
 ^tools/xenmon/xentrace_setmask$
 ^tools/xenmon/xenbaked$
 ^tools/xenpaging/xenpaging$
-^tools/xenpmd/xenpmd$
 ^tools/xenstat/xentop/xentop$
 ^tools/xenstore/testsuite/tmp/.*$
 ^tools/xenstore/init-xenstore-domain$
tools/Makefile +0 -1
index 3f45fb9..eeee555 100644
@@ -28,7 +28,6 @@ SUBDIRS-$(CONFIG_QEMU_TRAD) += qemu-xen-traditional-dir
 SUBDIRS-$(CONFIG_QEMU_XEN) += qemu-xen-dir
 endif
 
-SUBDIRS-y += xenpmd
 SUBDIRS-y += libxl
 SUBDIRS-y += helpers
 SUBDIRS-$(CONFIG_X86) += xenpaging
tools/xenpmd/Makefile deleted +0 -27
deleted file mode 100644
index 55e8fc5..0000000
@@ -1,27 +0,0 @@
-XEN_ROOT=$(CURDIR)/../..
-include $(XEN_ROOT)/tools/Rules.mk
-
-CFLAGS += -Werror
-CFLAGS += $(CFLAGS_libxenstore)
-
-LDLIBS += $(LDLIBS_libxenstore)
-
-.PHONY: all
-all: xenpmd
-
-.PHONY: install
-install: all
-	$(INSTALL_DIR) $(DESTDIR)$(sbindir)
-	$(INSTALL_PROG) xenpmd $(DESTDIR)$(sbindir)
-
-.PHONY: clean
-clean:
-	$(RM) -f xenpmd xenpmd.o $(DEPS)
-
-.PHONY: distclean
-distclean: clean
-
-xenpmd: xenpmd.o Makefile
-	$(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) $(APPEND_LDFLAGS)
-
--include $(DEPS)
tools/xenpmd/xenpmd.c deleted +0 -515

515 lines not on this page · raw message

Signature · 1 line
2.1.4
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Ian Campbell

It has four instances of the same CID 1198719 (strncpy(..., 32) into a 32-byte buffer).

However ever since it was checked in in 2008 it has contained a /tmp instead of the real ones in /proc. I therefore conclude that it has not ever been used in its current form in the last 8 years and might as well therefore be deleted. The code remains in the git history should anyone one to reanimate it.

Quoted 3 lines

Searching online shows no references to the use of this tool.

.. Can I commit this in now :-)

#2 lore raw
Quoted 10 lines · Konrad Rzeszutek Wilk
Quoted 9 lines · Ian Campbell

It has four instances of the same CID 1198719 (strncpy(..., 32) into a 32-byte buffer).

However ever since it was checked in in 2008 it has contained a /tmp instead of the real ones in /proc. I therefore conclude that it has not ever been used in its current form in the last 8 years and might as well therefore be deleted. The code remains in the git history should anyone one to reanimate it.

Quoted 7 lines
Quoted 3 lines

Searching online shows no references to the use of this tool.

.. Can I commit this in now :-)

I think formally it probably needs an Ack from Wei or Ian?

I usually give this sort of thing (removals etc) a little longer than normal to give more of a chance for objections, although the counter to that is that once this is committed it could just as easily be reverted the next day as in 6 months time if someone turns up with a good reason it shouldn't have been nuked.

Ian.

Acked-by
#3 lore raw

Ian Campbell writes ("Re: [Xen-devel] [PATCH] tools: remove xenpmd"):

Quoted 13 lines · Konrad Rzeszutek Wilk
Quoted 12 lines · Ian Campbell
Quoted 11 lines

It has four instances of the same CID 1198719 (strncpy(..., 32) into a 32-byte buffer).

However ever since it was checked in in 2008 it has contained a /tmp instead of the real ones in /proc. I therefore conclude that it has not ever been used in its current form in the last 8 years and might as well therefore be deleted. The code remains in the git history should anyone one to reanimate it.

Searching online shows no references to the use of this tool.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

.. Can I commit this in now :-)

I think formally it probably needs an Ack from Wei or Ian?

I think it probably does, and:

But:

Quoted 5 lines

I usually give this sort of thing (removals etc) a little longer than normal to give more of a chance for objections, although the counter to that is that once this is committed it could just as easily be reverted the next day as in 6 months time if someone turns up with a good reason it shouldn't have been nuked.

Deleting it right away seems a bit rude. Maybe someone is using it with the #define sorted out. So if nothing intervenes I guess we should commit this late next week ?

Ian.

#4 lore raw
Quoted 34 lines · Ian Jackson

Ian Campbell writes ("Re: [Xen-devel] [PATCH] tools: remove xenpmd"):

Quoted 13 lines · Konrad Rzeszutek Wilk
Quoted 12 lines · Ian Campbell
Quoted 11 lines

It has four instances of the same CID 1198719 (strncpy(..., 32) into a 32-byte buffer).

However ever since it was checked in in 2008 it has contained a /tmp instead of the real ones in /proc. I therefore conclude that it has not ever been used in its current form in the last 8 years and might as well therefore be deleted. The code remains in the git history should anyone one to reanimate it.

Searching online shows no references to the use of this tool.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

.. Can I commit this in now :-)

I think formally it probably needs an Ack from Wei or Ian?

I think it probably does, and:

But:

Quoted 5 lines

I usually give this sort of thing (removals etc) a little longer than normal to give more of a chance for objections, although the counter to that is that once this is committed it could just as easily be reverted the next day as in 6 months time if someone turns up with a good reason it shouldn't have been nuked.

Quoted 5 lines

Deleting it right away seems a bit rude. Maybe someone is using it with the #define sorted out. So if nothing intervenes I guess we should commit this late next week ?

Ian.

I was around when this was first created. It requires bits in QEMU to make it work which I don't think were ever upstreamed. It is also tied to one of the ACPI SSDTs. If you are removing it you may need to look into that module too:

tools/firmware/hvmloader/acpi/ssdt_pm.asl

I am not weighing in one whether or not to remove it, just giving some supplemental info...

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Signature · 1 line
Ross Philipson