qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 88ca7b: QMP: Remove duplicate TPM type from q


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 88ca7b: QMP: Remove duplicate TPM type from query-tpm
Date: Tue, 26 Mar 2013 08:30:22 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 88ca7bcff1806594c80782ad19ba50db47086b23
      
https://github.com/qemu/qemu/commit/88ca7bcff1806594c80782ad19ba50db47086b23
  Author: Corey Bryant <address@hidden>
  Date:   2013-03-25 (Mon, 25 Mar 2013)

  Changed paths:
    M hmp.c
    M qapi-schema.json
    M tpm/tpm.c

  Log Message:
  -----------
  QMP: Remove duplicate TPM type from query-tpm

Signed-off-by: Corey Bryant <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 28c4fa32bd76268320d44db5d82e0d18fbc7c864
      
https://github.com/qemu/qemu/commit/28c4fa32bd76268320d44db5d82e0d18fbc7c864
  Author: Corey Bryant <address@hidden>
  Date:   2013-03-25 (Mon, 25 Mar 2013)

  Changed paths:
    M qemu-options.hx
    M qmp-commands.hx

  Log Message:
  -----------
  QMP: TPM QMP and man page documentation updates

Signed-off-by: Corey Bryant <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: e5ecec7bad7b679aa11ab788424bc0e1705be15b
      
https://github.com/qemu/qemu/commit/e5ecec7bad7b679aa11ab788424bc0e1705be15b
  Author: Igor Mammedov <address@hidden>
  Date:   2013-03-25 (Mon, 25 Mar 2013)

  Changed paths:
    M QMP/qmp-shell

  Log Message:
  -----------
  qmp: fix handling of boolean values in qmp-shell

qmp-shell converts only integer arguments and the rest
is assumed to be strings which are faithfully sent as
quoted strings by json. But QEMU refuses to accept qmp
command with boolean argument whose value is escaped
as string.

Fix it by special-casing true/false keywords and store
value as corresponding boolean.

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 4d700430a20b3d53b7b15bc5f6666f7e570e3f2c
      
https://github.com/qemu/qemu/commit/4d700430a20b3d53b7b15bc5f6666f7e570e3f2c
  Author: Michal Novotny <address@hidden>
  Date:   2013-03-25 (Mon, 25 Mar 2013)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M monitor.c
    M qapi-schema.json
    M qmp-commands.hx
    M vl.c

  Log Message:
  -----------
  New QMP command query-cpu-max and HMP command cpu_max

These commands return the maximum number of CPUs supported by the
currently running emulator instance, as defined in its QEMUMachine
struct.

Signed-off-by: Michal Novotny <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 2fd1a053e3696738d7499733df0feb1efd0d97e0
      
https://github.com/qemu/qemu/commit/2fd1a053e3696738d7499733df0feb1efd0d97e0
  Author: Anthony Liguori <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M QMP/qmp-shell
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M monitor.c
    M qapi-schema.json
    M qemu-options.hx
    M qmp-commands.hx
    M tpm/tpm.c
    M vl.c

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

# By Corey Bryant (2) and others
# Via Luiz Capitulino
* luiz/queue/qmp:
  New QMP command query-cpu-max and HMP command cpu_max
  qmp: fix handling of boolean values in qmp-shell
  QMP: TPM QMP and man page documentation updates
  QMP: Remove duplicate TPM type from query-tpm


  Commit: 394e2e4c59294f2c5da58d2970693667218c7cf3
      
https://github.com/qemu/qemu/commit/394e2e4c59294f2c5da58d2970693667218c7cf3
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/virtio-scsi.c
    M hw/virtio-scsi.h

  Log Message:
  -----------
  virtio-scsi: don't use pointer for configuration.

The configuration field must not be a pointer as it will be used for virtio-scsi
properties. So *conf is replaced by conf.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 22219527f4272f5199a581bbd3950e9ba96bbc75
      
https://github.com/qemu/qemu/commit/22219527f4272f5199a581bbd3950e9ba96bbc75
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/virtio-scsi.c
    M hw/virtio-scsi.h

  Log Message:
  -----------
  virtio-scsi: allocate cmd_vqs array separately.

Allocate/Free the cmd_vqs array separately to have a fixed size device.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 4bfeb18a454bd71c406683fb473375e02c724b00
      
https://github.com/qemu/qemu/commit/4bfeb18a454bd71c406683fb473375e02c724b00
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/s390x/s390-virtio-bus.c
    M hw/s390x/virtio-ccw.c
    M hw/virtio-pci.c
    M hw/virtio-scsi.h

  Log Message:
  -----------
  virtio-scsi: moving host_features from properties to transport properties.

host_features field is part of the transport device. So move all the
host_features related properties into transport device.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 3ab1dfdd50a7c852e4921935250c22f486c5b8a4
      
https://github.com/qemu/qemu/commit/3ab1dfdd50a7c852e4921935250c22f486c5b8a4
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/virtio-scsi.c
    M hw/virtio-scsi.h

  Log Message:
  -----------
  virtio-scsi: add the virtio-scsi device.

Create virtio-scsi which extends virtio-device, so it can be connected on
virtio-bus.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: bc7b90a010719612344c4a78be7819841e76b7ec
      
https://github.com/qemu/qemu/commit/bc7b90a010719612344c4a78be7819841e76b7ec
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/virtio-pci.c
    M hw/virtio-pci.h

  Log Message:
  -----------
  virtio-scsi-pci: switch to new API.

Here the virtio-scsi-pci is modified for the new API. The device virtio-scsi-pci
extends virtio-pci. It creates and connects a virtio-scsi during the init.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 9ef13d8f1956b086f4bcb1d70cd5ff96e5faa2cb
      
https://github.com/qemu/qemu/commit/9ef13d8f1956b086f4bcb1d70cd5ff96e5faa2cb
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

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

  Log Message:
  -----------
  virtio-scsi-s390: switch to the new API.

Here the virtio-scsi-s390 is modified for the new API. The device
virtio-scsi-s390 extends virtio-s390-device as before. It creates and
connects a virtio-scsi during the init. The properties are not modified.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: c908ea1052f8c6391c2d321693220130846f703c
      
https://github.com/qemu/qemu/commit/c908ea1052f8c6391c2d321693220130846f703c
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

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

  Log Message:
  -----------
  virtio-scsi-ccw: switch to new API

Here the virtio-scsi-ccw is modified for the new API. The device
virtio-scsi-ccw extends virtio-ccw-device as before. It creates and
connects a virtio-scsi during the init. The properties are not modified.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 0ac8e139274245320b1c56f6e9ec9318c2da963a
      
https://github.com/qemu/qemu/commit/0ac8e139274245320b1c56f6e9ec9318c2da963a
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/virtio-scsi.c
    M hw/virtio-scsi.h

  Log Message:
  -----------
  virtio-scsi: cleanup: use QOM casts.

As the virtio-scsi-pci and virtio-scsi-s390 are switched to the new API,
we can use QOM casts.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 763684befd34461371c2d2188655b69e4d93a5db
      
https://github.com/qemu/qemu/commit/763684befd34461371c2d2188655b69e4d93a5db
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/virtio-scsi.c

  Log Message:
  -----------
  virtio-scsi: cleanup: init and exit functions.

This remove old init and exit function as they are no longer needed.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: c19f806e01ba5c4a4d4fac80b76841512ed4a11e
      
https://github.com/qemu/qemu/commit/c19f806e01ba5c4a4d4fac80b76841512ed4a11e
  Author: KONRAD Frederic <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/virtio-scsi.c
    M hw/virtio-scsi.h

  Log Message:
  -----------
  virtio-scsi: cleanup: remove qdev field.

The qdev field is no longer needed. Just drop it.

Signed-off-by: KONRAD Frederic <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: b000dfbd42e8aac9af66ae0ed787ef1021bea29f
      
https://github.com/qemu/qemu/commit/b000dfbd42e8aac9af66ae0ed787ef1021bea29f
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/qdev-addr.c
    M hw/qdev-properties-system.c
    M hw/qdev-properties.c
    M hw/qdev-properties.h
    M hw/qdev.c

  Log Message:
  -----------
  hw/qdev-properties.c: Improve diagnostic for setting property after realize

Now we have error_setg() we can improve the error message emitted if
you attempt to set a property of a device after the device is realized
(the previous message was "permission denied" which was not very
informative).

Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 54852b03711f06c5f24af72de583346922176947
      
https://github.com/qemu/qemu/commit/54852b03711f06c5f24af72de583346922176947
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M qom/object.c

  Log Message:
  -----------
  qom: Detect attempts to add a property that already exists

Detect attempts to add a property to an object if one of
that name already exists, and report them as errors.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Anthony Liguori <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: e769bdc26ded6d7681cddd9f67c5f87a4b5ba53c
      
https://github.com/qemu/qemu/commit/e769bdc26ded6d7681cddd9f67c5f87a4b5ba53c
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-26 (Tue, 26 Mar 2013)

  Changed paths:
    M hw/qdev.c

  Log Message:
  -----------
  hw/qdev: Abort rather than ignoring errors adding device properties

Instead of ignoring any errors that occur when adding properties
to a new device in device_initfn(), check for them and abort if any
occur. The most likely cause is accidentally adding a duplicate
property, which is a programming error by the device author.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Anthony Liguori <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/dcadaa9b40d6...e769bdc26ded

reply via email to

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