qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 1d7cf1: MAINTAINERS: Add myself as openrisc m


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 1d7cf1: MAINTAINERS: Add myself as openrisc maintainer
Date: Mon, 08 May 2017 06:25:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 1d7cf18d79c85031998cc8e628414eac292ca694
      
https://github.com/qemu/qemu/commit/1d7cf18d79c85031998cc8e628414eac292ca694
  Author: Stafford Horne <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add myself as openrisc maintainer

Jia has claimed he is no longer able to maintain.  I have fixing bugs here
and there and getting familiar with the code base. Orignal thread from Jia:

 https://lists.librecores.org/pipermail/openrisc/2017-January/000321.html

Signed-off-by: Stafford Horne <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>


  Commit: 356a2db3c6f84e8e79e5afa3913514184bff5f50
      
https://github.com/qemu/qemu/commit/356a2db3c6f84e8e79e5afa3913514184bff5f50
  Author: Tim 'mithro' Ansell <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M target/openrisc/cpu.c
    M target/openrisc/cpu.h
    M target/openrisc/interrupt.c
    M target/openrisc/sys_helper.c

  Log Message:
  -----------
  target/openrisc: Implement EVBAR register

Exception Vector Base Address Register (EVBAR) - This optional register
can be used to apply an offset to the exception vector addresses.

The significant bits (31-12) of the vector offset address for each
exception depend on the setting of the Supervision Register (SR)'s EPH
bit and the Exception Vector Base Address Register (EVBAR).

Its presence is indicated by the EVBARP bit in the CPU Configuration
Register (CPUCFGR).

Signed-off-by: Tim 'mithro' Ansell <address@hidden>
Signed-off-by: Stafford Horne <address@hidden>


  Commit: 3fee028d1ea02cd16470dc5c65d54974ef85b673
      
https://github.com/qemu/qemu/commit/3fee028d1ea02cd16470dc5c65d54974ef85b673
  Author: Tim 'mithro' Ansell <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M target/openrisc/interrupt.c

  Log Message:
  -----------
  target/openrisc: Implement EPH bit

Exception Prefix High (EPH) control bit of the Supervision Register
(SR).

The significant bits (31-12) of the vector offset address for each
exception depend on the setting of the Supervision Register (SR)'s EPH
bit and the Exception Vector Base Address Register (EVBAR).

If SR[EPH] is set, the vector offset is logically ORed with the offset
0xF0000000.

This means if EPH is;
 * 0 - Exceptions vectors start at EVBAR
 * 1 - Exception vectors start at EVBAR | 0xF0000000

Signed-off-by: Tim 'mithro' Ansell <address@hidden>
Signed-off-by: Stafford Horne <address@hidden>


  Commit: 7104bae9de560e7f9f00b2bef4b8c791cdd59c7f
      
https://github.com/qemu/qemu/commit/7104bae9de560e7f9f00b2bef4b8c791cdd59c7f
  Author: Farhan Ali <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M hw/s390x/s390-virtio-ccw.c
    M include/hw/s390x/s390-virtio-ccw.h

  Log Message:
  -----------
  hw/s390x: provide loadparm property for the machine

In order to specify the LOADPARM value one may now add ",loadparm=xxx"
parameter to the "-machine s390-ccw-virtio" option.

The property setter will normalize and check the value provided much
like the way the HMC does.

The value is stored, but not used at the moment.

Initial patch from Eugene (jno) Dvurechenski.

Signed-off-by: Eugene (jno) Dvurechenski <address@hidden>
Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: bd1badf45788930473d271f44f1268a63f2ddbdd
      
https://github.com/qemu/qemu/commit/bd1badf45788930473d271f44f1268a63f2ddbdd
  Author: Farhan Ali <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M hw/s390x/ipl.c
    M hw/s390x/ipl.h

  Log Message:
  -----------
  hw/s390x/ipl: enable LOADPARM in IPIB for a boot device

Insert the LOADPARM value to the IPL Information Parameter Block.

An IPL Information Parameter Block is created when "bootindex" is
specified for a device. If a user specifies "loadparm=", then we
store the loadparm value in the created IPIB for that boot device.

Initial patch from Eugene (jno) Dvurechenski.

Signed-off-by: Eugene (jno) Dvurechenski <address@hidden>
Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: b038411d85b19e058d3909d97738a85c3f402db3
      
https://github.com/qemu/qemu/commit/b038411d85b19e058d3909d97738a85c3f402db3
  Author: Farhan Ali <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M hw/s390x/sclp.c

  Log Message:
  -----------
  hw/s390x/sclp: update LOADPARM in SCP Info

LOADPARM has two copies:
1. in SCP Information Block
2. in IPL Information Parameter Block

So, update SCLP intrinsics now. We always store LOADPARM in SCP
information block even if we don't have a valid IPL Information
Parameter Block.

Initial patch from Eugene (jno) Dvurechenski.

Signed-off-by: Eugene (jno) Dvurechenski <address@hidden>
Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 5559716c98ff1afd61b0f6707e261bf9579a37e7
      
https://github.com/qemu/qemu/commit/5559716c98ff1afd61b0f6707e261bf9579a37e7
  Author: Farhan Ali <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M util/qemu-config.c

  Log Message:
  -----------
  util/qemu-config: Add loadparm to qemu machine_opts

Add S390CcwMachineState machine parameter "loadparm" to qemu machine_opts so
libvirt can query for it.

Signed-off-by: Farhan Ali <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: cfe2124a7f7285bfe5bf91e068f88437d1f8a591
      
https://github.com/qemu/qemu/commit/cfe2124a7f7285bfe5bf91e068f88437d1f8a591
  Author: Eugene (jno) Dvurechenski <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M pc-bios/s390-ccw/bootmap.h
    M pc-bios/s390-ccw/main.c
    M pc-bios/s390-ccw/s390-ccw.h

  Log Message:
  -----------
  pc-bios/s390-ccw: Make ebcdic/ascii conversion public

Make the ebcdic_to_ascii function public to the rest of the
"bios" code, as the volume label is no more the single thing
to be converted.

Signed-off-by: Eugene (jno) Dvurechenski <address@hidden>
Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 9a22473c70f3d07068a673e91562947b19e02995
      
https://github.com/qemu/qemu/commit/9a22473c70f3d07068a673e91562947b19e02995
  Author: Farhan Ali <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M pc-bios/s390-ccw/Makefile
    M pc-bios/s390-ccw/s390-ccw.h
    R pc-bios/s390-ccw/sclp-ascii.c
    A pc-bios/s390-ccw/sclp.c
    M pc-bios/s390-ccw/sclp.h

  Log Message:
  -----------
  pc-bios/s390-ccw: get LOADPARM stored in SCP Read Info

Obtain the loadparm value stored in SCP Read Info by performing
a SCLP Read Info request.

Rename sclp-ascii.c to sclp.c to reflect the changed scope of
the file.

Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 95fa1af8540e0edad5e86590c67a726e6906b7d8
      
https://github.com/qemu/qemu/commit/95fa1af8540e0edad5e86590c67a726e6906b7d8
  Author: Farhan Ali <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M pc-bios/s390-ccw/main.c
    M pc-bios/s390-ccw/s390-ccw.h

  Log Message:
  -----------
  pc-bios/s390-ccw: provide a function to interpret LOADPARM value

The LOADPARM value is fetched from SCP Read Info, but it's applied
only at the phase of bootmap interpretation. So let's read the LOARPARM
value and store it. Also provide a parsing function to detect numbers in
the LOADPARM which can be used during bootmap interpretation.

Remove a stray whitespace.

Initial patch from Eugene (jno) Dvurechenski.

Signed-off-by: Eugene (jno) Dvurechenski <address@hidden>
Signed-off-by: Farhan Ali <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 9dd7823b70ccbc812b4a977345dd0a28be0c4b3e
      
https://github.com/qemu/qemu/commit/9dd7823b70ccbc812b4a977345dd0a28be0c4b3e
  Author: Farhan Ali <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M pc-bios/s390-ccw/bootmap.c

  Log Message:
  -----------
  pc-bios/s390-ccw: provide entry selection on LOADPARM for SCSI disk

Fix SCSI bootmap interpreter to make use of any specified entry of the
Program Table using the leftmost numeric value from the LOADPARM, if specified.

Initial patch from Eugene (jno) Dvurechenski.

Signed-off-by: Eugene (jno) Dvurechenski <address@hidden>
Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 82ca394194342dd050034e25c5a61a854d82911a
      
https://github.com/qemu/qemu/commit/82ca394194342dd050034e25c5a61a854d82911a
  Author: Farhan Ali <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M pc-bios/s390-ccw/bootmap.c
    M pc-bios/s390-ccw/bootmap.h

  Log Message:
  -----------
  pc-bios/s390-ccw: add boot entry selection for ECKD DASD

1. change a bit definition of ScsiMbr to allow an array of pointers
2. add loadparm fetch to boot script processing
3. apply loadparm index to boot entry selection, if any

Initial patch from Eugene (jno) Dvurechenski.

Signed-off-by: Eugene (jno) Dvurechenski <address@hidden>
Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 7a9762bf89a490d82cd8de3dc7a973f8df3f1efe
      
https://github.com/qemu/qemu/commit/7a9762bf89a490d82cd8de3dc7a973f8df3f1efe
  Author: Eugene (jno) Dvurechenski <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M pc-bios/s390-ccw/bootmap.c

  Log Message:
  -----------
  pc-bios/s390-ccw: add boot entry selection to El Torito routine

If there is no LOADPARM given or '0' specified, then IPL the first
matched entry. Otherwise IPL the matching entry of that number.

Signed-off-by: Eugene (jno) Dvurechenski <address@hidden>
Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: c55144ec3262e8aeaf3e2e1e8fc48b07c993a654
      
https://github.com/qemu/qemu/commit/c55144ec3262e8aeaf3e2e1e8fc48b07c993a654
  Author: Cornelia Huck <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M pc-bios/s390-ccw.img

  Log Message:
  -----------
  pc-bios/s390-ccw.img: update image

Contains the following commits:

- pc-bios/s390-ccw: Make ebcdic/ascii conversion public
- pc-bios/s390-ccw: get LOADPARM stored in SCP Read Info
- pc-bios/s390-ccw: provide a function to interpret LOADPARM value
- pc-bios/s390-ccw: provide entry selection on LOADPARM for SCSI disk
- pc-bios/s390-ccw: add boot entry selection for ECKD DASD
- pc-bios/s390-ccw: add boot entry selection to El Torito routine

Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 99efaa2696caaf6182958e27d553449674894b27
      
https://github.com/qemu/qemu/commit/99efaa2696caaf6182958e27d553449674894b27
  Author: Thomas Huth <address@hidden>
  Date:   2017-05-02 (Tue, 02 May 2017)

  Changed paths:
    M hw/s390x/ipl.c

  Log Message:
  -----------
  hw/s390x/ipl: Fix crash with virtio-scsi-pci device

qemu-system-s390x currently crashes when it is started with a
virtio-scsi-pci device, e.g.:

 qemu-system-s390x -nographic -enable-kvm -device virtio-scsi-pci \
             -drive file=/tmp/disk.dat,if=none,id=d1,format=raw \
             -device scsi-cd,drive=d1,bootindex=1

The problem is that the code in s390_gen_initial_iplb() currently assumes
that all SCSI devices are also CCW devices, which is not the case for
virtio-scsi-pci of course. Fix it by adding an appropriate check for
TYPE_CCW_DEVICE here.

Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: fa18f36a461984eae50ab957e47ec78dae3c14fc
      
https://github.com/qemu/qemu/commit/fa18f36a461984eae50ab957e47ec78dae3c14fc
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-05-03 (Wed, 03 May 2017)

  Changed paths:
    M ui/input.c

  Log Message:
  -----------
  input: limit kbd queue depth

Apply a limit to the number of items we accept into the keyboard queue.

Impact: Without this limit vnc clients can exhaust host memory by
sending keyboard events faster than qemu feeds them to the guest.

Fixes: CVE-2017-8379
Cc: P J P <address@hidden>
Cc: Huawei PSIRT <address@hidden>
Reported-by: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: 05c6638b203fd7d8bbfa88ac6e6198e32ed0506f
      
https://github.com/qemu/qemu/commit/05c6638b203fd7d8bbfa88ac6e6198e32ed0506f
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-03 (Wed, 03 May 2017)

  Changed paths:
    M ui/input.c

  Log Message:
  -----------
  input: don't queue delay if paused

qemu_input_event_send() discards key event when the guest is paused,
but not the delay.

The delay ends up in the input queue, and qemu_input_event_send_key()
will further fill the queue with upcoming events.

VNC uses qemu_input_event_send_key_delay(), not SPICE, which results
in a different input behaviour on pause: VNC will queue the events
(except the first that is discarded), SPICE will discard all events.

Don't queue delay if paused, and provide same behaviour on SPICE and
VNC clients on resume (and potentially avoid over-allocating the
buffer queue)

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1444326

Signed-off-by: Marc-André Lureau <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2222e0a633070f7f3eafcc9d0e95e7f1a4e6fe36
      
https://github.com/qemu/qemu/commit/2222e0a633070f7f3eafcc9d0e95e7f1a4e6fe36
  Author: Alexander Graf <address@hidden>
  Date:   2017-05-03 (Wed, 03 May 2017)

  Changed paths:
    M hw/input/hid.c
    M hw/input/trace-events

  Log Message:
  -----------
  input: Add trace event for empty keyboard queue

When driving QEMU from the outside, we have basically no chance to
determine how quickly the guest OS picks up key events, so we usually
have to limit ourselves to very slow keyboard presses to make sure
the guest always has enough chance to pick them up.

This patch adds a trace events when the keyboarde queue is drained.
An external driver can use that as hint that new keys can be pressed.

Signed-off-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 15126cba8618ac6cf4dde320ff9cd96ad0640d5d
      
https://github.com/qemu/qemu/commit/15126cba8618ac6cf4dde320ff9cd96ad0640d5d
  Author: Jose Ricardo Ziviani <address@hidden>
  Date:   2017-05-03 (Wed, 03 May 2017)

  Changed paths:
    M hw/vfio/common.c

  Log Message:
  -----------
  vfio: Set MemoryRegionOps:max_access_size and min_access_size

Sets valid.max_access_size and valid.min_access_size to ensure safe
8-byte accesses to vfio. Today, 8-byte accesses are broken into pairs
of 4-byte calls that goes unprotected:

qemu_mutex_lock locked mutex 0x10905ad8
  vfio_region_write  (0001:03:00.0:region1+0xc0, 0x2020c, 4)
qemu_mutex_unlock unlocked mutex 0x10905ad8
qemu_mutex_lock locked mutex 0x10905ad8
  vfio_region_write  (0001:03:00.0:region1+0xc4, 0xa0000, 4)
qemu_mutex_unlock unlocked mutex 0x10905ad8

which occasionally leads to:

qemu_mutex_lock locked mutex 0x10905ad8
  vfio_region_write  (0001:03:00.0:region1+0xc0, 0x2030c, 4)
qemu_mutex_unlock unlocked mutex 0x10905ad8
qemu_mutex_lock locked mutex 0x10905ad8
  vfio_region_write  (0001:03:00.0:region1+0xc0, 0x1000c, 4)
qemu_mutex_unlock unlocked mutex 0x10905ad8
qemu_mutex_lock locked mutex 0x10905ad8
  vfio_region_write  (0001:03:00.0:region1+0xc4, 0xb0000, 4)
qemu_mutex_unlock unlocked mutex 0x10905ad8
qemu_mutex_lock locked mutex 0x10905ad8
  vfio_region_write  (0001:03:00.0:region1+0xc4, 0xa0000, 4)
qemu_mutex_unlock unlocked mutex 0x10905ad8

causing strange errors in guest OS. With this patch, such accesses
are protected by the same lock guard:

qemu_mutex_lock locked mutex 0x10905ad8
vfio_region_write  (0001:03:00.0:region1+0xc0, 0x2000c, 4)
vfio_region_write  (0001:03:00.0:region1+0xc4, 0xb0000, 4)
qemu_mutex_unlock unlocked mutex 0x10905ad8

This happens because the 8-byte write should be broken into 4-byte
writes by memory.c:access_with_adjusted_size() in order to be under
the same lock. Today, it's done in exec.c:address_space_write_continue()
which was able to handle only 4 bytes due to a zero'ed
valid.max_access_size (see exec.c:memory_access_size()).

Signed-off-by: Jose Ricardo Ziviani <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>


  Commit: 38d49e8c1523d97d2191190d3f7b4ce7a0ab5aa3
      
https://github.com/qemu/qemu/commit/38d49e8c1523d97d2191190d3f7b4ce7a0ab5aa3
  Author: Jose Ricardo Ziviani <address@hidden>
  Date:   2017-05-03 (Wed, 03 May 2017)

  Changed paths:
    M hw/vfio/common.c

  Log Message:
  -----------
  vfio: enable 8-byte reads/writes to vfio

This patch enables 8-byte writes and reads to VFIO. Such implemention
is already done but it's missing the 'case' to handle such accesses in
both vfio_region_write and vfio_region_read and the MemoryRegionOps:
impl.max_access_size and impl.min_access_size.

After this patch, 8-byte writes such as:

qemu_mutex_lock locked mutex 0x10905ad8
vfio_region_write  (0001:03:00.0:region1+0xc0, 0x4140c, 4)
vfio_region_write  (0001:03:00.0:region1+0xc4, 0xa0000, 4)
qemu_mutex_unlock unlocked mutex 0x10905ad8

goes like this:

qemu_mutex_lock locked mutex 0x10905ad8
vfio_region_write  (0001:03:00.0:region1+0xc0, 0xbfd0008, 8)
qemu_mutex_unlock unlocked mutex 0x10905ad8

Signed-off-by: Jose Ricardo Ziviani <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>


  Commit: 6e4e6f0d403b1fb25f9dfdbe17754c643997753d
      
https://github.com/qemu/qemu/commit/6e4e6f0d403b1fb25f9dfdbe17754c643997753d
  Author: Dong Jia Shi <address@hidden>
  Date:   2017-05-03 (Wed, 03 May 2017)

  Changed paths:
    M hw/vfio/pci.c

  Log Message:
  -----------
  vfio/pci: Fix incorrect error message

When the "No host device provided" error occurs, the hint message
that starts with "Use -vfio-pci," makes no sense, since "-vfio-pci"
is not a valid command line parameter.

Correct this by replacing "-vfio-pci" with "-device vfio-pci".

Signed-off-by: Dong Jia Shi <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>


  Commit: 461a4b944f7e036b2f6bd1fce83ad4fe09e5e2bc
      
https://github.com/qemu/qemu/commit/461a4b944f7e036b2f6bd1fce83ad4fe09e5e2bc
  Author: Stafford Horne <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M target/openrisc/mmu.c

  Log Message:
  -----------
  target/openrisc: Fixes for memory debugging

When debugging in gdb you might want to inspect instructions in mapped
pages or in exception vectors like 0x800 etc.  This was previously not
possible in qemu since the *get_phys_page_debug() routine only looked
into the data tlb.

Change to fall back to look into instruction tlb and plain physical
pages.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Stafford Horne <address@hidden>


  Commit: ef3f5b9e7f83262e1eaea884b0a562b9fa73859c
      
https://github.com/qemu/qemu/commit/ef3f5b9e7f83262e1eaea884b0a562b9fa73859c
  Author: Stafford Horne <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M target/openrisc/sys_helper.c

  Log Message:
  -----------
  target/openrisc: add numcores and coreid support

These are used to identify the processor in SMP system.  Their
definition has been defined in verilog cores but it not yet part of the
spec but it will be soon.

The proposal for this is available:
  https://openrisc.io/proposals/core-identifier-and-number-of-cores

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Stafford Horne <address@hidden>


  Commit: 4597992f624c015ceb51fedb4628b3fdb1e5bbaa
      
https://github.com/qemu/qemu/commit/4597992f624c015ceb51fedb4628b3fdb1e5bbaa
  Author: Stafford Horne <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M include/migration/cpu.h

  Log Message:
  -----------
  migration: Add VMSTATE_UINTTL_2DARRAY()

In openRISC we are implementing the shadow registers as a 2d array.
Using this target long method rather than direct 32-bit alternatives is
consistent with the rest of our vm state serialization logic.

Signed-off-by: Stafford Horne <address@hidden>


  Commit: d89e71e873dca0ca6d3b3adab283045a03f4ca99
      
https://github.com/qemu/qemu/commit/d89e71e873dca0ca6d3b3adab283045a03f4ca99
  Author: Stafford Horne <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/main.c
    M linux-user/openrisc/target_cpu.h
    M linux-user/openrisc/target_signal.h
    M linux-user/signal.c
    M target/openrisc/cpu.c
    M target/openrisc/cpu.h
    M target/openrisc/gdbstub.c
    M target/openrisc/machine.c
    M target/openrisc/sys_helper.c
    M target/openrisc/translate.c

  Log Message:
  -----------
  target/openrisc: implement shadow registers

Shadow registers are part of the openrisc spec along with sr[cid], as
part of the fast context switching feature.  When exceptions occur,
instead of having to save registers to the stack if enabled the CID will
increment and a new set of registers will be available.

This patch only implements shadow registers which can be used as extra
scratch registers via the mfspr and mtspr if required.  This is
implemented in a way where it would be easy to add on the fast context
switching, currently cid is hardcoded to 0.

This is need for openrisc linux smp kernels to boot correctly.

Signed-off-by: Stafford Horne <address@hidden>


  Commit: b75c958d888f3c973bae6c6471edacf53fb27182
      
https://github.com/qemu/qemu/commit/b75c958d888f3c973bae6c6471edacf53fb27182
  Author: Stafford Horne <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M include/migration/vmstate.h

  Log Message:
  -----------
  migration: Add VMSTATE_STRUCT_2DARRAY()

For openrisc we implement tlb state as a 2d array of tlb entry structs.
This is added to allow easy storing of state of 2d arrays.

Signed-off-by: Stafford Horne <address@hidden>


  Commit: acf57591c01cd0b1667e4f0ed2176d59cb5827aa
      
https://github.com/qemu/qemu/commit/acf57591c01cd0b1667e4f0ed2176d59cb5827aa
  Author: Stafford Horne <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M target/openrisc/machine.c

  Log Message:
  -----------
  target/openrisc: Implement full vmstate serialization

Previously serialization did not persist the tlb, timer, pic and other
key state items.  This meant snapshotting and restoring a running os
would crash. After adding these I am able to take snapshots of a
running linux os and restore at a later time.

I am currently not trying to maintain capatibility with older versions
as I do not believe this really worked before or anyone used it.

Signed-off-by: Stafford Horne <address@hidden>


  Commit: 48a1b62baaf45e4d8d5ffac77647f7e898d7f7f1
      
https://github.com/qemu/qemu/commit/48a1b62baaf45e4d8d5ffac77647f7e898d7f7f1
  Author: Stafford Horne <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M target/openrisc/cpu.c
    M target/openrisc/cpu.h

  Log Message:
  -----------
  target/openrisc: Remove duplicate features property

The features property has stored the exact same thing as the cpucfgr
spr. Remove the feature enum and property as it is not needed.

In order to preserve the behavior or keeping features accross reset this
patch moves cpucfgr into the non reset region of the state struct.  Since
the cpucfgr is read only this means we only need to sset cpucfgr once
during class init.

Signed-off-by: Stafford Horne <address@hidden>


  Commit: f4d1414a9385e3375d9107b29eeb75d27daf2147
      
https://github.com/qemu/qemu/commit/f4d1414a9385e3375d9107b29eeb75d27daf2147
  Author: Stafford Horne <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/openrisc/cputimer.c
    M target/openrisc/cpu.c
    M target/openrisc/cpu.h
    M target/openrisc/interrupt.c
    M target/openrisc/machine.c
    M target/openrisc/sys_helper.c

  Log Message:
  -----------
  target/openrisc: Support non-busy idle state using PMR SPR

The OpenRISC architecture has the Power Management Register (PMR)
special purpose register to manage cpu power states.  The interesting
modes are:

 * Doze Mode (DME) - Stop cpu except timer & pic - wake on interrupt
 * Sleep Mode (SME) - Stop cpu and all units - wake on interrupt
 * Suspend Model (SUME) - Stop cpu and all units - wake on reset

The linux kernel will set DME when idle.

This patch implements the PMR SPR and halts the qemu cpu when there is a
change to DME or SME.  This means that openrisc qemu in no longer peggs
a host cpu at 100%.

In order for this to work we need to kick the CPU when timers are
expired.  Update the cpu timer to kick the cpu upon each timer event.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Stafford Horne <address@hidden>


  Commit: 8ac55351459055f2faee585d9ba2f84707741815
      
https://github.com/qemu/qemu/commit/8ac55351459055f2faee585d9ba2f84707741815
  Author: Zihan Yang <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/intel-hda.c

  Log Message:
  -----------
  hw/audio: replace exit with unrealize in hda_codec_device_class_init

The exit callback of DeviceClass will be removed in the future, so
convert to unrealize in the init functioin

Signed-off-by: Zihan Yang <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 5eaa8e1e0f09ff08c9c683676eabb82ad1179647
      
https://github.com/qemu/qemu/commit/5eaa8e1e0f09ff08c9c683676eabb82ad1179647
  Author: Zihan Yang <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/hda-codec.c
    M hw/audio/intel-hda.h

  Log Message:
  -----------
  hw/audio: convert exit callback in HDACodecDeviceClass to void

The exit callback always return 0, convert it to void

Signed-off-by: Zihan Yang <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3268a845f41253fb55852a8429c32b50f36f349a
      
https://github.com/qemu/qemu/commit/3268a845f41253fb55852a8429c32b50f36f349a
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M audio/audio.c

  Log Message:
  -----------
  audio: release capture buffers

AUD_add_capture() allocates two buffers which are never released.
Add the missing calls to AUD_del_capture().

Impact: Allows vnc clients to exhaust host memory by repeatedly
starting and stopping audio capture.

Fixes: CVE-2017-8309
Cc: P J P <address@hidden>
Cc: Huawei PSIRT <address@hidden>
Reported-by: "Jiangxin (hunter, SCC)" <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Prasad J Pandit <address@hidden>
Message-id: address@hidden


  Commit: 7bdfd907e7072e380f325e735d99677df53f00ec
      
https://github.com/qemu/qemu/commit/7bdfd907e7072e380f325e735d99677df53f00ec
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M audio/wavcapture.c

  Log Message:
  -----------
  audio: fix WAVState leak

Spotted by ASAN.

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 68883a40789da236646a1a4bc43bb32d34ff0083
      
https://github.com/qemu/qemu/commit/68883a40789da236646a1a4bc43bb32d34ff0083
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/adlib.c

  Log Message:
  -----------
  adlib: Remove support for YMF262

Notice that the code was supposed to be in the file ymf262.h, that has
never been on qemu source tree.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: b6c6919e21ec856bc8f28836ab372644d44f884e
      
https://github.com/qemu/qemu/commit/b6c6919e21ec856bc8f28836ab372644d44f884e
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/Makefile.objs
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: remove Y8950 configuration

Include file has never been on qemu and it has been undefined from the very 
beginning.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2004429e9bf458b6415df497c19847cb4d27844c
      
https://github.com/qemu/qemu/commit/2004429e9bf458b6415df497c19847cb4d27844c
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Remove YM3526 support

It was never compiled in.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 882ab9d615e438b1298cda90193f81624dbbd632
      
https://github.com/qemu/qemu/commit/882ab9d615e438b1298cda90193f81624dbbd632
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: YM3812 was always defined

So, remove the ifdefs.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4a796e979e14ced4124c7cb4a22792b3db204554
      
https://github.com/qemu/qemu/commit/4a796e979e14ced4124c7cb4a22792b3db204554
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Remove UINT8

uint8_t has existed since ..... all this century?

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d8586afd8bbda11130a1536d61820fe809af22c5
      
https://github.com/qemu/qemu/commit/d8586afd8bbda11130a1536d61820fe809af22c5
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: remove UINT16

More modernitation.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3795f18095986cd41334e91d151609c7740c98a7
      
https://github.com/qemu/qemu/commit/3795f18095986cd41334e91d151609c7740c98a7
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: remove UINT32

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d2a4a01fa45ab357513a94ab90dbc57205206cac
      
https://github.com/qemu/qemu/commit/d2a4a01fa45ab357513a94ab90dbc57205206cac
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Remove INT8

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 7bf10b1de25c64cbec2acf2b4e0b2ce645a13b53
      
https://github.com/qemu/qemu/commit/7bf10b1de25c64cbec2acf2b4e0b2ce645a13b53
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: remove INT16

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 7f643fb53a1b09f644f1fc552e1c8faf98986e53
      
https://github.com/qemu/qemu/commit/7f643fb53a1b09f644f1fc552e1c8faf98986e53
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Remove INT32

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 8ec734d027955d8a708a2782df6113e2372564cd
      
https://github.com/qemu/qemu/commit/8ec734d027955d8a708a2782df6113e2372564cd
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Unfold OPLSAMPLE

It was used only once, and now it was always int16_t.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 7852b53acc951cc311cacd87d15198ef18d519e8
      
https://github.com/qemu/qemu/commit/7852b53acc951cc311cacd87d15198ef18d519e8
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Remove Unused OPL_TYPE_*

Since we removed the previous unused devices, they are not used anymore.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 8f7e2c2cb731765cde6521ae252d55f4d8a9a85f
      
https://github.com/qemu/qemu/commit/8f7e2c2cb731765cde6521ae252d55f4d8a9a85f
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/adlib.c
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Remove type field

It was not used anymore as now there is only one type of devices.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 9887e22155094c624599dea8023b73eb98e97b02
      
https://github.com/qemu/qemu/commit/9887e22155094c624599dea8023b73eb98e97b02
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Remove unused fields

These were used for the remove stuff.

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 0af81c56bf687b419ecf2f8e73cd6079a9323e4c
      
https://github.com/qemu/qemu/commit/0af81c56bf687b419ecf2f8e73cd6079a9323e4c
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/gusemu.h
    M hw/audio/gusemu_hal.c
    M hw/audio/gusemu_mixer.c

  Log Message:
  -----------
  audio: GUSbyte is uint8_t

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 222e0356fa383175ca3c60f7b76cc9dcbb15113f
      
https://github.com/qemu/qemu/commit/222e0356fa383175ca3c60f7b76cc9dcbb15113f
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/gusemu.h
    M hw/audio/gusemu_mixer.c

  Log Message:
  -----------
  audio: remove GUSchar

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 1c742f2b8e9bb86b33f70efb28c5badcad4ef104
      
https://github.com/qemu/qemu/commit/1c742f2b8e9bb86b33f70efb28c5badcad4ef104
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/gusemu.h

  Log Message:
  -----------
  audio: GUSword is uint16_t

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4bf7792aaedc1f66f94e21c1bae91bb4d208a08d
      
https://github.com/qemu/qemu/commit/4bf7792aaedc1f66f94e21c1bae91bb4d208a08d
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/gusemu_hal.c
    M hw/audio/gusemu_mixer.c

  Log Message:
  -----------
  audio: GUSword is uint16_t

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 135f5ae1974ccd8e77f004924a5fe7168be1b9eb
      
https://github.com/qemu/qemu/commit/135f5ae1974ccd8e77f004924a5fe7168be1b9eb
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/gus.c
    M hw/audio/gusemu.h
    M hw/audio/gusemu_hal.c
    M hw/audio/gusemu_mixer.c

  Log Message:
  -----------
  audio: GUSsample is int16_t

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 17a1694a56298df9902ecdaf91a5dc930ed915a9
      
https://github.com/qemu/qemu/commit/17a1694a56298df9902ecdaf91a5dc930ed915a9
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: OPLSetIRQHandler is not used anywhere

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: ade339896b7b6f660a7765e398b373b9b80a6258
      
https://github.com/qemu/qemu/commit/ade339896b7b6f660a7765e398b373b9b80a6258
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: OPLSetUpdateHandler is not used anywhere

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: e14e09c945fbca5dd0a01f689c70538d827734fb
      
https://github.com/qemu/qemu/commit/e14e09c945fbca5dd0a01f689c70538d827734fb
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: IRQHandler is not used anymore

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: b3b40917c75c28036b9c7e89a42ee6dfbeb3bf90
      
https://github.com/qemu/qemu/commit/b3b40917c75c28036b9c7e89a42ee6dfbeb3bf90
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: UpdateHandler is not used anymore

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3fab7b675a6ff6314b93fc580299cc6b59f96138
      
https://github.com/qemu/qemu/commit/3fab7b675a6ff6314b93fc580299cc6b59f96138
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: Remove unused typedefs

Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d52ccc0ecacbc61568138fa4c0fd58930078c664
      
https://github.com/qemu/qemu/commit/d52ccc0ecacbc61568138fa4c0fd58930078c664
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h

  Log Message:
  -----------
  audio: un-export OPLResetChip

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 9ea5ada76f34a0ef048b131c3a166d8564199bdb
      
https://github.com/qemu/qemu/commit/9ea5ada76f34a0ef048b131c3a166d8564199bdb
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/audio/fmopl.c

  Log Message:
  -----------
  audio: Use ARRAY_SIZE from qemu/osdep.h

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 6b6712efccd383b48a909bee0b29e079a57601ec
      
https://github.com/qemu/qemu/commit/6b6712efccd383b48a909bee0b29e079a57601ec
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M include/exec/ram_addr.h
    M include/migration/migration.h
    M include/migration/postcopy-ram.h
    M migration/postcopy-ram.c
    M migration/ram.c

  Log Message:
  -----------
  ram: Split dirty bitmap by RAMBlock

Both the ram bitmap and the unsent bitmap are split by RAMBlock.

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
Reviewed-by: Peter Xu <address@hidden>

--

Fix compilation when DEBUG_POSTCOPY is enabled (thanks Hailiang)


  Commit: 062d81f0e968fe1597474735f3ea038065027372
      
https://github.com/qemu/qemu/commit/062d81f0e968fe1597474735f3ea038065027372
  Author: Daniel P. Berrange <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M migration/exec.c

  Log Message:
  -----------
  migration: setup bi-directional I/O channel for exec: protocol

Historically the migration data channel has only needed to be
unidirectional. Thus the 'exec:' protocol was requesting an
I/O channel with O_RDONLY on incoming side, and O_WRONLY on
the outgoing side.

This is fine for classic migration, but if you then try to run
TLS over it, this fails because the TLS handshake requires a
bi-directional channel.

Signed-off-by: Daniel P. Berrange <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: fd4144d41302d288acdb6d309f658df7a8254612
      
https://github.com/qemu/qemu/commit/fd4144d41302d288acdb6d309f658df7a8254612
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M migration/socket.c
    M migration/tls.c

  Log Message:
  -----------
  migration: to_dst_file at that point is NULL

We have just arrived as:

migration.c: qemu_migrate()
  ....
  s = migrate_init() <- puts it to NULL
  ....
  {tcp,unix}_start_outgoing_migration ->
     socket_outgoing_migration
  migration_channel_connect()
           sets to_dst_file

if tls is enabled, we do another round through
migrate_channel_tls_connect(), but we only set it up if there is no
error.  So we don't need the assignation.  I am removing it to remove
in the follwing patches the knowledge about MigrationState in that two
files.

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Daniel P. Berrange <address@hidden>
Reviewed-by: Peter Xu <address@hidden>


  Commit: c34c2f3701e38a06bc9849bee9eac9131a4fdaad
      
https://github.com/qemu/qemu/commit/c34c2f3701e38a06bc9849bee9eac9131a4fdaad
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M include/sysemu/sysemu.h
    M migration/savevm.c
    M replay/replay-snapshot.c

  Log Message:
  -----------
  monitor: Remove monitor parameter from save_vmstate

load_vmstate() already use error_report, so be consistent.  There is
an identical error message in load_vmstate() that ends in a
period. Remove it.

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>


  Commit: 52b262051209bcf6064ca3a8bc8dbe0c04a6960d
      
https://github.com/qemu/qemu/commit/52b262051209bcf6064ca3a8bc8dbe0c04a6960d
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hmp.c
    M hmp.h
    M monitor.c

  Log Message:
  -----------
  monitor: Move hmp_loadvm from monitor.c to hmp.c

We are going to move the rest of hmp snapshots functions there instead
of monitor.c.

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>


  Commit: d9c7d137c8f208fbe5b72f64eff96565e4380d8f
      
https://github.com/qemu/qemu/commit/d9c7d137c8f208fbe5b72f64eff96565e4380d8f
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hmp.c
    M hmp.h
    M include/sysemu/sysemu.h
    M migration/savevm.c

  Log Message:
  -----------
  monitor: Move hmp_savevm from savevm.c to hmp.c

It is a monitor command, and has nothing migration specific in it.

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>


  Commit: d905bb7b747dbb6409b1498396fa8569312e779f
      
https://github.com/qemu/qemu/commit/d905bb7b747dbb6409b1498396fa8569312e779f
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hmp.c
    M hmp.h
    M include/sysemu/sysemu.h
    M migration/savevm.c

  Log Message:
  -----------
  monitor: Move hmp_delvm from savevm.c to hmp.c

It really uses block/* stuff, not migration one.

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>


  Commit: 6683061873095ad3f34f73bd32553c1d2c559e82
      
https://github.com/qemu/qemu/commit/6683061873095ad3f34f73bd32553c1d2c559e82
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hmp.c
    M hmp.h
    M include/sysemu/sysemu.h
    M migration/savevm.c

  Log Message:
  -----------
  monitor: Move hmp_info_snapshots from savevm.c to hmp.c

It only uses block/* functions, nothing from migration.

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>


  Commit: ae92cbd542086a508343dd88fd3b980f3be1b3af
      
https://github.com/qemu/qemu/commit/ae92cbd542086a508343dd88fd3b980f3be1b3af
  Author: Jing Liu <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char-socket.c
    M chardev/char.c
    M include/sysemu/char.h
    M qapi-schema.json

  Log Message:
  -----------
  chardev: Basic support for TN3270

This introduces basic support for TN3270, which needs to negotiate
three Telnet options during handshake:
  - End of Record
  - Binary Transmission
  - Terminal-Type

As a basic implementation, this simply ignores NOP and Interrupt
Process(IP) commands. More work should be done for them later.

For more details, please refer to RFC 854 and 1576.

Signed-off-by: Jing Liu <address@hidden>
Signed-off-by: Yang Chen <address@hidden>
Reviewed-by: QingFeng Hao <address@hidden>
Acked-by: Dong Jia Shi <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 6c15e9bfb687f40cc92759536ef2a918fb04349b
      
https://github.com/qemu/qemu/commit/6c15e9bfb687f40cc92759536ef2a918fb04349b
  Author: Jing Liu <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/s390x/css.c
    M include/hw/s390x/css.h

  Log Message:
  -----------
  s390x/css: Add an algorithm to find a free chpid

This introduces a function named css_find_free_chpid() to find a
free channel path. Because virtio-ccw device used zero as its
channel path number, it would be sensible to skip the reserved one
and search upwards.

Signed-off-by: Jing Liu <address@hidden>
Reviewed-by: QingFeng Hao <address@hidden>
Reviewed-by: Dong Jia Shi <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: ff20b0a3d8bc044405d750a346c7b48514ff5ddc
      
https://github.com/qemu/qemu/commit/ff20b0a3d8bc044405d750a346c7b48514ff5ddc
  Author: Yang Chen <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    A hw/s390x/3270-ccw.c
    M hw/s390x/Makefile.objs
    A include/hw/s390x/3270-ccw.h

  Log Message:
  -----------
  s390x/3270: Add abstract emulated ccw-attached 3270 device

This introduces the infrastructure for the emulated 3270
devices, which will be attached to the virtual-css-bus.

Signed-off-by: Yang Chen <address@hidden>
Signed-off-by: Jing Liu <address@hidden>
Reviewed-by: QingFeng Hao <address@hidden>
Reviewed-by: Dong Jia Shi <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: b8476205409ace2140d734c04ba4ea7f649692cf
      
https://github.com/qemu/qemu/commit/b8476205409ace2140d734c04ba4ea7f649692cf
  Author: Yang Chen <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    A hw/char/terminal3270.c

  Log Message:
  -----------
  s390x/3270: Add emulated terminal3270 device

This is a basic implementation of the emulated ccw-attached 3270
called x-terminal3270, which provides visibility of the device in
the qemu monitor and guest. The x prefix indicates that this is
just an experimental implementation for the current stage. This
device will not be compiled until the basic functions are available.

Signed-off-by: Yang Chen <address@hidden>
Signed-off-by: Jing Liu <address@hidden>
Reviewed-by: QingFeng Hao <address@hidden>
Reviewed-by: Dong Jia Shi <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 2dc95b4cac5e8c68563c2e82ee9606896c54217c
      
https://github.com/qemu/qemu/commit/2dc95b4cac5e8c68563c2e82ee9606896c54217c
  Author: Jing Liu <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/char/terminal3270.c
    M hw/s390x/3270-ccw.c
    M hw/s390x/css.c
    M include/hw/s390x/3270-ccw.h

  Log Message:
  -----------
  s390x/3270: 3270 data stream handling

This introduces the input and output handlers for 3270 device, setting
up the data tunnel among guest kernel, qemu and the 3270 client.

After the client connected and TN3270 handshake done, signal the not-ready
to ready status by an unsolicited device-end interrupt, and then the 3270
data stream could be handled correctly between the channel and socket.
Multiple commands generated by "Reset" key on x3270 are not supported now,
just simply terminate the connection.

Signed-off-by: Jing Liu <address@hidden>
Signed-off-by: Yang Chen <address@hidden>
Reviewed-by: QingFeng Hao <address@hidden>
Reviewed-by: Dong Jia Shi <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 4996241a4a9dc82509d3fed07b1ee51d4d37bce6
      
https://github.com/qemu/qemu/commit/4996241a4a9dc82509d3fed07b1ee51d4d37bce6
  Author: Jing Liu <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/char/terminal3270.c

  Log Message:
  -----------
  s390x/3270: Add the TCP socket events handler for 3270

This introduces a chr_event handler to handle the 3270 connection
and disconnection events.

Signed-off-by: Jing Liu <address@hidden>
Reviewed-by: QingFeng Hao <address@hidden>
Reviewed-by: Dong Jia Shi <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: e65a27209ca81ca8c720352b184441dba05f0fac
      
https://github.com/qemu/qemu/commit/e65a27209ca81ca8c720352b184441dba05f0fac
  Author: Jing Liu <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/char/terminal3270.c

  Log Message:
  -----------
  s390x/3270: Detect for continued presence of a 3270 client

To ensure that we do not keep any 3270 sockets where the client is not
connected anymore, we send a packet with the timing mark option after
ten minutes of client inactivity. If the client does not answer it,
then the socket will be closed automatically.

This helps to ensure that there is no half-open situation on the 3270
socket.

Signed-off-by: Jing Liu <address@hidden>
Reviewed-by: QingFeng Hao <address@hidden>
Reviewed-by: Dong Jia Shi <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 9e8b3009b7dbe4c2f3e407999e30813122fa4af9
      
https://github.com/qemu/qemu/commit/9e8b3009b7dbe4c2f3e407999e30813122fa4af9
  Author: Jing Liu <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M default-configs/s390x-softmmu.mak
    M hw/char/Makefile.objs
    M hw/char/terminal3270.c

  Log Message:
  -----------
  s390x/3270: Mark non-migratable and enable the device

Mark 3270 as non-migratable for the experimental stage. Enable
the 3270 device so that we can use x3270 client to operate the guest.

Run qemu with the arguments:
    -chardev socket,id=char3270_0,host=0.0.0.0,port=23,nowait,server,tn3270 \
    -device x-terminal3270,chardev=char3270_0,devno=fe.0.000a,id=terminal3270_0 
\

There are some restrictions for the first stage: We don't support SSL
connections, multiple client connections and client resizing. Only
tested with the x3270 client.

Signed-off-by: Jing Liu <address@hidden>
Signed-off-by: Yang Chen <address@hidden>
Reviewed-by: QingFeng Hao <address@hidden>
Reviewed-by: Dong Jia Shi <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: be07b0ace82b0f23bee194de9e4481c308645376
      
https://github.com/qemu/qemu/commit/be07b0ace82b0f23bee194de9e4481c308645376
  Author: Juan Quintela <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    R include/migration/postcopy-ram.h
    M migration/migration.c
    M migration/postcopy-ram.c
    A migration/postcopy-ram.h
    M migration/ram.c
    M migration/savevm.c

  Log Message:
  -----------
  migration: Move postcopy-ram.h to migration/

It is internal to migration, not intended for other users.

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>


  Commit: 1db9d8e501fc99fa2201f228627952aee6cfc349
      
https://github.com/qemu/qemu/commit/1db9d8e501fc99fa2201f228627952aee6cfc349
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M migration/ram.c
    M migration/trace-events

  Log Message:
  -----------
  migration: Extra tracing

A couple more traces that would have made fixing that postcopy
bug a bit easier.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 636181352788f7ba570e9055ec9352ba2badb751
      
https://github.com/qemu/qemu/commit/636181352788f7ba570e9055ec9352ba2badb751
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char-pty.c
    M chardev/char-socket.c
    M chardev/char.c
    M include/sysemu/char.h
    M ui/console.c
    M ui/gtk.c

  Log Message:
  -----------
  char: remove qemu_chr_be_generic_open

The function simply alias and hides the real event function.

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: bed3bb9b7e5ee28ebec50c30604cdfd522d6f6e6
      
https://github.com/qemu/qemu/commit/bed3bb9b7e5ee28ebec50c30604cdfd522d6f6e6
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char-mux.c
    M chardev/char-mux.h
    M chardev/char.c

  Log Message:
  -----------
  mux: simplfy muxes_realize_done

mux_chr_event() already send events to all backends, rename it,
export it, and use it from muxes_realize_done. This should help abstract
away mux implementation.

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 315dd72d7580b74232cfc8381a86d37999b95199
      
https://github.com/qemu/qemu/commit/315dd72d7580b74232cfc8381a86d37999b95199
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M hw/xen/xen-common.c

  Log Message:
  -----------
  xen: use a better chardev type check

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: f8df5f922152a47b3889921d249e00dab766d950
      
https://github.com/qemu/qemu/commit/f8df5f922152a47b3889921d249e00dab766d950
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M qom/container.c

  Log Message:
  -----------
  container: don't leak container reference

object_property_add_child() references the child, unref it after to
avoid ref leaks.

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 2f5d45a150b2f20f7423aed185c1e99e1d4d23cd
      
https://github.com/qemu/qemu/commit/2f5d45a150b2f20f7423aed185c1e99e1d4d23cd
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char.c
    M gdbstub.c
    M hw/usb/ccid-card-passthru.c
    M hw/usb/redirect.c
    M include/sysemu/char.h
    M net/vhost-user.c
    M tests/test-char.c
    M tests/vhost-user-test.c

  Log Message:
  -----------
  char: add a /chardevs container

Add a /chardevs container object to hold the list of chardevs.
(Note: QTAILQ chardevs is going away in the following commits)

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: 474628e837bd03a176560c7165e0df9e3d071330
      
https://github.com/qemu/qemu/commit/474628e837bd03a176560c7165e0df9e3d071330
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl: add todo note about root container cleanup

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: 6061162e525189a43e93015899ad5abc7dba5629
      
https://github.com/qemu/qemu/commit/6061162e525189a43e93015899ad5abc7dba5629
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char.c

  Log Message:
  -----------
  char: use /chardevs container instead of chardevs list

Use object_resolve_path_component() and object_child_foreach() on
/chardevs container instead of iterating over chardevs list.

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: c5749f7c0b80ef2b8a057971f0e03f94afa8cc98
      
https://github.com/qemu/qemu/commit/c5749f7c0b80ef2b8a057971f0e03f94afa8cc98
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char.c

  Log Message:
  -----------
  char: remove qemu_chardev_add

qemu_chardev_new() now uses object_new_with_props() with /chardevs
parent container. It will fail to insert the object if the same "id"
already exists. "chardevs" list usage has been removed in previous
commits.

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: 1e13edf355614db7c755df8fbf84d9d84b4bce92
      
https://github.com/qemu/qemu/commit/1e13edf355614db7c755df8fbf84d9d84b4bce92
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char.c
    M include/sysemu/char.h

  Log Message:
  -----------
  char: remove chardevs list

The list is now empty, the chardev cleanup is taken care of by the unref
of the root container.

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: e1f98fe48a049366e754c055cc3ea99dcf6cb688
      
https://github.com/qemu/qemu/commit/e1f98fe48a049366e754c055cc3ea99dcf6cb688
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char.c

  Log Message:
  -----------
  char: useless NULL check

g_strdup(NULL) returns NULL already.

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: bbcde969b242fc4b3ab84097f7783cfe0920e69f
      
https://github.com/qemu/qemu/commit/bbcde969b242fc4b3ab84097f7783cfe0920e69f
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char-socket.c

  Log Message:
  -----------
  char-socket: introduce update_disconnected_filename()

This helper will be used in yet another place in the following patch.

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: bc763d71440552b677bc372e8261b9d127330657
      
https://github.com/qemu/qemu/commit/bc763d71440552b677bc372e8261b9d127330657
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char-socket.c

  Log Message:
  -----------
  char-socket: update local address after listen

This is mainly useful to know the actual bound port when using port 0.

For example, when starting qemu with socket on port 0, before:
QEMU waiting for connection on: disconnected:tcp:localhost:0,server
After:
QEMU waiting for connection on: disconnected:tcp:localhost:32454,server

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: 123676e9894fa221943eafda97e6954c2819b215
      
https://github.com/qemu/qemu/commit/123676e9894fa221943eafda97e6954c2819b215
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char-socket.c

  Log Message:
  -----------
  char-socket: add 'addr' property

Add a property to lookup the connection details.

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: da2d19b080f6214b646a9f250760f5f41adcd21b
      
https://github.com/qemu/qemu/commit/da2d19b080f6214b646a9f250760f5f41adcd21b
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char-socket.c

  Log Message:
  -----------
  char-socket: add 'connected' property

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: e0b6767b6c56a08827e35873e7d259d08e4b3ee5
      
https://github.com/qemu/qemu/commit/e0b6767b6c56a08827e35873e7d259d08e4b3ee5
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M chardev/char-udp.c

  Log Message:
  -----------
  char-udp: flush as much buffer as possible

Instead of flushing the buffer byte by byte, call qemu_chr_be_write()
with as much byte possible accepted by the front-end.

Factor out buffer flushing in a common function udp_chr_flush_buffer().

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: e24ef0db4fabfe1f64854cfd2a2b5aaddc90f379
      
https://github.com/qemu/qemu/commit/e24ef0db4fabfe1f64854cfd2a2b5aaddc90f379
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  tests: add alias check in /char/ringbuf

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: a86c83d704c379ac54b6121def389acb49f042a6
      
https://github.com/qemu/qemu/commit/a86c83d704c379ac54b6121def389acb49f042a6
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  tests: add /char/pipe test

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: 9dbaa4ce58e9fad263b1dc8e88bb782f544b5a41
      
https://github.com/qemu/qemu/commit/9dbaa4ce58e9fad263b1dc8e88bb782f544b5a41
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  tests: add /char/file test

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: d47fb5d17c049b7add784c088f327d506097a970
      
https://github.com/qemu/qemu/commit/d47fb5d17c049b7add784c088f327d506097a970
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  tests: add /char/socket test

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: bb1490486df2ea60c57a1d72c6a779ab1652b429
      
https://github.com/qemu/qemu/commit/bb1490486df2ea60c57a1d72c6a779ab1652b429
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  tests: add /char/udp test

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: 79c8db5a13c0f4b73f930be0fcff9bbc1237c258
      
https://github.com/qemu/qemu/commit/79c8db5a13c0f4b73f930be0fcff9bbc1237c258
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  tests: add /char/console test

Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: 4f225f343adb23c6903cb02948d1e27a04f7916e
      
https://github.com/qemu/qemu/commit/4f225f343adb23c6903cb02948d1e27a04f7916e
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M hw/s390x/ipl.c
    M hw/s390x/ipl.h
    M hw/s390x/s390-virtio-ccw.c
    M hw/s390x/sclp.c
    M include/hw/s390x/s390-virtio-ccw.h
    M pc-bios/s390-ccw.img
    M pc-bios/s390-ccw/Makefile
    M pc-bios/s390-ccw/bootmap.c
    M pc-bios/s390-ccw/bootmap.h
    M pc-bios/s390-ccw/main.c
    M pc-bios/s390-ccw/s390-ccw.h
    R pc-bios/s390-ccw/sclp-ascii.c
    A pc-bios/s390-ccw/sclp.c
    M pc-bios/s390-ccw/sclp.h
    M util/qemu-config.c

  Log Message:
  -----------
  Merge remote-tracking branch 'cohuck/tags/s390x-20170502' into staging

More s390x patches, this time boot related:
- LOADPARM machine property, exposed to the guest via SCLP and
  diagnose 308
- Use LOADPARM in the s390-ccw bios to select a boot entry
- Fix a crash in the ipl device code when a virtio-scsi-pci device
  has been specified

# gpg: Signature made Tue 02 May 2017 02:29:26 PM BST
# gpg:                using RSA key 0xDECF6B93C6F02FAF
# gpg: Good signature from "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF

* cohuck/tags/s390x-20170502:
  hw/s390x/ipl: Fix crash with virtio-scsi-pci device
  pc-bios/s390-ccw.img: update image
  pc-bios/s390-ccw: add boot entry selection to El Torito routine
  pc-bios/s390-ccw: add boot entry selection for ECKD DASD
  pc-bios/s390-ccw: provide entry selection on LOADPARM for SCSI disk
  pc-bios/s390-ccw: provide a function to interpret LOADPARM value
  pc-bios/s390-ccw: get LOADPARM stored in SCP Read Info
  pc-bios/s390-ccw: Make ebcdic/ascii conversion public
  util/qemu-config: Add loadparm to qemu machine_opts
  hw/s390x/sclp: update LOADPARM in SCP Info
  hw/s390x/ipl: enable LOADPARM in IPIB for a boot device
  hw/s390x: provide loadparm property for the machine

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


  Commit: 4f3652b3aa5f77582c94ac434e960db242430eac
      
https://github.com/qemu/qemu/commit/4f3652b3aa5f77582c94ac434e960db242430eac
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M hw/vfio/common.c
    M hw/vfio/pci.c

  Log Message:
  -----------
  Merge remote-tracking branch 'awilliam/tags/vfio-updates-20170503.0' into 
staging

VFIO fixes 2017-05-03

 - Enable 8-byte memory region accesses (Jose Ricardo Ziviani)
 - Fix vfio-pci error message (Dong Jia Shi)

# gpg: Signature made Wed 03 May 2017 10:28:55 PM BST
# gpg:                using RSA key 0x239B9B6E3BB08B22
# gpg: Good signature from "Alex Williamson <address@hidden>"
# gpg:                 aka "Alex Williamson <address@hidden>"
# gpg:                 aka "Alex Williamson <address@hidden>"
# gpg:                 aka "Alex Williamson <address@hidden>"
# Primary key fingerprint: 42F6 C04E 540B D1A9 9E7B  8A90 239B 9B6E 3BB0 8B22

* awilliam/tags/vfio-updates-20170503.0:
  vfio/pci: Fix incorrect error message
  vfio: enable 8-byte reads/writes to vfio
  vfio: Set MemoryRegionOps:max_access_size and min_access_size

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


  Commit: 317134bb54bbaf13548c35d92cb00c650a18e32f
      
https://github.com/qemu/qemu/commit/317134bb54bbaf13548c35d92cb00c650a18e32f
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M MAINTAINERS
    M hw/openrisc/cputimer.c
    M include/migration/cpu.h
    M include/migration/vmstate.h
    M linux-user/elfload.c
    M linux-user/main.c
    M linux-user/openrisc/target_cpu.h
    M linux-user/openrisc/target_signal.h
    M linux-user/signal.c
    M target/openrisc/cpu.c
    M target/openrisc/cpu.h
    M target/openrisc/gdbstub.c
    M target/openrisc/interrupt.c
    M target/openrisc/machine.c
    M target/openrisc/mmu.c
    M target/openrisc/sys_helper.c
    M target/openrisc/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'shorne/tags/pull-or-20170504' into staging

Openrisc Features and Fixes for qemu 2.10

# gpg: Signature made Thu 04 May 2017 01:41:45 AM BST
# gpg:                using RSA key 0xC3B31C2D5E6627E4
# gpg: Good signature from "Stafford Horne <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: D9C4 7354 AEF8 6C10 3A25  EFF1 C3B3 1C2D 5E66 27E4

* shorne/tags/pull-or-20170504:
  target/openrisc: Support non-busy idle state using PMR SPR
  target/openrisc: Remove duplicate features property
  target/openrisc: Implement full vmstate serialization
  migration: Add VMSTATE_STRUCT_2DARRAY()
  target/openrisc: implement shadow registers
  migration: Add VMSTATE_UINTTL_2DARRAY()
  target/openrisc: add numcores and coreid support
  target/openrisc: Fixes for memory debugging
  target/openrisc: Implement EPH bit
  target/openrisc: Implement EVBAR register
  MAINTAINERS: Add myself as openrisc maintainer

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


  Commit: dd76c10f9fa25f1117d28bca09c6bce0c53d2a3f
      
https://github.com/qemu/qemu/commit/dd76c10f9fa25f1117d28bca09c6bce0c53d2a3f
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M hw/input/hid.c
    M hw/input/trace-events
    M ui/input.c

  Log Message:
  -----------
  Merge remote-tracking branch 'kraxel/tags/pull-input-20170504-1' into staging

input: limit kbd queue depth
input: don't queue delay if paused
input: Add trace event for empty keyboard queue

# gpg: Signature made Thu 04 May 2017 06:48:37 AM BST
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* kraxel/tags/pull-input-20170504-1:
  input: Add trace event for empty keyboard queue
  input: don't queue delay if paused
  input: limit kbd queue depth

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


  Commit: bc56fd3a23c94302937ed023d33e17a2de1a1b2a
      
https://github.com/qemu/qemu/commit/bc56fd3a23c94302937ed023d33e17a2de1a1b2a
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M audio/audio.c
    M audio/wavcapture.c
    M hw/audio/Makefile.objs
    M hw/audio/adlib.c
    M hw/audio/fmopl.c
    M hw/audio/fmopl.h
    M hw/audio/gus.c
    M hw/audio/gusemu.h
    M hw/audio/gusemu_hal.c
    M hw/audio/gusemu_mixer.c
    M hw/audio/hda-codec.c
    M hw/audio/intel-hda.c
    M hw/audio/intel-hda.h

  Log Message:
  -----------
  Merge remote-tracking branch 'kraxel/tags/pull-audio-20170504-1' into staging

audio: cleanups, bugfixes (memory leaks).

# gpg: Signature made Thu 04 May 2017 08:16:50 AM BST
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* kraxel/tags/pull-audio-20170504-1: (30 commits)
  audio: Use ARRAY_SIZE from qemu/osdep.h
  audio: un-export OPLResetChip
  audio: Remove unused typedefs
  audio: UpdateHandler is not used anymore
  audio: IRQHandler is not used anymore
  audio: OPLSetUpdateHandler is not used anywhere
  audio: OPLSetIRQHandler is not used anywhere
  audio: GUSsample is int16_t
  audio: GUSword is uint16_t
  audio: GUSword is uint16_t
  audio: remove GUSchar
  audio: GUSbyte is uint8_t
  audio: Remove unused fields
  audio: Remove type field
  audio: Remove Unused OPL_TYPE_*
  audio: Unfold OPLSAMPLE
  audio: Remove INT32
  audio: remove INT16
  audio: Remove INT8
  audio: remove UINT32
  ...

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


  Commit: 4aee86c60a53a3478d9799a4464cf0bc08071148
      
https://github.com/qemu/qemu/commit/4aee86c60a53a3478d9799a4464cf0bc08071148
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M hmp.c
    M hmp.h
    M include/exec/ram_addr.h
    M include/migration/migration.h
    R include/migration/postcopy-ram.h
    M include/sysemu/sysemu.h
    M migration/exec.c
    M migration/migration.c
    M migration/postcopy-ram.c
    A migration/postcopy-ram.h
    M migration/ram.c
    M migration/savevm.c
    M migration/socket.c
    M migration/tls.c
    M migration/trace-events
    M monitor.c
    M replay/replay-snapshot.c

  Log Message:
  -----------
  Merge remote-tracking branch 'quintela/tags/migration/20170504' into staging

migration/next for 20170504

# gpg: Signature made Thu 04 May 2017 10:35:41 AM BST
# gpg:                using RSA key 0xF487EF185872D723
# gpg: Good signature from "Juan Quintela <address@hidden>"
# gpg:                 aka "Juan Quintela <address@hidden>"
# Primary key fingerprint: 1899 FF8E DEBF 58CC EE03  4B82 F487 EF18 5872 D723

* quintela/tags/migration/20170504:
  migration: Extra tracing
  migration: Move postcopy-ram.h to migration/
  monitor: Move hmp_info_snapshots from savevm.c to hmp.c
  monitor: Move hmp_delvm from savevm.c to hmp.c
  monitor: Move hmp_savevm from savevm.c to hmp.c
  monitor: Move hmp_loadvm from monitor.c to hmp.c
  monitor: Remove monitor parameter from save_vmstate
  migration: to_dst_file at that point is NULL
  migration: setup bi-directional I/O channel for exec: protocol
  ram: Split dirty bitmap by RAMBlock

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


  Commit: f03f9f0c10dcfadee5811d43240f0a6af230f1ce
      
https://github.com/qemu/qemu/commit/f03f9f0c10dcfadee5811d43240f0a6af230f1ce
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M chardev/char-socket.c
    M chardev/char.c
    M default-configs/s390x-softmmu.mak
    M hw/char/Makefile.objs
    A hw/char/terminal3270.c
    A hw/s390x/3270-ccw.c
    M hw/s390x/Makefile.objs
    M hw/s390x/css.c
    A include/hw/s390x/3270-ccw.h
    M include/hw/s390x/css.h
    M include/sysemu/char.h
    M qapi-schema.json

  Log Message:
  -----------
  Merge remote-tracking branch 'cohuck/tags/s390x-3270-20170504' into staging

Basic support for using channel-attached 3270 'green-screen'
devices via tn3270. Actual handling of the data stream is
delegated to x3270; more info at http://wiki.qemu.org/Features/3270

# gpg: Signature made Thu 04 May 2017 11:36:51 AM BST
# gpg:                using RSA key 0xDECF6B93C6F02FAF
# gpg: Good signature from "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF

* cohuck/tags/s390x-3270-20170504:
  s390x/3270: Mark non-migratable and enable the device
  s390x/3270: Detect for continued presence of a 3270 client
  s390x/3270: Add the TCP socket events handler for 3270
  s390x/3270: 3270 data stream handling
  s390x/3270: Add emulated terminal3270 device
  s390x/3270: Add abstract emulated ccw-attached 3270 device
  s390x/css: Add an algorithm to find a free chpid
  chardev: Basic support for TN3270

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


  Commit: dd1559bb267becbb838de41132ef60771d183e5d
      
https://github.com/qemu/qemu/commit/dd1559bb267becbb838de41132ef60771d183e5d
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M chardev/char-mux.c
    M chardev/char-mux.h
    M chardev/char-pty.c
    M chardev/char-socket.c
    M chardev/char-udp.c
    M chardev/char.c
    M gdbstub.c
    M hw/usb/ccid-card-passthru.c
    M hw/usb/redirect.c
    M hw/xen/xen-common.c
    M include/sysemu/char.h
    M net/vhost-user.c
    M qom/container.c
    M tests/test-char.c
    M tests/vhost-user-test.c
    M ui/console.c
    M ui/gtk.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'elmarco/tags/chr-tests-pull-request' into 
staging

# gpg: Signature made Thu 04 May 2017 12:42:10 PM BST
# gpg:                using RSA key 0xDAE8E10975969CE5
# gpg: Good signature from "Marc-André Lureau <address@hidden>"
# gpg:                 aka "Marc-André Lureau <address@hidden>"
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5

* elmarco/tags/chr-tests-pull-request: (21 commits)
  tests: add /char/console test
  tests: add /char/udp test
  tests: add /char/socket test
  tests: add /char/file test
  tests: add /char/pipe test
  tests: add alias check in /char/ringbuf
  char-udp: flush as much buffer as possible
  char-socket: add 'connected' property
  char-socket: add 'addr' property
  char-socket: update local address after listen
  char-socket: introduce update_disconnected_filename()
  char: useless NULL check
  char: remove chardevs list
  char: remove qemu_chardev_add
  char: use /chardevs container instead of chardevs list
  vl: add todo note about root container cleanup
  char: add a /chardevs container
  container: don't leak container reference
  xen: use a better chardev type check
  mux: simplfy muxes_realize_done
  ...

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


Compare: https://github.com/qemu/qemu/compare/12a95f320a36...dd1559bb267b

reply via email to

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