tools: remove xenpmd
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
@@ -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
@@ -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
@@ -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
@@ -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
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.
Signed-off-by Ian Campbell <[email protected]>
.. Can I commit this in now :-)
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.
Signed-off-by Ian Campbell <[email protected]>.. 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.
Ian Jackson
Acked-byIan 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
Signed-off-by Ian Campbell <[email protected]>.. 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.
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
Signed-off-by Ian Campbell <[email protected]>.. Can I commit this in now :-)
I think formally it probably needs an Ack from Wei or Ian?
I think it probably does, and:
Acked-by Ian Jackson <[email protected]>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