remove unused xc_evtchn_status()
PATCH 1/1 remove unused xc_evtchn_status()
# HG changeset patch
# User [email protected]
# Date 1155566436 -3600
# Node ID 09bc238664cb7b6d0f960f5e135ac80a75b342f1 # Parent ca3c77c0fd1e94ec01431aff0257da458a1b83f3 Remove unused xc_evtchn_status().
tools/libxc/xc_evtchn.c +0 -11
@@ -49,14 +49,3 @@ int xc_evtchn_alloc_unbound(int xc_handlreturn rc; } - - -int xc_evtchn_status (int xc_handle, -uint32_t dom, -evtchn_port_t port, -xc_evtchn_status_t *status) -{ - status->dom = (domid_t )dom; - status->port = port; -return do_evtchn_op (xc_handle, EVTCHNOP_status, status,sizeof (*status)); -}
tools/libxc/xenctrl.h +0 -7
@@ -367,8 +367,6 @@ int xc_sched_credit_domain_get(int xc_hauint32_t domid, struct sched_credit_adjdom *sdom); -typedef evtchn_status_t xc_evtchn_status_t ; -/* * EVENT CHANNEL FUNCTIONS */
@@ -386,11 +384,6 @@ int xc_evtchn_alloc_unbound(int xc_handlint xc_evtchn_alloc_unbound (int xc_handle,uint32_t dom,uint32_t remote_dom); - -int xc_evtchn_status (int xc_handle, -uint32_t dom,/* may be DOMID_SELF */ -evtchn_port_t port, -xc_evtchn_status_t *status); int xc_physdev_pci_access_modify(int xc_handle, uint32_t domid,
tools/python/xen/lowlevel/xc/xc.c +0 -69
81 lines not on this page · raw message
Quoted 8 lines · John Levon
# HG changeset patch
# User [email protected]
# Date 1155566436 -3600
# Node ID09bc238664cb7b6d0f960f5e135ac80a75b342f1# Parentca3c77c0fd1e94ec01431aff0257da458a1b83f3Remove unusedxc_evtchn_status().Signed-off-by John Levon <[email protected]>
If we're going to rip it out we should remove it from Xen as well.
-- Keir
Quoted 10 lines · Keir Fraser
Quoted 8 lines
# HG changeset patch
# User [email protected]
# Date 1155566436 -3600
# Node ID09bc238664cb7b6d0f960f5e135ac80a75b342f1# Parentca3c77c0fd1e94ec01431aff0257da458a1b83f3Remove unusedxc_evtchn_status().Signed-off-by John Levon <[email protected]>If we're going to rip it out we should remove it from Xen as well.
That breaks the ABI. (And we're currently using it for some debug stuff in Solaris, though it seems pretty useless there, and should probably be removed.)
regards,
john
Quoted 7 lines · John Levon
Quoted 7 lines
Quoted 7 lines
# HG changeset patch
# User [email protected]
# Date 1155566436 -3600
# Node ID09bc238664cb7b6d0f960f5e135ac80a75b342f1# Parentca3c77c0fd1e94ec01431aff0257da458a1b83f3Remove unusedxc_evtchn_status().
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by John Levon <[email protected]>If we're going to rip it out we should remove it from Xen as well.
That breaks the ABI. (And we're currently using it for some debug stuff in Solaris, though it seems pretty useless there, and should probably be removed.)
Then let's leave it in libxc too.
-- Keir
Quoted 7 lines · Keir Fraser
Quoted 5 lines
Quoted 1 line
If we're going to rip it out we should remove it from Xen as well.
That breaks the ABI. (And we're currently using it for some debug stuff in Solaris, though it seems pretty useless there, and should probably be removed.)
Then let's leave it in libxc too.
Why? It's completely dead code. (I'm slowly going through the huge number of calls that dom0 tools can make; it's easier to manage if the code is actually used...)
regards
john