mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-27 12:02:04 -06:00
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
This commit is contained in:
commit
64de0e46c0
4 changed files with 30 additions and 5 deletions
6
Makefile
6
Makefile
|
@ -192,8 +192,10 @@ test-qmp-commands.o: $(addprefix $(qapi-dir)/, test-qapi-types.c test-qapi-types
|
||||||
test-qmp-commands: test-qmp-commands.o qfloat.o qint.o qdict.o qstring.o qlist.o qbool.o $(qapi-obj-y) error.o osdep.o qemu-malloc.o $(oslib-obj-y) qjson.o json-streamer.o json-lexer.o json-parser.o qerror.o qemu-error.o qemu-tool.o $(qapi-dir)/test-qapi-visit.o $(qapi-dir)/test-qapi-types.o $(qapi-dir)/test-qmp-marshal.o module.o
|
test-qmp-commands: test-qmp-commands.o qfloat.o qint.o qdict.o qstring.o qlist.o qbool.o $(qapi-obj-y) error.o osdep.o qemu-malloc.o $(oslib-obj-y) qjson.o json-streamer.o json-lexer.o json-parser.o qerror.o qemu-error.o qemu-tool.o $(qapi-dir)/test-qapi-visit.o $(qapi-dir)/test-qapi-types.o $(qapi-dir)/test-qmp-marshal.o module.o
|
||||||
|
|
||||||
QGALIB=qga/guest-agent-command-state.o qga/guest-agent-commands.o
|
QGALIB=qga/guest-agent-command-state.o qga/guest-agent-commands.o
|
||||||
|
QGALIB_GEN=$(addprefix $(qapi-dir)/, qga-qapi-types.c qga-qapi-types.h qga-qapi-visit.c qga-qmp-marshal.c)
|
||||||
|
|
||||||
qemu-ga.o: $(addprefix $(qapi-dir)/, qga-qapi-types.c qga-qapi-types.h qga-qapi-visit.c qga-qmp-marshal.c) $(qapi-obj-y)
|
$(QGALIB_GEN): $(GENERATED_HEADERS)
|
||||||
|
$(QGALIB) qemu-ga.o: $(QGALIB_GEN) $(qapi-obj-y)
|
||||||
qemu-ga$(EXESUF): qemu-ga.o $(QGALIB) qemu-tool.o qemu-error.o error.o $(oslib-obj-y) $(trace-obj-y) $(block-obj-y) $(qobject-obj-y) $(version-obj-y) $(qapi-obj-y) qemu-timer-common.o qemu-sockets.o module.o qapi/qmp-dispatch.o qapi/qmp-registry.o $(qapi-dir)/qga-qapi-visit.o $(qapi-dir)/qga-qapi-types.o $(qapi-dir)/qga-qmp-marshal.o
|
qemu-ga$(EXESUF): qemu-ga.o $(QGALIB) qemu-tool.o qemu-error.o error.o $(oslib-obj-y) $(trace-obj-y) $(block-obj-y) $(qobject-obj-y) $(version-obj-y) $(qapi-obj-y) qemu-timer-common.o qemu-sockets.o module.o qapi/qmp-dispatch.o qapi/qmp-registry.o $(qapi-dir)/qga-qapi-visit.o $(qapi-dir)/qga-qapi-types.o $(qapi-dir)/qga-qmp-marshal.o
|
||||||
|
|
||||||
QEMULIBS=libhw32 libhw64 libuser libdis libdis-user
|
QEMULIBS=libhw32 libhw64 libuser libdis libdis-user
|
||||||
|
@ -291,7 +293,7 @@ TAGS:
|
||||||
|
|
||||||
cscope:
|
cscope:
|
||||||
rm -f ./cscope.*
|
rm -f ./cscope.*
|
||||||
find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files
|
find "$(SRC_PATH)" -name "*.[chsS]" -print | sed 's,^\./,,' > ./cscope.files
|
||||||
cscope -b
|
cscope -b
|
||||||
|
|
||||||
# documentation
|
# documentation
|
||||||
|
|
23
configure
vendored
23
configure
vendored
|
@ -2517,6 +2517,29 @@ if test "$trace_backend" = "dtrace"; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# __sync_fetch_and_and requires at least -march=i486. Many toolchains
|
||||||
|
# use i686 as default anyway, but for those that don't, an explicit
|
||||||
|
# specification is necessary
|
||||||
|
if test $vhost_net = "yes" && test $cpu = "i386"; then
|
||||||
|
cat > $TMPC << EOF
|
||||||
|
int sfaa(unsigned *ptr)
|
||||||
|
{
|
||||||
|
return __sync_fetch_and_and(ptr, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
int val = 42;
|
||||||
|
sfaa(&val);
|
||||||
|
return val;
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
if ! compile_prog "" "" ; then
|
||||||
|
CFLAGS+="-march=i486"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# End of CC checks
|
# End of CC checks
|
||||||
# After here, no more $cc or $ld runs
|
# After here, no more $cc or $ld runs
|
||||||
|
|
|
@ -42,7 +42,7 @@ and we're going to establish a deprecation policy for badly defined commands.
|
||||||
|
|
||||||
If you're planning to adopt QMP, please observe the following:
|
If you're planning to adopt QMP, please observe the following:
|
||||||
|
|
||||||
1. The deprecation policy will take efect and be documented soon, please
|
1. The deprecation policy will take effect and be documented soon, please
|
||||||
check the documentation of each used command as soon as a new release of
|
check the documentation of each used command as soon as a new release of
|
||||||
QEMU is available
|
QEMU is available
|
||||||
|
|
||||||
|
|
|
@ -554,7 +554,7 @@ typedef uint32_t n_time;
|
||||||
/*
|
/*
|
||||||
* If no space remains, ignore.
|
* If no space remains, ignore.
|
||||||
*/
|
*/
|
||||||
off--; * 0 origin *
|
off--; /* 0 origin */
|
||||||
if (off > optlen - sizeof(struct in_addr))
|
if (off > optlen - sizeof(struct in_addr))
|
||||||
break;
|
break;
|
||||||
bcopy((caddr_t)(&ip->ip_dst), (caddr_t)&ipaddr.sin_addr,
|
bcopy((caddr_t)(&ip->ip_dst), (caddr_t)&ipaddr.sin_addr,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue