qemu binary should depend on libkvm.a
PATCH 1/1 qemu binary should depend on libkvm.a
Without this patch making a change to libkvm.a will not cause the qemu binary to be re-linked. Tested on x86-64.
qemu/Makefile.target +4 -1
@@ -25,6 +25,8 @@ CFLAGS+=-Wall -O2 -g -fno-strict-aliasin #CFLAGS+=-Werror LDFLAGS+=-g LIBS= +# libraries we depend on +DEPLIBS= HELPER_CFLAGS=$(CFLAGS) DYNGEN=../dyngen$(EXESUF) # user emulator name
@@ -331,6 +333,7 @@ ifdef CONFIG_KVM_KERNEL_INC ifdef CONFIG_KVM_KERNEL_INC DEFINES += -I $(CONFIG_KVM_KERNEL_INC) LIBS += -lkvm +DEPLIBS += ../user/libkvm.a endif # SCSI layer
@@ -437,7 +440,7 @@ SDL_LIBS := $(filter-out -mwindows, $(SD SDL_LIBS := $(filter-out -mwindows, $(SDL_LIBS)) -mconsole endif -$(QEMU_SYSTEM): $(VL_OBJS) libqemu.a +$(QEMU_SYSTEM): $(VL_OBJS) libqemu.a $(DEPLIBS) $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(COCOA_LIBS) $(VL_LIBS) cocoa.o: cocoa.m
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
A message that is not in the archive (sent off-list or not yet received): 20070206193109.GD4292-k73YwwB0fHlWk0Htik3J/[email protected]
Avi Kivity
AppliedQuoted 3 lines · Muli Ben-Yehuda
Without this patch making a change to libkvm.a will not cause the qemu binary to be re-linked. Tested on x86-64.
Applied, thanks.
Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642