1. 15 12月, 2014 36 次提交
  2. 26 11月, 2014 2 次提交
  3. 25 11月, 2014 2 次提交
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · ca602818
      Peter Maydell 提交于
      pc, pci, misc bugfixes
      
      A bunch of bugfixes for 2.2.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Mon 24 Nov 2014 18:59:47 GMT using RSA key ID D28D5469
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
      
      * remotes/mst/tags/for_upstream:
        pc: acpi: mark all possible CPUs as enabled in SRAT
        pcie: fix improper use of negative value
        pcie: fix typo in pcie_cap_deverr_init()
        target-i386: move generic memory hotplug methods to DSDTs
        acpi-build: mark RAM dirty on table update
        hw/pci: fix crash on shpc error flow
        pc: count in 1Gb hugepage alignment when sizing hotplug-memory container
        pc: explicitly check maxmem limit when adding DIMM
        pc: pc-dimm: use backend alignment during address auto allocation
        pc: align DIMM's address/size by backend's alignment value
        memory: expose alignment used for allocating RAM as MemoryRegion API
        pc: limit DIMM address and size to page aligned values
        pc: make pc_dimm_plug() more readble
        pc: kvm: check if KVM has free memory slots to avoid abort()
        qemu-char: fix tcp_get_fds
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ca602818
    • I
      pc: acpi: mark all possible CPUs as enabled in SRAT · dd0247e0
      Igor Mammedov 提交于
      If QEMU is started with  -numa ... Windows only notices that
      CPU has been hot-added but it will not online such CPUs.
      
      It's caused by the fact that possible CPUs are flagged as
      not enabled in SRAT and Windows honoring that information
      doesn't use corresponding CPU.
      
      ACPI 5.0 Spec regarding to flag says:
      "
      Table 5-47 Local APIC Flags
      ...
      Enabled: if zero, this processor is unusable, and the operating system
      support will not attempt to use it.
      "
      
      Fix QEMU to adhere to spec and mark possible CPUs as enabled
      in SRAT.
      
      With that Windows onlines hot-added CPUs as expected.
      Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      dd0247e0