qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012
@ 2012-06-22  9:39 Stefan Hajnoczi
  2012-06-22  9:39 ` [Qemu-devel] [PATCH 01/12] Install 'bepo' keymap already included in Qemu source Stefan Hajnoczi
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:39 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel, Stefan Hajnoczi

The following changes since commit 47ecbdf07ed2c37bdfd2d77137d01bb319ce13da:

  libcacard: build fixes (2012-06-21 20:04:24 +0000)

are available in the git repository at:

  git://github.com/stefanha/qemu.git trivial-patches

for you to fetch changes up to 6a69226f22011673dbce99d5e32cfeaad5bff426:

  tci: Support INDEX_op_bswap64_i64 (2012-06-22 10:34:21 +0100)

----------------------------------------------------------------
Andreas Färber (2):
      Makefile.user: Define CONFIG_USER_ONLY for libuser/
      libqtest: Fix socket_accept() to pass address_len

Frédéric Boiteux (1):
      Install 'bepo' keymap already included in Qemu source

Peter A. G. Crosthwaite (1):
      arm_gic: Send dbg msgs to stderr not stdout

Peter Maydell (1):
      Makefile.hw: avoid overly large 'make clean' rm command

Stefan Weil (7):
      Makefile: Remove BUILD_DIR from qapi-dir
      Makefile: Remove macro qapi-dir
      qemu-config: Use QEMU instead of Qemu
      checkpatch: Add QEMU specific rule
      configure: Fix typo
      target-i386: Use QEMU instead of Qemu
      tci: Support INDEX_op_bswap64_i64

 Makefile              |   24 ++++++++++++------------
 Makefile.hw           |    4 ++--
 Makefile.user         |    1 +
 configure             |    2 +-
 hw/arm_gic.c          |    2 +-
 qemu-config.h         |    2 +-
 scripts/checkpatch.pl |    5 +++++
 target-i386/cpu.c     |    2 +-
 tci.c                 |    1 -
 tests/libqtest.c      |    1 +
 10 files changed, 25 insertions(+), 19 deletions(-)

-- 
1.7.10

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 01/12] Install 'bepo' keymap already included in Qemu source
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
@ 2012-06-22  9:39 ` Stefan Hajnoczi
  2012-06-22  9:39 ` [Qemu-devel] [PATCH 02/12] Makefile: Remove BUILD_DIR from qapi-dir Stefan Hajnoczi
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:39 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Frédéric Boiteux, qemu-devel, Stefan Hajnoczi

From: Frédéric Boiteux <fboiteux@free.fr>

The 'bepo' layout (a french dvorak-like keyboard layout) was added
about one year ago, (see commit 2a3c633c1eb8692716220195b6d3fe78b7e411d0),
but I missed to declare to install it.

Signed-off-by: Frédéric Boiteux <fboiteux@free.fr>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a7281b0..277ae73 100644
--- a/Makefile
+++ b/Makefile
@@ -250,7 +250,8 @@ distclean: clean
 
 KEYMAPS=da     en-gb  et  fr     fr-ch  is  lt  modifiers  no  pt-br  sv \
 ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th \
-common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr
+common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr \
+bepo
 
 ifdef INSTALL_BLOBS
 BLOBS=bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 02/12] Makefile: Remove BUILD_DIR from qapi-dir
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
  2012-06-22  9:39 ` [Qemu-devel] [PATCH 01/12] Install 'bepo' keymap already included in Qemu source Stefan Hajnoczi
@ 2012-06-22  9:39 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 03/12] Makefile: Remove macro qapi-dir Stefan Hajnoczi
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:39 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Stefan Weil, qemu-devel, Stefan Hajnoczi

From: Stefan Weil <sw@weilnetz.de>

qapi-dir does not need an absolute path. All other build directories
are relative. When BUILD_DIR is removed, the build output looks better
(no long lines with absolute paths when everything else uses short
lines):

  GEN   qapi-generated/qga-qapi-types.c
  CC    qapi-generated/qga-qapi-types.o
  GEN   qapi-generated/qga-qapi-visit.c
  CC    qapi-generated/qga-qapi-visit.o
  GEN   qapi-generated/qga-qmp-marshal.c
  CC    qapi-generated/qga-qmp-marshal.o

Using a relative path also avoids potential problems when BUILD_DIR
includes blanks.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 277ae73..d0847c5 100644
--- a/Makefile
+++ b/Makefile
@@ -171,7 +171,7 @@ fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap
 qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
 	$(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@,"  GEN   $@")
 
-qapi-dir := $(BUILD_DIR)/qapi-generated
+qapi-dir := qapi-generated
 qemu-ga$(EXESUF): LIBS = $(LIBS_QGA)
 qemu-ga$(EXESUF): QEMU_CFLAGS += -I $(qapi-dir)
 
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 03/12] Makefile: Remove macro qapi-dir
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
  2012-06-22  9:39 ` [Qemu-devel] [PATCH 01/12] Install 'bepo' keymap already included in Qemu source Stefan Hajnoczi
  2012-06-22  9:39 ` [Qemu-devel] [PATCH 02/12] Makefile: Remove BUILD_DIR from qapi-dir Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 04/12] Makefile.user: Define CONFIG_USER_ONLY for libuser/ Stefan Hajnoczi
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Stefan Weil, qemu-devel, Stefan Hajnoczi

From: Stefan Weil <sw@weilnetz.de>

As qapi-dir was now a constant, it can be replaced by its value.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 Makefile |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile
index d0847c5..26ffa51 100644
--- a/Makefile
+++ b/Makefile
@@ -171,9 +171,8 @@ fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap
 qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
 	$(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@,"  GEN   $@")
 
-qapi-dir := qapi-generated
 qemu-ga$(EXESUF): LIBS = $(LIBS_QGA)
-qemu-ga$(EXESUF): QEMU_CFLAGS += -I $(qapi-dir)
+qemu-ga$(EXESUF): QEMU_CFLAGS += -I qapi-generated
 
 gen-out-type = $(subst .,-,$(suffix $@))
 
@@ -181,15 +180,15 @@ ifneq ($(wildcard config-host.mak),)
 include $(SRC_PATH)/tests/Makefile
 endif
 
-$(qapi-dir)/qga-qapi-types.c $(qapi-dir)/qga-qapi-types.h :\
+qapi-generated/qga-qapi-types.c qapi-generated/qga-qapi-types.h :\
 $(SRC_PATH)/qapi-schema-guest.json $(SRC_PATH)/scripts/qapi-types.py
-	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-types.py $(gen-out-type) -o "$(qapi-dir)" -p "qga-" < $<, "  GEN   $@")
-$(qapi-dir)/qga-qapi-visit.c $(qapi-dir)/qga-qapi-visit.h :\
+	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-types.py $(gen-out-type) -o qapi-generated -p "qga-" < $<, "  GEN   $@")
+qapi-generated/qga-qapi-visit.c qapi-generated/qga-qapi-visit.h :\
 $(SRC_PATH)/qapi-schema-guest.json $(SRC_PATH)/scripts/qapi-visit.py
-	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-visit.py $(gen-out-type) -o "$(qapi-dir)" -p "qga-" < $<, "  GEN   $@")
-$(qapi-dir)/qga-qmp-commands.h $(qapi-dir)/qga-qmp-marshal.c :\
+	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-visit.py $(gen-out-type) -o qapi-generated -p "qga-" < $<, "  GEN   $@")
+qapi-generated/qga-qmp-commands.h qapi-generated/qga-qmp-marshal.c :\
 $(SRC_PATH)/qapi-schema-guest.json $(SRC_PATH)/scripts/qapi-commands.py
-	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-commands.py $(gen-out-type) -o "$(qapi-dir)" -p "qga-" < $<, "  GEN   $@")
+	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-commands.py $(gen-out-type) -o qapi-generated -p "qga-" < $<, "  GEN   $@")
 
 qapi-types.c qapi-types.h :\
 $(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-types.py
@@ -201,8 +200,8 @@ qmp-commands.h qmp-marshal.c :\
 $(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-commands.py
 	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-commands.py $(gen-out-type) -m -o "." < $<, "  GEN   $@")
 
-QGALIB_OBJ=$(addprefix $(qapi-dir)/, qga-qapi-types.o qga-qapi-visit.o qga-qmp-marshal.o)
-QGALIB_GEN=$(addprefix $(qapi-dir)/, qga-qapi-types.h qga-qapi-visit.h qga-qmp-commands.h)
+QGALIB_OBJ=$(addprefix qapi-generated/, qga-qapi-types.o qga-qapi-visit.o qga-qmp-marshal.o)
+QGALIB_GEN=$(addprefix qapi-generated/, qga-qapi-types.h qga-qapi-visit.h qga-qmp-commands.h)
 $(QGALIB_OBJ): $(QGALIB_GEN)
 $(qga-obj-y) qemu-ga.o: $(QGALIB_GEN)
 
@@ -226,7 +225,7 @@ clean:
 	rm -f trace-dtrace.h trace-dtrace.h-timestamp
 	rm -f $(foreach f,$(GENERATED_HEADERS),$(f) $(f)-timestamp)
 	rm -f $(foreach f,$(GENERATED_SOURCES),$(f) $(f)-timestamp)
-	rm -rf $(qapi-dir)
+	rm -rf qapi-generated
 	$(MAKE) -C tests/tcg clean
 	for d in $(ALL_SUBDIRS) $(QEMULIBS) libcacard; do \
 	if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 04/12] Makefile.user: Define CONFIG_USER_ONLY for libuser/
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (2 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 03/12] Makefile: Remove macro qapi-dir Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 05/12] libqtest: Fix socket_accept() to pass address_len Stefan Hajnoczi
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel, Stefan Hajnoczi, Andreas Färber

From: Andreas Färber <afaerber@suse.de>

In *-*-user/ build dirs CONFIG_USER_ONLY is defined via config-target.h.
In libuser/ it is not defined.

Add it via QEMU_CFLAGS.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 Makefile.user |    1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.user b/Makefile.user
index 0ffefe8..1783b2a 100644
--- a/Makefile.user
+++ b/Makefile.user
@@ -10,6 +10,7 @@ $(call set-vpath, $(SRC_PATH))
 
 QEMU_CFLAGS+=-I..
 QEMU_CFLAGS += -I$(SRC_PATH)/include
+QEMU_CFLAGS += -DCONFIG_USER_ONLY
 
 include $(SRC_PATH)/Makefile.objs
 
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 05/12] libqtest: Fix socket_accept() to pass address_len
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (3 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 04/12] Makefile.user: Define CONFIG_USER_ONLY for libuser/ Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 06/12] qemu-config: Use QEMU instead of Qemu Stefan Hajnoczi
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Andreas Färber, qemu-devel, Stefan Hajnoczi

From: Andreas Färber <andreas.faerber@web.de>

accept() expects address_len to point to the length of the sockaddr on
input. Initialize it accordingly.

Resolves an assertion due to EFAULT on illumos.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 tests/libqtest.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/libqtest.c b/tests/libqtest.c
index 6d333ef..1d73fd1 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
@@ -74,6 +74,7 @@ static int socket_accept(int sock)
     socklen_t addrlen;
     int ret;
 
+    addrlen = sizeof(addr);
     do {
         ret = accept(sock, (struct sockaddr *)&addr, &addrlen);
     } while (ret == -1 && errno == EINTR);
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 06/12] qemu-config: Use QEMU instead of Qemu
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (4 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 05/12] libqtest: Fix socket_accept() to pass address_len Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 07/12] checkpatch: Add QEMU specific rule Stefan Hajnoczi
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Stefan Weil, qemu-devel, Stefan Hajnoczi

From: Stefan Weil <sw@weilnetz.de>

This new 'Qemu' was recently added.
Replace it by the official all upper case 'QEMU'.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 qemu-config.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qemu-config.h b/qemu-config.h
index e9f2ef4..12ddf3e 100644
--- a/qemu-config.h
+++ b/qemu-config.h
@@ -19,7 +19,7 @@ int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
 
 int qemu_read_config_file(const char *filename);
 
-/* Read default Qemu config files
+/* Read default QEMU config files
  */
 int qemu_read_default_config_files(bool userconfig);
 
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 07/12] checkpatch: Add QEMU specific rule
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (5 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 06/12] qemu-config: Use QEMU instead of Qemu Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 08/12] arm_gic: Send dbg msgs to stderr not stdout Stefan Hajnoczi
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Stefan Weil, qemu-devel, Stefan Hajnoczi

From: Stefan Weil <sw@weilnetz.de>

The new rule detects two wrong variants of QEMU.
It was tested with commit b5a8fe5e.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 scripts/checkpatch.pl |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 8850a5f..b98dc6c 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2849,6 +2849,11 @@ sub process {
 				ERROR("lockdep_no_validate class is reserved for device->mutex.\n" . $herecurr);
 			}
 		}
+
+# QEMU specific tests
+		if ($rawline =~ /\b(?:Qemu|QEmu)\b/) {
+			WARN("use QEMU instead of Qemu or QEmu\n" . $herecurr);
+		}
 	}
 
 	# If we have no input at all, then there is nothing to report on
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 08/12] arm_gic: Send dbg msgs to stderr not stdout
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (6 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 07/12] checkpatch: Add QEMU specific rule Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 09/12] configure: Fix typo Stefan Hajnoczi
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Peter A. G. Crosthwaite, qemu-devel, Stefan Hajnoczi

From: "Peter A. G. Crosthwaite" <peter.crosthwaite@petalogix.com>

Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 hw/arm_gic.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm_gic.c b/hw/arm_gic.c
index 72298b4..c78d58e 100644
--- a/hw/arm_gic.c
+++ b/hw/arm_gic.c
@@ -35,7 +35,7 @@
 
 #ifdef DEBUG_GIC
 #define DPRINTF(fmt, ...) \
-do { printf("arm_gic: " fmt , ## __VA_ARGS__); } while (0)
+do { fprintf(stderr, "arm_gic: " fmt , ## __VA_ARGS__); } while (0)
 #else
 #define DPRINTF(fmt, ...) do {} while(0)
 #endif
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 09/12] configure: Fix typo
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (7 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 08/12] arm_gic: Send dbg msgs to stderr not stdout Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 10/12] Makefile.hw: avoid overly large 'make clean' rm command Stefan Hajnoczi
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Stefan Weil, qemu-devel, Stefan Hajnoczi

From: Stefan Weil <sw@weilnetz.de>

The typo did not cause an error because open_by_handle_at
was only compared to "yes".

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index b68c0ca..1446f52 100755
--- a/configure
+++ b/configure
@@ -2808,7 +2808,7 @@ fi
 ##########################################
 # check if we have open_by_handle_at
 
-open_by_hande_at=no
+open_by_handle_at=no
 cat > $TMPC << EOF
 #include <fcntl.h>
 #if !defined(AT_EMPTY_PATH)
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 10/12] Makefile.hw: avoid overly large 'make clean' rm command
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (8 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 09/12] configure: Fix typo Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 11/12] target-i386: Use QEMU instead of Qemu Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 12/12] tci: Support INDEX_op_bswap64_i64 Stefan Hajnoczi
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Peter Maydell, qemu-devel, Stefan Hajnoczi

From: Peter Maydell <peter.maydell@linaro.org>

Avoid 'make clean' producing an 'rm' command which has a lot
of duplicate 'hw//*.o' arguments, by using $(sort $(dir ..))
rather than $(dir $(sort ..)) so Make's sort function will
remove the duplicates for us. We can also remove the double
'//' safely because $(dir ..) is guaranteed to return a string
ending in '/'.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 Makefile.hw |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.hw b/Makefile.hw
index 2bcbaff..28fe100 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -19,8 +19,8 @@ all: $(hw-obj-y)
 	@true
 
 clean:
-	rm -f $(addsuffix /*.o, $(dir $(sort $(hw-obj-y))))
-	rm -f $(addsuffix /*.d, $(dir $(sort $(hw-obj-y))))
+	rm -f $(addsuffix *.o, $(sort $(dir $(hw-obj-y))))
+	rm -f $(addsuffix *.d, $(sort $(dir $(hw-obj-y))))
 
 # Include automatically generated dependency files
 -include $(patsubst %.o, %.d, $(hw-obj-y))
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 11/12] target-i386: Use QEMU instead of Qemu
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (9 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 10/12] Makefile.hw: avoid overly large 'make clean' rm command Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 12/12] tci: Support INDEX_op_bswap64_i64 Stefan Hajnoczi
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Stefan Weil, qemu-devel, Stefan Hajnoczi

From: Stefan Weil <sw@weilnetz.de>

This new 'QEmu' was recently added.
Replace it by the official all upper case 'QEMU'.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 target-i386/cpu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index fdd95be..5521709 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -1303,7 +1303,7 @@ void x86_cpudef_setup(void)
         builtin_x86_defs[i].flags = 1;
 
         /* Look for specific "cpudef" models that */
-        /* have the QEmu version in .model_id */
+        /* have the QEMU version in .model_id */
         for (j = 0; j < ARRAY_SIZE(model_with_versions); j++) {
             if (strcmp(model_with_versions[j], builtin_x86_defs[i].name) == 0) {
                 pstrcpy(builtin_x86_defs[i].model_id, sizeof(builtin_x86_defs[i].model_id), "QEMU Virtual CPU version ");
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Qemu-devel] [PATCH 12/12] tci: Support INDEX_op_bswap64_i64
  2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
                   ` (10 preceding siblings ...)
  2012-06-22  9:40 ` [Qemu-devel] [PATCH 11/12] target-i386: Use QEMU instead of Qemu Stefan Hajnoczi
@ 2012-06-22  9:40 ` Stefan Hajnoczi
  11 siblings, 0 replies; 13+ messages in thread
From: Stefan Hajnoczi @ 2012-06-22  9:40 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Stefan Weil, qemu-devel, Stefan Hajnoczi

From: Stefan Weil <sw@weilnetz.de>

Running the Windows 7 (64 bit) boot process needs INDEX_op_bswap64_i64.
It was already implemented, but untested. Remove the TODO() statement.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 tci.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/tci.c b/tci.c
index a412a4e..c79350d 100644
--- a/tci.c
+++ b/tci.c
@@ -1014,7 +1014,6 @@ tcg_target_ulong tcg_qemu_tb_exec(CPUArchState *cpustate, uint8_t *tb_ptr)
 #endif
 #if TCG_TARGET_HAS_bswap64_i64
         case INDEX_op_bswap64_i64:
-            TODO();
             t0 = *tb_ptr++;
             t1 = tci_read_r64(&tb_ptr);
             tci_write_reg64(t0, bswap64(t1));
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-06-22  9:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22  9:39 [Qemu-devel] [PULL 00/12] Trivial patches for June 9 to 22 2012 Stefan Hajnoczi
2012-06-22  9:39 ` [Qemu-devel] [PATCH 01/12] Install 'bepo' keymap already included in Qemu source Stefan Hajnoczi
2012-06-22  9:39 ` [Qemu-devel] [PATCH 02/12] Makefile: Remove BUILD_DIR from qapi-dir Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 03/12] Makefile: Remove macro qapi-dir Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 04/12] Makefile.user: Define CONFIG_USER_ONLY for libuser/ Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 05/12] libqtest: Fix socket_accept() to pass address_len Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 06/12] qemu-config: Use QEMU instead of Qemu Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 07/12] checkpatch: Add QEMU specific rule Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 08/12] arm_gic: Send dbg msgs to stderr not stdout Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 09/12] configure: Fix typo Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 10/12] Makefile.hw: avoid overly large 'make clean' rm command Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 11/12] target-i386: Use QEMU instead of Qemu Stefan Hajnoczi
2012-06-22  9:40 ` [Qemu-devel] [PATCH 12/12] tci: Support INDEX_op_bswap64_i64 Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).