qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 172940: nbd: switch from g_slice allocator to


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 172940: nbd: switch from g_slice allocator to malloc
Date: Mon, 19 Oct 2015 04:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 1729404c62e1adae501feeaaf61b87262d52ae1b
      
https://github.com/qemu/qemu/commit/1729404c62e1adae501feeaaf61b87262d52ae1b
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M nbd.c

  Log Message:
  -----------
  nbd: switch from g_slice allocator to malloc

Simplify memory allocation by sticking with a single API.  GSlice
is not that fast anyway (tcmalloc/jemalloc are better).

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 633dccb458c4eaa40107cd7026737d804f90b6c0
      
https://github.com/qemu/qemu/commit/633dccb458c4eaa40107cd7026737d804f90b6c0
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M hw/scsi/scsi-bus.c
    M hw/scsi/virtio-scsi-dataplane.c
    M hw/scsi/virtio-scsi.c

  Log Message:
  -----------
  scsi: switch from g_slice allocator to malloc

Simplify memory allocation by sticking with a single API.  GSlice
is not that fast anyway (tcmalloc/jemalloc are better).

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 8ef2eb8d2cad7400236d6b2c152bdb5506761b4d
      
https://github.com/qemu/qemu/commit/8ef2eb8d2cad7400236d6b2c152bdb5506761b4d
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  megasas: fix megasas_get_sata_addr

There are two bugs here.  First, the 16-bit id loses the high 8 bits
when shifted left by 24.  Second, the address must be combined with
an "or" or we just get zero.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: fec21036ff516d20721abc01ae7be99ae5bb0c7b
      
https://github.com/qemu/qemu/commit/fec21036ff516d20721abc01ae7be99ae5bb0c7b
  Author: Markus Armbruster <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Require Python 2.6

RHEL-6 and SLES-11 provide Python 2.6.  It'll also work on OS X back
to 10.6.

Signed-off-by: Markus Armbruster <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0a1c71cec63e95f9b8d0dc96d049d2daa00c5210
      
https://github.com/qemu/qemu/commit/0a1c71cec63e95f9b8d0dc96d049d2daa00c5210
  Author: Peter Maydell <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec.c: Don't call cpu_reload_memory_map() from cpu_exec_init()

Currently we call cpu_reload_memory_map() from cpu_exec_init(),
but this is not necessary:
 * KVM doesn't use the data structures maintained by
   cpu_reload_memory_map() (the TLB and cpu->memory_dispatch)
 * for TCG, we will call this function via tcg_commit() either
   as soon as tcg_cpu_address_space_init() registers the listener,
   or when the first MemoryRegion is added to the AddressSpace
   if the AS is empty when we register the listener

The unnecessary call is awkward for adding support for multiple
address spaces per CPU, so drop it.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 53f8a5e9e2633a4a3b6918c36aec725aa80f2887
      
https://github.com/qemu/qemu/commit/53f8a5e9e2633a4a3b6918c36aec725aa80f2887
  Author: Peter Maydell <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M cpu-exec-common.c

  Log Message:
  -----------
  cpu-exec-common.c: Clarify comment about cpu_reload_memory_map()'s RCU 
operations

The reason for cpu_reload_memory_map()'s RCU operations is not
so much because the guest could make the critical section very
long, but that it could have a critical section within which
it made an arbitrary number of changes to the memory map and
thus accumulate an unbounded amount of memory data structures
awaiting reclamation. Clarify the comment to make this clearer.

Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 32857f4d5e165329c03d66000d666975d85f882a
      
https://github.com/qemu/qemu/commit/32857f4d5e165329c03d66000d666975d85f882a
  Author: Peter Maydell <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M cpu-exec-common.c
    M exec.c
    M include/exec/exec-all.h
    M include/qemu/typedefs.h
    M include/qom/cpu.h

  Log Message:
  -----------
  exec.c: Collect AddressSpace related fields into a CPUAddressSpace struct

Gather up all the fields currently in CPUState which deal with the CPU's
AddressSpace into a separate CPUAddressSpace struct. This paves the way
for allowing the CPU to know about more than one AddressSpace.

The rearrangement also allows us to make the MemoryListener a directly
embedded object in the CPUAddressSpace (it could not be embedded in
CPUState because 'struct MemoryListener' isn't defined for the user-only
builds). This allows us to resolve the FIXME in tcg_commit() by going
directly from the MemoryListener to the CPUAddressSpace.

This patch extracts the actual update of the cached dispatch pointer
from cpu_reload_memory_map() (which is renamed accordingly to
cpu_reloading_memory_map() as it is only responsible for breaking
cpu-exec.c's RCU critical section now). This lets us keep the definition
of the CPUAddressSpace struct private to exec.c.

Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 5b906129524d564d61760d04586d6c2301457ead
      
https://github.com/qemu/qemu/commit/5b906129524d564d61760d04586d6c2301457ead
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  checkpatch: allow open braces on typedef lines

The style here seems to be split according to the maintainer, but
traditionally open braces were placed on typedef lines.

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


  Commit: 3a824b1552d68b708c161a900e2956a78d4ea466
      
https://github.com/qemu/qemu/commit/3a824b1552d68b708c161a900e2956a78d4ea466
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M include/standard-headers/asm-x86/hyperv.h
    M linux-headers/asm-arm64/kvm.h
    M linux-headers/linux/kvm.h

  Log Message:
  -----------
  linux-headers: update from kvm/next

linux-headers/linux/vhost.h is currently out of sync with Linux.  Do
not touch it in this update.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 744b8a9440fa2bd78ae64861667337439e25a6dc
      
https://github.com/qemu/qemu/commit/744b8a9440fa2bd78ae64861667337439e25a6dc
  Author: Andrey Smetanin <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/kvm.c

  Log Message:
  -----------
  target-i386/kvm: Hyper-V HV_X64_MSR_RESET support

HV_X64_MSR_RESET msr is used by Hyper-V based Windows guest
to reset guest VM by hypervisor. This msr is stateless so
no migration/fetch/update is required.

This code checks cpu option "hv-reset" and support by
kernel. If both conditions are met appropriate Hyper-V features
cpuid bit is set.

Signed-off-by: Andrey Smetanin <address@hidden>
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Paolo Bonzini <address@hidden>
CC: Richard Henderson <address@hidden>
CC: Eduardo Habkost <address@hidden>
CC: "Andreas Färber" <address@hidden>
CC: Marcelo Tosatti <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 8c145d7ca9b4267d2ec1eabe801c6b2aee636f1f
      
https://github.com/qemu/qemu/commit/8c145d7ca9b4267d2ec1eabe801c6b2aee636f1f
  Author: Andrey Smetanin <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/kvm.c

  Log Message:
  -----------
  target-i386/kvm: set Hyper-V features cpuid bit HV_X64_MSR_VP_INDEX_AVAILABLE

Hyper-V features bit HV_X64_MSR_VP_INDEX_AVAILABLE value is
based on cpu option "hv-vpindex" and kernel support of
HV_X64_MSR_VP_INDEX.

Signed-off-by: Andrey Smetanin <address@hidden>
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Paolo Bonzini <address@hidden>
CC: Richard Henderson <address@hidden>
CC: Eduardo Habkost <address@hidden>
CC: "Andreas Färber" <address@hidden>
CC: Marcelo Tosatti <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 46eb8f98f2ce402e384d60ddd15020720994c7ca
      
https://github.com/qemu/qemu/commit/46eb8f98f2ce402e384d60ddd15020720994c7ca
  Author: Andrey Smetanin <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/kvm.c
    M target-i386/machine.c

  Log Message:
  -----------
  target-i386/kvm: Hyper-V HV_X64_MSR_VP_RUNTIME support

HV_X64_MSR_VP_RUNTIME msr used by guest to get
"the time the virtual processor consumes running guest code,
and the time the associated logical processor spends running
hypervisor code on behalf of that guest."

Calculation of that time is performed by task_cputime_adjusted()
for vcpu task by KVM side.

Signed-off-by: Andrey Smetanin <address@hidden>
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Paolo Bonzini <address@hidden>
CC: Richard Henderson <address@hidden>
CC: Eduardo Habkost <address@hidden>
CC: "Andreas Färber" <address@hidden>
CC: Marcelo Tosatti <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 88401cbc5b5730986fd5040425f5015a9cce9080
      
https://github.com/qemu/qemu/commit/88401cbc5b5730986fd5040425f5015a9cce9080
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M include/exec/exec-all.h
    M include/exec/ram_addr.h
    M include/sysemu/cpus.h
    M include/sysemu/kvm.h

  Log Message:
  -----------
  exec: remove non-TCG stuff from exec-all.h header.

The header is included from basically everywhere, thanks to cpu.h.
It should be moved to the (TCG only) files that actually need it.
As a start, remove non-TCG stuff.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b232c7857aa36d144205134c725114541630b1c2
      
https://github.com/qemu/qemu/commit/b232c7857aa36d144205134c725114541630b1c2
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  kvm-all: Align to qemu_real_host_page_size in kvm_set_phys_mem

As the comment in kvm_set_phys_mem() says, KVM works in page size chunks.
However it uses hardcoded TARGET_PAGE_SIZE which is 4K on most platforms
while actual host may use different page size, for example, PPC64 hosts
use 64K system pages.

This replaces static TARGET_PAGE_SIZE with run-time calculated
qemu_real_host_page_size.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3e5385fcf536fc4238eb87de55af8dd99089cad4
      
https://github.com/qemu/qemu/commit/3e5385fcf536fc4238eb87de55af8dd99089cad4
  Author: Andy Whitcroft <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  checkpatch: port fix from kernel "## is not a valid modifier"

checkpatch currently loops on fpu/softfloat.c
Turns out this is fixed in the Linux version of checkpatch.

So this is a port of Andy Whitcrofts fix from Linux,
Original commit was commit 89a883530fe7 ("checkpatch: ## is not a
valid modifier")

As suggested by Peter Maydell for the QEMU version we drop the last "|"
as there seems to be no need for that. (FWIW, the kernel discusion about
that dried out:
http://www.spinics.net/lists/kernel/msg1944421.html
)

Cc: Andy Whitcroft <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 566dd236e1e0bfe9d9bce326547f883d677cf30a
      
https://github.com/qemu/qemu/commit/566dd236e1e0bfe9d9bce326547f883d677cf30a
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: add two devices to the e500 section

Cc: Alexander Graf <address@hidden>
Cc: Scott Wood <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: c92451c2af29784c76527cc5484c33b4ce069d38
      
https://github.com/qemu/qemu/commit/c92451c2af29784c76527cc5484c33b4ce069d38
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add more Xen files

Cc: Stefano Stabellini <address@hidden
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 9b31bff02153cf86d4413c6289794175662f7c5c
      
https://github.com/qemu/qemu/commit/9b31bff02153cf86d4413c6289794175662f7c5c
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add more pxa2xx files and boards

Cc: Peter Maydell <address@hidden>
Cc: Andrzej Zaborowski <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 062710000dbd9db81277156d9bdebd96b70cd1d2
      
https://github.com/qemu/qemu/commit/062710000dbd9db81277156d9bdebd96b70cd1d2
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add maintainer for ARM PrimeCell and integrated devices

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


  Commit: 5ea530491fe9ac56f75bc1833cc3fd7722b24efd
      
https://github.com/qemu/qemu/commit/5ea530491fe9ac56f75bc1833cc3fd7722b24efd
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add more devices to realview board

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


  Commit: b77e7c8e99f9ac726c4eaa2fc3461fd886017dc0
      
https://github.com/qemu/qemu/commit/b77e7c8e99f9ac726c4eaa2fc3461fd886017dc0
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-12 (Mon, 12 Oct 2015)

  Changed paths:
    M util/qemu-sockets.c

  Log Message:
  -----------
  qemu-sockets: fix conversion of ipv4/ipv6 JSON to QemuOpts

The QemuOpts-based code treats "option not set" and "option set
to false" the same way for the ipv4 and ipv6 options, because it
is meant to handle only the ",ipv4" and ",ipv6" substrings in
hand-crafted option parsers.

When converting InetSocketAddress to QemuOpts, however, it is
necessary to handle all three cases (not set, set to true, set
to false).  Currently we are not handling all cases correctly.
The rules are:

* if none or both options are absent, leave things as is

* if the single present option is Y, the other should be N.
This can be implemented by leaving things as is, or by setting
the other option to N as done in this patch.

* if the single present option is N, the other should be Y.
This is handled by the "else if" branch of this patch.

This ensures that the ipv4 option has an effect on Windows,
where creating the socket with PF_UNSPEC makes an ipv6
socket.  With this patch, ",ipv4" will result in a PF_INET
socket instead.

Reported-by: Sair, Umair <address@hidden>
Tested-by: Sair, Umair <address@hidden>
Reviewed-by: Daniel P. Berrange <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0a3c190098e1cb3daaa946cba6663467d1f4e857
      
https://github.com/qemu/qemu/commit/0a3c190098e1cb3daaa946cba6663467d1f4e857
  Author: Daniel P. Berrange <address@hidden>
  Date:   2015-10-13 (Tue, 13 Oct 2015)

  Changed paths:
    M README

  Log Message:
  -----------
  README: fill out some useful quickstart information

The README file is usually the first thing consulted when a user
or developer obtains a copy of the QEMU source. The current QEMU
README is lacking immediately useful information and so not very
friendly for first time encounters. It either redirects users to
qemu-doc.html (which does not exist until they've actually
compiled QEMU), or the website (which assumes the user has
convenient internet access at time of reading).

This fills out the README file as simple quick-start guide on
the topics of building source, submitting patches, licensing
and how to contact the QEMU community. It does not intend to be
comprehensive, instead referring people to an appropriate web
page to obtain more detailed information. The intent is to give
users quick guidance to get them going in the right direction.

Signed-off-by: Daniel P. Berrange <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: John Snow <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: eaeba65304d9666309f246849adf1eff217b9868
      
https://github.com/qemu/qemu/commit/eaeba65304d9666309f246849adf1eff217b9868
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-14 (Wed, 14 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: cleanup qmp_chardev_add

Use the usual idioms for error propagation.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d809ab9521ace32a806cdf86ee7df40e1bf88443
      
https://github.com/qemu/qemu/commit/d809ab9521ace32a806cdf86ee7df40e1bf88443
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-14 (Wed, 14 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: cleanup HAVE_CHARDEV_*

Move the #ifdef up into qmp_chardev_add, and avoid duplicating
the code that reports unavailable backends.  Split HAVE_CHARDEV_TTY
into HAVE_CHARDEV_SERIAL and HAVE_CHARDEV_PTY.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 4ca172817a8c6df0145c16d80abdf04d53a56d92
      
https://github.com/qemu/qemu/commit/4ca172817a8c6df0145c16d80abdf04d53a56d92
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-14 (Wed, 14 Oct 2015)

  Changed paths:
    M backends/baum.c
    M backends/msmouse.c
    M backends/testdev.c
    M include/sysemu/char.h
    M qemu-char.c
    M spice-qemu-char.c
    M ui/console.c

  Log Message:
  -----------
  qemu-char: add create to register_char_driver

Having creation as a member of the CharDriver struct removes the need
to export functions for qemu-char.c's usage.  After the conversion,
chardev backends implemented outside qemu-char.c will not need a stub
creation function anymore.

Ultimately all drivers will be converted.  For now, support the case
where cd->create == NULL.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: fd5b036c5c6dc715bd06769a0023c6e1de2dadb4
      
https://github.com/qemu/qemu/commit/fd5b036c5c6dc715bd06769a0023c6e1de2dadb4
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-14 (Wed, 14 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert file backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 6511d39679f296162a90e71685651717a29e78e5
      
https://github.com/qemu/qemu/commit/6511d39679f296162a90e71685651717a29e78e5
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-14 (Wed, 14 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert serial backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 38bfb1a63d05d000f128ea740442955070d9ff57
      
https://github.com/qemu/qemu/commit/38bfb1a63d05d000f128ea740442955070d9ff57
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert parallel backend to data-driven creation

Conversion to Error * brings better error messages; before:

    qemu-system-x86_64: -chardev id=serial,backend=parallel,path=vl.c: Failed 
to create chardev

After:

    qemu-system-x86_64: -chardev id=serial,backend=parallel,path=vl.c: not a 
parallel port: Inappropriate ioctl for device

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 20cbe7a27980ef7e2ecd307cd210fc23b3f0762e
      
https://github.com/qemu/qemu/commit/20cbe7a27980ef7e2ecd307cd210fc23b3f0762e
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert pipe backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: dbba8d1be3db5a52cfe200f219fbf8840d75cb14
      
https://github.com/qemu/qemu/commit/dbba8d1be3db5a52cfe200f219fbf8840d75cb14
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert socket backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e79b80daa252ffb4bc5c84c836714eb45ab3bb68
      
https://github.com/qemu/qemu/commit/e79b80daa252ffb4bc5c84c836714eb45ab3bb68
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert UDP backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: c2e75a432b907562cf93772b7d058d1ec8a8f8f1
      
https://github.com/qemu/qemu/commit/c2e75a432b907562cf93772b7d058d1ec8a8f8f1
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert pty backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0d64992b5dfe099b170a0b19922833cc82745620
      
https://github.com/qemu/qemu/commit/0d64992b5dfe099b170a0b19922833cc82745620
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert null backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3c0e5a4a845c9e2823c9060631eeefebabc2f093
      
https://github.com/qemu/qemu/commit/3c0e5a4a845c9e2823c9060631eeefebabc2f093
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert mux backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 96d885b93b47243d2fc6ee826abaa8c0017282c9
      
https://github.com/qemu/qemu/commit/96d885b93b47243d2fc6ee826abaa8c0017282c9
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M backends/msmouse.c
    M include/sysemu/char.h
    M qemu-char.c
    M stubs/Makefile.objs
    R stubs/chr-msmouse.c

  Log Message:
  -----------
  qemu-char: convert msmouse backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e47666b8d1f0a7043d53671587058b3ce539b09d
      
https://github.com/qemu/qemu/commit/e47666b8d1f0a7043d53671587058b3ce539b09d
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M backends/baum.c
    M include/sysemu/char.h
    M qemu-char.c
    M stubs/Makefile.objs
    R stubs/chr-baum-init.c

  Log Message:
  -----------
  qemu-char: convert braille backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0498790173e462ac3a7e4e0f3608704b8382dd10
      
https://github.com/qemu/qemu/commit/0498790173e462ac3a7e4e0f3608704b8382dd10
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M backends/testdev.c
    M include/sysemu/char.h
    M qemu-char.c
    M stubs/Makefile.objs
    R stubs/chr-testdev.c

  Log Message:
  -----------
  qemu-char: convert testdev backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 8c84b25d975870bbed2e089fe61e037c58a69854
      
https://github.com/qemu/qemu/commit/8c84b25d975870bbed2e089fe61e037c58a69854
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert stdio backend to data-driven creation

The backend now always returns errors via the Error* argument.
This avoids a double error message.  Before:

    qemu-system-x86_64: -chardev stdio,id=base: cannot use stdio with -daemonize
    qemu-system-x86_64: -chardev stdio,id=base: Failed to create chardev

After:

    qemu-system-x86_64: -chardev stdio,id=base: cannot use stdio with -daemonize

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 122e5ed4412cadce2d44a5f636e4d1bfc67c534b
      
https://github.com/qemu/qemu/commit/122e5ed4412cadce2d44a5f636e4d1bfc67c534b
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert console backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 68145e178ac200a27b5f0ab342da80cf60ddd576
      
https://github.com/qemu/qemu/commit/68145e178ac200a27b5f0ab342da80cf60ddd576
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M include/ui/qemu-spice.h
    M qemu-char.c
    M spice-qemu-char.c
    M stubs/Makefile.objs
    R stubs/qemu-chr-open-spice.c

  Log Message:
  -----------
  qemu-char: convert spice backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: fa19d02539a56ac20d03b2eef775be7ffcdd695a
      
https://github.com/qemu/qemu/commit/fa19d02539a56ac20d03b2eef775be7ffcdd695a
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M include/sysemu/char.h
    M qemu-char.c
    M stubs/Makefile.objs
    R stubs/vc-init.c
    M ui/console.c
    M ui/gtk.c

  Log Message:
  -----------
  qemu-char: convert vc backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 479f09a130f774b0275134b5c44081ea71fe00b3
      
https://github.com/qemu/qemu/commit/479f09a130f774b0275134b5c44081ea71fe00b3
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: convert ringbuf backend to data-driven creation

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1c3af0f4f04bd6e6729783a48bb51ca1eb5c3baf
      
https://github.com/qemu/qemu/commit/1c3af0f4f04bd6e6729783a48bb51ca1eb5c3baf
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: cleanup after completed conversion to cd->create

All backends now return errors through Error*, so the "Failed to
create chardev" placeholder error can only be reached if the backend
is not available (and only from the chardev-add QMP command; instead,
the -chardev command line option fails earlier).

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 9bda456e419273199221625894003bf9307d8451
      
https://github.com/qemu/qemu/commit/9bda456e419273199221625894003bf9307d8451
  Author: Sergey Fedorov <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M docs/rcu.txt

  Log Message:
  -----------
  doc/rcu: fix g_free_rcu() usage example

The first argument of g_free_rcu() is a pointer to a structure.  But
foo_reclaim is used as a function name in the previous example along
with &foo as a pointer to the structure being reclaimed.  Make the
example consistent with the previous one.

Signed-off-by: Sergey Fedorov <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 50bf31b9379cf88c4fe92ec477fdc56f89d1af94
      
https://github.com/qemu/qemu/commit/50bf31b9379cf88c4fe92ec477fdc56f89d1af94
  Author: Pavel Fedin <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M include/sysemu/kvm.h
    M kvm-all.c

  Log Message:
  -----------
  kvm: Make KVM_CAP_SIGNAL_MSI globally available

This capability is useful to determine whether we can use KVM ITS
emulation on ARM

Signed-off-by: Pavel Fedin <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: a05f686ff39c373384772b01f1b7fc71e7eb2500
      
https://github.com/qemu/qemu/commit/a05f686ff39c373384772b01f1b7fc71e7eb2500
  Author: Pavel Fedin <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M hw/i386/kvm/pci-assign.c
    M hw/pci/msi.c
    M hw/pci/pcie_aer.c
    M include/exec/memattrs.h
    M include/hw/pci/pci.h

  Log Message:
  -----------
  hw/pci: Introduce pci_requester_id()

For GICv3 ITS implementation we are going to use requester IDs in KVM IRQ
routing code. This patch introduces reusable convenient way to obtain this
ID from the device pointer. The new function is now used in some places,
where the same calculation was used.

MemTxAttrs.stream_id also renamed to requester_id in order to better
reflect semantics of the field.

Signed-off-by: Pavel Fedin <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: dc9f06ca81e6e16d062ec382701142a3a2ab3f7d
      
https://github.com/qemu/qemu/commit/dc9f06ca81e6e16d062ec382701142a3a2ab3f7d
  Author: Pavel Fedin <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M hw/i386/kvm/pci-assign.c
    M hw/vfio/pci.c
    M hw/virtio/virtio-pci.c
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c
    M target-arm/kvm.c
    M target-i386/kvm.c
    M target-mips/kvm.c
    M target-ppc/kvm.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  kvm: Pass PCI device pointer to MSI routing functions

In-kernel ITS emulation on ARM64 will require to supply requester IDs.
These IDs can now be retrieved from the device pointer using new
pci_requester_id() function.

This patch adds pci_dev pointer to KVM GSI routing functions and makes
callers passing it.

x86 architecture does not use requester IDs, but hw/i386/kvm/pci-assign.c
also made passing PCI device pointer instead of NULL for consistency with
the rest of the code.

Signed-off-by: Pavel Fedin <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 28143b409f698210d85165ca518235ac7e7c5ac5
      
https://github.com/qemu/qemu/commit/28143b409f698210d85165ca518235ac7e7c5ac5
  Author: Thomas Huth <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c
    M target-i386/kvm.c

  Log Message:
  -----------
  kvm: Move x86-specific functions into target-i386/kvm.c

The functions for checking xcrs, xsave and pit_state2 are
only used on x86, so they should reside in target-i386/kvm.c.

Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1c4a55dbed9a47fde9294f7de6c8bb060d874c88
      
https://github.com/qemu/qemu/commit/1c4a55dbed9a47fde9294f7de6c8bb060d874c88
  Author: Alex Williamson <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/kvm.c

  Log Message:
  -----------
  kvm: Allow the Hyper-V vendor ID to be specified

According to Microsoft documentation, the signature in the standard
hypervisor CPUID leaf at 0x40000000 identifies the Vendor ID and is
for reporting and diagnostic purposes only.  We can therefore allow
the user to change it to whatever they want, within the 12 character
limit.  Add a new hv-vendor-id option to the -cpu flag to allow
for this, ex:

 -cpu host,hv_time,hv-vendor-id=KeenlyKVM

Link: http://msdn.microsoft.com/library/windows/hardware/hh975392
Signed-off-by: Alex Williamson <address@hidden>
Message-Id: <address@hidden>
[Adjust error message to match the property name, use error_report. - Paolo]
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 526d5809a0714edc7f19196f14ec2e607dbd9753
      
https://github.com/qemu/qemu/commit/526d5809a0714edc7f19196f14ec2e607dbd9753
  Author: Peter Maydell <address@hidden>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M MAINTAINERS
    M README
    M backends/baum.c
    M backends/msmouse.c
    M backends/testdev.c
    M configure
    M cpu-exec-common.c
    M docs/rcu.txt
    M exec.c
    M hw/i386/kvm/pci-assign.c
    M hw/pci/msi.c
    M hw/pci/pcie_aer.c
    M hw/scsi/megasas.c
    M hw/scsi/scsi-bus.c
    M hw/scsi/virtio-scsi-dataplane.c
    M hw/scsi/virtio-scsi.c
    M hw/vfio/pci.c
    M hw/virtio/virtio-pci.c
    M include/exec/exec-all.h
    M include/exec/memattrs.h
    M include/exec/ram_addr.h
    M include/hw/pci/pci.h
    M include/qemu/typedefs.h
    M include/qom/cpu.h
    M include/standard-headers/asm-x86/hyperv.h
    M include/sysemu/char.h
    M include/sysemu/cpus.h
    M include/sysemu/kvm.h
    M include/ui/qemu-spice.h
    M kvm-all.c
    M kvm-stub.c
    M linux-headers/asm-arm64/kvm.h
    M linux-headers/linux/kvm.h
    M nbd.c
    M qemu-char.c
    M scripts/checkpatch.pl
    M spice-qemu-char.c
    M stubs/Makefile.objs
    R stubs/chr-baum-init.c
    R stubs/chr-msmouse.c
    R stubs/chr-testdev.c
    R stubs/qemu-chr-open-spice.c
    R stubs/vc-init.c
    M target-arm/kvm.c
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/kvm.c
    M target-i386/machine.c
    M target-mips/kvm.c
    M target-ppc/kvm.c
    M target-s390x/kvm.c
    M ui/console.c
    M ui/gtk.c
    M util/qemu-sockets.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

* KVM page size fix for PPC
* Support for Linux 4.4's new Hyper-V features
* Eliminate g_slice from areas I maintain
* checkpatch fix
* Peter's cpu_reload_memory_map() cleanups
* More changes to MAINTAINERS
* Require Python 2.6
* chardev creation fixes
* PCI requester id for ARM KVM
* cleanups and doc fixes
* Allow customization of the Hyper-V vendor id

# gpg: Signature made Mon 19 Oct 2015 09:13:10 BST using RSA key ID 78C7AE83
# gpg: Good signature from "Paolo Bonzini <address@hidden>"
# gpg:                 aka "Paolo Bonzini <address@hidden>"

* remotes/bonzini/tags/for-upstream: (49 commits)
  kvm: Allow the Hyper-V vendor ID to be specified
  kvm: Move x86-specific functions into target-i386/kvm.c
  kvm: Pass PCI device pointer to MSI routing functions
  hw/pci: Introduce pci_requester_id()
  kvm: Make KVM_CAP_SIGNAL_MSI globally available
  doc/rcu: fix g_free_rcu() usage example
  qemu-char: cleanup after completed conversion to cd->create
  qemu-char: convert ringbuf backend to data-driven creation
  qemu-char: convert vc backend to data-driven creation
  qemu-char: convert spice backend to data-driven creation
  qemu-char: convert console backend to data-driven creation
  qemu-char: convert stdio backend to data-driven creation
  qemu-char: convert testdev backend to data-driven creation
  qemu-char: convert braille backend to data-driven creation
  qemu-char: convert msmouse backend to data-driven creation
  qemu-char: convert mux backend to data-driven creation
  qemu-char: convert null backend to data-driven creation
  qemu-char: convert pty backend to data-driven creation
  qemu-char: convert UDP backend to data-driven creation
  qemu-char: convert socket backend to data-driven creation
  ...

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


Compare: https://github.com/qemu/qemu/compare/aedc8806172d...526d5809a071

reply via email to

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