提交 da5391ed 编写于 作者: A Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

...@@ -1025,7 +1025,6 @@ echo " --disable-linux-aio disable Linux AIO support" ...@@ -1025,7 +1025,6 @@ echo " --disable-linux-aio disable Linux AIO support"
echo " --enable-linux-aio enable Linux AIO support" echo " --enable-linux-aio enable Linux AIO support"
echo " --disable-attr disables attr and xattr support" echo " --disable-attr disables attr and xattr support"
echo " --enable-attr enable attr and xattr support" echo " --enable-attr enable attr and xattr support"
echo " --enable-io-thread enable IO thread"
echo " --disable-blobs disable installing provided firmware blobs" echo " --disable-blobs disable installing provided firmware blobs"
echo " --enable-docs enable documentation build" echo " --enable-docs enable documentation build"
echo " --disable-docs disable documentation build" echo " --disable-docs disable documentation build"
...@@ -1071,7 +1070,7 @@ cat > $TMPC << EOF ...@@ -1071,7 +1070,7 @@ cat > $TMPC << EOF
int main(void) { return 0; } int main(void) { return 0; }
EOF EOF
for flag in $gcc_flags; do for flag in $gcc_flags; do
if compile_prog "-Werror $QEMU_CFLAGS" "-Werror $flag" ; then if compile_prog "$flag -Werror" "" ; then
QEMU_CFLAGS="$QEMU_CFLAGS $flag" QEMU_CFLAGS="$QEMU_CFLAGS $flag"
fi fi
done done
......
...@@ -208,7 +208,7 @@ LEGACY-CHARDEV translates to -chardev HOST-OPTS... as follows: ...@@ -208,7 +208,7 @@ LEGACY-CHARDEV translates to -chardev HOST-OPTS... as follows:
* con: becomes -chardev console * con: becomes -chardev console
* COM<NUM> becomes -chardev serial,path=<NUM> * COM<NUM> becomes -chardev serial,path=COM<NUM>
* file:FNAME becomes -chardev file,path=FNAME * file:FNAME becomes -chardev file,path=FNAME
......
...@@ -295,7 +295,7 @@ static void pprint_data(V9fsPDU *pdu, int rx, size_t *offsetp, const char *name) ...@@ -295,7 +295,7 @@ static void pprint_data(V9fsPDU *pdu, int rx, size_t *offsetp, const char *name)
if (rx) { if (rx) {
count = pdu->elem.in_num; count = pdu->elem.in_num;
} else } else {
count = pdu->elem.out_num; count = pdu->elem.out_num;
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
*/ */
#include <qemu-common.h> #include "qemu-common.h"
#include "qemu-error.h" #include "qemu-error.h"
#include "trace.h" #include "trace.h"
#include "blockdev.h" #include "blockdev.h"
......
...@@ -60,7 +60,7 @@ int __clone2(int (*fn)(void *), void *child_stack_base, ...@@ -60,7 +60,7 @@ int __clone2(int (*fn)(void *), void *child_stack_base,
#include <netinet/ip.h> #include <netinet/ip.h>
#include <netinet/tcp.h> #include <netinet/tcp.h>
#include <linux/wireless.h> #include <linux/wireless.h>
#include <qemu-common.h> #include "qemu-common.h"
#ifdef TARGET_GPROF #ifdef TARGET_GPROF
#include <sys/gmon.h> #include <sys/gmon.h>
#endif #endif
...@@ -96,7 +96,6 @@ int __clone2(int (*fn)(void *), void *child_stack_base, ...@@ -96,7 +96,6 @@ int __clone2(int (*fn)(void *), void *child_stack_base,
#include "cpu-uname.h" #include "cpu-uname.h"
#include "qemu.h" #include "qemu.h"
#include "qemu-common.h"
#if defined(CONFIG_USE_NPTL) #if defined(CONFIG_USE_NPTL)
#define CLONE_NPTL_FLAGS2 (CLONE_SETTLS | \ #define CLONE_NPTL_FLAGS2 (CLONE_SETTLS | \
......
...@@ -886,7 +886,7 @@ static void print_cpu_iter(QObject *obj, void *opaque) ...@@ -886,7 +886,7 @@ static void print_cpu_iter(QObject *obj, void *opaque)
monitor_printf(mon, "nip=0x" TARGET_FMT_lx, monitor_printf(mon, "nip=0x" TARGET_FMT_lx,
(target_long) qdict_get_int(cpu, "nip")); (target_long) qdict_get_int(cpu, "nip"));
#elif defined(TARGET_SPARC) #elif defined(TARGET_SPARC)
monitor_printf(mon, "pc=0x " TARGET_FMT_lx, monitor_printf(mon, "pc=0x" TARGET_FMT_lx,
(target_long) qdict_get_int(cpu, "pc")); (target_long) qdict_get_int(cpu, "pc"));
monitor_printf(mon, "npc=0x" TARGET_FMT_lx, monitor_printf(mon, "npc=0x" TARGET_FMT_lx,
(target_long) qdict_get_int(cpu, "npc")); (target_long) qdict_get_int(cpu, "npc"));
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <qemu-common.h> #include "qemu-common.h"
#include "block_int.h" #include "block_int.h"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>. * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/ */
#include <qemu-common.h> #include "qemu-common.h"
#include "block_int.h" #include "block_int.h"
#include "nbd.h" #include "nbd.h"
......
...@@ -1412,7 +1412,7 @@ qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \ ...@@ -1412,7 +1412,7 @@ qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \
Connect VLAN @var{n} to PORT @var{n} of a vde switch running on host and Connect VLAN @var{n} to PORT @var{n} of a vde switch running on host and
listening for incoming connections on @var{socketpath}. Use GROUP @var{groupname} listening for incoming connections on @var{socketpath}. Use GROUP @var{groupname}
and MODE @var{octalmode} to change default ownership and permissions for and MODE @var{octalmode} to change default ownership and permissions for
communication port. This option is available only if QEMU has been compiled communication port. This option is only available if QEMU has been compiled
with vde support enabled. with vde support enabled.
Example: Example:
...@@ -2453,13 +2453,13 @@ Specify tracing options. ...@@ -2453,13 +2453,13 @@ Specify tracing options.
Immediately enable events listed in @var{file}. Immediately enable events listed in @var{file}.
The file must contain one event name (as listed in the @var{trace-events} file) The file must contain one event name (as listed in the @var{trace-events} file)
per line. per line.
This option is only available if QEMU has been compiled with
This option is only available when using the @var{simple} and @var{stderr} either @var{simple} or @var{stderr} tracing backend.
tracing backends.
@item file=@var{file} @item file=@var{file}
Log output traces to @var{file}. Log output traces to @var{file}.
This option is only available when using the @var{simple} tracing backend. This option is only available if QEMU has been compiled with
the @var{simple} tracing backend.
@end table @end table
ETEXI ETEXI
......
#ifndef _LIBSLIRP_H #ifndef _LIBSLIRP_H
#define _LIBSLIRP_H #define _LIBSLIRP_H
#include <qemu-common.h> #include "qemu-common.h"
#ifdef CONFIG_SLIRP #ifdef CONFIG_SLIRP
......
...@@ -3062,7 +3062,7 @@ int main(int argc, char **argv, char **envp) ...@@ -3062,7 +3062,7 @@ int main(int argc, char **argv, char **envp)
if (!data_dir) { if (!data_dir) {
data_dir = os_find_datadir(argv[0]); data_dir = os_find_datadir(argv[0]);
} }
/* If all else fails use the install patch specified when building. */ /* If all else fails use the install path specified when building. */
if (!data_dir) { if (!data_dir) {
data_dir = CONFIG_QEMU_DATADIR; data_dir = CONFIG_QEMU_DATADIR;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册