qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 167716: acpi-build: fix memory leak with brid


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 167716: acpi-build: fix memory leak with bridge hp off
Date: Mon, 09 Mar 2015 04:30:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 16771613a89838020ee6d84be40b46c6a8180824
      
https://github.com/qemu/qemu/commit/16771613a89838020ee6d84be40b46c6a8180824
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi-build: fix memory leak with bridge hp off

When bridge hotplug is disabled for old machine types,
we never free memory allocated for temporary tables.
Fix this up.

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


  Commit: 12e63900f01ce54702745d83f985e26042adda9b
      
https://github.com/qemu/qemu/commit/12e63900f01ce54702745d83f985e26042adda9b
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/bios-linker-loader.c

  Log Message:
  -----------
  bios linker: validate pointer within table

buios linker assumes pointer parameter it gets
is within table, validate this.

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


  Commit: 19934e0e3d0f70eefe8d9e51e71c1cb80f4659d0
      
https://github.com/qemu/qemu/commit/19934e0e3d0f70eefe8d9e51e71c1cb80f4659d0
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/Makefile.objs
    A hw/acpi/aml-build.c
    M hw/i386/acpi-build.c
    A include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: move generic aml building helpers into dedictated file

the will be later used for composing AML primitives
and all that could be reused later for ARM machines
as well.

Signed-off-by: Igor Mammedov <address@hidden>
Acked-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: eae8bded9a1a19561054654f5113aeb978d7b4c1
      
https://github.com/qemu/qemu/commit/eae8bded9a1a19561054654f5113aeb978d7b4c1
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add build_append_namestring() helper

Use build_append_namestring() instead of build_append_nameseg()
So user won't have to care whether name is NameSeg, NamePath or
NameString.

See for reference ACPI 5.0: 20.2.2 Name Objects Encoding

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


  Commit: 661875e948ece4723ebe4e7628060c27cad06df1
      
https://github.com/qemu/qemu/commit/661875e948ece4723ebe4e7628060c27cad06df1
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: drop min-bytes in build_package()

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Claudio Fontana <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 133e9b228df16d11de01529c217417e78d1d9370
      
https://github.com/qemu/qemu/commit/133e9b228df16d11de01529c217417e78d1d9370
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/pci/pci.c

  Log Message:
  -----------
  pci: Convert core to realize

Implement DeviceClass methods realize() and unrealize() instead of
init() and exit().  The core's initialization errors now get
propagated properly, and QMP sends them instead of an unspecific
"Device initialization failed" error.  Unrealize can't fail, so no
change there.

PCIDeviceClass is unchanged: it still provides init() and exit().
Therefore, device models' errors are still not propagated.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: 7ee6c1e182cca6ccf5253569fca3d05826efb4e9
      
https://github.com/qemu/qemu/commit/7ee6c1e182cca6ccf5253569fca3d05826efb4e9
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/pci/pci.c
    M include/hw/pci/pci.h

  Log Message:
  -----------
  pci: Permit incremental conversion of device models to realize

Call the new PCIDeviceClass method realize().  Default it to
pci_default_realize(), which calls old method init().

To convert a device model, make it implement realize() rather than
init().

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: 9af21dbee14c5165598d17115ade63184ec0dd8b
      
https://github.com/qemu/qemu/commit/9af21dbee14c5165598d17115ade63184ec0dd8b
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/piix4.c
    M hw/audio/ac97.c
    M hw/audio/es1370.c
    M hw/audio/intel-hda.c
    M hw/display/vga-pci.c
    M hw/display/vmware_vga.c
    M hw/i2c/smbus_ich9.c
    M hw/ide/cmd646.c
    M hw/ide/piix.c
    M hw/ide/via.c
    M hw/ipack/tpci200.c
    M hw/isa/i82378.c
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/misc/pci-testdev.c
    M hw/net/e1000.c
    M hw/net/eepro100.c
    M hw/net/ne2000.c
    M hw/net/rtl8139.c
    M hw/net/vmxnet3.c
    M hw/pci-bridge/dec.c
    M hw/pci-host/apb.c
    M hw/pci-host/bonito.c
    M hw/pci-host/grackle.c
    M hw/pci-host/piix.c
    M hw/pci-host/ppce500.c
    M hw/pci-host/prep.c
    M hw/pci-host/q35.c
    M hw/pci-host/uninorth.c
    M hw/pci-host/versatile.c
    M hw/sd/sdhci.c
    M hw/usb/hcd-ehci-pci.c
    M hw/usb/hcd-xhci.c
    M hw/watchdog/wdt_i6300esb.c

  Log Message:
  -----------
  pci: Trivial device model conversions to realize

Convert the device models where initialization obviously can't fail.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: 4c3b22459d3589cf84d1ccadc6b09e586497820d
      
https://github.com/qemu/qemu/commit/4c3b22459d3589cf84d1ccadc6b09e586497820d
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/net/lance.c
    M hw/net/pcnet-pci.c
    M hw/net/pcnet.c
    M hw/net/pcnet.h

  Log Message:
  -----------
  pcnet: pcnet_common_init() always returns 0, change to void

The next commit will exploit the fact it never fails.  This one makes
it obvious.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: eb1bef94b4067b19abac91fec001c690a58b2174
      
https://github.com/qemu/qemu/commit/eb1bef94b4067b19abac91fec001c690a58b2174
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/net/pcnet-pci.c

  Log Message:
  -----------
  pcnet: Convert to realize

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: 28d85904daafda4e099d6a61371ab8e5c1f395bd
      
https://github.com/qemu/qemu/commit/28d85904daafda4e099d6a61371ab8e5c1f395bd
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/char/serial-pci.c

  Log Message:
  -----------
  serial-pci: Convert to realize

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: b8a2dac04aea1f6c801bbb6c44a33ee7cd4ff533
      
https://github.com/qemu/qemu/commit/b8a2dac04aea1f6c801bbb6c44a33ee7cd4ff533
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/ide/ich.c

  Log Message:
  -----------
  ide/ich: Convert to realize

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: f409edf74360805e53e16e6a51ca766e8891f3b7
      
https://github.com/qemu/qemu/commit/f409edf74360805e53e16e6a51ca766e8891f3b7
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/display/cirrus_vga.c

  Log Message:
  -----------
  cirrus-vga: Convert to realize

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: 042a24db0a6051313220e161bf1a19c545540d08
      
https://github.com/qemu/qemu/commit/042a24db0a6051313220e161bf1a19c545540d08
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/display/qxl.c

  Log Message:
  -----------
  qxl: Convert to realize

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: d313858dfc2b0b5e6c126f1920863fe43dc9d5b6
      
https://github.com/qemu/qemu/commit/d313858dfc2b0b5e6c126f1920863fe43dc9d5b6
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/kvm/pci-assign.c

  Log Message:
  -----------
  pci-assign: Convert to realize

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: 25f8dd96598042a88fdd970d5531584b589b10e4
      
https://github.com/qemu/qemu/commit/25f8dd96598042a88fdd970d5531584b589b10e4
  Author: Markus Armbruster <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

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

  Log Message:
  -----------
  qdev: Don't exit when running into bad -global

-global lets you set a nice booby-trap for yourself:

    $ qemu-system-x86_64 -nodefaults -S -display none -usb -monitor stdio 
-global usb-mouse.usb_version=l
    QEMU 2.1.94 monitor - type 'help' for more information
    (qemu) device_add usb-mouse
    Parameter 'usb_version' expects an int64 value or range
    $ echo $?
    1

Not nice.  Until commit 3196270 we even abort()ed.

The same error triggers if you manage to screw up a machine type's
compat_props.  To demonstrate, change HW_COMPAT_2_1's entry to
       .driver   = "usb-mouse",\
      .property = "usb_version",\
      .value    = "1", \

Then run

    $ qemu-system-x86_64 -usb -M pc-i440fx-2.1 -device usb-mouse
    upstream-qemu: -device usb-mouse: Parameter 'usb_version' expects an int64 
value or range
    $ echo $?
    1

One of our creatively cruel error messages.

Since this is actually a coding error, we *should* abort() here.
Replace the error by an assertion failure in this case.

But turn the fatal error into a mere warning when the faulty
GlobalProperty comes from the user.  Looks like this:

    $ qemu-system-x86_64 -nodefaults -S -display none -usb -monitor stdio 
-global usb-mouse.usb_version=l
    QEMU 2.1.94 monitor - type 'help' for more information
    (qemu) device_add usb-mouse
    Warning: global usb-mouse.usb_version=l ignored (Parameter 'usb_version' 
expects an int64 value or range)
    (qemu)

This is consistent with how we handle similarly unusable -global in
qdev_prop_check_globals().

You could argue that the error should make device_add fail.  Would be
harder, because we're running within TypeInfo's instance_post_init()
method device_post_init(), which can't fail.

Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>


  Commit: d9c5c5b8a81433921a75390a9951436424b5c4c5
      
https://github.com/qemu/qemu/commit/d9c5c5b8a81433921a75390a9951436424b5c4c5
  Author: Tang Chen <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  acpi, pc: Add hotunplug request cb for pc machine.

Memory and CPU hot unplug are both asynchronous procedures.
They both need unplug request callback to initiate unplug operation.

Add unplug handler to pc machine that will be used by following
CPU and memory unplug patches.

Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Tang Chen <address@hidden>
Signed-off-by: Zhu Guihua <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 469b8ad283d748648960e2260a4a3c415b1b3956
      
https://github.com/qemu/qemu/commit/469b8ad283d748648960e2260a4a3c415b1b3956
  Author: Tang Chen <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/ich9.c
    M hw/isa/lpc_ich9.c
    M include/hw/acpi/ich9.h

  Log Message:
  -----------
  acpi, ich9: Add hotunplug request cb for ich9.

Memory and CPU hot unplug are both asynchronous procedures.
They both need unplug request cb when the unplug operation happens.

This patch adds hotunplug request cb for ich9, and memory and CPU
hot unplug will share it.

Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Tang Chen <address@hidden>
Signed-off-by: Zhu Guihua <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 232391c19ec69e6781667c53cb3c3bc57932bb95
      
https://github.com/qemu/qemu/commit/232391c19ec69e6781667c53cb3c3bc57932bb95
  Author: Tang Chen <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  acpi, pc: Add unplug cb for pc machine.

Memory and CPU hot unplug are both asynchronous procedures.
When the unplug operation happens, unplug request cb is called first.
And when guest OS finished handling unplug, unplug cb will be called
to do the real removal of device.

This patch adds hotunplug cb to pc machine, which memory and CPU
hot unplug will use it.

Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Tang Chen <address@hidden>
Signed-off-by: Zhu Guihua <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 91a734a6fa0fcd03a7ffc32a7b45a3c2735d82be
      
https://github.com/qemu/qemu/commit/91a734a6fa0fcd03a7ffc32a7b45a3c2735d82be
  Author: Tang Chen <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/ich9.c
    M hw/isa/lpc_ich9.c
    M include/hw/acpi/ich9.h

  Log Message:
  -----------
  acpi, ich9: Add unplug cb for ich9.

Memory and CPU hot unplug are both asynchronous procedures.
When the unplug operation happens, unplug request cb is called first.
And when guest OS finished handling unplug, unplug cb will be called
to do the real removal of device.

This patch adds hotunplug cb to ich9, which memory and CPU
hot unplug will use it.

Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Tang Chen <address@hidden>
Signed-off-by: Zhu Guihua <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: c0e57a6022fdb2b00e7946bbfa2ad1f9515527cd
      
https://github.com/qemu/qemu/commit/c0e57a6022fdb2b00e7946bbfa2ad1f9515527cd
  Author: Tang Chen <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/piix4.c

  Log Message:
  -----------
  acpi, piix4: Add unplug cb for piix4.

Memory and CPU hot unplug are both asynchronous procedures.
When the unplug operation happens, unplug request cb is called first.
And when guest OS finished handling unplug, unplug cb will be called
to do the real removal of device.

This patch adds hotunplug cb to piix4, which memory and CPU
hot unplug will use it.

Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Tang Chen <address@hidden>
Signed-off-by: Zhu Guihua <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 214224adb4ebc9f3d211b867f588413e13f05bb3
      
https://github.com/qemu/qemu/commit/214224adb4ebc9f3d211b867f588413e13f05bb3
  Author: Peter Krempa <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl.c: Fix error messages when parsing maxmem parameters

Produce more human readable error messages and fix few spelling
mistakes.

Also remove a redundant check for the max memory size.

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


  Commit: f2c385220598523c8b9fefbfff1a6754cfd8232a
      
https://github.com/qemu/qemu/commit/f2c385220598523c8b9fefbfff1a6754cfd8232a
  Author: Peter Krempa <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  pc: memory: Validate alignment of maxram_size to page size

If the maxram_size is not aligned and dimm devices were added on the
command line qemu would terminate with a rather unhelpful message:

ERROR:hw/mem/pc-dimm.c:150:pc_dimm_get_free_addr: assertion failed:
(QEMU_ALIGN_UP(address_space_size, align) == address_space_size)

In case no dimm device was originally added on the commandline qemu
exits on the assertion failure.

Signed-off-by: Peter Krempa <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Peter Krempa <address@hidden>
Reviewed-by: Eric Blake <address@hidden>


  Commit: d70414a5788c3d51f8ce4d2f437e669e6b99dc59
      
https://github.com/qemu/qemu/commit/d70414a5788c3d51f8ce4d2f437e669e6b99dc59
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi: update RSDP on guest access

RSDT offset can change across reboots and that makes
immutable RSDP, which is build at startup, point to
incorrect place in ACPI table blob. That results in
BIOS corrupting tables and guest OS failing to find
ACPI tables.
We really should have put it in a ROM region, but
we can't change that for old machine types,
let's just set the callback and update it explicitly.

Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>


  Commit: 6e00619b1eb2050bf2c75d52edfe7b4566704922
      
https://github.com/qemu/qemu/commit/6e00619b1eb2050bf2c75d52edfe7b4566704922
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi-build: update linker on guest access

Linker table is build only once, so if later during
tables rebuild sizes of other ACPI tables change
pointers will be patched incorrectly due to wrong
offsets in linker. Resulting in guest not being able
to find ACPI tables.
Fix it by updating 'linker' table with the rest of
tables when firmware reads it.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>


  Commit: 358774d780ee8f91429323f44bef1f53afa448bf
      
https://github.com/qemu/qemu/commit/358774d780ee8f91429323f44bef1f53afa448bf
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  pc: acpi-build: migrate RSDP table

Makes sure that RSDP stays the same
/i.e. matches ACPI tables blob in source/
if guest is migrated during RSDP reading or
has been already shadowed by firmware.

Fix applies only to new machine types starting
from 2.3, so it won't break migration for old
machine types.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>


  Commit: 129ddaf31be583fb7c97812e07e028661005ce42
      
https://github.com/qemu/qemu/commit/129ddaf31be583fb7c97812e07e028661005ce42
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: round up size on MR resize

Block size must fundamentally be a multiple of target page size.
Aligning automatically removes need to worry about the alignment
from callers.

Note: the only caller of qemu_ram_resize (acpi) already happens to have
size padded to a power of 2, but we would like to drop the padding in
ACPI core, and don't want to expose target page size knowledge to ACPI.

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


  Commit: 42d859001d180ea788aa2d34a7be021ac8c447f2
      
https://github.com/qemu/qemu/commit/42d859001d180ea788aa2d34a7be021ac8c447f2
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi-build: fix ACPI RAM management

This fixes multiple issues around ACPI RAM management:

RSDP and linker RAM aren't currently marked dirty
on update, so they won't be migrated correctly.

Let's handle all tables in the same way: set correct size (assert if
too big), update, mark RAM dirty.

This also drops assert checking that table size didn't change: table
size is fundamentally dynamic and depends on hw configuration,
just set the correct size and use that (memory core asserts if size is
too large).

This also means we can drop tracking table size, memory core does this
for us now.

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


  Commit: 384fb32ea7984ed6e5fdcea0bbc3d5b01238806b
      
https://github.com/qemu/qemu/commit/384fb32ea7984ed6e5fdcea0bbc3d5b01238806b
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  acpi: has_immutable_rsdp->!rsdp_in_ram

As comment in acpi-build.c notes, RSDP is not really immutable.  So it's
really a question of whether it's in RAM, name the variable accordingly.

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


  Commit: afaa2e4bc4e17360307cb86fbb1d5d350ae22961
      
https://github.com/qemu/qemu/commit/afaa2e4bc4e17360307cb86fbb1d5d350ae22961
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi-build: simplify rsdp management for legacy

For legacy machine types, rsdp is not in RAM, so we need a copy of rsdp
for fw cfg. We previously used g_array_free with false parameter,
but this seems to confuse people.
This also wastes a bit of memory as the buffer is unused for new
machine types.

Let's just use plain g_memdup, and free original memory together with
the array.

TODO: rationalize tcpalog memory management, and get rid of the mfre
parameter.

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


  Commit: 1ff0b555d3c6ba291adf0c4c76e222acfeb52f1d
      
https://github.com/qemu/qemu/commit/1ff0b555d3c6ba291adf0c4c76e222acfeb52f1d
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  scripts/update-linux-headers.sh: pull virtio hdrs

It doesn't make sense to copy values manually:
the only issue with getting headers from linux
seems to be dealing with linux/types, we
can easily fix that automatically while importing.

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


  Commit: 9fbe302b2a4c349c1a8fa93a3f79f08e7007d80c
      
https://github.com/qemu/qemu/commit/9fbe302b2a4c349c1a8fa93a3f79f08e7007d80c
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    A include/standard-headers/linux/if_ether.h
    A include/standard-headers/linux/types.h
    A include/standard-headers/linux/virtio_9p.h
    A include/standard-headers/linux/virtio_balloon.h
    A include/standard-headers/linux/virtio_blk.h
    A include/standard-headers/linux/virtio_config.h
    A include/standard-headers/linux/virtio_console.h
    A include/standard-headers/linux/virtio_ids.h
    A include/standard-headers/linux/virtio_net.h
    A include/standard-headers/linux/virtio_pci.h
    A include/standard-headers/linux/virtio_ring.h
    A include/standard-headers/linux/virtio_rng.h
    A include/standard-headers/linux/virtio_scsi.h
    A include/standard-headers/linux/virtio_types.h

  Log Message:
  -----------
  include: import virtio headers from linux 4.0

Add files imported from linux-next (what will become linux 4.0) using
scripts/update-linux-headers.sh

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


  Commit: 4fbe0f322d5413482efbf9c0d2329fdc32bea6d1
      
https://github.com/qemu/qemu/commit/4fbe0f322d5413482efbf9c0d2329fdc32bea6d1
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/net/vhost_net.c
    M include/hw/virtio/dataplane/vring-accessors.h
    M include/hw/virtio/dataplane/vring.h
    R include/hw/virtio/virtio_ring.h

  Log Message:
  -----------
  virtio: use standard virtio_ring.h

Switch to virtio_ring.h from standard headers.

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


  Commit: e9600c6ca9e9ecc123105e1e3660314fe821a4cb
      
https://github.com/qemu/qemu/commit/e9600c6ca9e9ecc123105e1e3660314fe821a4cb
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/9pfs/virtio-9p.h
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: use standard-headers

Drop a bunch of code duplicated from virtio_config.h and virtio_ring.h.
This makes us rename event index accessors which conflict,
as reusing the ones from virtio_ring.h isn't trivial.

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


  Commit: 73706bd1275bef2e7b3962d1be18a20cb8df7f66
      
https://github.com/qemu/qemu/commit/73706bd1275bef2e7b3962d1be18a20cb8df7f66
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M include/hw/virtio/virtio-balloon.h

  Log Message:
  -----------
  virtio-balloon: use standard headers

Drop code duplicated from standard headers.

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


  Commit: 8744a6a8d500d3509de1f5e33b8cd7d22ec37cf1
      
https://github.com/qemu/qemu/commit/8744a6a8d500d3509de1f5e33b8cd7d22ec37cf1
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/9pfs/virtio-9p.h

  Log Message:
  -----------
  virtio-9p: use standard headers

Drop code duplicated from standard headers.

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


  Commit: 907eb3e5b6fad79308977ec7f885ef549e64daca
      
https://github.com/qemu/qemu/commit/907eb3e5b6fad79308977ec7f885ef549e64daca
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/block/virtio-blk.c
    M include/hw/virtio/virtio-blk.h

  Log Message:
  -----------
  virtio-blk: switch to standard-headers

Drop duplicated code. Minor codechanges were required
as geometry is a sub-structure now.

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


  Commit: b93a5ba3d1e840feef70a9cd367c6818ac63911e
      
https://github.com/qemu/qemu/commit/b93a5ba3d1e840feef70a9cd367c6818ac63911e
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M include/hw/virtio/virtio-net.h
    M include/net/tap.h

  Log Message:
  -----------
  virtio-net,tap: use standard-headers

Drop duplicated code.

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


  Commit: 3e96b2db080db986b813b58228e2553621b4b675
      
https://github.com/qemu/qemu/commit/3e96b2db080db986b813b58228e2553621b4b675
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M include/hw/virtio/virtio-rng.h

  Log Message:
  -----------
  virtio-rng: use standard-headers

Drop duplicated code.

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


  Commit: 019adbd3715e98b5a09fab1370cc2c6904f79b6d
      
https://github.com/qemu/qemu/commit/019adbd3715e98b5a09fab1370cc2c6904f79b6d
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

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

  Log Message:
  -----------
  virtio-scsi: use standard-headers

Drop duplicated code.

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


  Commit: 9b70c1790acacae54d559d38ca69186a85040bb8
      
https://github.com/qemu/qemu/commit/9b70c1790acacae54d559d38ca69186a85040bb8
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/char/virtio-serial-bus.c
    M include/hw/virtio/virtio-serial.h

  Log Message:
  -----------
  virtio-serial: switch to standard-headers

Drop duplicate code.

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


  Commit: 05e492b0dbe42232b2ee9edffb016c68e6519a61
      
https://github.com/qemu/qemu/commit/05e492b0dbe42232b2ee9edffb016c68e6519a61
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  update-linux-headers: use standard-headers

Drop the linux-specific virtio headers, use the copy from
standard-headers instead.

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


  Commit: aa2e69fe2dd69ac2008b066c4c558a4b5c6a7e10
      
https://github.com/qemu/qemu/commit/aa2e69fe2dd69ac2008b066c4c558a4b5c6a7e10
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M linux-headers/linux/virtio_config.h
    M linux-headers/linux/virtio_ring.h

  Log Message:
  -----------
  linux-headers: use standard-headers

Drop duplicated code.

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


  Commit: cbbe4f50a028ff49e983a2a8d82c8b0ae49bc756
      
https://github.com/qemu/qemu/commit/cbbe4f50a028ff49e983a2a8d82c8b0ae49bc756
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

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

  Log Message:
  -----------
  virtio-pci: use standard headers

Drop duplicate code.

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


  Commit: 44fb1dd4cef6d8be87cef7437fb350d0ebf2f837
      
https://github.com/qemu/qemu/commit/44fb1dd4cef6d8be87cef7437fb350d0ebf2f837
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  scripts: add arch specific standard-headers

Copy arch specific virtio headers.
ATM this applies to s390 only.

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


  Commit: 9abd373c645050c958763d66107685f1512f843c
      
https://github.com/qemu/qemu/commit/9abd373c645050c958763d66107685f1512f843c
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    A include/standard-headers/asm-s390/kvm_virtio.h
    A include/standard-headers/asm-s390/virtio-ccw.h

  Log Message:
  -----------
  standard-headers: add s390 virtio headers

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


  Commit: ad67a0f278ff9ad036a986384f1e3e94717af08e
      
https://github.com/qemu/qemu/commit/ad67a0f278ff9ad036a986384f1e3e94717af08e
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

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

  Log Message:
  -----------
  s390: use standard headers

Drop duplicated macros in favor of values from
standard headers.

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


  Commit: a590fd5ba8f01724eee169f097f65603f0c3a8f8
      
https://github.com/qemu/qemu/commit/a590fd5ba8f01724eee169f097f65603f0c3a8f8
  Author: Cornelia Huck <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

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

  Log Message:
  -----------
  virtio: cull virtio_bus_set_vdev_features

The only user of this function was virtio-ccw, and it should use
virtio_set_features() like everybody else: We need to make sure
that bad features are masked out properly, which this function did
not do.

Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 0cd09c3a6cc2230ba38c462fc410b4acce59eb6f
      
https://github.com/qemu/qemu/commit/0cd09c3a6cc2230ba38c462fc410b4acce59eb6f
  Author: Cornelia Huck <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/9pfs/virtio-9p-device.c
    M hw/block/virtio-blk.c
    M hw/char/virtio-serial-bus.c
    M hw/net/virtio-net.c
    M hw/s390x/virtio-ccw.c
    M hw/virtio/virtio-mmio.c
    M hw/virtio/virtio-pci.c
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: feature bit manipulation helpers

Add virtio_{add,clear}_feature helper functions for manipulating a
feature bits variable. This has some benefits over open coding:
- add check that the bit is in a sane range
- make it obvious at a glance what is going on
- have a central point to change when we want to extend feature bits

Convert existing code manipulating features to use the new helpers.

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


  Commit: ef546f1275f6563e8934dd5e338d29d9f9909ca6
      
https://github.com/qemu/qemu/commit/ef546f1275f6563e8934dd5e338d29d9f9909ca6
  Author: Cornelia Huck <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/block/virtio-blk.c
    M hw/char/virtio-serial-bus.c
    M hw/net/virtio-net.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/dataplane/vring.c
    M hw/virtio/virtio-balloon.c
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: add feature checking helpers

Add a helper function for checking whether a bit is set in the guest
features for a vdev as well as one that works on a feature bit set.

Convert code that open-coded this: It cleans up the code and makes it
easier to extend the guest feature bits.

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


  Commit: a20275fa502f57a50517d31c6b770e0eeff8feca
      
https://github.com/qemu/qemu/commit/a20275fa502f57a50517d31c6b770e0eeff8feca
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi-build: skip hotplugged bridges

hotplugged bridges don't get bsel allocated so acpi hotplug doesn't work
for them anyway.  OTOH adding them in ACPI creates a host of problems,
e.g. they can't be hot-unplugged themselves which is surprising to
users.

So let's just skip these.

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


  Commit: 7c2c1fa5f428b7087721f7312ee82b9de05da6ca
      
https://github.com/qemu/qemu/commit/7c2c1fa5f428b7087721f7312ee82b9de05da6ca
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi: use local var for accessing ACPI tables blob in acpi_build()

except of shortening of lines and making code a bit more readable,
it will reduce renaming noise when changing tables blob from GArray* to
Aml* type.

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


  Commit: c16758cb4f273f72606cd9002fa31c2651822fcd
      
https://github.com/qemu/qemu/commit/c16758cb4f273f72606cd9002fa31c2651822fcd
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  update-linux-headers.sh: s/__inline__/inline/

Thomas Huth noticed that some linux headers
use __inline__, change to inline to be consistent
with the rest of QEMU.

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


  Commit: 6a19cd34b175bfc99bf5aa877e6e8eda636848f9
      
https://github.com/qemu/qemu/commit/6a19cd34b175bfc99bf5aa877e6e8eda636848f9
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/char/virtio-serial-bus.c

  Log Message:
  -----------
  virtio-serial-bus.c: drop virtio_ids.h

virtio-serial.h pulls that in already.

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


  Commit: 714e601379e125cde88bea6d4a3ea8f78ffbdf62
      
https://github.com/qemu/qemu/commit/714e601379e125cde88bea6d4a3ea8f78ffbdf62
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M include/standard-headers/linux/types.h

  Log Message:
  -----------
  standard-headers: include stdint.h

The importing script got it right already, I just forgot to re-run it.

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


  Commit: e0d2be2ad6461ccdcf3e3930742a6b18a7ee5eb8
      
https://github.com/qemu/qemu/commit/e0d2be2ad6461ccdcf3e3930742a6b18a7ee5eb8
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M include/standard-headers/linux/virtio_ring.h

  Log Message:
  -----------
  virtio_ring.h: s/__inline__/inline/

Thomas Huth noticed that some linux headers
use __inline__, change to inline to be consistent
with the rest of QEMU.

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


  Commit: 0f2707e4e733614f2cd566e7210c1cff6f3b5b42
      
https://github.com/qemu/qemu/commit/0f2707e4e733614f2cd566e7210c1cff6f3b5b42
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: introduce AML composer aml_append()

Adds for dynamic AML creation, which will be used
for piecing ASL/AML primitives together and hiding
from user/caller details about how nested context
should be closed/packed leaving less space for
mistakes and necessity to know how AML should be
encoded, allowing user to concentrate on ASL
representation instead.

For example it will allow to create AML like this:

init_aml_allocator();
...
Aml *scope = aml_scope("PCI0")
Aml *dev = aml_device("PM")
    aml_append(dev, aml_name_decl("_ADR", aml_int(addr)))
aml_append(scope, dev);
...
free_aml_allocator();

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


  Commit: 2ef7c27b78c663557771076b45e6f4be1b3c78d6
      
https://github.com/qemu/qemu/commit/2ef7c27b78c663557771076b45e6f4be1b3c78d6
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_scope() term

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


  Commit: 011bb7490bf32d84e644d79570f603651e4f80cb
      
https://github.com/qemu/qemu/commit/011bb7490bf32d84e644d79570f603651e4f80cb
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi-build: use aml_scope() for \_SB scope

prepares for incremental conversion of SSDT content to AML API

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


  Commit: be06ebd0a4d42ccd3d79fae24e48c264be377356
      
https://github.com/qemu/qemu/commit/be06ebd0a4d42ccd3d79fae24e48c264be377356
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_device() term

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


  Commit: ea2407d7e8adae1ab6cd0ca0366752d101d2344f
      
https://github.com/qemu/qemu/commit/ea2407d7e8adae1ab6cd0ca0366752d101d2344f
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_method() term

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


  Commit: 32acac9eb3478cb1229654883f938ab21d28d998
      
https://github.com/qemu/qemu/commit/32acac9eb3478cb1229654883f938ab21d28d998
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_if() term

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


  Commit: 3c054bd51a132a69e5180f8c6ffa9d46724e4a50
      
https://github.com/qemu/qemu/commit/3c054bd51a132a69e5180f8c6ffa9d46724e4a50
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_name() & aml_name_decl() term

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


  Commit: 295a515df0df655a902df6ebfc301096a3ee88ed
      
https://github.com/qemu/qemu/commit/295a515df0df655a902df6ebfc301096a3ee88ed
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_int() term

* factor out ACPI const int packing out of build_append_value()
  and rename build_append_value() to build_append_int_noprefix()
  it will be reused for adding a plain integer value into AML.
  will be used by is aml_processor() and CRS macro helpers
* extend build_append_int{_noprefix}() to support 64-bit values
  it will be used PCI for generating 64bit _CRS entries

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


  Commit: b25af5ad5953c9587e59c82cc668e574384f5245
      
https://github.com/qemu/qemu/commit/b25af5ad5953c9587e59c82cc668e574384f5245
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_return() term

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


  Commit: 7193f3a67ee4794096255396eeac99f9624144e1
      
https://github.com/qemu/qemu/commit/7193f3a67ee4794096255396eeac99f9624144e1
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_arg() term

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


  Commit: c263b3f754325ae76946a5ea0e1df9368fe289bd
      
https://github.com/qemu/qemu/commit/c263b3f754325ae76946a5ea0e1df9368fe289bd
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_store() term

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


  Commit: 926f5aaefad164dabcdd771f4c15c9773383d9e9
      
https://github.com/qemu/qemu/commit/926f5aaefad164dabcdd771f4c15c9773383d9e9
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_and() term

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


  Commit: 34189453f1783c934d3824ff4636684f3ab20810
      
https://github.com/qemu/qemu/commit/34189453f1783c934d3824ff4636684f3ab20810
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_notify() term

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


  Commit: 3f3992b7c4ed9850e7f5502a1294cd017a891b38
      
https://github.com/qemu/qemu/commit/3f3992b7c4ed9850e7f5502a1294cd017a891b38
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_call1(), aml_call2(), aml_call3(), aml_call4() helpers

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


  Commit: 3bfa74a7e8c0787877e0f23a873413ad8817c66c
      
https://github.com/qemu/qemu/commit/3bfa74a7e8c0787877e0f23a873413ad8817c66c
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_package() term

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


  Commit: ebc3028f7a2a164e442d734868e4168aa6040c81
      
https://github.com/qemu/qemu/commit/ebc3028f7a2a164e442d734868e4168aa6040c81
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/ssdt-misc.dsl

  Log Message:
  -----------
  pc: acpi-build: generate _S[345] packages dynamically

Replaces template patching with packages composed
using AML API.

Note on behavior change:
If S3 or S4 is disabled, respective packages won't
be created and put into SSDT. Which saves us some
space in SSDT and doesn't confuse guest OS with
mangled package names as it was done originally.

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


  Commit: 04b8da543dd16afaea014032939db4cb54b15459
      
https://github.com/qemu/qemu/commit/04b8da543dd16afaea014032939db4cb54b15459
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_buffer() term

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


  Commit: ad4a80bc6f4aa7ce8e67e924574521f04b8b19a4
      
https://github.com/qemu/qemu/commit/ad4a80bc6f4aa7ce8e67e924574521f04b8b19a4
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_resource_template() helper

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


  Commit: 52fa397c58667080979e8aa64177c0f69b1851b7
      
https://github.com/qemu/qemu/commit/52fa397c58667080979e8aa64177c0f69b1851b7
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_io() helper

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


  Commit: 19fff2d405d3bcc88fd7b860ec47797b3f7af977
      
https://github.com/qemu/qemu/commit/19fff2d405d3bcc88fd7b860ec47797b3f7af977
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: include PkgLength size only when requested

Named/Reserved{Field} definition uses PkgLength [1] encoding to specify
field length, however it doesn't include size of PkgLength field itself,
while other block objects that have explicit length of its body account
for PkgLength size while encoding it [2].
This special casing isn't mentioned in ACPI spec, but that's what 'iasl'
compiles NamedField to so add extra argument to build_prepend_pkg_length()
to allow it handle the case.

--
1. ACPI Spec 5.0, 20.2.5.2 Named Objects Encoding, page 822
2. ACPI Spec 5.0, 5.4 Definition Block Encoding

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


  Commit: 31127938f496f56eb05dc407a31e4c5941fb436a
      
https://github.com/qemu/qemu/commit/31127938f496f56eb05dc407a31e4c5941fb436a
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_operation_region() term

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


  Commit: 214ae59f8e1c33db0f3fbbc4347bb3dacc6ce876
      
https://github.com/qemu/qemu/commit/214ae59f8e1c33db0f3fbbc4347bb3dacc6ce876
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_field() & aml_named_field() terms

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


  Commit: b8a5d6894d94c8f7e815c64adff78b0d28a98ca6
      
https://github.com/qemu/qemu/commit/b8a5d6894d94c8f7e815c64adff78b0d28a98ca6
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_local() term

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


  Commit: d5e5830f56452d857f9c26c06a886f09056482c1
      
https://github.com/qemu/qemu/commit/d5e5830f56452d857f9c26c06a886f09056482c1
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_string() term

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


  Commit: cd61cb2e2c02c5c257a15a52b3d0616474e52997
      
https://github.com/qemu/qemu/commit/cd61cb2e2c02c5c257a15a52b3d0616474e52997
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/ssdt-misc.dsl

  Log Message:
  -----------
  pc: acpi-build: generate pvpanic device description dynamically

Drops AML template patching and allows to
save some space in SSDT if pvpanic device doesn't
exist by not including disabled device description
into SSDT. It also makes device description
smaller by replacing _STA method with named value
and dropping _INI method.

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


  Commit: a678508e46ac806d81bd401a483aef1b98734ae4
      
https://github.com/qemu/qemu/commit/a678508e46ac806d81bd401a483aef1b98734ae4
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_varpackage() term

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


  Commit: 15e44e56d7da9d4569c10aa8de5f109a71570670
      
https://github.com/qemu/qemu/commit/15e44e56d7da9d4569c10aa8de5f109a71570670
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_equal() term

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


  Commit: 3dd156435369153c1c1d890b9ef525f1d033a971
      
https://github.com/qemu/qemu/commit/3dd156435369153c1c1d890b9ef525f1d033a971
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_processor() term

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


  Commit: a7891dacadebb9c02e027c456a1d17ea0bdf6df8
      
https://github.com/qemu/qemu/commit/a7891dacadebb9c02e027c456a1d17ea0bdf6df8
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_eisaid() term

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


  Commit: 20843d16632c4da3d3d35ddc8d5eb047167693ce
      
https://github.com/qemu/qemu/commit/20843d16632c4da3d3d35ddc8d5eb047167693ce
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/Makefile.objs
    M hw/i386/acpi-build.c
    R hw/i386/ssdt-proc.dsl

  Log Message:
  -----------
  pc: acpi-build: drop template patching and CPU hotplug objects dynamically

in addition it saves us ~400LOC and makes it
one binary blob less stored in QEMU source
tree by removing need to keep and update
hw/i386/ssdt-proc.hex.generated file there.

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


  Commit: ddf1ec2ffe30bd6bb34acc020622741eafc16b79
      
https://github.com/qemu/qemu/commit/ddf1ec2ffe30bd6bb34acc020622741eafc16b79
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/acpi-dsdt-cpu-hotplug.dsl
    M include/hw/acpi/pc-hotplug.h

  Log Message:
  -----------
  pc: acpi-build: create CPU hotplug IO region dynamically

it replaces a static complied in DSDT MMIO region
for CPU hotplug with one created at runtime
leaving only truly static CPU hotplug related ASL
bits in DSDT.
It also puts CPU_HOTPLUG_RESOURCE_DEVICE into
PCI0 scope and reserves resources from it,
preparing for dropping manual hole punching
in PCI0._CRS.

Later it also would make easier to reuse current
ACPI CPU hotplug on other targets.

Also later it would be possible to move remaining
CPU hotplug ASL methods into build_ssdt() and
add all CPU hotplug related AML into SSDT only
when CPU hotplug is enabled, further reducing
ACPI tables blob if CPU hotplug isn't used.

impl. detail:
Windows XP can't handle /BSODs/ OperationRegion
declaration in DSDT when variable from SSDT is used
for specifying its address/length and also when
Field declared in DSDT with OperationRegion from
SSDT if DSDT is being parsed before SSDT.
But it works just fine when referencing named
fields from another table. Hence OperationRegion
and Field declaration are moved to SSDT to make
XP based editions work.

PS:
Later Windows editions seem to be fine with above
conditions.

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


  Commit: e2ea299b01fbd9d4d0262cfbfcbdbd02ada984a5
      
https://github.com/qemu/qemu/commit/e2ea299b01fbd9d4d0262cfbfcbdbd02ada984a5
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_reserved_field() term

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


  Commit: 8698c0c0ed1ff3751ef91b61c0006620d5431be4
      
https://github.com/qemu/qemu/commit/8698c0c0ed1ff3751ef91b61c0006620d5431be4
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/Makefile.objs
    M hw/i386/acpi-build.c
    R hw/i386/ssdt-mem.dsl

  Log Message:
  -----------
  pc: acpi-build: drop template patching and memory hotplug objects dynamically

in addition it saves us ~330LOC and makes it one binary blob less
stored in QEMU source tree by removing need to keep and update
hw/i386/ssdt-mem.hex.generated file there.

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


  Commit: 2c6b94d84e3677a40905c42604cf4cd4ef6f3a8e
      
https://github.com/qemu/qemu/commit/2c6b94d84e3677a40905c42604cf4cd4ef6f3a8e
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/acpi-dsdt-mem-hotplug.dsl
    M hw/i386/ssdt-misc.dsl

  Log Message:
  -----------
  pc: acpi-build: create memory hotplug IO region dynamically

it replaces a static complied in DSDT MMIO region
for memory hotplug with one created at runtime
leaving only truly static memory hotplug related
ASL bits in DSDT. And replaces template patching
of MEMORY_SLOTS_NUMBER value with ASL API created
named value.

Later it also would make easier to reuse current
ACPI memory hotplug on other targets.

Also later it would be possible to move remaining
memory hotplug ASL methods into build_ssdt() and
add all memory hotplug related AML into SSDT only
when memory hotplug is enabled, further reducing
ACPI tables blob if memory hotplug isn't used.

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


  Commit: 6ece7053d6a4a502d2ea5d24ecf512caaa1437c7
      
https://github.com/qemu/qemu/commit/6ece7053d6a4a502d2ea5d24ecf512caaa1437c7
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_word_bus_number(), aml_word_io(), aml_dword_memory(), 
aml_qword_memory() terms

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


  Commit: 78c2d8722b9118509e3d4ed8bae67c3e4eaa443e
      
https://github.com/qemu/qemu/commit/78c2d8722b9118509e3d4ed8bae67c3e4eaa443e
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/acpi/pcihp.c
    M hw/acpi/piix4.c
    M include/hw/acpi/pcihp.h

  Log Message:
  -----------
  pc: pcihp: expose MMIO base and len as properties

it will be used later to dynamically reserve MMIO region
instead of manually punching holes in PCI0._CRS

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


  Commit: 500b11ea5095ae77da5ddd6dd12f6c485b516a91
      
https://github.com/qemu/qemu/commit/500b11ea5095ae77da5ddd6dd12f6c485b516a91
  Author: Igor Mammedov <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi-build: reserve PCIHP MMIO resources

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


  Commit: 7ff3bc2e112514f001cb24f3ec16bda8ba7826fc
      
https://github.com/qemu/qemu/commit/7ff3bc2e112514f001cb24f3ec16bda8ba7826fc
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M hw/i386/acpi-dsdt.hex.generated
    M hw/i386/q35-acpi-dsdt.hex.generated
    M hw/i386/ssdt-misc.hex.generated

  Log Message:
  -----------
  acpi: update generated hex files

Used for IASL builds.

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


  Commit: dd6b6b0c833ec7333056c55dbb8e518241aceefd
      
https://github.com/qemu/qemu/commit/dd6b6b0c833ec7333056c55dbb8e518241aceefd
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    R hw/i386/ssdt-mem.hex.generated
    R hw/i386/ssdt-proc.hex.generated

  Log Message:
  -----------
  acpi: drop unused generated files

drop ssdt-mem.hex.generated and ssdt-proc.hex.generated:
dsl files have been removed previously.

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


  Commit: dc33c0293505db9c747a6e27487a808ab2b62a6f
      
https://github.com/qemu/qemu/commit/dc33c0293505db9c747a6e27487a808ab2b62a6f
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M tests/acpi-test-data/pc/DSDT
    M tests/acpi-test-data/pc/SSDT
    M tests/acpi-test-data/q35/DSDT
    M tests/acpi-test-data/q35/SSDT

  Log Message:
  -----------
  acpi-test: update expected files

A bunch of code moved from dsdt to ssdt,
plus we got trivial changes like 0->Zero which our test
dosn't recognize as identity yet.
Update expected files to suppress test warning.

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


  Commit: a6027b0f4bb4d8c8f14ac5fd8cbf05f5f7c6a503
      
https://github.com/qemu/qemu/commit/a6027b0f4bb4d8c8f14ac5fd8cbf05f5f7c6a503
  Author: Denis V. Lunev <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

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

  Log Message:
  -----------
  balloon: call qdev_alias_all_properties for proxy dev in balloon class init

The idea is that all other virtio devices are calling this helper
to merge properties of the proxy device. This is the only difference
in between this helper and code in inside virtio_instance_init_common.
The patch should not cause any harm as property list in generic balloon
code is empty.

This also allows to avoid some dummy errors like fixed by this
    commit 91ba21208839643603e7f7fa5864723c3f371ebe
    Author: Gonglei <address@hidden>
    Date:   Tue Sep 30 14:10:35 2014 +0800
    virtio-balloon: fix virtio-balloon child refcount in transports

Signed-off-by: Denis V. Lunev <address@hidden>
Signed-off-by: Raushaniya Maksudova <address@hidden>
Revieved-by: Cornelia Huck <address@hidden>
CC: Christian Borntraeger <address@hidden>
CC: Anthony Liguori <address@hidden>
CC: Michael S. Tsirkin <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9fdc694635ebf275763aa2eee721f69e556fba5e
      
https://github.com/qemu/qemu/commit/9fdc694635ebf275763aa2eee721f69e556fba5e
  Author: Stefan Berger <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/tpm/tpm_tis.h

  Log Message:
  -----------
  tpm: Extend sts register to 32 bit

More recent TIS specs extend the STS register to 32 bit. While
we don't store the TIS interface state, yet, we can extend it
without sideeffects.

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


  Commit: feeb755fde70e34dbec9709f3dab439172cf5153
      
https://github.com/qemu/qemu/commit/feeb755fde70e34dbec9709f3dab439172cf5153
  Author: Stefan Berger <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/tpm/tpm_tis.c

  Log Message:
  -----------
  tpm: Allow 32 & 16 bit accesses to the registers

Improve the access to the registers with 32 and 16 bit reads and writes.
Also enable access to a non-base register address, such as reads of the
2nd byte of a register. Map the FIFO byte access to any byte within
its 4 byte register (following specs).

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


  Commit: 2eae8c7516a99c1309199df8d88c0f0749fce2cb
      
https://github.com/qemu/qemu/commit/2eae8c7516a99c1309199df8d88c0f0749fce2cb
  Author: Stefan Berger <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/tpm/tpm_tis.c

  Log Message:
  -----------
  tpm: Support for XFIFO register

Support for the XFIFO register (range) of the TIS 1.3 specification.
We support a range of 64 bytes.

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


  Commit: fd859081453f94c3cbd6527289e41b7fddbf645f
      
https://github.com/qemu/qemu/commit/fd859081453f94c3cbd6527289e41b7fddbf645f
  Author: Stefan Berger <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/tpm/tpm_int.h
    M hw/tpm/tpm_passthrough.c
    M hw/tpm/tpm_tis.c
    M include/sysemu/tpm_backend.h

  Log Message:
  -----------
  tpm: Support for TIS selftest done flag

Extend the backend to check whether the TPM_ContinueSelfTest
finished successfully and provide a flag to the TIS front-end
if it successfully finished. The TIS then sets a flag in
all localities in the STS register and keeps it until the next
reset.

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


  Commit: 9dd5c40ddfe332d8a03034d8e01208e5e1a4f5f7
      
https://github.com/qemu/qemu/commit/9dd5c40ddfe332d8a03034d8e01208e5e1a4f5f7
  Author: Stefan Berger <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/tpm/tpm_tis.c

  Log Message:
  -----------
  tpm: Support for capability flags of TIS 1.3

Provide the TIS 1.3 capability flags.
The interface now looks like a TIS 1.3 interface. It's fully
compatible with previous TIS 1.2 and drivers written for
TIS 1.2 continue to work.

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


  Commit: 60efd4297d44a1ac41ae46485098919376fdcab4
      
https://github.com/qemu/qemu/commit/60efd4297d44a1ac41ae46485098919376fdcab4
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    R hw/i386/acpi-dsdt-pci-crs.dsl
    M hw/i386/acpi-dsdt.dsl
    M hw/i386/q35-acpi-dsdt.dsl
    M hw/i386/ssdt-misc.dsl

  Log Message:
  -----------
  pc: acpi-build: create PCI0._CRS dynamically

Replace template patching and runtime calculation
in _CRS() method with static _CRS defined in SSDT.
No functional change except of as mentined above
and _CRS being moved from DSDT to SSDT.

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


  Commit: 8bec1a0a78203d2555b7446efa7ebe5d2601f79a
      
https://github.com/qemu/qemu/commit/8bec1a0a78203d2555b7446efa7ebe5d2601f79a
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi: drop manual hole punching for PCI hotplug resources

Drops manual hole punching in PCI0._CRS for PIIX4 machine type.
Resources will be consumed by Device(PHPR) that cwis attached
to PCI bus. The same way how it currently works for mem hotlpug.

Manual hole in PIIX4 _CRS wasn't correct anyway since it was
legacy size 0xF while current PCIHP MMIO region is of size 0x14.

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


  Commit: c2d9c595ade376ad4c94c8c2cab23fd6f50805f7
      
https://github.com/qemu/qemu/commit/c2d9c595ade376ad4c94c8c2cab23fd6f50805f7
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi: drop manual hole punching for CPU hotplug resources

Drops manual hole punching in PCI0._CRS on PIIX4 machine type
for CPU hotplug resources.
Resources will be consumed by Device(PRES) that is attached
to PCI bus. The same way how it currently works for mem hotlpug.

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


  Commit: d31c909e57a131dec7a1e620f36573f2f5fca9e5
      
https://github.com/qemu/qemu/commit/d31c909e57a131dec7a1e620f36573f2f5fca9e5
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi: drop manual hole punching for GPE0 resources

Drops manual hole punching in PCI0._CRS on PIIX4 machine type
for GPE0 resources. Resources will be consumed by Device(GPE0)
that is attached to PCI namespace.
There is GPE device with HID ACPI0006 since ACPI2.0
that should be used for this purpose but none of Windows
versions support it and show it as "unknown device",
so reserve resource in old fashioned way with PNP0A06
device to make windows happy and actually reserve resources.

Along with last hole _CRS layout of PIIX4 machine becomes
the same as Q35 one, so merge them together and use the same
_CRS for both machine types.

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


  Commit: 4ec8d2b3f54dd1dcd9e2a80e529feff4e2603288
      
https://github.com/qemu/qemu/commit/4ec8d2b3f54dd1dcd9e2a80e529feff4e2603288
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/Makefile.objs
    M hw/i386/acpi-build.c
    R hw/i386/ssdt-misc.dsl

  Log Message:
  -----------
  pc: acpi-build: drop remaining ssdt_misc template

It drops empty ssdt_misc templete. It also hides
from user almost all pointer arithmetic when building
SSDT which makes resulting code a bit cleaner
and concentrating only on composing ASL construct
/i.e. a task build_ssdt() should be doing/.

Also it makes one binary blob less stored in QEMU
source tree by removing need to keep and update
hw/i386/ssdt-misc.hex.generated file here in total
saving us ~430LOC.

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


  Commit: 7056045332b997a8cd298e3bf231ecf690accdf4
      
https://github.com/qemu/qemu/commit/7056045332b997a8cd298e3bf231ecf690accdf4
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add acpi_irq_no_flags() term

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


  Commit: 1142e45ffdc5bf76ae920a25495e13223f5d5ed2
      
https://github.com/qemu/qemu/commit/1142e45ffdc5bf76ae920a25495e13223f5d5ed2
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/misc/applesmc.c
    M include/hw/isa/isa.h

  Log Message:
  -----------
  pc: export applesmc IO port/len

IO port and length will be used in following patch
to correctly generate SMC ACPI device in SSDT.

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


  Commit: 8ac6f7a6d64386426daa6c34676d296cafe19a80
      
https://github.com/qemu/qemu/commit/8ac6f7a6d64386426daa6c34676d296cafe19a80
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/acpi-dsdt-isa.dsl
    M hw/i386/acpi-dsdt.dsl
    M hw/i386/q35-acpi-dsdt.dsl

  Log Message:
  -----------
  pc: acpi-build: drop template patching and create Device(SMC) dynamically

patch moves SMC device into SSDT and creates it only
when device is present, which makes ACPI tables smaller
in default case when device is not present.

Also it fixes wrong IO range in CRS if "iobase"
property is set to a non default value.

PS:
Testing with XP shows that current default "iobase"
used SMC device conflicts with floppy controller IO,
but it's topic for another patch and I'd leave it
to SMC device author for resolving conflict.

Signed-off-by: Igor Mammedov <address@hidden>
CC: address@hidden
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 194c8615d7d819887180f196675ba987c4bf43bc
      
https://github.com/qemu/qemu/commit/194c8615d7d819887180f196675ba987c4bf43bc
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M tests/acpi-test-data/pc/DSDT
    M tests/acpi-test-data/pc/SSDT
    M tests/acpi-test-data/q35/DSDT
    M tests/acpi-test-data/q35/SSDT

  Log Message:
  -----------
  tests: ACPI test blobs update due to PCI0._CRS changes

PCI0._CRS was moved into SSDT and became the same for
PIIX4/Q35 machines.

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


  Commit: 3a9c86df2169881978e697109ae9bb8a6ce41e92
      
https://github.com/qemu/qemu/commit/3a9c86df2169881978e697109ae9bb8a6ce41e92
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

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

  Log Message:
  -----------
  tests: bios-tables-test: add support for testing bridges

Adds alternative ACPI table blob selection for testing
non default QEMU configurations. If blob file for test
variant is not present, fallback to default blob.

With this change implement testing with a coldplugged
bridge.

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


  Commit: 71096d6cc5b4341e9b7ee59f10594d5f36ce12b9
      
https://github.com/qemu/qemu/commit/71096d6cc5b4341e9b7ee59f10594d5f36ce12b9
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    A tests/acpi-test-data/pc/SSDT.bridge
    A tests/acpi-test-data/q35/SSDT.bridge

  Log Message:
  -----------
  tests: add ACPI blobs for qemu with bridge cases

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


  Commit: b23046abe78f48498a423b802d6d86ba0172d57f
      
https://github.com/qemu/qemu/commit/b23046abe78f48498a423b802d6d86ba0172d57f
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi-build: simplify PCI bus tree generation

it basicaly does the same as original approach,
* just without bus/notify tables tracking (less obscure)
  which is easier to follow.
* drops unnecessary loops and bitmaps,
  creating devices and notification method in the same loop.
* saves us ~100LOC

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


  Commit: 752bba815ec5b67e2aa6d7c86fd2be80e45c203b
      
https://github.com/qemu/qemu/commit/752bba815ec5b67e2aa6d7c86fd2be80e45c203b
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M tests/acpi-test-data/pc/SSDT.bridge

  Log Message:
  -----------
  tests: ACPI: update pc/SSDT.bridge due to new alg of PCI tree creation

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


  Commit: 62b52c266582d3241a468dc08dbaa81e337cb03f
      
https://github.com/qemu/qemu/commit/62b52c266582d3241a468dc08dbaa81e337cb03f
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/i386/Makefile.objs
    M hw/i386/acpi-build.c
    R hw/i386/ssdt-pcihp.dsl

  Log Message:
  -----------
  pc: acpi-build: drop template patching and create PCI bus tree dynamically

Replace AML template patching with direct composing
of PCI device entries in C. It allows to simplify
PCI tree generation further and saves us about 400LOC
scattered through different files, confining tree
generation to one C function which is much easier
to deal with.

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


  Commit: 72f15d6e53485e8d1754e56e0013bed2e5816fa8
      
https://github.com/qemu/qemu/commit/72f15d6e53485e8d1754e56e0013bed2e5816fa8
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    R hw/i386/ssdt-misc.hex.generated
    R hw/i386/ssdt-pcihp.hex.generated

  Log Message:
  -----------
  pc: acpi: remove not used anymore ssdt-[misc|pcihp].hex.generated blobs

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


  Commit: af59b35ce1aa3e69488e7308b632d5af2ac54948
      
https://github.com/qemu/qemu/commit/af59b35ce1aa3e69488e7308b632d5af2ac54948
  Author: Igor Mammedov <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: make build_*() routines static to aml-build.c

build_*() routines were used for composing AML
structures manually in acpi-build.c but after
conversion to AML API they are not used outside
of aml-build.c anymore, so hide them from external
users.

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


  Commit: 6dbcb81956b16d794c9c0257b94bd4c6feba713f
      
https://github.com/qemu/qemu/commit/6dbcb81956b16d794c9c0257b94bd4c6feba713f
  Author: Markus Armbruster <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/pci/pci.c
    M include/hw/pci/pci.h

  Log Message:
  -----------
  pci: Give a few helpers internal linkage

None of them should be used in new code.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: f51074cdc6e750daa3b6df727d83449a7e42b391
      
https://github.com/qemu/qemu/commit/f51074cdc6e750daa3b6df727d83449a7e42b391
  Author: Markus Armbruster <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M default-configs/i386-softmmu.mak
    M default-configs/x86_64-softmmu.mak
    M device-hotplug.c
    M hmp-commands.hx
    M hw/pci/Makefile.objs
    R hw/pci/pci-hotplug-old.c
    M include/sysemu/blockdev.h
    M include/sysemu/sysemu.h
    M stubs/Makefile.objs
    R stubs/pci-drive-hot-add.c

  Log Message:
  -----------
  pci-hotplug-old: Has been dead for five major releases, bury

Commit 79ca616 (v1.6.0) accidentally disabled legacy x86-only HMP
commands pci_add, pci_del: it defined CONFIG_PCI_HOTPLUG only as make
variable, not as preprocessor macro, killing the code conditional on
defined(CONFIG_PCI_HOTPLUG_OLD).

In all this time, nobody reported the loss.  I only noticed it when I
tried to test some error reporting change that forced me to touch this
old crap again.

Fun: git-log hw/pci/pci-hotplug-old.c shows our faith in the backward
compatibility god has been strong enough to sacrifice at its altar
about a dozen times, but not strong enough to even once verify the
legacy feature's still there, let alone works.

Remove the commands along with the code backing them.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 1d51570166171cd85dfcd08b2eac2f02a3fda6fe
      
https://github.com/qemu/qemu/commit/1d51570166171cd85dfcd08b2eac2f02a3fda6fe
  Author: Tang Chen <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M hw/acpi/memory_hotplug.c

  Log Message:
  -----------
  acpi, mem-hotplug: use PC_DIMM_SLOT_PROP in acpi_memory_plug_cb().

Replace string "slot" in acpi_memory_plug_cb() with macro PC_DIMM_SLOT_PROP.

Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Tang Chen <address@hidden>
Signed-off-by: Zhu Guihua <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: e32dccddb0b1fa335bf251c155e907f9d47accfd
      
https://github.com/qemu/qemu/commit/e32dccddb0b1fa335bf251c155e907f9d47accfd
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M tests/acpi-test-data/pc/SSDT
    M tests/acpi-test-data/pc/SSDT.bridge
    M tests/acpi-test-data/q35/SSDT
    M tests/acpi-test-data/q35/SSDT.bridge

  Log Message:
  -----------
  acpi-test-data: update after pci rewrite

more trivial changes as more code has been rewritten in C.
we also got rid of extra Scope operators.

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


  Commit: 92144c70939d9d029807c10a038acd07289f71bd
      
https://github.com/qemu/qemu/commit/92144c70939d9d029807c10a038acd07289f71bd
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M Makefile.target

  Log Message:
  -----------
  Makefile.target: binary depends on config-devices

relink binary whenever config-devices.mak changes:
this makes sense as we are adding/removing devices,
so binary has to be relinked to be up to date.

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


  Commit: 48ce35b7645154eff6b685b3178aacf33f2ff871
      
https://github.com/qemu/qemu/commit/48ce35b7645154eff6b685b3178aacf33f2ff871
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-03-02 (Mon, 02 Mar 2015)

  Changed paths:
    M hw/i386/acpi-dsdt.hex.generated
    M hw/i386/q35-acpi-dsdt.hex.generated
    M hw/i386/ssdt-tpm.hex.generated

  Log Message:
  -----------
  acpi: update generated files

Fixes up build on systems without iasl.

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


  Commit: 2e5feadbf8133b9b108919a2f576943b448a1a06
      
https://github.com/qemu/qemu/commit/2e5feadbf8133b9b108919a2f576943b448a1a06
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M hw/acpi/aml-build.c

  Log Message:
  -----------
  aml-build: fix build for glib < 2.22

g_ptr_array_new_with_free_func is there since glib 2.22,
use the older g_ptr_array_foreach instead.

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


  Commit: 24f938a682d934b133863eb421aac33592f7a09e
      
https://github.com/qemu/qemu/commit/24f938a682d934b133863eb421aac33592f7a09e
  Author: Haifeng Gao <address@hidden>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M net/vhost-user.c

  Log Message:
  -----------
  vhost user:support vhost user nic for non msi guests

Currently, vhost user nic doesn't support non msi guests(like pxe stage) by 
default.
Vhost user nic can't fall back to qemu like normal vhost net nic does. So we 
should
enable it for non msi guests.

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


  Commit: 09d219a31cf87ed98150c0a9e772e54f470f2a01
      
https://github.com/qemu/qemu/commit/09d219a31cf87ed98150c0a9e772e54f470f2a01
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M hw/i386/acpi-dsdt.hex.generated
    M hw/i386/q35-acpi-dsdt.hex.generated

  Log Message:
  -----------
  acpi: update generated files

Fixes up build on systems without iasl.

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


  Commit: e71fd76454ac78f8feee69acb301263f2bc7a55c
      
https://github.com/qemu/qemu/commit/e71fd76454ac78f8feee69acb301263f2bc7a55c
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-03-08 (Sun, 08 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi-build: fix typo in comment

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


  Commit: 56521fb88f7e3d2e3c7cf87d5f85e17e563c0df7
      
https://github.com/qemu/qemu/commit/56521fb88f7e3d2e3c7cf87d5f85e17e563c0df7
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-03-08 (Sun, 08 Mar 2015)

  Changed paths:
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  aml-build: comment fix

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


  Commit: 59ea3e7532a85b15bd551335b27fa97db48efa8d
      
https://github.com/qemu/qemu/commit/59ea3e7532a85b15bd551335b27fa97db48efa8d
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-03-08 (Sun, 08 Mar 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi: drop unused code

Recent changes left acpi_get_hex unused,
and clag is unhappy about it:
    error: unused function 'acpi_get_hex'

Drop it, as well as some unused macros.

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


  Commit: 0048fa6c807fc8fb5c52873562ea3debfa65f085
      
https://github.com/qemu/qemu/commit/0048fa6c807fc8fb5c52873562ea3debfa65f085
  Author: Peter Maydell <address@hidden>
  Date:   2015-03-09 (Mon, 09 Mar 2015)

  Changed paths:
    M default-configs/i386-softmmu.mak
    M default-configs/x86_64-softmmu.mak
    M device-hotplug.c
    M exec.c
    M hmp-commands.hx
    M hw/9pfs/virtio-9p-device.c
    M hw/9pfs/virtio-9p.h
    M hw/acpi/Makefile.objs
    A hw/acpi/aml-build.c
    M hw/acpi/bios-linker-loader.c
    M hw/acpi/ich9.c
    M hw/acpi/memory_hotplug.c
    M hw/acpi/pcihp.c
    M hw/acpi/piix4.c
    M hw/audio/ac97.c
    M hw/audio/es1370.c
    M hw/audio/intel-hda.c
    M hw/block/virtio-blk.c
    M hw/char/serial-pci.c
    M hw/char/virtio-serial-bus.c
    M hw/core/qdev-properties.c
    M hw/core/qdev.c
    M hw/display/cirrus_vga.c
    M hw/display/qxl.c
    M hw/display/vga-pci.c
    M hw/display/vmware_vga.c
    M hw/i2c/smbus_ich9.c
    M hw/i386/Makefile.objs
    M hw/i386/acpi-build.c
    M hw/i386/acpi-dsdt-cpu-hotplug.dsl
    M hw/i386/acpi-dsdt-isa.dsl
    M hw/i386/acpi-dsdt-mem-hotplug.dsl
    R hw/i386/acpi-dsdt-pci-crs.dsl
    M hw/i386/acpi-dsdt.dsl
    M hw/i386/acpi-dsdt.hex.generated
    M hw/i386/kvm/pci-assign.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/q35-acpi-dsdt.dsl
    M hw/i386/q35-acpi-dsdt.hex.generated
    R hw/i386/ssdt-mem.dsl
    R hw/i386/ssdt-mem.hex.generated
    R hw/i386/ssdt-misc.dsl
    R hw/i386/ssdt-misc.hex.generated
    R hw/i386/ssdt-pcihp.dsl
    R hw/i386/ssdt-pcihp.hex.generated
    R hw/i386/ssdt-proc.dsl
    R hw/i386/ssdt-proc.hex.generated
    M hw/i386/ssdt-tpm.hex.generated
    M hw/ide/cmd646.c
    M hw/ide/ich.c
    M hw/ide/piix.c
    M hw/ide/via.c
    M hw/ipack/tpci200.c
    M hw/isa/i82378.c
    M hw/isa/lpc_ich9.c
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/misc/applesmc.c
    M hw/misc/pci-testdev.c
    M hw/net/e1000.c
    M hw/net/eepro100.c
    M hw/net/lance.c
    M hw/net/ne2000.c
    M hw/net/pcnet-pci.c
    M hw/net/pcnet.c
    M hw/net/pcnet.h
    M hw/net/rtl8139.c
    M hw/net/vhost_net.c
    M hw/net/virtio-net.c
    M hw/net/vmxnet3.c
    M hw/pci-bridge/dec.c
    M hw/pci-host/apb.c
    M hw/pci-host/bonito.c
    M hw/pci-host/grackle.c
    M hw/pci-host/piix.c
    M hw/pci-host/ppce500.c
    M hw/pci-host/prep.c
    M hw/pci-host/q35.c
    M hw/pci-host/uninorth.c
    M hw/pci-host/versatile.c
    M hw/pci/Makefile.objs
    R hw/pci/pci-hotplug-old.c
    M hw/pci/pci.c
    M hw/s390x/s390-virtio-bus.h
    M hw/s390x/s390-virtio.h
    M hw/s390x/virtio-ccw.c
    M hw/scsi/virtio-scsi.c
    M hw/sd/sdhci.c
    M hw/tpm/tpm_int.h
    M hw/tpm/tpm_passthrough.c
    M hw/tpm/tpm_tis.c
    M hw/tpm/tpm_tis.h
    M hw/usb/hcd-ehci-pci.c
    M hw/usb/hcd-xhci.c
    M hw/virtio/dataplane/vring.c
    M hw/virtio/virtio-balloon.c
    M hw/virtio/virtio-bus.c
    M hw/virtio/virtio-mmio.c
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio.c
    M hw/watchdog/wdt_i6300esb.c
    A include/hw/acpi/aml-build.h
    M include/hw/acpi/ich9.h
    M include/hw/acpi/pc-hotplug.h
    M include/hw/acpi/pcihp.h
    M include/hw/i386/pc.h
    M include/hw/isa/isa.h
    M include/hw/pci/pci.h
    M include/hw/qdev-properties.h
    M include/hw/virtio/dataplane/vring-accessors.h
    M include/hw/virtio/dataplane/vring.h
    M include/hw/virtio/virtio-balloon.h
    M include/hw/virtio/virtio-blk.h
    M include/hw/virtio/virtio-bus.h
    M include/hw/virtio/virtio-net.h
    M include/hw/virtio/virtio-rng.h
    M include/hw/virtio/virtio-scsi.h
    M include/hw/virtio/virtio-serial.h
    M include/hw/virtio/virtio.h
    R include/hw/virtio/virtio_ring.h
    M include/net/tap.h
    A include/standard-headers/asm-s390/kvm_virtio.h
    A include/standard-headers/asm-s390/virtio-ccw.h
    A include/standard-headers/linux/if_ether.h
    A include/standard-headers/linux/types.h
    A include/standard-headers/linux/virtio_9p.h
    A include/standard-headers/linux/virtio_balloon.h
    A include/standard-headers/linux/virtio_blk.h
    A include/standard-headers/linux/virtio_config.h
    A include/standard-headers/linux/virtio_console.h
    A include/standard-headers/linux/virtio_ids.h
    A include/standard-headers/linux/virtio_net.h
    A include/standard-headers/linux/virtio_pci.h
    A include/standard-headers/linux/virtio_ring.h
    A include/standard-headers/linux/virtio_rng.h
    A include/standard-headers/linux/virtio_scsi.h
    A include/standard-headers/linux/virtio_types.h
    M include/sysemu/blockdev.h
    M include/sysemu/sysemu.h
    M include/sysemu/tpm_backend.h
    M linux-headers/linux/virtio_config.h
    M linux-headers/linux/virtio_ring.h
    M net/vhost-user.c
    M scripts/update-linux-headers.sh
    M stubs/Makefile.objs
    R stubs/pci-drive-hot-add.c
    M tests/acpi-test-data/pc/DSDT
    M tests/acpi-test-data/pc/SSDT
    A tests/acpi-test-data/pc/SSDT.bridge
    M tests/acpi-test-data/q35/DSDT
    M tests/acpi-test-data/q35/SSDT
    A tests/acpi-test-data/q35/SSDT.bridge
    M tests/bios-tables-test.c
    M vl.c

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

pci, pc, virtio fixes and cleanups

A bunch of fixes all over the place.
All of ACPI refactoring has been merged.
Legacy pci commands have been dropped.
virtio header cleanup
initial patches from virtio-1.0 branch

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

* remotes/mst/tags/for_upstream: (130 commits)
  acpi: drop unused code
  aml-build: comment fix
  acpi-build: fix typo in comment
  acpi: update generated files
  vhost user:support vhost user nic for non msi guests
  aml-build: fix build for glib < 2.22
  acpi: update generated files
  Makefile.target: binary depends on config-devices
  acpi-test-data: update after pci rewrite
  acpi, mem-hotplug: use PC_DIMM_SLOT_PROP in acpi_memory_plug_cb().
  pci-hotplug-old: Has been dead for five major releases, bury
  pci: Give a few helpers internal linkage
  acpi: make build_*() routines static to aml-build.c
  pc: acpi: remove not used anymore ssdt-[misc|pcihp].hex.generated blobs
  pc: acpi-build: drop template patching and create PCI bus tree dynamically
  tests: ACPI: update pc/SSDT.bridge due to new alg of PCI tree creation
  pc: acpi-build: simplify PCI bus tree generation
  tests: add ACPI blobs for qemu with bridge cases
  tests: bios-tables-test: add support for testing bridges
  tests: ACPI test blobs update due to PCI0._CRS changes
  ...

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

Conflicts:
        hw/pci/pci-hotplug-old.c


Compare: https://github.com/qemu/qemu/compare/6608c7e9eb65...0048fa6c807f

reply via email to

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