mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Replace the current use of the unstable xc_domain_getinfo_single() interface with the stable domctl XEN_DOMCTL_get_domain_state call via the new libxenmanage library. This will remove the last usage of libxenctrl by Xenstore, so update the library dependencies accordingly. For now only do a direct replacement without using the functionality of obtaining information about domains having changed the state. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
25 lines
711 B
Makefile
25 lines
711 B
Makefile
# Makefile shared with stubdom
|
|
|
|
XENSTORED_OBJS-y := core.o watch.o domain.o
|
|
XENSTORED_OBJS-y += transaction.o control.o lu.o
|
|
XENSTORED_OBJS-y += talloc.o utils.o hashtable.o
|
|
|
|
XENSTORED_OBJS-$(CONFIG_Linux) += posix.o lu_daemon.o
|
|
XENSTORED_OBJS-$(CONFIG_NetBSD) += posix.o lu_daemon.o
|
|
XENSTORED_OBJS-$(CONFIG_FreeBSD) += posix.o lu_daemon.o
|
|
XENSTORED_OBJS-$(CONFIG_MiniOS) += minios.o lu_minios.o
|
|
|
|
# Include configure output (config.h)
|
|
CFLAGS += -include $(XEN_ROOT)/tools/config.h
|
|
CFLAGS += $(CFLAGS_libxenevtchn)
|
|
CFLAGS += $(CFLAGS_libxenmanage)
|
|
CFLAGS += $(CFLAGS_libxentoolcore)
|
|
|
|
$(XENSTORED_OBJS-y): CFLAGS += $(CFLAGS_libxengnttab)
|
|
|
|
xenstored.a: $(XENSTORED_OBJS-y)
|
|
$(AR) cr $@ $^
|
|
|
|
clean::
|
|
$(RM) *.a *.o
|