提交 014afe65 编写于 作者: D Daniel P. Berrange

Rename lxc_protocol.x to lxc_monitor_protocol.x

To avoid confusion between the LXC driver <-> controller
monitor RPC protocol and the libvirt-lxc.so <-> libvirtd public
RPC protocol, rename the former to lxc_monitor_protocol.x
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 5f669ea9
...@@ -115,8 +115,8 @@ ...@@ -115,8 +115,8 @@
/src/locking/test_libvirt_sanlock.aug /src/locking/test_libvirt_sanlock.aug
/src/lxc/lxc_controller_dispatch.h /src/lxc/lxc_controller_dispatch.h
/src/lxc/lxc_monitor_dispatch.h /src/lxc/lxc_monitor_dispatch.h
/src/lxc/lxc_protocol.c /src/lxc/lxc_monitor_protocol.c
/src/lxc/lxc_protocol.h /src/lxc/lxc_monitor_protocol.h
/src/lxc/test_libvirtd_lxc.aug /src/lxc/test_libvirtd_lxc.aug
/src/qemu/test_libvirtd_qemu.aug /src/qemu/test_libvirtd_qemu.aug
/src/remote/*_client_bodies.h /src/remote/*_client_bodies.h
......
...@@ -413,9 +413,9 @@ if WITH_XEN_INOTIFY ...@@ -413,9 +413,9 @@ if WITH_XEN_INOTIFY
XEN_DRIVER_SOURCES += xen/xen_inotify.c xen/xen_inotify.h XEN_DRIVER_SOURCES += xen/xen_inotify.c xen/xen_inotify.h
endif endif
LXC_PROTOCOL_GENERATED = \ LXC_MONITOR_PROTOCOL_GENERATED = \
$(srcdir)/lxc/lxc_protocol.h \ $(srcdir)/lxc/lxc_monitor_protocol.h \
$(srcdir)/lxc/lxc_protocol.c \ $(srcdir)/lxc/lxc_monitor_protocol.c \
$(NULL) $(NULL)
LXC_MONITOR_GENERATED = \ LXC_MONITOR_GENERATED = \
...@@ -427,32 +427,32 @@ LXC_CONTROLLER_GENERATED = \ ...@@ -427,32 +427,32 @@ LXC_CONTROLLER_GENERATED = \
$(NULL) $(NULL)
LXC_GENERATED = \ LXC_GENERATED = \
$(LXC_PROTOCOL_GENERATED) \ $(LXC_MONITOR_PROTOCOL_GENERATED) \
$(LXC_MONITOR_GENERATED) \ $(LXC_MONITOR_GENERATED) \
$(LXC_CONTROLLER_GENERATED) \ $(LXC_CONTROLLER_GENERATED) \
$(NULL) $(NULL)
LXC_PROTOCOL = $(srcdir)/lxc/lxc_protocol.x LXC_MONITOR_PROTOCOL = $(srcdir)/lxc/lxc_monitor_protocol.x
$(srcdir)/lxc/lxc_monitor_dispatch.h: $(srcdir)/rpc/gendispatch.pl \ $(srcdir)/lxc/lxc_monitor_dispatch.h: $(srcdir)/rpc/gendispatch.pl \
$(LXC_PROTOCOL) $(LXC_MONITOR_PROTOCOL)
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl \ $(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl \
-k virLXCProtocol VIR_LXC_PROTOCOL $(LXC_PROTOCOL) > $@ -k virLXCProtocol VIR_LXC_MONITOR_PROTOCOL $(LXC_MONITOR_PROTOCOL) > $@
$(srcdir)/lxc/lxc_controller_dispatch.h: $(srcdir)/rpc/gendispatch.pl \ $(srcdir)/lxc/lxc_controller_dispatch.h: $(srcdir)/rpc/gendispatch.pl \
$(REMOTE_PROTOCOL) $(REMOTE_PROTOCOL)
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl \ $(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl \
-b virLXCProtocol VIR_LXC_PROTOCOL $(LXC_PROTOCOL) > $@ -b virLXCProtocol VIR_LXC_MONITOR_PROTOCOL $(LXC_MONITOR_PROTOCOL) > $@
EXTRA_DIST += \ EXTRA_DIST += \
$(LXC_PROTOCOL) \ $(LXC_MONITOR_PROTOCOL) \
$(LXC_GENERATED) \ $(LXC_GENERATED) \
$(NULL) $(NULL)
BUILT_SOURCES += $(LXC_GENERATED) BUILT_SOURCES += $(LXC_GENERATED)
LXC_DRIVER_SOURCES = \ LXC_DRIVER_SOURCES = \
$(LXC_PROTOCOL_GENERATED) \ $(LXC_MONITOR_PROTOCOL_GENERATED) \
$(LXC_MONITOR_GENERATED) \ $(LXC_MONITOR_GENERATED) \
lxc/lxc_conf.c lxc/lxc_conf.h \ lxc/lxc_conf.c lxc/lxc_conf.h \
lxc/lxc_container.c lxc/lxc_container.h \ lxc/lxc_container.c lxc/lxc_container.h \
...@@ -465,7 +465,7 @@ LXC_DRIVER_SOURCES = \ ...@@ -465,7 +465,7 @@ LXC_DRIVER_SOURCES = \
lxc/lxc_driver.c lxc/lxc_driver.h lxc/lxc_driver.c lxc/lxc_driver.h
LXC_CONTROLLER_SOURCES = \ LXC_CONTROLLER_SOURCES = \
$(LXC_PROTOCOL_GENERATED) \ $(LXC_MONITOR_PROTOCOL_GENERATED) \
$(LXC_CONTROLLER_GENERATED) \ $(LXC_CONTROLLER_GENERATED) \
lxc/lxc_conf.c lxc/lxc_conf.h \ lxc/lxc_conf.c lxc/lxc_conf.h \
lxc/lxc_container.c lxc/lxc_container.h \ lxc/lxc_container.c lxc/lxc_container.h \
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
#include "lxc_conf.h" #include "lxc_conf.h"
#include "lxc_container.h" #include "lxc_container.h"
#include "lxc_cgroup.h" #include "lxc_cgroup.h"
#include "lxc_protocol.h" #include "lxc_monitor_protocol.h"
#include "lxc_fuse.h" #include "lxc_fuse.h"
#include "virnetdev.h" #include "virnetdev.h"
#include "virnetdevveth.h" #include "virnetdevveth.h"
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "lxc_monitor.h" #include "lxc_monitor.h"
#include "lxc_conf.h" #include "lxc_conf.h"
#include "lxc_protocol.h"
#include "lxc_monitor_dispatch.h" #include "lxc_monitor_dispatch.h"
#include "viralloc.h" #include "viralloc.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# include "virobject.h" # include "virobject.h"
# include "domain_conf.h" # include "domain_conf.h"
# include "lxc_protocol.h" # include "lxc_monitor_protocol.h"
typedef struct _virLXCMonitor virLXCMonitor; typedef struct _virLXCMonitor virLXCMonitor;
typedef virLXCMonitor *virLXCMonitorPtr; typedef virLXCMonitor *virLXCMonitorPtr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册