qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16
@ 2017-10-16 20:33 Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 01/14] qemu-doc.texi: remove trailing whitespace Michael Tokarev
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Michael Tokarev, qemu-trivial

Here's a set of trivial changes accumulated so far.
Not including large series by Philippe Mathieu-Daudé.

The following changes since commit c5bbcaa4b7c0f8a322bebe9ec563560178a68b55:

  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2017-10-16 17:29:16 +0100)

are available in the git repository at:

  git://git.corpit.ru/qemu.git tags/trivial-patches-fetch

for you to fetch changes up to 6b4f250bfc529bdf73a10ca6873a460175e666cc:

  Add myself as maintainer for TPM code (2017-10-16 23:17:44 +0300)

----------------------------------------------------------------
trivial patches for 2017-10-16

----------------------------------------------------------------
Anthony PERARD (1):
      ui/gtk: Fix deprecation of vte_terminal_copy_clipboard

Carlo Marcelo Arenas Belón (2):
      linux-user: remove duplicate break in syscall
      gitignore: ignore check-qlit test

Eduardo Otubo (1):
      filter-mirror: segfault when specifying non existent device

Emilio G. Cota (1):
      futex: add missing header guards

Fam Zheng (3):
      MAINTAINERS: Clean up SCSI device section
      MAINTAINERS: Fix Sun4v file
      MAINTAINERS: Track default-configs/pci.mak

Marco A L Barbosa (1):
      linux-user: Add some random ioctls

Markus Armbruster (1):
      os-posix: Drop misleading comment

Michael Tokarev (1):
      qemu-doc.texi: remove trailing whitespace

Peter Maydell (1):
      include/hw/or-irq.h: Drop unused in_irqs field

Stefan Berger (1):
      Add myself as maintainer for TPM code

Stefan Weil (1):
      io: Add missing GCC_FMT_ATTR (fix -Werror=suggest-attribute=format)

 MAINTAINERS               | 13 +++++--------
 include/hw/or-irq.h       |  1 -
 include/qemu/futex.h      |  5 +++++
 io/channel-websock.c      |  7 ++++---
 linux-user/ioctls.h       |  5 +++++
 linux-user/syscall.c      |  2 +-
 linux-user/syscall_defs.h |  7 +++++++
 net/filter-mirror.c       |  6 ++++++
 os-posix.c                |  1 -
 qemu-doc.texi             |  2 +-
 tests/.gitignore          |  1 +
 ui/gtk.c                  |  5 +++++
 12 files changed, 40 insertions(+), 15 deletions(-)

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

* [Qemu-devel] [PULL 01/14] qemu-doc.texi: remove trailing whitespace
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 02/14] linux-user: remove duplicate break in syscall Michael Tokarev
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Michael Tokarev, qemu-trivial

Remove trailing whitespace in qemu-doc.texi, as it causes
reproducibility issues depending on the echo implementation
used by the Makefile.

Reported-By: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 qemu-doc.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qemu-doc.texi b/qemu-doc.texi
index d8bb2c664f..8c10956a66 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -105,7 +105,7 @@ QEMU full system emulation has the following features:
 QEMU uses a full software MMU for maximum portability.
 
 @item
-QEMU can optionally use an in-kernel accelerator, like kvm. The accelerators 
+QEMU can optionally use an in-kernel accelerator, like kvm. The accelerators
 execute most of the guest code natively, while
 continuing to emulate the rest of the machine.
 
-- 
2.11.0

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

* [Qemu-devel] [PULL 02/14] linux-user: remove duplicate break in syscall
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 01/14] qemu-doc.texi: remove trailing whitespace Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 03/14] gitignore: ignore check-qlit test Michael Tokarev
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Carlo Marcelo Arenas Belón, qemu-trivial, Michael Tokarev

From: Carlo Marcelo Arenas Belón <carenas@gmail.com>

likely introduced in 3532fa7402cda16f7b95261b0339c58630051f0b

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 linux-user/syscall.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 9b6364a266..3ef4d1c568 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -3131,7 +3131,6 @@ set_timeout:
         case TARGET_SO_RCVLOWAT:
 		optname = SO_RCVLOWAT;
 		break;
-            break;
         default:
             goto unimplemented;
         }
-- 
2.11.0

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

* [Qemu-devel] [PULL 03/14] gitignore: ignore check-qlit test
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 01/14] qemu-doc.texi: remove trailing whitespace Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 02/14] linux-user: remove duplicate break in syscall Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 04/14] ui/gtk: Fix deprecation of vte_terminal_copy_clipboard Michael Tokarev
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Carlo Marcelo Arenas Belón, qemu-trivial, Michael Tokarev

From: Carlo Marcelo Arenas Belón <carenas@gmail.com>

test introduced in 382176b4d78e070d119af8e0dcd00884c11bbec2

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 tests/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/.gitignore b/tests/.gitignore
index cf6d99c91e..53cb2efaee 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -6,6 +6,7 @@ check-qdict
 check-qnum
 check-qjson
 check-qlist
+check-qlit
 check-qnull
 check-qstring
 check-qom-interface
-- 
2.11.0

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

* [Qemu-devel] [PULL 04/14] ui/gtk: Fix deprecation of vte_terminal_copy_clipboard
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (2 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 03/14] gitignore: ignore check-qlit test Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 05/14] futex: add missing header guards Michael Tokarev
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Anthony PERARD, qemu-trivial, Michael Tokarev

From: Anthony PERARD <anthony.perard@citrix.com>

vte_terminal_copy_clipboard() is deprecated in VTE 0.50.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 ui/gtk.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ui/gtk.c b/ui/gtk.c
index 5bd87c265a..342e96fbe9 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1702,7 +1702,12 @@ static void gd_menu_copy(GtkMenuItem *item, void *opaque)
     GtkDisplayState *s = opaque;
     VirtualConsole *vc = gd_vc_find_current(s);
 
+#if VTE_CHECK_VERSION(0, 50, 0)
+    vte_terminal_copy_clipboard_format(VTE_TERMINAL(vc->vte.terminal),
+                                       VTE_FORMAT_TEXT);
+#else
     vte_terminal_copy_clipboard(VTE_TERMINAL(vc->vte.terminal));
+#endif
 }
 
 static void gd_vc_adjustment_changed(GtkAdjustment *adjustment, void *opaque)
-- 
2.11.0

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

* [Qemu-devel] [PULL 05/14] futex: add missing header guards
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (3 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 04/14] ui/gtk: Fix deprecation of vte_terminal_copy_clipboard Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 06/14] linux-user: Add some random ioctls Michael Tokarev
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Emilio G. Cota, qemu-trivial, Michael Tokarev

From: "Emilio G. Cota" <cota@braap.org>

The header file was introduced by fbcc3e5 ("qemu-thread: optimize QemuLockCnt
with futexes on Linux", 2017-01-16) without header guards. Add them.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 include/qemu/futex.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/qemu/futex.h b/include/qemu/futex.h
index bb7dc9e296..91ae88966e 100644
--- a/include/qemu/futex.h
+++ b/include/qemu/futex.h
@@ -11,6 +11,9 @@
  *
  */
 
+#ifndef QEMU_FUTEX_H
+#define QEMU_FUTEX_H
+
 #include <sys/syscall.h>
 #include <linux/futex.h>
 
@@ -34,3 +37,5 @@ static inline void qemu_futex_wait(void *f, unsigned val)
         }
     }
 }
+
+#endif /* QEMU_FUTEX_H */
-- 
2.11.0

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

* [Qemu-devel] [PULL 06/14] linux-user: Add some random ioctls
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (4 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 05/14] futex: add missing header guards Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 07/14] os-posix: Drop misleading comment Michael Tokarev
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marco A L Barbosa, qemu-trivial, Michael Tokarev

From: Marco A L Barbosa <malbarbo@gmail.com>

Signed-off-by: Marco A L Barbosa <malbarbo@gmail.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 linux-user/ioctls.h       | 5 +++++
 linux-user/syscall.c      | 1 +
 linux-user/syscall_defs.h | 7 +++++++
 3 files changed, 13 insertions(+)

diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index e6997ff230..35cad6f944 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -173,6 +173,11 @@
   IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
   IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
 
+  IOCTL(RNDGETENTCNT, IOC_R, MK_PTR(TYPE_INT))
+  IOCTL(RNDADDTOENTCNT, IOC_W, MK_PTR(TYPE_INT))
+  IOCTL(RNDZAPENTCNT, 0, TYPE_NULL)
+  IOCTL(RNDCLEARPOOL, 0, TYPE_NULL)
+
   IOCTL(CDROMPAUSE, 0, TYPE_NULL)
   IOCTL(CDROMSTART, 0, TYPE_NULL)
   IOCTL(CDROMSTOP, 0, TYPE_NULL)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 3ef4d1c568..9d4cc4cf5d 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -59,6 +59,7 @@ int __clone2(int (*fn)(void *), void *child_stack_base,
 #include <linux/icmp.h>
 #include <linux/icmpv6.h>
 #include <linux/errqueue.h>
+#include <linux/random.h>
 #include "qemu-common.h"
 #ifdef CONFIG_TIMERFD
 #include <sys/timerfd.h>
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 40c5027e93..b3d55e35ac 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -1060,6 +1060,13 @@ struct target_pollfd {
 
 #define TARGET_SIOCGIWNAME     0x8B01          /* get name == wireless protocol */
 
+/* From <linux/random.h> */
+
+#define TARGET_RNDGETENTCNT    TARGET_IOR('R', 0x00, int)
+#define TARGET_RNDADDTOENTCNT  TARGET_IOW('R', 0x01, int)
+#define TARGET_RNDZAPENTCNT    TARGET_IO('R', 0x04)
+#define TARGET_RNDCLEARPOOL    TARGET_IO('R', 0x06)
+
 /* From <linux/fs.h> */
 
 #define TARGET_BLKROSET   TARGET_IO(0x12,93) /* set device read-only (0 = read-write) */
-- 
2.11.0

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

* [Qemu-devel] [PULL 07/14] os-posix: Drop misleading comment
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (5 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 06/14] linux-user: Add some random ioctls Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 08/14] io: Add missing GCC_FMT_ATTR (fix -Werror=suggest-attribute=format) Michael Tokarev
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Markus Armbruster, qemu-trivial, Michael Tokarev

From: Markus Armbruster <armbru@redhat.com>

Comments explaining why we include a header tend to go bad.  This
one's almost comical: not only doesn't qemu-options.hx use
MAP_POPULATE anymore (since commit ef36fa1, v2.0.0, 2013), even the
include it applies to got moved away in commit 02d0e09 (v2.7.0).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 os-posix.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/os-posix.c b/os-posix.c
index 92e9d85215..b9c2343b1e 100644
--- a/os-posix.c
+++ b/os-posix.c
@@ -25,7 +25,6 @@
 
 #include "qemu/osdep.h"
 #include <sys/wait.h>
-/*needed for MAP_POPULATE before including qemu-options.h */
 #include <pwd.h>
 #include <grp.h>
 #include <libgen.h>
-- 
2.11.0

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

* [Qemu-devel] [PULL 08/14] io: Add missing GCC_FMT_ATTR (fix -Werror=suggest-attribute=format)
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (6 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 07/14] os-posix: Drop misleading comment Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 09/14] include/hw/or-irq.h: Drop unused in_irqs field Michael Tokarev
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Weil, qemu-trivial, Michael Tokarev

From: Stefan Weil <sw@weilnetz.de>

This fixes a compiler warning:

/qemu/io/channel-websock.c:163:5: error:
 function might be possible candidate for ‘gnu_printf’ format attribute
 [-Werror=suggest-attribute=format]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Acked-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 io/channel-websock.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/io/channel-websock.c b/io/channel-websock.c
index d1d471f86e..7bf1340958 100644
--- a/io/channel-websock.c
+++ b/io/channel-websock.c
@@ -151,9 +151,10 @@ enum {
     QIO_CHANNEL_WEBSOCK_OPCODE_PONG = 0xA
 };
 
-static void qio_channel_websock_handshake_send_res(QIOChannelWebsock *ioc,
-                                                   const char *resmsg,
-                                                   ...)
+static void GCC_FMT_ATTR(2, 3)
+qio_channel_websock_handshake_send_res(QIOChannelWebsock *ioc,
+                                       const char *resmsg,
+                                       ...)
 {
     va_list vargs;
     char *response;
-- 
2.11.0

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

* [Qemu-devel] [PULL 09/14] include/hw/or-irq.h: Drop unused in_irqs field
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (7 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 08/14] io: Add missing GCC_FMT_ATTR (fix -Werror=suggest-attribute=format) Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 10/14] MAINTAINERS: Clean up SCSI device section Michael Tokarev
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, qemu-trivial, Michael Tokarev

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

The struct OrIRQState has an unused member field in_irqs.
This is a legacy of earlier versions of the patch; the
code that used it was dropped from the final version of
the code that went into master, but we forgot to delete
the no-longer-used struct field. Do so now.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 include/hw/or-irq.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/hw/or-irq.h b/include/hw/or-irq.h
index d400a8120b..fd900fcf19 100644
--- a/include/hw/or-irq.h
+++ b/include/hw/or-irq.h
@@ -38,7 +38,6 @@ struct OrIRQState {
     DeviceState parent_obj;
 
     qemu_irq out_irq;
-    qemu_irq *in_irqs;
     bool levels[MAX_OR_LINES];
     uint16_t num_lines;
 };
-- 
2.11.0

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

* [Qemu-devel] [PULL 10/14] MAINTAINERS: Clean up SCSI device section
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (8 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 09/14] include/hw/or-irq.h: Drop unused in_irqs field Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 11/14] MAINTAINERS: Fix Sun4v file Michael Tokarev
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, qemu-trivial, Michael Tokarev

From: Fam Zheng <famz@redhat.com>

1. Remove nonexistent file util/scsi*.
2. Drop useless section for LSI53C895A.
3. Leave include/scsi to "Block SCSI subsystem" section.

Suggested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 MAINTAINERS | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 9cff9737d3..86c9ec9cde 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -980,16 +980,10 @@ SCSI
 M: Paolo Bonzini <pbonzini@redhat.com>
 S: Supported
 F: include/hw/scsi/*
-F: include/scsi/*
 F: hw/scsi/*
-F: util/scsi*
 F: tests/virtio-scsi-test.c
 T: git git://github.com/bonzini/qemu.git scsi-next
 
-LSI53C895A
-S: Orphan
-F: hw/scsi/lsi53c895a.c
-
 SSI
 M: Peter Crosthwaite <crosthwaite.peter@gmail.com>
 M: Alistair Francis <alistair.francis@xilinx.com>
-- 
2.11.0

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

* [Qemu-devel] [PULL 11/14] MAINTAINERS: Fix Sun4v file
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (9 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 10/14] MAINTAINERS: Clean up SCSI device section Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 12/14] MAINTAINERS: Track default-configs/pci.mak Michael Tokarev
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, qemu-trivial, Michael Tokarev

From: Fam Zheng <famz@redhat.com>

Suggested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Acked-By: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 86c9ec9cde..6ce393f50d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -778,7 +778,7 @@ F: pc-bios/openbios-sparc64
 Sun4v
 M: Artyom Tarasenko <atar4qemu@gmail.com>
 S: Maintained
-F: hw/sparc64/sun4v.c
+F: hw/sparc64/niagara.c
 F: hw/timer/sun4v-rtc.c
 F: include/hw/timer/sun4v-rtc.h
 
-- 
2.11.0

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

* [Qemu-devel] [PULL 12/14] MAINTAINERS: Track default-configs/pci.mak
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (10 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 11/14] MAINTAINERS: Fix Sun4v file Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 13/14] filter-mirror: segfault when specifying non existent device Michael Tokarev
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, qemu-trivial, Michael Tokarev

From: Fam Zheng <famz@redhat.com>

Suggested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 6ce393f50d..162e914a2d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -934,6 +934,7 @@ F: hw/pci/*
 F: hw/pci-bridge/*
 F: docs/pci*
 F: docs/specs/*pci*
+F: default-configs/pci.mak
 
 ACPI/SMBIOS
 M: Michael S. Tsirkin <mst@redhat.com>
-- 
2.11.0

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

* [Qemu-devel] [PULL 13/14] filter-mirror: segfault when specifying non existent device
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (11 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 12/14] MAINTAINERS: Track default-configs/pci.mak Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-16 20:33 ` [Qemu-devel] [PULL 14/14] Add myself as maintainer for TPM code Michael Tokarev
  2017-10-17 14:26 ` [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Peter Maydell
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Eduardo Otubo, qemu-trivial, Michael Tokarev

From: Eduardo Otubo <otubo@redhat.com>

When using filter-mirror like the example below where the interface
'ndev0' does not exist on the host, QEMU crashes into segmentation
fault.

 $ qemu-system-x86_64 -S -machine pc -netdev user,id=ndev0 -object filter-mirror,id=test-object,netdev=ndev0

This happens because the function filter_mirror_setup() does not check
if the device actually exists and still keep on processing calling
qemu_chr_find(). This patch fixes this issue.

Signed-off-by: Eduardo Otubo <otubo@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 net/filter-mirror.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net/filter-mirror.c b/net/filter-mirror.c
index 90e2c92337..ce0dc23c2a 100644
--- a/net/filter-mirror.c
+++ b/net/filter-mirror.c
@@ -213,6 +213,12 @@ static void filter_mirror_setup(NetFilterState *nf, Error **errp)
     MirrorState *s = FILTER_MIRROR(nf);
     Chardev *chr;
 
+    if (s->outdev == NULL) {
+        error_set(errp, ERROR_CLASS_DEVICE_NOT_FOUND, "filter-mirror parameter"\
+                  " 'outdev' cannot be empty");
+        return;
+    }
+
     chr = qemu_chr_find(s->outdev);
     if (chr == NULL) {
         error_set(errp, ERROR_CLASS_DEVICE_NOT_FOUND,
-- 
2.11.0

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

* [Qemu-devel] [PULL 14/14] Add myself as maintainer for TPM code
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (12 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 13/14] filter-mirror: segfault when specifying non existent device Michael Tokarev
@ 2017-10-16 20:33 ` Michael Tokarev
  2017-10-17 14:26 ` [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Peter Maydell
  14 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2017-10-16 20:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Berger, qemu-trivial, Michael Tokarev

From: Stefan Berger <stefanb@linux.vnet.ibm.com>

Also add backends/tpm.c to the list of files.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 MAINTAINERS | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 162e914a2d..cee32914bd 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1535,12 +1535,14 @@ F: docs/devel/tracing.txt
 T: git git://github.com/stefanha/qemu.git tracing
 
 TPM
-S: Orphan
+M: Stefan Berger <stefanb@linux.vnet.ibm.com>
+S: Maintained
 F: tpm.c
 F: hw/tpm/*
 F: include/hw/acpi/tpm.h
 F: include/sysemu/tpm*
 F: qapi/tpm.json
+F: backends/tpm.c
 
 Checkpatch
 S: Odd Fixes
-- 
2.11.0

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

* Re: [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16
  2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
                   ` (13 preceding siblings ...)
  2017-10-16 20:33 ` [Qemu-devel] [PULL 14/14] Add myself as maintainer for TPM code Michael Tokarev
@ 2017-10-17 14:26 ` Peter Maydell
  14 siblings, 0 replies; 16+ messages in thread
From: Peter Maydell @ 2017-10-17 14:26 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: QEMU Developers, QEMU Trivial

On 16 October 2017 at 21:33, Michael Tokarev <mjt@tls.msk.ru> wrote:
> Here's a set of trivial changes accumulated so far.
> Not including large series by Philippe Mathieu-Daudé.
>
> The following changes since commit c5bbcaa4b7c0f8a322bebe9ec563560178a68b55:
>
>   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2017-10-16 17:29:16 +0100)
>
> are available in the git repository at:
>
>   git://git.corpit.ru/qemu.git tags/trivial-patches-fetch
>
> for you to fetch changes up to 6b4f250bfc529bdf73a10ca6873a460175e666cc:
>
>   Add myself as maintainer for TPM code (2017-10-16 23:17:44 +0300)
>
> ----------------------------------------------------------------
> trivial patches for 2017-10-16
>

Applied, thanks.

-- PMM

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

end of thread, other threads:[~2017-10-17 14:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-16 20:33 [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 01/14] qemu-doc.texi: remove trailing whitespace Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 02/14] linux-user: remove duplicate break in syscall Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 03/14] gitignore: ignore check-qlit test Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 04/14] ui/gtk: Fix deprecation of vte_terminal_copy_clipboard Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 05/14] futex: add missing header guards Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 06/14] linux-user: Add some random ioctls Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 07/14] os-posix: Drop misleading comment Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 08/14] io: Add missing GCC_FMT_ATTR (fix -Werror=suggest-attribute=format) Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 09/14] include/hw/or-irq.h: Drop unused in_irqs field Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 10/14] MAINTAINERS: Clean up SCSI device section Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 11/14] MAINTAINERS: Fix Sun4v file Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 12/14] MAINTAINERS: Track default-configs/pci.mak Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 13/14] filter-mirror: segfault when specifying non existent device Michael Tokarev
2017-10-16 20:33 ` [Qemu-devel] [PULL 14/14] Add myself as maintainer for TPM code Michael Tokarev
2017-10-17 14:26 ` [Qemu-devel] [PULL 00/14] Trivial patches for 2017-10-16 Peter Maydell

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).