qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 91ab2e: pc: piix4_pm: init legacy PCI hotplug


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 91ab2e: pc: piix4_pm: init legacy PCI hotplug when running...
Date: Fri, 14 Nov 2014 05:30:06 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 91ab2ed7221c70ed7fd09ab2665b1f0493c775a4
      
https://github.com/qemu/qemu/commit/91ab2ed7221c70ed7fd09ab2665b1f0493c775a4
  Author: Igor Mammedov <address@hidden>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M hw/acpi/piix4.c
    M hw/i386/pc_piix.c

  Log Message:
  -----------
  pc: piix4_pm: init legacy PCI hotplug when running on Xen

If user starts QEMU with "-machine pc,accel=xen", then
compat property in xenfv won't work and it would cause error:
"Unsupported bus. Bus doesn't have property 'acpi-pcihp-bsel' set"
when PCI device is added with -device on QEMU CLI.

From: Igor Mammedov <address@hidden>

In case of Xen instead of using compat property, just use the fact
that xen doesn't use QEMU's fw_cfg/acpi tables to switch piix4_pm
into legacy PCI hotplug mode when Xen is enabled.

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Li Liang <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>


  Commit: 2f01dfacb56bc7a0d4639adc9dff9aae131e6216
      
https://github.com/qemu/qemu/commit/2f01dfacb56bc7a0d4639adc9dff9aae131e6216
  Author: Roger Pau Monne <address@hidden>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M hw/block/xen_disk.c

  Log Message:
  -----------
  xen_disk: fix unmapping of persistent grants

This patch fixes two issues with persistent grants and the disk PV backend
(Qdisk):

 - Keep track of memory regions where persistent grants have been mapped
   since we need to unmap them as a whole. It is not possible to unmap a
   single grant if it has been batch-mapped. A new check has also been added
   to make sure persistent grants are only used if the whole mapped region
   can be persistently mapped in the batch_maps case.
 - Unmap persistent grants before switching to the closed state, so the
   frontend can also free them.

Signed-off-by: Roger Pau Monné <address@hidden>
Reported-by: George Dunlap <address@hidden>
Cc: Stefano Stabellini <address@hidden>
Cc: Kevin Wolf <address@hidden>
Cc: Stefan Hajnoczi <address@hidden>
Cc: George Dunlap <address@hidden>
Cc: Konrad Rzeszutek Wilk <address@hidden>


  Commit: 4e70f9271dabc58fbf14680843bfac510c193152
      
https://github.com/qemu/qemu/commit/4e70f9271dabc58fbf14680843bfac510c193152
  Author: Peter Maydell <address@hidden>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M hw/acpi/piix4.c
    M hw/block/xen_disk.c
    M hw/i386/pc_piix.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/sstabellini/xen-2014-11-14' into staging

* remotes/sstabellini/xen-2014-11-14:
  xen_disk: fix unmapping of persistent grants
  pc: piix4_pm: init legacy PCI hotplug when running on Xen

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


Compare: https://github.com/qemu/qemu/compare/b87dcdd0746d...4e70f9271dab

reply via email to

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