qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] a4cbfe: bswap: improve gluing


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a4cbfe: bswap: improve gluing
Date: Fri, 18 Jan 2013 10:00:12 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a4cbfe24e4d9f86622ba81b8c5b599c92c682fbc
      
https://github.com/qemu/qemu/commit/a4cbfe24e4d9f86622ba81b8c5b599c92c682fbc
  Author: Blue Swirl <address@hidden>
  Date:   2013-01-16 (Wed, 16 Jan 2013)

  Changed paths:
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap: improve gluing

OpenBSD system compiler (gcc 4.2.1) has problems with concatenation
of macro arguments in macro functions:
  CC    aes.o
In file included from /src/qemu/include/qemu-common.h:126,
           from /src/qemu/aes.c:30:
/src/qemu/include/qemu/bswap.h: In function 'leul_to_cpu':
/src/qemu/include/qemu/bswap.h:461: warning: implicit declaration of function 
'bswapHOST_LONG_BITS'
/src/qemu/include/qemu/bswap.h:461: warning: nested extern declaration of 
'bswapHOST_LONG_BITS'

Function leul_to_cpu() is only used in kvm-all.c, so the warnings
are not fatal on OpenBSD without -Werror.

Fix by applying glue(). Also add do {} while(0) wrapping and fix
semicolon use while at it.

Signed-off-by: Blue Swirl <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 84f2d0ea0f39bc140a6c69ba8e3ffd6b10cae6fa
      
https://github.com/qemu/qemu/commit/84f2d0ea0f39bc140a6c69ba8e3ffd6b10cae6fa
  Author: Wenchao Xia <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M hmp.c
    M hmp.h
    M hw/i8259.c
    M hw/lm32_pic.c
    M hw/lm32_pic.h
    M hw/loader.c
    M hw/loader.h
    M hw/pc.h
    M hw/pcmcia.h
    M hw/qdev-monitor.c
    M hw/qdev-monitor.h
    M hw/sun4m.c
    M hw/sun4m.h
    M hw/usb.h
    M hw/usb/bus.c
    M hw/usb/host-bsd.c
    M hw/usb/host-linux.c
    M include/net/net.h
    M include/net/slirp.h
    M include/sysemu/sysemu.h
    M monitor.c
    M net/net.c
    M net/slirp.c
    M savevm.c
    M vl.c

  Log Message:
  -----------
  HMP: add QDict to info callback handler

  This patch change all info call back function to take
additional QDict * parameter, which allow those command
take parameter. Now it is set to NULL at default case.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 5f11cb002a342e4fc0f87bb36fbabbc19bf04728
      
https://github.com/qemu/qemu/commit/5f11cb002a342e4fc0f87bb36fbabbc19bf04728
  Author: Wenchao Xia <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M monitor.c

  Log Message:
  -----------
  HMP: delete info handler

  Now cmd and info handler have same format, so delete info handler.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 5f3d335fbdaccc5044bdfe0c6aefb865e48b9100
      
https://github.com/qemu/qemu/commit/5f3d335fbdaccc5044bdfe0c6aefb865e48b9100
  Author: Wenchao Xia <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M monitor.c

  Log Message:
  -----------
  HMP: add infrastructure for sub command

  This patch make parsing of hmp command aware of that it may
have sub command. Also discard simple encapsulation function
monitor_find_command(). For case "@command ", space after
@command is filtered out.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: a13ced59a4f305e37bd89f27f2b18f915889cad1
      
https://github.com/qemu/qemu/commit/a13ced59a4f305e37bd89f27f2b18f915889cad1
  Author: Wenchao Xia <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M monitor.c

  Log Message:
  -----------
  HMP: move define of mon_cmds

  Because mon_cmds may use info_cmds, so adjust the declare sequence
of them.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 84c44613f9ad8d13e0d2dbee767051527072dc12
      
https://github.com/qemu/qemu/commit/84c44613f9ad8d13e0d2dbee767051527072dc12
  Author: Wenchao Xia <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M hmp-commands.hx
    M monitor.c

  Log Message:
  -----------
  HMP: add sub command table to info

  Now info command takes a table of sub info commands,
and changed do_info() to do_info_help() to do help funtion
only.
 Note that now "info <unknown-topic>" returns error instead
of list of info topics.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 781c0c3321d2bda9a9d7ffe9bf51560f0987b5a0
      
https://github.com/qemu/qemu/commit/781c0c3321d2bda9a9d7ffe9bf51560f0987b5a0
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: drop recursive libcacard clean

Commit eb8eb53e5846a957cf333f2e1ec8cb6e0c04 ("libcacard: rewrite
Makefile in non-recursive style") refactored libcacard/Makefile so it
can be included by the top-level Makefile.

The top-level clean target still loops over subdirectories, including
libcacard/, to invoke recursive clean.  Remove libcacard from the
recursive clean since its files are already included at the top level.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 782beb5239c6306b166744e03478a75afb649811
      
https://github.com/qemu/qemu/commit/782beb5239c6306b166744e03478a75afb649811
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M hw/qdev-core.h
    M include/qom/object.h

  Log Message:
  -----------
  qom: Extend documentation on QOM method concepts

Add a documentation section "Methods" and discuss among others how to
handle overriding virtual methods.

Clarify DeviceClass::realize documentation and refer to the above.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: e387f99ebc5753ebb5b7602d86e44d064873f83c
      
https://github.com/qemu/qemu/commit/e387f99ebc5753ebb5b7602d86e44d064873f83c
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M hw/virtio-pci.c

  Log Message:
  -----------
  virtio-pci: fix irqfd cleanup argument order

Order of arguments of kvm_virtio_pci_irqfd_release
got mixed up in all calls.
As a result users see assertions during cleanup.

Reported-by: Laszlo Ersek <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Tested-by: Laszlo Ersek <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Tested-by: Wanlong Gao <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: ddc01bf16e9f04b3e72c1b946b0b8efeb7a545d2
      
https://github.com/qemu/qemu/commit/ddc01bf16e9f04b3e72c1b946b0b8efeb7a545d2
  Author: Anthony Liguori <address@hidden>
  Date:   2013-01-17 (Thu, 17 Jan 2013)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M hw/i8259.c
    M hw/lm32_pic.c
    M hw/lm32_pic.h
    M hw/loader.c
    M hw/loader.h
    M hw/pc.h
    M hw/pcmcia.h
    M hw/qdev-monitor.c
    M hw/qdev-monitor.h
    M hw/sun4m.c
    M hw/sun4m.h
    M hw/usb.h
    M hw/usb/bus.c
    M hw/usb/host-bsd.c
    M hw/usb/host-linux.c
    M include/net/net.h
    M include/net/slirp.h
    M include/sysemu/sysemu.h
    M monitor.c
    M net/net.c
    M net/slirp.c
    M savevm.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'luiz/queue/qmp' into staging

# By Wenchao Xia
# Via Luiz Capitulino
* luiz/queue/qmp:
  HMP: add sub command table to info
  HMP: move define of mon_cmds
  HMP: add infrastructure for sub command
  HMP: delete info handler
  HMP: add QDict to info callback handler


Compare: https://github.com/qemu/qemu/compare/47f4dac3fde8...ddc01bf16e9f

reply via email to

[Prev in Thread] Current Thread [Next in Thread]