qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 8a0002: qom: remove unused header


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 8a0002: qom: remove unused header
Date: Fri, 13 Jan 2017 09:30:03 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 8a000250f15051961fa45c737e661bc19a2978e9
      
https://github.com/qemu/qemu/commit/8a000250f15051961fa45c737e661bc19a2978e9
  Author: Igor Mammedov <address@hidden>
  Date:   2017-01-12 (Thu, 12 Jan 2017)

  Changed paths:
    M qom/object_interfaces.c

  Log Message:
  -----------
  qom: remove unused header

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 3a4641054e320d8ad7e780c30010b1c1dbfc56e8
      
https://github.com/qemu/qemu/commit/3a4641054e320d8ad7e780c30010b1c1dbfc56e8
  Author: Igor Mammedov <address@hidden>
  Date:   2017-01-12 (Thu, 12 Jan 2017)

  Changed paths:
    M hmp.c
    M include/qom/object_interfaces.h
    M qom/object_interfaces.c

  Log Message:
  -----------
  monitor: reuse user_creatable_add_opts() instead of user_creatable_add()

Simplify code by dropping ~57LOC by merging user_creatable_add()
into user_creatable_add_opts() and using the later from monitor.
Along with it allocate opts_visitor_new() once in user_creatable_add_opts().

As result we have one less API func and a more readable/simple
user_creatable_add_opts() vs user_creatable_add().

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: e1ff3c67e8544f41f1bea76ba76385faee0d2bb7
      
https://github.com/qemu/qemu/commit/e1ff3c67e8544f41f1bea76ba76385faee0d2bb7
  Author: Igor Mammedov <address@hidden>
  Date:   2017-01-12 (Thu, 12 Jan 2017)

  Changed paths:
    M backends/hostmem.c
    M docs/qmp-commands.txt
    M hmp.c
    M include/sysemu/hostmem.h
    M numa.c
    M qapi-schema.json
    M qom/object_interfaces.c

  Log Message:
  -----------
  monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends

Considering 'id' is mandatory for user_creatable objects/backends
and user_creatable_add_type() always has it as an argument
regardless of where from it is called CLI/monitor or QMP,
Fix issue by adding 'id' property to hostmem backends and
set it in user_creatable_add_type() for every object that
implements 'id' property. Then later at query-memdev time
get 'id' from object directly.

Signed-off-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 410e98146ffde201ab4c778823ac8beaa74c4c3f
      
https://github.com/qemu/qemu/commit/410e98146ffde201ab4c778823ac8beaa74c4c3f
  Author: Doug Evans <address@hidden>
  Date:   2017-01-12 (Thu, 12 Jan 2017)

  Changed paths:
    M target/i386/translate.c

  Log Message:
  -----------
  target/i386: Fix bad patch application to translate.c

In commit c52ab08aee6f7d4717fc6b517174043126bd302f,
the patch snippet for the "syscall" insn got applied to "iret".

Signed-off-by: Doug Evans <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: cdda2018e3b9ce0c18938767dfdb1e05a05b67ca
      
https://github.com/qemu/qemu/commit/cdda2018e3b9ce0c18938767dfdb1e05a05b67ca
  Author: Igor Mammedov <address@hidden>
  Date:   2017-01-12 (Thu, 12 Jan 2017)

  Changed paths:
    M include/sysemu/numa.h
    M include/sysemu/sysemu.h
    M numa.c
    M vl.c

  Log Message:
  -----------
  numa: make -numa parser dynamically allocate CPUs masks

so it won't impose an additional limits on max_cpus limits
supported by different targets.

It removes global MAX_CPUMASK_BITS constant and need to
bump it up whenever max_cpus is being increased for
a target above MAX_CPUMASK_BITS value.

Use runtime max_cpus value instead to allocate sufficiently
sized node_cpu bitmasks in numa parser.

Signed-off-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
[ehabkost: Added asserts to ensure cpu_index < max_cpus]
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 8ed877b78498c89aa7ce5c76aa20841ff5072796
      
https://github.com/qemu/qemu/commit/8ed877b78498c89aa7ce5c76aa20841ff5072796
  Author: Eduardo Habkost <address@hidden>
  Date:   2017-01-12 (Thu, 12 Jan 2017)

  Changed paths:
    M qapi-schema.json
    M target/arm/helper.c
    M target/i386/cpu.c
    M target/ppc/translate_init.c
    M target/s390x/cpu_models.c

  Log Message:
  -----------
  qmp: Report QOM type name on query-cpu-definitions

The new typename attribute on query-cpu-definitions will be used
to help management software use device-list-properties to check
which properties can be set using -cpu or -global for the CPU
model.

Signed-off-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: b6af8ea60282df514f87d32e36afd1c9aeee28c8
      
https://github.com/qemu/qemu/commit/b6af8ea60282df514f87d32e36afd1c9aeee28c8
  Author: Peter Maydell <address@hidden>
  Date:   2017-01-13 (Fri, 13 Jan 2017)

  Changed paths:
    M backends/hostmem.c
    M docs/qmp-commands.txt
    M hmp.c
    M include/qom/object_interfaces.h
    M include/sysemu/hostmem.h
    M include/sysemu/numa.h
    M include/sysemu/sysemu.h
    M numa.c
    M qapi-schema.json
    M qom/object_interfaces.c
    M target/arm/helper.c
    M target/i386/cpu.c
    M target/i386/translate.c
    M target/ppc/translate_init.c
    M target/s390x/cpu_models.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/ehabkost/tags/x86-and-machine-pull-request' into staging

x86 and machine queue, 2017-01-17

Includes i386, CPU, NUMA, and memory backends changes.

i386:
 target/i386: Fix bad patch application to translate.c

CPU:
 qmp: Report QOM type name on query-cpu-definitions

NUMA:
 numa: make -numa parser dynamically allocate CPUs masks

Memory backends:
 qom: remove unused header
 monitor: reuse user_creatable_add_opts() instead of user_creatable_add()
 monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends

# gpg: Signature made Thu 12 Jan 2017 17:53:11 GMT
# gpg:                using RSA key 0x2807936F984DC5A6
# gpg: Good signature from "Eduardo Habkost <address@hidden>"
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/x86-and-machine-pull-request:
  qmp: Report QOM type name on query-cpu-definitions
  numa: make -numa parser dynamically allocate CPUs masks
  target/i386: Fix bad patch application to translate.c
  monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends
  monitor: reuse user_creatable_add_opts() instead of user_creatable_add()
  qom: remove unused header

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/fdbd92f73869...b6af8ea60282

reply via email to

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