qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 13cc2c: serial-pci: Set prog interface field


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 13cc2c: serial-pci: Set prog interface field of pci config...
Date: Thu, 05 Jun 2014 15:00:08 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 13cc2c3e867605122351c68f34af838bc75d8692
      
https://github.com/qemu/qemu/commit/13cc2c3e867605122351c68f34af838bc75d8692
  Author: BALATON Zoltan <address@hidden>
  Date:   2014-05-21 (Wed, 21 May 2014)

  Changed paths:
    M hw/char/serial-pci.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  serial-pci: Set prog interface field of pci config to 16550 compatible

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: fb5be2e833669dd95be1950ea7b1da4cf7f9556c
      
https://github.com/qemu/qemu/commit/fb5be2e833669dd95be1950ea7b1da4cf7f9556c
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2014-05-21 (Wed, 21 May 2014)

  Changed paths:
    M hw/i386/smbios.c

  Log Message:
  -----------
  SMBIOS: Fix endian-ness when populating multi-byte fields

When i386 guests are emulated on big endian hosts, make sure
multi-byte fields are populated safely via cpu_to_le*().

Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 84351843eba330022e245a742899cf71fc817ec5
      
https://github.com/qemu/qemu/commit/84351843eba330022e245a742899cf71fc817ec5
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2014-05-21 (Wed, 21 May 2014)

  Changed paths:
    M hw/i386/smbios.c
    M include/hw/i386/smbios.h
    M qemu-options.hx

  Log Message:
  -----------
  SMBIOS: Update Type 0 struct generator for machines >= 2.1

Update how type 0 (bios info) structures are generated, as follows:

  - convert bios_characteristics field to uin64_t (instead of
    uint8_t[8]), as described in the current smbios spec (v2.8)

  - enable "virtual machine" bit in bios_characteristics_extension_bits

  - add command line option to enable "uefi supported" bit in
    bios_characteristics_extension_bits

These updates should make this optional structure more useful when
used with edk2/ovmf. Only pc machines >= 2.1 are affected, and only
when a type 0 structure is explicitly specified on the command line.

Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 0d73394ad93aa12755316b3a90b3193aeeb95f90
      
https://github.com/qemu/qemu/commit/0d73394ad93aa12755316b3a90b3193aeeb95f90
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2014-05-21 (Wed, 21 May 2014)

  Changed paths:
    M hw/i386/smbios.c
    M include/hw/i386/smbios.h

  Log Message:
  -----------
  SMBIOS: Fix type 17 field sizes

Fields for configured_clock_speed and various voltage values
introduced in spec v2.7+ should be "word", i.e. 16 bits.

Reported-by: Laszlo Ersek <address@hidden>
Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 7c8b7248261bfa5e54eff1715b699caa8b3f1d77
      
https://github.com/qemu/qemu/commit/7c8b7248261bfa5e54eff1715b699caa8b3f1d77
  Author: Andreas Färber <address@hidden>
  Date:   2014-05-21 (Wed, 21 May 2014)

  Changed paths:
    M hw/pci-host/q35.c
    M hw/pci/pcie_host.c
    M include/hw/pci/pcie_host.h

  Log Message:
  -----------
  pcie_host: Turn pcie_host_init() into an instance_init

This assures the trivial field initialization is applied for any derived
type - currently only Q35PCIHost.

Signed-off-by: Andreas Färber <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 38dbd48b247ebe05bdc6ef52ccdc60cc21274877
      
https://github.com/qemu/qemu/commit/38dbd48b247ebe05bdc6ef52ccdc60cc21274877
  Author: Ján Tomko <address@hidden>
  Date:   2014-05-25 (Sun, 25 May 2014)

  Changed paths:
    M docs/virtio-balloon-stats.txt
    M hw/virtio/virtio-balloon.c

  Log Message:
  -----------
  virtio-balloon: return empty data when no stats are available

If the guest hasn't updated the stats yet, instead of returning
an error, return '-1' for the stats and '0' as 'last-update'.

This lets applications ignore this without parsing the error message.

Related libvirt patch and discussion:
https://www.redhat.com/archives/libvir-list/2014-May/msg00460.html

Tested against current upstream libvirt - stat reporting works and
it no longer logs errors when the stats are queried on domain startup.
(Note: libvirt doesn't use the last-update field for anything yet)

Signed-off-by: Ján Tomko <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Eric Blake <address@hidden>


  Commit: 501f28ca9db08e84819b26314525b6369e7704dd
      
https://github.com/qemu/qemu/commit/501f28ca9db08e84819b26314525b6369e7704dd
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2014-05-27 (Tue, 27 May 2014)

  Changed paths:
    M tests/Makefile
    R tests/acpi-test.c
    A tests/bios-tables-test.c

  Log Message:
  -----------
  tests: rename acpi-test to bios-tables-test

The test harness for acpi (generating a boot disk, starting qemu,
waiting for the BIOS to finish booting before examining guest
memory, etc.) is perfectly suited for testing other bios tables
beside acpi, such as e.g., smbios.

This patch renames acpi-test to bios-tables-test to reflect that,
and in preparation for adding smbios tests.

Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: eb386aaccc4a728f5429de06ef7e6c698603d173
      
https://github.com/qemu/qemu/commit/eb386aaccc4a728f5429de06ef7e6c698603d173
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2014-05-27 (Tue, 27 May 2014)

  Changed paths:
    M tests/bios-tables-test.c

  Log Message:
  -----------
  tests: add smbios testing

Add tests to find and verify the smbios entry point structure,
and to walk and perform checks on the actual smbios tables.

Suggested-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9f9260a3be3b7fbd0006a58773abdb164bf9f220
      
https://github.com/qemu/qemu/commit/9f9260a3be3b7fbd0006a58773abdb164bf9f220
  Author: Don Slutz <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M hw/core/qdev-properties-system.c
    M hw/core/qdev-properties.c
    M include/hw/qdev-core.h
    M include/hw/qdev-properties.h
    M vl.c

  Log Message:
  -----------
  qdev: Display warning about unused -global

This can help a user understand why -global was ignored.

For example: with "-vga cirrus"; "-global vga.vgamem_mb=16" is just
ignored when "-global cirrus-vga.vgamem_mb=16" is not.

This is currently clear when the wrong property is provided:

out/x86_64-softmmu/qemu-system-x86_64 -global cirrus-vga.vram_size_mb=16 
-monitor pty -vga cirrus
char device redirected to /dev/pts/20 (label compat_monitor0)
qemu-system-x86_64: Property '.vram_size_mb' not found
Aborted (core dumped)

vs

out/x86_64-softmmu/qemu-system-x86_64 -global vga.vram_size_mb=16 -monitor pty 
-vga cirrus
char device redirected to /dev/pts/20 (label compat_monitor0)
VNC server running on `::1:5900'
^Cqemu: terminating on signal 2

Signed-off-by: Don Slutz <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>


  Commit: 711e2f1e9ecad845e142fdddbbf1e8037bce902b
      
https://github.com/qemu/qemu/commit/711e2f1e9ecad845e142fdddbbf1e8037bce902b
  Author: Don Slutz <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M tests/test-qdev-global-props.c

  Log Message:
  -----------
  qdev: Add test of qdev_prop_check_global

This will generate a warning from "make check":

...
GTESTER tests/test-qdev-global-props
Warning: "-global dynamic-prop-type-bad.prop3=103" not used
GTESTER tests/check-qom-interface
...

If the warning is not generated, the test will fail.

Signed-off-by: Don Slutz <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>


  Commit: 26edf8cc08e2ec15d9e65bb0dd4fbac22edd730b
      
https://github.com/qemu/qemu/commit/26edf8cc08e2ec15d9e65bb0dd4fbac22edd730b
  Author: Peter Maydell <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M docs/virtio-balloon-stats.txt
    M hw/char/serial-pci.c
    M hw/core/qdev-properties-system.c
    M hw/core/qdev-properties.c
    M hw/i386/smbios.c
    M hw/pci-host/q35.c
    M hw/pci/pcie_host.c
    M hw/virtio/virtio-balloon.c
    M include/hw/i386/pc.h
    M include/hw/i386/smbios.h
    M include/hw/pci/pcie_host.h
    M include/hw/qdev-core.h
    M include/hw/qdev-properties.h
    M qemu-options.hx
    M tests/Makefile
    R tests/acpi-test.c
    A tests/bios-tables-test.c
    M tests/test-qdev-global-props.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging

pc,pci,virtio,qdev fixes, tests

new tests for SMBIOS
SMBIOS fixes
pc, pci fixes
qdev patches stayed on list for a month with no review,
as I told people on KVM forum I'm merging stuch patches
if they look fine.

Signed-off-by: Michael S. Tsirkin <address@hidden>

* remotes/mst/tags/for_upstream:
  qdev: Add test of qdev_prop_check_global
  qdev: Display warning about unused -global
  tests: add smbios testing
  tests: rename acpi-test to bios-tables-test
  virtio-balloon: return empty data when no stats are available
  pcie_host: Turn pcie_host_init() into an instance_init
  SMBIOS: Fix type 17 field sizes
  SMBIOS: Update Type 0 struct generator for machines >= 2.1
  SMBIOS: Fix endian-ness when populating multi-byte fields
  serial-pci: Set prog interface field of pci config to 16550 compatible

Conflicts:
        include/hw/i386/pc.h
[PMM: fixed trivial conflict in pc.h]
Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/31e25e3e5701...26edf8cc08e2

reply via email to

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