[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] a1ff8a: memory: Change MemoryRegion prioritie
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] a1ff8a: memory: Change MemoryRegion priorities from unsign... |
Date: |
Thu, 31 Oct 2013 14:00:12 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: a1ff8ae0666ffcbe78ae7e28812dd30db6bb7131
https://github.com/qemu/qemu/commit/a1ff8ae0666ffcbe78ae7e28812dd30db6bb7131
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/core/sysbus.c
M include/exec/memory.h
M include/hw/sysbus.h
M memory.c
Log Message:
-----------
memory: Change MemoryRegion priorities from unsigned to signed
When memory regions overlap, priority can be used to specify
which of them takes priority. By making the priority values signed
rather than unsigned, we make it more convenient to implement
a situation where one "background" region should appear only
where no other region exists: rather than having to explicitly
specify a high priority for all the other regions, we can let them take
the default (zero) priority and specify a negative priority for the
background region.
Reviewed-by: Peter Maydell <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 8002ccd6e4c5c52210c5fc886f7bf88fd707c2df
https://github.com/qemu/qemu/commit/8002ccd6e4c5c52210c5fc886f7bf88fd707c2df
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M docs/memory.txt
Log Message:
-----------
docs/memory: Explictly state that MemoryRegion priority is signed
When memory regions overlap, priority can be used to specify
which of them takes priority. By making the priority values signed
rather than unsigned, we make it more convenient to implement
a situation where one "background" region should appear only
where no other region exists: rather than having to explicitly
specify a high priority for all the other regions, we can let them take
the default (zero) priority and specify a negative priority for the
background region.
Signed-off-by: Peter Maydell <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: a53ae8e934cd54686875b5bcfc2f434244ee55d6
https://github.com/qemu/qemu/commit/a53ae8e934cd54686875b5bcfc2f434244ee55d6
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci/pci.c
M include/hw/pci/pci_bus.h
Log Message:
-----------
hw/pci: partially handle pci master abort
A MemoryRegion with negative priority was created and
it spans over all the pci address space.
It "intercepts" the accesses to unassigned pci
address space and will follow the pci spec:
1. returns -1 on read
2. does nothing on write
Note: setting the RECEIVED MASTER ABORT bit in the STATUS register
of the device that initiated the transaction will be
implemented in another series
Signed-off-by: Marcel Apfelbaum <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: a8a9d30bab2fae2e0ab3436fa0a40d89fbb0cf4e
https://github.com/qemu/qemu/commit/a8a9d30bab2fae2e0ab3436fa0a40d89fbb0cf4e
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/core/irq.c
M include/hw/irq.h
Log Message:
-----------
hw/core: Add interface to allocate and free a single IRQ
qemu_allocate_irq returns a single qemu_irq.
The interface allows to specify an interrupt number.
qemu_free_irq frees it.
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: d98f08f54e0882b4da1177345161afabb8d47d94
https://github.com/qemu/qemu/commit/d98f08f54e0882b4da1177345161afabb8d47d94
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci/pci.c
M include/hw/pci/pci.h
Log Message:
-----------
hw/pci: add pci wrappers for allocating and asserting irqs
Interrupt pin is selected and saved into PCI_INTERRUPT_PIN
register during device initialization. Devices should not call
directly qemu_set_irq and specify the INTx pin on each call.
Added pci_* wrappers to replace qemu_set_irq, qemu_irq_raise,
qemu_irq_lower and qemu_irq_pulse, setting the irq
based on PCI_INTERRUPT_PIN.
Added pci_allocate_irq wrapper to be used by devices that
still need PCIDevice infrastructure to assert irqs.
Renamed a static method which was named already pci_set_irq.
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: c008ac0c1cb68dfe8dcfda0e25562fa81c687e50
https://github.com/qemu/qemu/commit/c008ac0c1cb68dfe8dcfda0e25562fa81c687e50
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci-bridge/pci_bridge_dev.c
Log Message:
-----------
hw/pci-bridge: set PCI_INTERRUPT_PIN register before shpc init
The PCI_INTERRUPT_PIN will be used by shpc init, so
was moved before the call to shpc_init.
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 4c89e3e59368584ae6f34fdfce3c698223b8a918
https://github.com/qemu/qemu/commit/4c89e3e59368584ae6f34fdfce3c698223b8a918
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/net/vmxnet3.c
Log Message:
-----------
hw/vmxnet3: set interrupts using pci irq wrappers
pci_set_irq uses PCI_INTERRUPT_PIN config register
to compute device INTx pin to assert/deassert.
An assert is used to ensure that intx received
from the quest OS corresponds to PCI_INTERRUPT_PIN.
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 68919cace8242363edfe8ff9b9c68b5e58c30db4
https://github.com/qemu/qemu/commit/68919cace8242363edfe8ff9b9c68b5e58c30db4
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/misc/vfio.c
Log Message:
-----------
hw/vfio: set interrupts using pci irq wrappers
pci_set_irq and the other pci irq wrappers use
PCI_INTERRUPT_PIN config register to compute device
INTx pin to assert/deassert.
save INTX pin into the config register before calling
pci_set_irq
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 9e64f8a3fcc88a508990a62ecc5a1269e41272ad
https://github.com/qemu/qemu/commit/9e64f8a3fcc88a508990a62ecc5a1269e41272ad
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/audio/ac97.c
M hw/audio/es1370.c
M hw/audio/intel-hda.c
M hw/block/nvme.c
M hw/char/serial-pci.c
M hw/char/tpci200.c
M hw/display/qxl.c
M hw/ide/cmd646.c
M hw/ide/ich.c
M hw/isa/vt82c686.c
M hw/misc/ivshmem.c
M hw/net/e1000.c
M hw/net/eepro100.c
M hw/net/ne2000.c
M hw/net/pcnet-pci.c
M hw/net/rtl8139.c
M hw/pci/shpc.c
M hw/scsi/esp-pci.c
M hw/scsi/lsi53c895a.c
M hw/scsi/megasas.c
M hw/scsi/vmw_pvscsi.c
M hw/usb/hcd-ehci-pci.c
M hw/usb/hcd-ohci.c
M hw/usb/hcd-uhci.c
M hw/usb/hcd-xhci.c
M hw/virtio/virtio-pci.c
Log Message:
-----------
hw: set interrupts using pci irq wrappers
pci_set_irq and the other pci irq wrappers use
PCI_INTERRUPT_PIN config register to compute device
INTx pin to assert/deassert.
An irq is allocated using pci_allocate_irq wrapper
only if is needed by non pci devices.
Removed irq related fields from state if not used anymore.
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 5a03e708f213c716c9dde11e8ab4b23b8ca5c066
https://github.com/qemu/qemu/commit/5a03e708f213c716c9dde11e8ab4b23b8ca5c066
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci/pcie.c
M hw/pci/pcie_aer.c
M include/hw/pci/pcie.h
Log Message:
-----------
hw/pcie: AER and hot-plug events must use device's interrupt
The fields hpev_intx and aer_intx were removed because
both AER and hot-plug events must use device's interrupt.
Assert/deassert interrupts using pci irq wrappers instead.
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: c31d04b516b183b02336f8cce65a41bd547f6f6b
https://github.com/qemu/qemu/commit/c31d04b516b183b02336f8cce65a41bd547f6f6b
Author: Marcel Apfelbaum <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci/pci.c
M include/hw/pci/pci.h
Log Message:
-----------
hw/pci: removed irq field from PCIDevice
Instead of exposing the the irq field,
pci wrappers to qemu_set_irq or qemu_irq_*
can be used.
Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 008e05662ae5ff314b2b8462508ffd4b40503369
https://github.com/qemu/qemu/commit/008e05662ae5ff314b2b8462508ffd4b40503369
Author: Igor Mammedov <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M include/qom/object.h
Log Message:
-----------
cleanup object.h: include error.h directly
qapi/error.h is simple enough to be included in qom/object.h
direcly and prepares qom/object.h to use Error typedef.
Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: e82df24873970742778e4a960f059ba9f8b1b2a7
https://github.com/qemu/qemu/commit/e82df24873970742778e4a960f059ba9f8b1b2a7
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M include/qom/object.h
Log Message:
-----------
qom: cleanup struct Error references
now that a typedef for struct Error is available,
use it in qom/object.h to match coding style rules.
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: e732ea638705da35445a42dee32691fbe813d3e0
https://github.com/qemu/qemu/commit/e732ea638705da35445a42dee32691fbe813d3e0
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M include/qom/object.h
M qom/object.c
Log Message:
-----------
qom: add pointer to int property helpers
Make it easy to add read-only helpers for simple
integer properties in memory.
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 77d6f4ea7608fe7f47c9d7beddd19191b2e852b2
https://github.com/qemu/qemu/commit/77d6f4ea7608fe7f47c9d7beddd19191b2e852b2
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci/pci.c
Log Message:
-----------
pci: fix up w64 size calculation helper
BAR base was calculated incorrectly.
Use existing pci_bar_address to get it right.
Tested-by: Igor Mammedov <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: d87072ceeccf4f84a64d4bc59124bcd64286c070
https://github.com/qemu/qemu/commit/d87072ceeccf4f84a64d4bc59124bcd64286c070
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/nvram/fw_cfg.c
M include/hw/nvram/fw_cfg.h
Log Message:
-----------
fw_cfg: interface to trigger callback on read
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 48354cc5a3744c9a56462e5053e1f267a0ce69de
https://github.com/qemu/qemu/commit/48354cc5a3744c9a56462e5053e1f267a0ce69de
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/core/loader.c
M hw/lm32/lm32_hwsetup.h
M include/hw/loader.h
Log Message:
-----------
loader: support for unmapped ROM blobs
Support ROM blobs not mapped into guest memory:
same as ROM files really but use caller's buffer.
Support invoking callback on access and
return memory pointer making it easier
for caller to update memory if necessary.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 079e3e7012a0e3ff80b4786e67f5a5d4341dcd51
https://github.com/qemu/qemu/commit/079e3e7012a0e3ff80b4786e67f5a5d4341dcd51
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci/pcie_host.c
M include/hw/pci/pcie_host.h
Log Message:
-----------
pcie_host: expose UNMAPPED macro
Make it possible to test unmapped status through QMP.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 6f6d282330a3c85ecbeb54dec5b57282bd177b44
https://github.com/qemu/qemu/commit/6f6d282330a3c85ecbeb54dec5b57282bd177b44
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci/pcie_host.c
M include/hw/pci/pcie_host.h
Log Message:
-----------
pcie_host: expose address format
Callers pass in the address so it's helpful for
them to be able to decode it.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 87f65245db4665edff22242c17546954d9d59c82
https://github.com/qemu/qemu/commit/87f65245db4665edff22242c17546954d9d59c82
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci-host/q35.c
M include/hw/pci/pcie_host.h
Log Message:
-----------
q35: use macro for MCFG property name
Useful to make it accessible through QOM.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: cbcaf79e3ce1b14084f3e3f4f64365e9bfd70e6a
https://github.com/qemu/qemu/commit/cbcaf79e3ce1b14084f3e3f4f64365e9bfd70e6a
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/pci-host/q35.c
M include/hw/pci/pcie_host.h
Log Message:
-----------
q35: expose mmcfg size as a property
Address is already exposed, expose size for symmetry.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 74523b850189afc23b608918c458b9242757f6d9
https://github.com/qemu/qemu/commit/74523b850189afc23b608918c458b9242757f6d9
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
A hw/i386/acpi-dsdt-cpu-hotplug.dsl
A hw/i386/acpi-dsdt-dbug.dsl
A hw/i386/acpi-dsdt-hpet.dsl
A hw/i386/acpi-dsdt-isa.dsl
A hw/i386/acpi-dsdt-pci-crs.dsl
A hw/i386/acpi-dsdt.dsl
A hw/i386/q35-acpi-dsdt.dsl
A hw/i386/ssdt-misc.dsl
A hw/i386/ssdt-pcihp.dsl
A hw/i386/ssdt-proc.dsl
A scripts/acpi_extract.py
A scripts/acpi_extract_preprocess.py
Log Message:
-----------
i386: add ACPI table files from seabios
This adds ASL code as well as scripts for processing it,
imported from seabios git tree
commit 51684b7ced75fb76776e8ee84833fcfb6ecf12dd
Will be used for runtime acpi table generation.
Note:
This patch reuses some code from SeaBIOS, which was originally under
LGPLv2 and then relicensed to GPLv3 or LGPLv3, in QEMU under GPLv2+. This
relicensing has been acked by all contributors that had contributed to the
code since the v2->v3 relicense. ACKs approving the v2+ relicensing are
listed below. The list might include ACKs from people not holding
copyright on any parts of the reused code, but it's better to err on the
side of caution and include them.
Affected SeaBIOS files (GPLv2+ license headers added)
<http://thread.gmane.org/gmane.comp.bios.coreboot.seabios/5949>:
src/acpi-dsdt-cpu-hotplug.dsl
src/acpi-dsdt-dbug.dsl
src/acpi-dsdt-hpet.dsl
src/acpi-dsdt-isa.dsl
src/acpi-dsdt-pci-crs.dsl
src/acpi.c
src/acpi.h
src/ssdt-misc.dsl
src/ssdt-pcihp.dsl
src/ssdt-proc.dsl
tools/acpi_extract.py
tools/acpi_extract_preprocess.py
Each one of the listed people agreed to the following:
> If you allow the use of your contribution in QEMU under the
> terms of GPLv2 or later as proposed by this patch,
> please respond to this mail including the line:
>
> Acked-by: Name <email address>
Acked-by: Gerd Hoffmann <address@hidden>
Acked-by: Jan Kiszka <address@hidden>
Acked-by: Jason Baron <address@hidden>
Acked-by: David Woodhouse <address@hidden>
Acked-by: Gleb Natapov <address@hidden>
Acked-by: Marcelo Tosatti <address@hidden>
Acked-by: Dave Frodin <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Acked-by: Kevin O'Connor <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Kenji Kaneshige <address@hidden>
Acked-by: Isaku Yamahata <address@hidden>
Acked-by: Magnus Christensson <address@hidden>
Acked-by: Hu Tao <address@hidden>
Acked-by: Eduardo Habkost <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Hu Tao <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: a31a864273bb501851a4d52a366c645d06a53991
https://github.com/qemu/qemu/commit/a31a864273bb501851a4d52a366c645d06a53991
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M configure
M hw/i386/Makefile.objs
A scripts/update-acpi.sh
Log Message:
-----------
acpi: add rules to compile ASL source
Detect presence of IASL compiler and use it
to process ASL source. If not there, use pre-compiled
files in-tree. Add script to update the in-tree files.
Note: distros are known to silently update iasl
so detect correct iasl flags for the installed version on each run as
opposed to at configure time.
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: d512d0d723cc3a08ac0409e1ab13edfa1cc04c70
https://github.com/qemu/qemu/commit/d512d0d723cc3a08ac0409e1ab13edfa1cc04c70
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
A hw/i386/acpi-dsdt.hex.generated
A hw/i386/q35-acpi-dsdt.hex.generated
A hw/i386/ssdt-misc.hex.generated
A hw/i386/ssdt-pcihp.hex.generated
A hw/i386/ssdt-proc.hex.generated
Log Message:
-----------
acpi: pre-compiled ASL files
Add pre-compiled ASL files. Useful for systems that
do not have IASL.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 544d2bfa84c43f9d4c70ca2202a6113d686b8999
https://github.com/qemu/qemu/commit/544d2bfa84c43f9d4c70ca2202a6113d686b8999
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/i386/ssdt-pcihp.hex.generated
Log Message:
-----------
acpi: ssdt pcihp: updat generated file
update generated file, not sure what changed
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 35c12e60c840bc4840cbbe3f6ca514a53b2e36bc
https://github.com/qemu/qemu/commit/35c12e60c840bc4840cbbe3f6ca514a53b2e36bc
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/core/loader.c
M include/hw/nvram/fw_cfg.h
Log Message:
-----------
loader: use file path size from fw_cfg.h
Avoid a bit of code duplication, make
max file path constant reusable.
Suggested-by: Laszlo Ersek <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: bc70232918ad3fb45c2b5423455a5de6bc7efdef
https://github.com/qemu/qemu/commit/bc70232918ad3fb45c2b5423455a5de6bc7efdef
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/i386/Makefile.objs
A hw/i386/bios-linker-loader.c
A hw/i386/bios-linker-loader.h
Log Message:
-----------
i386: add bios linker/loader
This adds a dynamic bios linker/loader.
This will be used by acpi table generation
code to:
- load each table in the appropriate memory segment
- link tables to each other
- fix up checksums after said linking
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: d916b46494a2a477636a59900ab1609de192f47a
https://github.com/qemu/qemu/commit/d916b46494a2a477636a59900ab1609de192f47a
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/core/loader.c
M include/hw/loader.h
M vl.c
Log Message:
-----------
loader: allow adding ROMs in done callbacks
Don't abort if machine done callbacks add ROMs.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: b20c9bd5f6d8860856f6078836d197c6c2e27ef1
https://github.com/qemu/qemu/commit/b20c9bd5f6d8860856f6078836d197c6c2e27ef1
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/i386/pc.c
M include/hw/i386/pc.h
Log Message:
-----------
i386: define pc guest info
This defines a structure that will be used to fill in acpi tables
where relevant properties are not yet available using QOM.
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: f854ecc79957e588bed8ed7e8c1c24ded55fc1e9
https://github.com/qemu/qemu/commit/f854ecc79957e588bed8ed7e8c1c24ded55fc1e9
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/acpi/piix4.c
M include/hw/i386/pc.h
Log Message:
-----------
acpi/piix: add macros for acpi property names
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 277e9340e6a1b0a0e8e988d2f0ac82b18b695c0b
https://github.com/qemu/qemu/commit/277e9340e6a1b0a0e8e988d2f0ac82b18b695c0b
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/acpi/piix4.c
M hw/pci-host/piix.c
A include/hw/acpi/piix4.h
M include/hw/i386/pc.h
Log Message:
-----------
piix: APIs for pc guest info
This adds APIs that will be used to fill in guest acpi tables.
Some required information is still lacking in QOM, so we
fall back on lookups by type and returning explicit types.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 6f1426ab0fad715bccbad60e976ebf420442006c
https://github.com/qemu/qemu/commit/6f1426ab0fad715bccbad60e976ebf420442006c
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/acpi/ich9.c
M hw/isa/lpc_ich9.c
M hw/pci-host/q35.c
M include/hw/acpi/ich9.h
M include/hw/i386/ich9.h
M include/hw/pci-host/q35.h
Log Message:
-----------
ich9: APIs for pc guest info
This adds APIs that will be used to fill in
acpi tables, implemented using QOM,
to various ich9 components.
Some information is still missing in QOM,
so we fall back on lookups by type instead.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 309cd62d6b2628b4f0e2850b42011077f40956c7
https://github.com/qemu/qemu/commit/309cd62d6b2628b4f0e2850b42011077f40956c7
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/misc/pvpanic.c
M include/hw/i386/pc.h
Log Message:
-----------
pvpanic: add API to access io port
Add API to find pvpanic device and get its io port.
Will be used to fill in guest info structure.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 64e9df8d34e493e59c1920358257a7576a560a1a
https://github.com/qemu/qemu/commit/64e9df8d34e493e59c1920358257a7576a560a1a
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/timer/hpet.c
M include/hw/timer/hpet.h
Log Message:
-----------
hpet: add API to find it
Add API to find HPET using QOM.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 60de1163d5b5013fe964ac0792e9a64a823e73a3
https://github.com/qemu/qemu/commit/60de1163d5b5013fe964ac0792e9a64a823e73a3
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/acpi/core.c
M include/hw/acpi/acpi.h
Log Message:
-----------
acpi: add interface to access user-installed tables
Also add a new API to install builtin tables, so
that we can distinguish between the two.
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 1a4b2666dfbd6fbd9b5623a8e0ed6035cd0854fe
https://github.com/qemu/qemu/commit/1a4b2666dfbd6fbd9b5623a8e0ed6035cd0854fe
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/i386/pc.c
Log Message:
-----------
pc: use new api to add builtin tables
At this point the only builtin table we have is
the DSDT used for Q35.
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 72c194f7e75cb64b2558111cb111adb49fbf4097
https://github.com/qemu/qemu/commit/72c194f7e75cb64b2558111cb111adb49fbf4097
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/i386/Makefile.objs
A hw/i386/acpi-build.c
A hw/i386/acpi-build.h
A hw/i386/acpi-defs.h
M hw/i386/pc.c
M hw/i386/pc_piix.c
M hw/i386/pc_q35.c
M include/hw/i386/pc.h
Log Message:
-----------
i386: ACPI table generation code from seabios
This adds C code for generating ACPI tables at runtime,
imported from seabios git tree
commit 51684b7ced75fb76776e8ee84833fcfb6ecf12dd
Although ACPI tables come from a system BIOS on real hw,
it makes sense that the ACPI tables are coupled with the
virtual machine, since they have to abstract the x86 machine to
the OS's.
This is widely desired as a way to avoid the churn
and proliferation of QEMU-specific interfaces
associated with ACPI tables in bios code.
Notes:
As BIOS can reprogram devices prior to loading
ACPI tables, we pre-format ACPI tables but defer loading
hardware configuration there until tables are loaded.
The code structure was intentionally kept as close
to the seabios original as possible, to simplify
comparison and making sure we didn't lose anything
in translation.
Minor code duplication results, to help ensure there are no functional
regressions, I think it's better to merge it like this and do more code
changes in follow-up patches.
Cross-version compatibility concerns have been addressed:
ACPI tables are exposed to guest as FW_CFG entries.
When running with -M 1.5 and older, this patch disables ACPI
table generation, and doesn't expose ACPI
tables to guest.
As table content is likely to change over time,
the following measures are taken to simplify
cross-version migration:
- All tables besides the RSDP are packed in a single FW CFG entry.
This entry size is currently 23K. We round it up to 64K
to avoid too much churn there.
- Tables are placed in special ROM blob (not mapped into guest memory)
which is automatically migrated together with the guest, same
as BIOS code.
- Offsets where hardware configuration is loaded in ACPI tables
are also migrated, this is in case future ACPI changes make us
rearrange the tables in memory.
This patch reuses some code from SeaBIOS, which was originally under
LGPLv2 and then relicensed to GPLv3 or LGPLv3, in QEMU under GPLv2+. This
relicensing has been acked by all contributors that had contributed to the
code since the v2->v3 relicense. ACKs approving the v2+ relicensing are
listed below. The list might include ACKs from people not holding
copyright on any parts of the reused code, but it's better to err on the
side of caution and include them.
Affected SeaBIOS files (GPLv2+ license headers added)
<http://thread.gmane.org/gmane.comp.bios.coreboot.seabios/5949>:
src/acpi-dsdt-cpu-hotplug.dsl
src/acpi-dsdt-dbug.dsl
src/acpi-dsdt-hpet.dsl
src/acpi-dsdt-isa.dsl
src/acpi-dsdt-pci-crs.dsl
src/acpi.c
src/acpi.h
src/ssdt-misc.dsl
src/ssdt-pcihp.dsl
src/ssdt-proc.dsl
tools/acpi_extract.py
tools/acpi_extract_preprocess.py
Each one of the listed people agreed to the following:
> If you allow the use of your contribution in QEMU under the
> terms of GPLv2 or later as proposed by this patch,
> please respond to this mail including the line:
>
> Acked-by: Name <email address>
Acked-by: Gerd Hoffmann <address@hidden>
Acked-by: Jan Kiszka <address@hidden>
Acked-by: Jason Baron <address@hidden>
Acked-by: David Woodhouse <address@hidden>
Acked-by: Gleb Natapov <address@hidden>
Acked-by: Marcelo Tosatti <address@hidden>
Acked-by: Dave Frodin <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Acked-by: Kevin O'Connor <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Kenji Kaneshige <address@hidden>
Acked-by: Isaku Yamahata <address@hidden>
Acked-by: Magnus Christensson <address@hidden>
Acked-by: Hu Tao <address@hidden>
Acked-by: Eduardo Habkost <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 6ec80ef1502e90d19b90f021514debe32c8689a8
https://github.com/qemu/qemu/commit/6ec80ef1502e90d19b90f021514debe32c8689a8
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/i386/ssdt-proc.dsl
Log Message:
-----------
ssdt: fix PBLK length
We don't really support CPU throttling, so supply 0 PBLK length.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 742f5d2ed578bb53b2130b6da2c66de9929f4821
https://github.com/qemu/qemu/commit/742f5d2ed578bb53b2130b6da2c66de9929f4821
Author: Michael S. Tsirkin <address@hidden>
Date: 2013-10-14 (Mon, 14 Oct 2013)
Changed paths:
M hw/i386/ssdt-proc.hex.generated
Log Message:
-----------
ssdt-proc: update generated file
Update generated ssdt proc hex file (used for systems
lacking IASL) after P_BLK length change.
Reviewed-by: Gerd Hoffmann <address@hidden>
Tested-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Tested-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Commit: 0624c7f916b4d97f17726d9b295d6a6b0dc5076d
https://github.com/qemu/qemu/commit/0624c7f916b4d97f17726d9b295d6a6b0dc5076d
Author: Gerd Hoffmann <address@hidden>
Date: 2013-10-17 (Thu, 17 Oct 2013)
Changed paths:
M hw/i386/pc.c
Log Message:
-----------
e820: pass high memory too.
We have a fw_cfg entry to pass e820 entries from qemu to the firmware.
Today it's used to pass reservations only. This patch makes qemu pass
entries for RAM too.
This allows to pass RAM sizes larger than 1TB to the firmware and it
will also allow to pass non-contignous memory ramges should we decide
to implement that some day, say for our virtual numa nodes.
Obviously this needs some extra care to not break existing firware.
SeaBIOS loads the entries and happily adds them without looking at the
type. Which is problematic for memory below 4g as this will overwrite
reservations added for bios memory etc. For memory above 4g it works
just fine, seabios will merge the entry derived from cmos with the one
loaded from fw_cfg.
OVMF doesn't look at the fw_cfg e820 table.
coreboot doesn't look at the fw_cfg e820 table.
Cc: Andrea Arcangeli <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-By: Igor Mammedov <address@hidden>
Commit: c20b7fa4b2fedd979bcb0cc974bb5d08a10e3448
https://github.com/qemu/qemu/commit/c20b7fa4b2fedd979bcb0cc974bb5d08a10e3448
Author: Paolo Bonzini <address@hidden>
Date: 2013-10-18 (Fri, 18 Oct 2013)
Changed paths:
M monitor.c
Log Message:
-----------
monitor: eliminate monitor_event_state_lock
This lock does not protect anything that the BQL does not already
protect. Furthermore, with -nodefaults and no monitor, the mutex
is not initialized but monitor_protocol_event_queue is called
anyway, which causes a crash under mingw (and only works by luck.
under Linux or other POSIX OSes).
Reported-by: Orx Goshen <address@hidden>
Cc: Daniel Berrange <address@hidden>
Cc: address@hidden
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>
Commit: cc94712b9ec93d1301eea1fb8f1b08589c7e242e
https://github.com/qemu/qemu/commit/cc94712b9ec93d1301eea1fb8f1b08589c7e242e
Author: Eric Blake <address@hidden>
Date: 2013-10-21 (Mon, 21 Oct 2013)
Changed paths:
M docs/qapi-code-gen.txt
Log Message:
-----------
qapi: fix documentation example
The QMP wire format uses "", not '', around strings.
* docs/qapi-code-gen.txt: Fix typo.
Signed-off-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 5af35d7feccaa7d26b72c6c3d14116421d736b36
https://github.com/qemu/qemu/commit/5af35d7feccaa7d26b72c6c3d14116421d736b36
Author: Hans de Goede <address@hidden>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M hw/usb/host-libusb.c
Log Message:
-----------
usb-host-libusb: Fix reset handling
The guest will issue an initial device reset when the device is attached, but
since the current usb-host-libusb code only actually does the reset when
udev->configuration != 0, and on attach the device is not yet configured,
the reset gets ignored. This means that the device gets passed to the guest
in an unknown state, which is not good.
The udev->configuration check is there because of the release / claim
interfaces done around the libusb_device_reset call, but these are not
necessary. If interfaces are claimed when libusb_device_reset gets called
libusb will release + reclaim them itself.
The usb_host_ep_update call also is not necessary. If the reset succeeds the
original config and interface alt settings will be restored.
Last if the reset fails, that means the device has either disconnected or
morphed into an another device and has been completely re-enumerated,
so it is treated by the host as a new device and our handle is invalid,
so on reset failure we need to call usb_host_nodev().
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 1294ca797c6bee39d4dbc3e92010873ce4047e0e
https://github.com/qemu/qemu/commit/1294ca797c6bee39d4dbc3e92010873ce4047e0e
Author: Hans de Goede <address@hidden>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M hw/usb/host-libusb.c
Log Message:
-----------
usb-host-libusb: Configuration 0 may be a valid configuration
Quoting from: linux/Documentation/ABI/stable/sysfs-bus-usb:
Note that some devices, in violation of the USB spec, have a
configuration with a value equal to 0. Writing 0 to
bConfigurationValue for these devices will install that
configuration, rather then unconfigure the device.
So don't compare the configuration value against 0 to check for unconfigured
devices, instead check for a LIBUSB_ERROR_NOT_FOUND return from
libusb_get_active_config_descriptor().
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: f34d5c750897abb3853910ce73f63d88d74dc827
https://github.com/qemu/qemu/commit/f34d5c750897abb3853910ce73f63d88d74dc827
Author: Hans de Goede <address@hidden>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M hw/usb/host-libusb.c
Log Message:
-----------
usb-host-libusb: Detach kernel drivers earlier
If we detach the kernel drivers on the first set_config, then they will
be still attached when the device gets its initial reset. Causing the drivers
to re-initialize the device after the reset, dirtying the device state.
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 946ff2c0c353e4bf493f6ff2bcc308adddee4a4c
https://github.com/qemu/qemu/commit/946ff2c0c353e4bf493f6ff2bcc308adddee4a4c
Author: Hans de Goede <address@hidden>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M hw/usb/hcd-xhci.c
Log Message:
-----------
usb-hcd-xhci: Remove unused sstreamsm member from XHCIStreamContext
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 8de1838afed4b5b05d18cc42a3e5a6fe9b19f29b
https://github.com/qemu/qemu/commit/8de1838afed4b5b05d18cc42a3e5a6fe9b19f29b
Author: Hans de Goede <address@hidden>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M hw/usb/hcd-xhci.c
Log Message:
-----------
usb-hcd-xhci: Remove unused cancelled member from XHCITransfer
Since qemu's USB model is geared towards emulated devices cancellation
is instanteneous, so no need to wait for cancellation to complete, as
such there is no wait for cancellation code, and the cancelled bool
as well as the bogus comment about it can be removed.
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 582d6f4aba0ff24604a82b48aee2db17b100d4b4
https://github.com/qemu/qemu/commit/582d6f4aba0ff24604a82b48aee2db17b100d4b4
Author: Hans de Goede <address@hidden>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M hw/usb/hcd-xhci.c
Log Message:
-----------
usb-hcd-xhci: Report completion of active transfer with CC_STOPPED on ep stop
As we should per the XHCI spec "4.6.9 Stop Endpoint".
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: c90daa1c109348099088c1cc954c1e9f3392ae03
https://github.com/qemu/qemu/commit/c90daa1c109348099088c1cc954c1e9f3392ae03
Author: Hans de Goede <address@hidden>
Date: 2013-10-22 (Tue, 22 Oct 2013)
Changed paths:
M hw/usb/hcd-xhci.c
Log Message:
-----------
usb-hcd-xhci: Update endpoint context dequeue pointer for streams too
With streams the endpoint context dequeue pointer should point to the
dequeue value for the currently active stream.
At least Linux guests expect it to point to value set by an set_ep_dequeue
upon completion of the set_ep_dequeue (before kicking the ep).
Otherwise the Linux kernel will complain (and things won't work):
xhci_hcd 0000:00:05.0: Mismatch between completed Set TR Deq Ptr command & xHCI
internal state.
xhci_hcd 0000:00:05.0: ep deq seg = ffff8800366f0880, deq ptr = ffff8800366ec010
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: b4350deed67b95651896ddb60cf9f765093a4848
https://github.com/qemu/qemu/commit/b4350deed67b95651896ddb60cf9f765093a4848
Author: Hans de Goede <address@hidden>
Date: 2013-10-23 (Wed, 23 Oct 2013)
Changed paths:
M audio/audio.c
Log Message:
-----------
audio: honor QEMU_AUDIO_TIMER_PERIOD instead of waking up every *nano* second
Now that we no longer have MIN_REARM_TIMER_NS a bug in the audio subsys has
clearly shown it self by trying to make a timer fire every nano second.
Note we have a similar problem in 1.6, 1.5 and older but there
MIN_REARM_TIMER_NS limits the wakeups caused by audio being active to
4000 times / second. This still causes a host cpu load of 50 % for simply
playing audio, where as with this patch git master is at 13%, so we should
backport this to 1.5 and 1.6 too.
Note this will not apply to 1.5 and 1.6 as is.
Cc: address@hidden
Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: eedff66f21e542650d895801549ce05ac108278b
https://github.com/qemu/qemu/commit/eedff66f21e542650d895801549ce05ac108278b
Author: Max Reitz <address@hidden>
Date: 2013-10-24 (Thu, 24 Oct 2013)
Changed paths:
M block/qcow2.c
Log Message:
-----------
qcow2: Restore total_sectors value in save_vmstate
Since df2a6f29a5, bdrv_co_do_writev increases the total_sectors value of
a growable block devices on writes after the current end. This leads to
the virtual disk apparently growing in qcow2_save_vmstate, which in turn
affects the disk size captured by the internal snapshot taken directly
afterwards through e.g. the HMP savevm command. Such a "grown" snapshot
cannot be loaded after reopening the qcow2 image, since its disk size
differs from the actual virtual disk size (writing a VM state does not
actually increase the virtual disk size).
Fix this by restoring total_sectors at the end of qcow2_save_vmstate.
Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 6e13610aa454beba52944e8df6d93158d68ab911
https://github.com/qemu/qemu/commit/6e13610aa454beba52944e8df6d93158d68ab911
Author: Max Reitz <address@hidden>
Date: 2013-10-24 (Thu, 24 Oct 2013)
Changed paths:
M block/qcow2.c
Log Message:
-----------
qcow2: Unset zero_beyond_eof in save_vmstate
Saving the VM state is done using bdrv_pwrite. This function may perform
a read-modify-write, which in this case results in data being read from
beyond the end of the virtual disk. Since we are actually trying to
access an area which is not a part of the virtual disk, zero_beyond_eof
has to be set to false before performing the partial write, otherwise
the VM state may become corrupted.
Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: fefddf951b6dfe51c28d41f86669bfffb68c7a15
https://github.com/qemu/qemu/commit/fefddf951b6dfe51c28d41f86669bfffb68c7a15
Author: Peter Lieven <address@hidden>
Date: 2013-10-24 (Thu, 24 Oct 2013)
Changed paths:
M qemu-img.c
Log Message:
-----------
qemu-img: add special exit code if bdrv_check is not supported
currently it is not possible to distinguish by exitcode if there
has been an error or if bdrv_check is not supported by the image
format. Change the exitcode from 1 to 63 for the latter case.
Signed-off-by: Peter Lieven <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: fb8fe35f63a56170cf1bf92b1991d0056385b901
https://github.com/qemu/qemu/commit/fb8fe35f63a56170cf1bf92b1991d0056385b901
Author: Peter Lieven <address@hidden>
Date: 2013-10-24 (Thu, 24 Oct 2013)
Changed paths:
M block/vpc.c
Log Message:
-----------
block/vpc: check that the image has not been truncated
this adds a check that a dynamic VHD file has not been
accidently truncated (e.g. during transfer or upload).
Signed-off-by: Peter Lieven <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: ab6f2bbb2871db8a7ed2457328e864cdf2e2fc82
https://github.com/qemu/qemu/commit/ab6f2bbb2871db8a7ed2457328e864cdf2e2fc82
Author: Max Reitz <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
A tests/qemu-iotests/068
A tests/qemu-iotests/068.out
M tests/qemu-iotests/group
Log Message:
-----------
qemu-iotests: Test for loading VM state from qcow2
Add a test for saving a VM state from a qcow2 image and loading it back
(with having restarted qemu in between); this should work without any
problems.
Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 09b04845a7b7ffba2fa0cd99a2329f6e8ffa9027
https://github.com/qemu/qemu/commit/09b04845a7b7ffba2fa0cd99a2329f6e8ffa9027
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M pc-bios/README
M pc-bios/slof.bin
M roms/SLOF
Log Message:
-----------
pseries: Update SLOF firmware image
This has reworked USB OHCI and adds support of USB EHCI,
VIRTIO-SCSI and various fixes (IBM VSCSI, VGA and more).
The full list of fixes is:
* usb-ohci: Convert td-phys every time to td-virt
* usb-storage: Fix cbwflags field
* Add -fno-strict-aliasing in global CFLAGS
* usb: fix various issues found with js2x
* Move hex64-{decode,encode}-unit to node.fs
* usb: Use separate in-memory endian swap
* usb-ohci: collect TDs from done list
* js2x: more fixes
* js2x: Fix build of takeover image
* js2x: use new usb stack
* usb-ohci: Use proper memory barriers always
* usb: Fix a couple of warnings
* Fix $cat-instance-unit
* Cache phandle of /chosen
* Use root.fs on qemu as well
* usb-ehci: Add ehci handshake
* usb: add mb for write accessors
* usb-ohci: add missing memory barriers
* usb-ohci: suspend the controller in exit code path
* usb-ohci: Add a reset when closing the OHCI
* usb: Use proper accessors for MMIO and separate in-memory endian swap
* Use a global definition of sync() and mb()
* net-snk: Remove exception handling
* usb: unmap buffers
* slof: call quiesce on closing of stdin
* usb-kbd: accept "s" to drop to OF prompt
* USB storage driver
* usb-ohci: add Bulk transfer support
* usb-ehci: Add bulk support
* usb-core: add usb bulk support
* USB generic hub device driver
* usb-ehci: setup new device
* usb-ehci: Check ehci ports
* usb-ehci: initialize controller
* USB keyboard driver
* usb-core: setup new device
* usb-core: create dev pool allocation
* usb-ohci: implement ohci send control
* usb-core: usb send control
* usb-core: implement usb_{get,put}_pipe routines
* usb-ohci: allocate pipe pool
* usb-ohci: reset, init and check-ports
* Add standard header stdbool.h
* usb-slof: forth support routines for C
* usb-ehci: Add USB EHCI skeleton
* usb-core: Add register accessor functions
* Use __builtin_bswap routines for endianness swapping
* usb-core: hcd registration and query routines
* usb-core: adding generic dev-hci.fs
* usb-core: registration and makefiles
* Add new USB code
* Remove old usb code
* vga: fix hcall-invert-screen and hcall-blink-screen
* Enumerate disk/cdrom aliases for multiple disks or cdroms
* scsi: unify scsi probing code
* vscsi: generalizing probe code
* virtio-scsi: iterate through targets
* scsi: unify and use make-disk-alias
* nvram: remove unnecessary prints
* Add hack to client interface finddevice of "/memory"
* scsi: Fix cdrom boot crash when no medium present
* Look for /address@hidden, not just /memory
* Fix instance>qname crashing when displaying instance arguments
* Fix js2x build
* scsi-disk: Bound check read-blocks
* Fix off by one error in scsi-disk get-capacity
* scsi: fix report-luns handling
* SLOF: virtio-scsi block driver code
* scsi: Move bits of vio-vscsi.fs to a common helpers file
* scsi: Move scsi-disk.fs to a generic place
* SLOF: virtio-scsi helper routines
* SLOF: virtio-scsi - add pci device file
* iso9660: Don't constantly reallocate the read buffer
* vscsi: Sanitize interface between scsi-disk.fs and vio-vscsi.fs
* vio-vscsi: Rework vio-vscsi support
* virtio: Add a virtio-set-qaddr helper
* disk-label: Allocate 4096 bytes for 4k block devices
* disk-label: Increase the max size of the PReP boot partition
* Make load-base a real environment variable
* vio-vscsi: Switch to using a wildcard "disk" node and make scsi-disk generic
* Fix disk-label package to use proper instance path
* Increase size of catpad
* Fix instance>path to contain unit address for wildcard nodes
* Fix handling of wildcard nodes in open-dev
* vio-vscsi: Get CRQ on open and release on close
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 16457e7f4a10125db06b84e5e843d9544552436e
https://github.com/qemu/qemu/commit/16457e7f4a10125db06b84e5e843d9544552436e
Author: Benjamin Herrenschmidt <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/ppc/spapr.c
Log Message:
-----------
pseries: Fix loading of little endian kernels
Try loading the kernel as little endian if it fails big endian.
Signed-off-by: Benjamin Herrenschmidt <address@hidden>
Reviewed-by: Anton Blanchard <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 04f1f7842e18c4b5e50203cc5b207cafb7c62974
https://github.com/qemu/qemu/commit/04f1f7842e18c4b5e50203cc5b207cafb7c62974
Author: Tom Musta <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M monitor.c
Log Message:
-----------
ppc: Add CFAR, DAR and DSISR to the dictionary of printable registers
The CFAR, DAR and DSISR registers are currently missing from the
dictionary of registers that may be printed in the QEMU console.
These are interesting registers when debugging. With this patch,
the following commands work properly:
(qemu) print $cfar
(qemu) print $dar
(qemu) print $dsisr
Signed-off-by: Tom Musta <address@hidden>
Reviewed-by: Anton Blanchard <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: bbfb6f132abc032229f5c1f25e6e959861c6f759
https://github.com/qemu/qemu/commit/bbfb6f132abc032229f5c1f25e6e959861c6f759
Author: Tom Musta <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M target-ppc/mem_helper.c
Log Message:
-----------
target-ppc: Little Endian Correction to Load/Store Vector Element
The Load Vector Element (lve*x) and Store Vector Element (stve*x)
instructions not only byte-swap in Little Endian mode, they also
invert the element that is accessed. For example, the RTL for
lvehx contains this:
eb <-- EA[60:63]
if Big-Endian byte ordering then
VRT[8*eb:8*eb+15] <-- MEM(EA,2)
else
VRT[112-(8*eb):127-(8*eb)] <-- MEM(EA,2)
This patch adds the element inversion, as described in the last line
of the RTL.
Signed-off-by: Tom Musta <address@hidden>
Reviewed-by: Anton Blanchard <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 9633fcc6a02f23e3ef00aa5fe3fe9c41f57c3456
https://github.com/qemu/qemu/commit/9633fcc6a02f23e3ef00aa5fe3fe9c41f57c3456
Author: Alexander Graf <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M target-ppc/translate_init.c
Log Message:
-----------
PPC: Fix L2CR write accesses
Commit 2345f1c01 was supposed to render L2CR writes into noops. Instead,
it made them illegal instruction traps which apparently didn't confuse
XNU, but can easily confuse other OSs.
Fix it up by actually doing nothing when we write to L2CR.
Reported-by: Julio Guerra <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Tested-by: Julio Guerra <address@hidden>
Commit: 3bf6eedd4b6ee5cb7be53aa962583a24293d3441
https://github.com/qemu/qemu/commit/3bf6eedd4b6ee5cb7be53aa962583a24293d3441
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/ppc/spapr.c
Log Message:
-----------
spapr: increase temporary fdt buffer size
At the moment the size of the buffer is set to 64K which is
enough for approximately 150 VCPUs which is not the limit.
This increases the buffer up to 256K which allows having
a tree for approximately 600 VCPUs which is way beyond the real
number we need.
As only the real size of the tree is copied to the guest, there
will be no impact on existing configurations.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: dcb861cb883e9e6d236514a4d0b4def4db736d13
https://github.com/qemu/qemu/commit/dcb861cb883e9e6d236514a4d0b4def4db736d13
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/ppc/spapr.c
Log Message:
-----------
spapr: Add ibm, purr property on power7 and newer
PAPR+ says that no "ibm,purr" tells the guest that H_PURR is not
supported. However some guests still try calling H_PURR on POWER7 unless
the property is present and equal to 0. This adds the property for CPUs
supporting the PURR special register.
Signed-off-by: Benjamin Herrenschmidt <address@hidden>
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 4fe822e075d6befa3714f7066158678e92cedb8b
https://github.com/qemu/qemu/commit/4fe822e075d6befa3714f7066158678e92cedb8b
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/ppc/spapr_hcall.c
M include/hw/ppc/spapr.h
Log Message:
-----------
spapr-rtas: fix h_rtas parameters reading
On the real hardware, RTAS is called in real mode and therefore
top 4 bits of the address passed in the call are ignored.
So does the patch.
This converts h_rtas() to use existing rtas_ld() handlers.
This fixed rtas_ld()/rtas_st() to ignore top 4 bits.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: feaa64c41f56b1b3111c31f652999799b28b9e12
https://github.com/qemu/qemu/commit/feaa64c41f56b1b3111c31f652999799b28b9e12
Author: David Gibson <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M target-ppc/kvm.c
M target-ppc/kvm_ppc.h
Log Message:
-----------
target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKEN
Recent PowerKVM allows the kernel to intercept some RTAS calls from the
guest directly. This is used to implement the more efficient in-kernel
XICS for example. qemu is still responsible for assigning the RTAS token
numbers however, and needs to tell the kernel which RTAS function name is
assigned to a given token value. This patch adds a convenience wrapper for
the KVM_PPC_RTAS_DEFINE_TOKEN ioctl() which is used for this purpose.
Signed-off-by: David Gibson <address@hidden>
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Acked-by: David Gibson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 8ffe04ed2ed44b32f97575bc3cb7c29eefdd70da
https://github.com/qemu/qemu/commit/8ffe04ed2ed44b32f97575bc3cb7c29eefdd70da
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
Log Message:
-----------
xics: move reset and cpu_setup
This simple change makes following patches nicer.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Acked-by: David Gibson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 24408a7d2b459bed3697367b81ada76518ca96ef
https://github.com/qemu/qemu/commit/24408a7d2b459bed3697367b81ada76518ca96ef
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/ppc/spapr.c
Log Message:
-----------
spapr: move cpu_setup after kvmppc_set_papr
This moves the xics_cpu_setup() call after kvmppc_set_papr()
in order to get VCPUs initialized as this is required by upcoming
XICS-KVM.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Acked-by: David Gibson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 9ccff2a4d604d31f01398190758072253dc3c188
https://github.com/qemu/qemu/commit/9ccff2a4d604d31f01398190758072253dc3c188
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
Log Message:
-----------
xics: replace fprintf with error_report
This replaces old-style fprintf with new style error_report.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Acked-by: David Gibson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: d1b5682d88f72f8662ce6d20e07af3adfbf39ed0
https://github.com/qemu/qemu/commit/d1b5682d88f72f8662ce6d20e07af3adfbf39ed0
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
M include/hw/ppc/xics.h
Log Message:
-----------
xics: add pre_save/post_load dispatchers
The upcoming support of in-kernel XICS will redefine migration callbacks
for both ICS and ICP so classes and callback pointers are added.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: b45ff2d942022d7ee139a153f17f638d87935e03
https://github.com/qemu/qemu/commit/b45ff2d942022d7ee139a153f17f638d87935e03
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
Log Message:
-----------
xics: convert init() to realize()
This fixes XICS according new QOM rules.
This converts ICS's init() callbacks to realize().
This converts legacy qdev_init_nofail() to property_set(realized).
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 456df19cf7fd7f6d9ce986a3fb8f7603df5c3b22
https://github.com/qemu/qemu/commit/456df19cf7fd7f6d9ce986a3fb8f7603df5c3b22
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
Log Message:
-----------
xics: add missing const specifiers to TypeInfo
This adds missing const specifiers to ICS and ICP TypeInfo's.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 5a3d7b23ba41b4884b43b6bc936ea18f999d5c6b
https://github.com/qemu/qemu/commit/5a3d7b23ba41b4884b43b6bc936ea18f999d5c6b
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
M hw/ppc/spapr.c
M include/hw/ppc/xics.h
Log Message:
-----------
xics: split to xics and xics-common
The upcoming XICS-KVM support will use bits of emulated XICS code.
So this introduces new level of hierarchy - "xics-common" class. Both
emulated XICS and XICS-KVM will inherit from it and override class
callbacks when required.
The new "xics-common" class implements:
1. replaces static "nr_irqs" and "nr_servers" properties with
the dynamic ones and adds callbacks to be executed when properties
are set.
2. xics_cpu_setup() callback renamed to xics_common_cpu_setup() as
it is a common part for both XICS'es
3. xics_reset() renamed to xics_common_reset() for the same reason.
The emulated XICS changes:
1. the part of xics_realize() which creates ICPs is moved to
the "nr_servers" property callback as realize() is too late to
create/initialize devices and instance_init() is too early to create
devices as the number of child devices comes via the "nr_servers"
property.
2. added ics_initfn() which does a little part of what xics_realize() did.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 5eb92ccc3f23f958c0d21bed7c22abe6c1f1adda
https://github.com/qemu/qemu/commit/5eb92ccc3f23f958c0d21bed7c22abe6c1f1adda
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
M include/hw/ppc/xics.h
Log Message:
-----------
xics: add cpu_setup callback
This adds a cpu_setup callback to the XICS device class (as XICS-KVM
will do it different), xics_cpu_setup() will call it if it is set.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 11ad93f68195f68cc94d988f2aa50b4d190ee52a
https://github.com/qemu/qemu/commit/11ad93f68195f68cc94d988f2aa50b4d190ee52a
Author: David Gibson <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M default-configs/ppc64-softmmu.mak
M hw/intc/Makefile.objs
A hw/intc/xics_kvm.c
M hw/ppc/spapr.c
M include/hw/ppc/xics.h
Log Message:
-----------
xics-kvm: Support for in-kernel XICS interrupt controller
Recent (host) kernels support emulating the PAPR defined "XICS" interrupt
controller system within KVM. This patch allows qemu to initialize and
configure the in-kernel XICS, and keep its state in sync with qemu's XICS
state as necessary.
This should give considerable performance improvements. e.g. on a simple
IPI ping-pong test between hardware threads, using qemu XICS gives us
around 5,000 irqs/second, whereas the in-kernel XICS gives us around
70,000 irqs/s on the same hardware configuration.
Signed-off-by: David Gibson <address@hidden>
[Mike Qiu <address@hidden>: fixed mistype which caused ics_set_kvm_state() to
fail]
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 075edbe3bad4c22995ab472c507565b48c4e0985
https://github.com/qemu/qemu/commit/075edbe3bad4c22995ab472c507565b48c4e0985
Author: Benjamin Herrenschmidt <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
Log Message:
-----------
xics: Implement H_IPOLL
This adds support for the H_IPOLL hypercall which the guest
uses to poll for a pending interrupt. This hypercall is
mandatory for PAPR+ and there is no way for the guest to
detect whether it is supported or not so just add it.
Signed-off-by: Benjamin Herrenschmidt <address@hidden>
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Acked-by: Alexander Graf <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 5d87e4b74a0100fbb7970edaa3449eb04b06f782
https://github.com/qemu/qemu/commit/5d87e4b74a0100fbb7970edaa3449eb04b06f782
Author: Benjamin Herrenschmidt <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics.c
M include/hw/ppc/spapr.h
Log Message:
-----------
xics: Implement H_XIRR_X
This implements H_XIRR_X hypercall in addition to H_XIRR as
it is mandatory for PAPR+ and there is no way for the guest to
detect whether it is supported or not so just add it.
As the Partition Adjunct Option is not supported at the moment,
the CPPR parameter of the hypercall is ignored.
Signed-off-by: Benjamin Herrenschmidt <address@hidden>
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 9554233c9b8fe7d94dfa53db09ce3d186f2e8b9e
https://github.com/qemu/qemu/commit/9554233c9b8fe7d94dfa53db09ce3d186f2e8b9e
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/intc/xics_kvm.c
Log Message:
-----------
xics-kvm: enable irqfd for MSI
This enables IRQFD support for sPAPR. The feature decreases the latency
of interrupt handling.
To enable IRQFD for MSI, this sets kvm_gsi_direct_mapping to true which
enables direct MSI mapping.
To enable IRQFD for LSI (level triggered INTx interrupts), a PCI host bus
callback is required. The patch for that is coming next.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 5cc7a967e9de8c7b16c15aee4cb9f5bfcf0c5989
https://github.com/qemu/qemu/commit/5cc7a967e9de8c7b16c15aee4cb9f5bfcf0c5989
Author: Alexey Kardashevskiy <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/ppc/spapr_pci.c
Log Message:
-----------
spapr-pci: enable irqfd for INTx
This enables IRQFD for LSI (level triggered INTx interrupts) by adding
a spapr_route_intx_pin_to_irq() callback to the sPAPR PCI host bus. This
callback is called to know the global interrupt number to link resampling fd
with IRQFD's fd in KVM.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 4b4d4a21b988f6d56e0792058aa0b968e19fda6b
https://github.com/qemu/qemu/commit/4b4d4a21b988f6d56e0792058aa0b968e19fda6b
Author: Aneesh Kumar K.V <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M target-ppc/kvm.c
Log Message:
-----------
target-ppc: Update slb array with correct index values.
Without this, a value of rb=0 and rs=0 results in replacing the 0th
index. This can be observed when using gdb remote debugging support.
(gdb) x/10i do_fork
0xc000000000085330 <do_fork>: Cannot access memory at address
0xc000000000085330
(gdb)
This is because when we do the slb sync via kvm_cpu_synchronize_state,
we overwrite the slb entry (0th entry) for 0xc000000000085330
Signed-off-by: Aneesh Kumar K.V <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 2f4d0f5990ede025720e41fa473029e9ca85e8b8
https://github.com/qemu/qemu/commit/2f4d0f5990ede025720e41fa473029e9ca85e8b8
Author: Aneesh Kumar K.V <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M cpus.c
Log Message:
-----------
target-ppc: Check for error on address translation in memsave command
When we translate the virtual address to physical check for error.
Signed-off-by: Aneesh Kumar K.V <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: d83af16786ca672bea9a206490f801bec7a057eb
https://github.com/qemu/qemu/commit/d83af16786ca672bea9a206490f801bec7a057eb
Author: Aneesh Kumar K.V <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M target-ppc/cpu.h
M target-ppc/kvm.c
M target-ppc/machine.c
Log Message:
-----------
target-ppc: Use #define for max slb entries
Instead of opencoding 64 use MAX_SLB_ENTRIES. We don't update the kernel
header here.
Signed-off-by: Aneesh Kumar K.V <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: bb6b684363e83586c90d20127b0d0a79793ab1e2
https://github.com/qemu/qemu/commit/bb6b684363e83586c90d20127b0d0a79793ab1e2
Author: Aneesh Kumar K.V <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M dump.c
Log Message:
-----------
dump-guest-memory: Check for the correct return value
We should check for error with s->note_size
Signed-off-by: Aneesh Kumar K.V <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: e62fbc54d459d4cc8e91dc0938383a7f4c13768c
https://github.com/qemu/qemu/commit/e62fbc54d459d4cc8e91dc0938383a7f4c13768c
Author: Aneesh Kumar K.V <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M include/elf.h
M target-ppc/Makefile.objs
A target-ppc/arch_dump.c
M target-ppc/cpu-qom.h
M target-ppc/translate_init.c
Log Message:
-----------
target-ppc: dump-guest-memory support
This patch add support for dumping guest memory using dump-guest-memory
monitor command.
Before patch:
(qemu) dump-guest-memory testcrash
this feature or command is not currently supported
(qemu)
After patch:
(qemu) dump-guest-memory testcrash
(qemu)
crash was able to read the file
crash> bt
PID: 0 TASK: c000000000c0d0d0 CPU: 0 COMMAND: "swapper/0"
R0: 0000000028000084 R1: c000000000cafa50 R2: c000000000cb05b0
R3: 0000000000000000 R4: c000000000bc4cb0 R5: 0000000000000000
R6: 001efe93b8000000 R7: 0000000000000000 R8: 0000000000000000
R9: b000000000001032 R10: 0000000000000001 R11: 0001eb2117e00d55
....
...
NOTE: Currently crash tools doesn't look at ELF notes in the dump on ppc64.
Signed-off-by: Aneesh Kumar K.V <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 793826cd460828975591f289de78672af4a47ef9
https://github.com/qemu/qemu/commit/793826cd460828975591f289de78672af4a47ef9
Author: Andreas Färber <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M target-ppc/translate_init.c
Log Message:
-----------
target-ppc: Fill in OpenFirmware names for some PowerPCCPU families
Set the expected values for POWER7, POWER7+, POWER8 and POWER5+.
Note that POWER5+ and POWER7+ are intentionally lacking the '+', so the
lack of a POWER7P family constitutes no problem.
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 3bbf37f2692652cc9d48030a9e7f34e2207429f6
https://github.com/qemu/qemu/commit/3bbf37f2692652cc9d48030a9e7f34e2207429f6
Author: Andreas Färber <address@hidden>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M hw/ppc/spapr.c
M include/hw/ppc/spapr.h
M target-ppc/translate_init.c
Log Message:
-----------
spapr: Use DeviceClass::fw_name for device tree CPU node
Instead of relying on cpu_model, obtain the device tree node label
per CPU. Use DeviceClass::fw_name as source.
Whenever DeviceClass::fw_name is unknown, default to "PowerPC,UNKNOWN".
As a consequence, spapr_fixup_cpu_dt() can operate on each CPU's fw_name,
obsoleting sPAPREnvironment::cpu_model, and spapr_create_fdt_skel() can
drop its cpu_model argument.
Signed-off-by: Prerna Saxena <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Commit: 2b170effc7a0bb27f019727e5be02cd989e54e7d
https://github.com/qemu/qemu/commit/2b170effc7a0bb27f019727e5be02cd989e54e7d
Author: Michael Tokarev <address@hidden>
Date: 2013-10-26 (Sat, 26 Oct 2013)
Changed paths:
M configure
Log Message:
-----------
configure: create fsdev/ directory
In some cases when building with parallelism (make -jN),
build fails because the directory where output files are
supposed to be does not exist. In particular, when make
decides to build virtfs-proxy-helper.1 before other files
in fsdev/, build will fail with the following error:
perl -Ww -- BUILDDIR/scripts/texi2pod.pl
BUILDDIR/fsdev/virtfs-proxy-helper.texi fsdev/virtfs-proxy-helper.pod &&
pod2man --utf8 --section=1 --center=" " --release=" "
fsdev/virtfs-proxy-helper.pod > fsdev/virtfs-proxy-helper.1
opening "fsdev/virtfs-proxy-helper.pod": No such file or directory
Signed-off-by: Michael Tokarev <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Commit: 73f395fa88d87ae14f38ad0aa7f863148d98eef2
https://github.com/qemu/qemu/commit/73f395fa88d87ae14f38ad0aa7f863148d98eef2
Author: Stefan Weil <address@hidden>
Date: 2013-10-26 (Sat, 26 Oct 2013)
Changed paths:
M block/iscsi.c
M hw/ppc/spapr.c
M target-alpha/translate.c
M tests/test-throttle.c
Log Message:
-----------
misc: New spelling fixes in comments
compatiblity -> compatibility
continously -> continuously
existance -> existence
usefull -> useful
shoudl -> should
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
Commit: eb02dc0b118c87a366002e3a725ab3373e1738db
https://github.com/qemu/qemu/commit/eb02dc0b118c87a366002e3a725ab3373e1738db
Author: Fam Zheng <address@hidden>
Date: 2013-10-26 (Sat, 26 Oct 2013)
Changed paths:
M .gitignore
Log Message:
-----------
.gitignore: ignore qmp-commands.txt
This file is moved out from QMP/ to BUILD dir, change the ignore file
too.
Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Luiz Capitulino <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
Commit: 63922c647730eba01865e05bf1e80dd7d682e287
https://github.com/qemu/qemu/commit/63922c647730eba01865e05bf1e80dd7d682e287
Author: Eric Blake <address@hidden>
Date: 2013-10-26 (Sat, 26 Oct 2013)
Changed paths:
M docs/qapi-code-gen.txt
Log Message:
-----------
qapi: fix documentation example
The QMP wire format uses "", not '', around strings.
* docs/qapi-code-gen.txt: Fix typo.
Signed-off-by: Eric Blake <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
Commit: 5f32804c79ba9554e62c9699db83ee34df8a46c1
https://github.com/qemu/qemu/commit/5f32804c79ba9554e62c9699db83ee34df8a46c1
Author: WengFan <address@hidden>
Date: 2013-10-26 (Sat, 26 Oct 2013)
Changed paths:
M docs/ccid.txt
Log Message:
-----------
docs/ccid.txt: fix the typo
Signed-off-by: WengFan <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
Commit: 59b00962136f5621895bee7c96b2a1d9271b9dc5
https://github.com/qemu/qemu/commit/59b00962136f5621895bee7c96b2a1d9271b9dc5
Author: Stefan Weil <address@hidden>
Date: 2013-10-26 (Sat, 26 Oct 2013)
Changed paths:
M qapi-schema.json
M slirp/if.c
M ui/vnc-enc-zywrle.h
Log Message:
-----------
misc: Spelling and grammar fixes in comments
* it's -> its
* grammar fix in ui/vnc-enc-zywrle.h
Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Don Koch <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
Commit: 203cea22a3d33ac86d170af74f8c655f119c8c62
https://github.com/qemu/qemu/commit/203cea22a3d33ac86d170af74f8c655f119c8c62
Author: Alex Bligh <address@hidden>
Date: 2013-10-26 (Sat, 26 Oct 2013)
Changed paths:
M audio/mixeng_template.h
Log Message:
-----------
audio/mixeng_template.h: fix inline declaration
Fix error: ‘inline’ is not at beginning of declaration
[-Werror=old-style-declaration]
Signed-off-by: Alex Bligh <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
Commit: ba2ab2f2ca4150a7e314fbb19fa158bd8ddc36eb
https://github.com/qemu/qemu/commit/ba2ab2f2ca4150a7e314fbb19fa158bd8ddc36eb
Author: Max Reitz <address@hidden>
Date: 2013-10-28 (Mon, 28 Oct 2013)
Changed paths:
M block/qcow2.c
Log Message:
-----------
qcow2: Flush image after creation
Opening the qcow2 image with BDRV_O_NO_FLUSH prevents any flushes during
the image creation. This means that the image has not yet been flushed
to disk when qemu-img create exits. This flush is delayed until the next
operation on the image involving opening it without BDRV_O_NO_FLUSH and
closing (or directly flushing) it. For large images and/or images with a
small cluster size and preallocated metadata, this flush may take a
significant amount of time and may occur unexpectedly.
Reopening the image without BDRV_O_NO_FLUSH right before the end of
qcow2_create2() results in hoisting the potentially costly flush into
the image creation, which is expected to take some time (whereas
successive image operations may be not).
Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Benoit Canet <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: e85d9db5f6f86299688a0acd2796ac1ccc96610c
https://github.com/qemu/qemu/commit/e85d9db5f6f86299688a0acd2796ac1ccc96610c
Author: Kevin Wolf <address@hidden>
Date: 2013-10-28 (Mon, 28 Oct 2013)
Changed paths:
M exec.c
Log Message:
-----------
exec: Fix bounce buffer allocation in address_space_map()
This fixes a regression introduced by commit e3127ae0c, which kept the
allocation size of the bounce buffer limited to one page in order to
avoid unbounded allocations (as explained in the commit message of
6d16c2f88), but broke the reporting of the shortened bounce buffer to
the caller. The caller therefore assumes that the full requested size
was provided and causes memory corruption when writing beyond the end of
the actually allocated buffer.
Signed-off-by: Kevin Wolf <address@hidden>
Commit: d7b7e580096255c766f7b1e7502a9151b95091e8
https://github.com/qemu/qemu/commit/d7b7e580096255c766f7b1e7502a9151b95091e8
Author: Kevin Wolf <address@hidden>
Date: 2013-10-28 (Mon, 28 Oct 2013)
Changed paths:
M tests/ide-test.c
Log Message:
-----------
ide-test: Check what happens with bus mastering disabled
The main goal is that qemu doesn't crash.
Signed-off-by: Kevin Wolf <address@hidden>
Commit: d1f3a23bfac4fe38056ab5e07186939b7be8852b
https://github.com/qemu/qemu/commit/d1f3a23bfac4fe38056ab5e07186939b7be8852b
Author: Kevin Wolf <address@hidden>
Date: 2013-10-28 (Mon, 28 Oct 2013)
Changed paths:
A tests/multiboot/Makefile
A tests/multiboot/libc.c
A tests/multiboot/libc.h
A tests/multiboot/link.ld
A tests/multiboot/mmap.c
A tests/multiboot/mmap.out
A tests/multiboot/multiboot.h
A tests/multiboot/run_test.sh
A tests/multiboot/start.S
Log Message:
-----------
tests: Multiboot mmap test case
This adds a test case for Multiboot memory map in the tests/multiboot
directory, where future i386 test kernels can be dropped. Because this
requires an x86 build host and an installed 32 bit libgcc, the test is
not part of a regular 'make check'.
The reference output for the test is verified against test runs of the
same multiboot kernel booted by some GRUB 0.97.
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 61ed2684539f7f31304e193d7c0e68d57ce6be88
https://github.com/qemu/qemu/commit/61ed2684539f7f31304e193d7c0e68d57ce6be88
Author: Max Reitz <address@hidden>
Date: 2013-10-28 (Mon, 28 Oct 2013)
Changed paths:
M block.c
Log Message:
-----------
block: Don't copy backing file name on error
bdrv_open_backing_file() tries to copy the backing file name using
pstrcpy directly after calling bdrv_open() to open the backing file
without checking whether that was actually successful. If it was not,
ps->backing_hd->file will probably be NULL and qemu will crash.
Fix this by moving pstrcpy after checking whether bdrv_open() succeeded.
Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Benoit Canet <address@hidden>
Reviewed-by: Amos Kong <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc
https://github.com/qemu/qemu/commit/29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc
Author: Liu Yuan <address@hidden>
Date: 2013-10-28 (Mon, 28 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: explicitly set copies as type uint8_t
'copies' is actually uint8_t since day one, but request headers and some helper
functions parameterize it as uint32_t for unknown reasons and effectively
reserve 24 bytes for possible future use. This patch explicitly set the correct
for copies and reserve the left bytes.
This is a preparation patch that allow passing copy_policy in request header.
Cc: Kevin Wolf <address@hidden>
Cc: Stefan Hajnoczi <address@hidden>
Signed-off-by: Liu Yuan <address@hidden>
Acked-by: MORITA Kazutaka <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 1841f8801c8898fa57c66e27a08541ffcc6f3948
https://github.com/qemu/qemu/commit/1841f8801c8898fa57c66e27a08541ffcc6f3948
Author: Liu Yuan <address@hidden>
Date: 2013-10-28 (Mon, 28 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: pass copy_policy in the request
Currently copy_policy isn't used. Recent sheepdog supports erasure coding, which
make use of copy_policy internally, but require client explicitly passing
copy_policy from base inode to newly creately inode for snapshot related
operations.
If connected sheep daemon doesn't utilize copy_policy, passing it to sheep
daemon is just one extra null effect operation. So no compatibility problem.
With this patch, sheepdog can provide erasure coded volume for QEMU VM.
Cc: Kevin Wolf <address@hidden>
Cc: Stefan Hajnoczi <address@hidden>
Signed-off-by: Liu Yuan <address@hidden>
Acked-by: MORITA Kazutaka <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 8464b273d69c61e33c55347e5b6bc0659687bae2
https://github.com/qemu/qemu/commit/8464b273d69c61e33c55347e5b6bc0659687bae2
Author: Alexander Graf <address@hidden>
Date: 2013-10-29 (Tue, 29 Oct 2013)
Changed paths:
M hw/ide/ahci.c
Log Message:
-----------
ahci: fix win7 hang on boot
When AHCI executes an asynchronous IDE command, it checked DRDY without
checking either DRQ or BSY. This sometimes caused interrupt to be sent
before command is actually completed.
This resulted in a race condition: if guest then managed to access the
device before command has completed, it would hang waiting for an
interrupt.
This was observed with windows 7 guests.
To fix, check for DRQ or BSY in additiona to DRDY, if set,
the command is asynchronous so delay the interrupt until
asynchronous done callback is invoked.
Reported-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Tested-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 87a5debd3161d24a7d4c685e3c0d8765b5d92a74
https://github.com/qemu/qemu/commit/87a5debd3161d24a7d4c685e3c0d8765b5d92a74
Author: Thibaut LAURENT <address@hidden>
Date: 2013-10-29 (Tue, 29 Oct 2013)
Changed paths:
M block.c
Log Message:
-----------
block: Disable BDRV_O_COPY_ON_READ for the backing file
Since commit 0ebd24e0a203cf2852c310b59fbe050190dc6c8c,
bdrv_open_common will throw an error when trying to open a file
read-only with the BDRV_O_COPY_ON_READ flag set.
Although BDRV_O_RDWR is unset for the backing files,
BDRV_O_COPY_ON_READ is still passed on if copy-on-read was requested
for the drive. Let's unset this flag too before opening the backing
file, or bdrv_open_common will fail.
Signed-off-by: Thibaut LAURENT <address@hidden>
Reviewed-by: Benoit Canet <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: b94a2610573cd9314f244207c8b04cb75e42d7f8
https://github.com/qemu/qemu/commit/b94a2610573cd9314f244207c8b04cb75e42d7f8
Author: Kevin Wolf <address@hidden>
Date: 2013-10-29 (Tue, 29 Oct 2013)
Changed paths:
M block.c
M block/raw-posix.c
M block/raw-win32.c
M block/raw_bsd.c
M include/block/block_int.h
Log Message:
-----------
block: Avoid unecessary drv->bdrv_getlength() calls
The block layer generally keeps the size of an image cached in
bs->total_sectors so that it doesn't have to perform expensive
operations to get the size whenever it needs it.
This doesn't work however when using a backend that can change its size
without qemu being aware of it, i.e. passthrough of removable media like
CD-ROMs or floppy disks. For this reason, the caching is disabled when a
removable device is used.
It is obvious that checking whether the _guest_ device has removable
media isn't the right thing to do when we want to know whether the size
of the host backend can change. To make things worse, non-top-level
BlockDriverStates never have any device attached, which makes qemu
assume they are removable, so drv->bdrv_getlength() is always called on
the protocol layer. In the case of raw-posix, this causes unnecessary
lseek() system calls, which turned out to be rather expensive.
This patch completely changes the logic and disables bs->total_sectors
caching only for certain block driver types, for which a size change is
expected: host_cdrom and host_floppy on POSIX, host_device on win32; also
the raw format in case it sits on top of one of these protocols, but in
the common case the nested bdrv_getlength() call on the protocol driver
will use the cache again and avoid an expensive drv->bdrv_getlength()
call.
Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: a7cf03d4e150abec88f5837461242dc8a0eee189
https://github.com/qemu/qemu/commit/a7cf03d4e150abec88f5837461242dc8a0eee189
Author: Kevin Wolf <address@hidden>
Date: 2013-10-29 (Tue, 29 Oct 2013)
Changed paths:
M tests/qemu-iotests/051.out
Log Message:
-----------
qemu-iotests: Fix 051 reference output
Commit 684b254 forgot to update it.
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 915365a9c622be52c87fcc1cc9d63fbc5cd75b6d
https://github.com/qemu/qemu/commit/915365a9c622be52c87fcc1cc9d63fbc5cd75b6d
Author: Fam Zheng <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M tests/qemu-iotests/040
Log Message:
-----------
qemu-iotests: drop duplicated "create_image"
There's a same common function in iotests.py
Signed-off-by: Fam Zheng <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 321fd7d2b88defe11528e4d5a9f686c89ebee1ee
https://github.com/qemu/qemu/commit/321fd7d2b88defe11528e4d5a9f686c89ebee1ee
Author: Max Reitz <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
A tests/qemu-iotests/069
A tests/qemu-iotests/069.out
M tests/qemu-iotests/group
Log Message:
-----------
qemu-iotests: Test case for backing file deletion
Add a test case for trying to open an image file where it is impossible
to open its backing file (in this case, because it was deleted). When
doing this, qemu (or qemu-io in this case) should not crash but rather
print an appropriate error message.
Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 80731d9da560461bbdcda5ad4b05f4a8a846fccd
https://github.com/qemu/qemu/commit/80731d9da560461bbdcda5ad4b05f4a8a846fccd
Author: MORITA Kazutaka <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: check return values of qemu_co_recv/send correctly
If qemu_co_recv/send doesn't return the specified length, it means
that an error happened.
Signed-off-by: MORITA Kazutaka <address@hidden>
Tested-by: Liu Yuan <address@hidden>
Reviewed-by: Liu Yuan <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 2412aec745066495f0c91dfcde9258382d7850e9
https://github.com/qemu/qemu/commit/2412aec745066495f0c91dfcde9258382d7850e9
Author: MORITA Kazutaka <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: handle vdi objects in resend_aio_req
The current resend_aio_req() doesn't work when the request is against
vdi objects. This fixes the problem.
Signed-off-by: MORITA Kazutaka <address@hidden>
Tested-by: Liu Yuan <address@hidden>
Reviewed-by: Liu Yuan <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 72e0996c41d879473bb2aa85c8eeec129ae8ec9b
https://github.com/qemu/qemu/commit/72e0996c41d879473bb2aa85c8eeec129ae8ec9b
Author: MORITA Kazutaka <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: reload inode outside of resend_aioreq
This prepares for using resend_aioreq() after reconnecting to the
sheepdog server.
Signed-off-by: MORITA Kazutaka <address@hidden>
Tested-by: Liu Yuan <address@hidden>
Reviewed-by: Liu Yuan <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 3ab7bd1917d210eac5d2a80593899ec70c4e998c
https://github.com/qemu/qemu/commit/3ab7bd1917d210eac5d2a80593899ec70c4e998c
Author: MORITA Kazutaka <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M include/block/coroutine.h
M qemu-coroutine-sleep.c
Log Message:
-----------
coroutine: add co_aio_sleep_ns() to allow sleep in block drivers
This helper function behaves similarly to co_sleep_ns(), but the
sleeping coroutine will be resumed when using qemu_aio_wait().
Signed-off-by: MORITA Kazutaka <address@hidden>
Tested-by: Liu Yuan <address@hidden>
Reviewed-by: Liu Yuan <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 011603cacf1cae9212453efd82ec908cd42ce466
https://github.com/qemu/qemu/commit/011603cacf1cae9212453efd82ec908cd42ce466
Author: MORITA Kazutaka <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: try to reconnect to sheepdog after network error
This introduces a failed request queue and links all the inflight
requests to the list after network error happens. After QEMU
reconnects to the sheepdog server successfully, the sheepdog block
driver will retry all the requests in the failed queue.
Signed-off-by: MORITA Kazutaka <address@hidden>
Tested-by: Liu Yuan <address@hidden>
Reviewed-by: Liu Yuan <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: a37dcdf9aea8e19fcec6b1c5aa2c27c325fc4644
https://github.com/qemu/qemu/commit/a37dcdf9aea8e19fcec6b1c5aa2c27c325fc4644
Author: MORITA Kazutaka <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: make add_aio_request and send_aioreq void functions
These functions no longer return errors. We can make them void
functions and simplify the codes.
Signed-off-by: MORITA Kazutaka <address@hidden>
Tested-by: Liu Yuan <address@hidden>
Reviewed-by: Liu Yuan <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 35200687a1e04a79b0345be476185dc23d1604fb
https://github.com/qemu/qemu/commit/35200687a1e04a79b0345be476185dc23d1604fb
Author: MORITA Kazutaka <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: cancel aio requests if possible
This patch tries to cancel aio requests in pending queue and failed
queue. When the sheepdog driver cannot cancel the requests, it waits
for them to be completed.
Signed-off-by: MORITA Kazutaka <address@hidden>
Tested-by: Liu Yuan <address@hidden>
Reviewed-by: Liu Yuan <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 80308d33ec70834a80351a79eba106049b44a366
https://github.com/qemu/qemu/commit/80308d33ec70834a80351a79eba106049b44a366
Author: MORITA Kazutaka <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M block/sheepdog.c
Log Message:
-----------
sheepdog: check simultaneous create in resend_aioreq
After reconnection happens, all the inflight requests are moved to the
failed request list. As a result, sd_co_rw_vector() can send another
create request before resend_aioreq() resends a create request from
the failed list.
This patch adds a helper function check_simultaneous_create() and
checks simultaneous create requests more strictly in resend_aioreq().
Signed-off-by: MORITA Kazutaka <address@hidden>
Tested-by: Liu Yuan <address@hidden>
Reviewed-by: Liu Yuan <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: 7890111b642e8e03430c3bf8bd6cedee26cec4fe
https://github.com/qemu/qemu/commit/7890111b642e8e03430c3bf8bd6cedee26cec4fe
Author: Fam Zheng <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M tests/qemu-iotests/030
Log Message:
-----------
qemu-iotests: prefill some data to test image
Case 030 occasionally fails because of block job compltes too fast to be
captured by script, and 'unexpected qmp event' of job completion causes
the test failure.
Simply fill in some data to the test image to make this false alarm less
likely to happen.
(For other benefits to prefill data to test image, see also commit
ab68cdfaa).
Signed-off-by: Fam Zheng <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: cbe82d7fb32e5d8e76434671d50853df5f50d560
https://github.com/qemu/qemu/commit/cbe82d7fb32e5d8e76434671d50853df5f50d560
Author: Fam Zheng <address@hidden>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M qapi-schema.json
Log Message:
-----------
qapi: Add optional field 'compressed' to ImageInfo
Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: f4c129a38a5430b7342a7a23f53a22831154612f
https://github.com/qemu/qemu/commit/f4c129a38a5430b7342a7a23f53a22831154612f
Author: Fam Zheng <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M block/vmdk.c
M qapi-schema.json
M tests/qemu-iotests/059
M tests/qemu-iotests/059.out
Log Message:
-----------
vmdk: Implment bdrv_get_specific_info
Implement .bdrv_get_specific_info to return the extent information.
Signed-off-by: Fam Zheng <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Commit: b0eb759fb244c023bc4cee60cb4336eadda3da1a
https://github.com/qemu/qemu/commit/b0eb759fb244c023bc4cee60cb4336eadda3da1a
Author: Anthony Liguori <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M configure
M docs/memory.txt
M hw/acpi/core.c
M hw/acpi/ich9.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/nvme.c
M hw/char/serial-pci.c
M hw/char/tpci200.c
M hw/core/irq.c
M hw/core/loader.c
M hw/core/sysbus.c
M hw/display/qxl.c
M hw/i386/Makefile.objs
A hw/i386/acpi-build.c
A hw/i386/acpi-build.h
A hw/i386/acpi-defs.h
A hw/i386/acpi-dsdt-cpu-hotplug.dsl
A hw/i386/acpi-dsdt-dbug.dsl
A hw/i386/acpi-dsdt-hpet.dsl
A hw/i386/acpi-dsdt-isa.dsl
A hw/i386/acpi-dsdt-pci-crs.dsl
A hw/i386/acpi-dsdt.dsl
A hw/i386/acpi-dsdt.hex.generated
A hw/i386/bios-linker-loader.c
A hw/i386/bios-linker-loader.h
M hw/i386/pc.c
M hw/i386/pc_piix.c
M hw/i386/pc_q35.c
A hw/i386/q35-acpi-dsdt.dsl
A hw/i386/q35-acpi-dsdt.hex.generated
A hw/i386/ssdt-misc.dsl
A hw/i386/ssdt-misc.hex.generated
A hw/i386/ssdt-pcihp.dsl
A hw/i386/ssdt-pcihp.hex.generated
A hw/i386/ssdt-proc.dsl
A hw/i386/ssdt-proc.hex.generated
M hw/ide/cmd646.c
M hw/ide/ich.c
M hw/isa/lpc_ich9.c
M hw/isa/vt82c686.c
M hw/lm32/lm32_hwsetup.h
M hw/misc/ivshmem.c
M hw/misc/pvpanic.c
M hw/misc/vfio.c
M hw/net/e1000.c
M hw/net/eepro100.c
M hw/net/ne2000.c
M hw/net/pcnet-pci.c
M hw/net/rtl8139.c
M hw/net/vmxnet3.c
M hw/nvram/fw_cfg.c
M hw/pci-bridge/pci_bridge_dev.c
M hw/pci-host/piix.c
M hw/pci-host/q35.c
M hw/pci/pci.c
M hw/pci/pcie.c
M hw/pci/pcie_aer.c
M hw/pci/pcie_host.c
M hw/pci/shpc.c
M hw/scsi/esp-pci.c
M hw/scsi/lsi53c895a.c
M hw/scsi/megasas.c
M hw/scsi/vmw_pvscsi.c
M hw/timer/hpet.c
M hw/usb/hcd-ehci-pci.c
M hw/usb/hcd-ohci.c
M hw/usb/hcd-uhci.c
M hw/usb/hcd-xhci.c
M hw/virtio/virtio-pci.c
M include/exec/memory.h
M include/hw/acpi/acpi.h
M include/hw/acpi/ich9.h
A include/hw/acpi/piix4.h
M include/hw/i386/ich9.h
M include/hw/i386/pc.h
M include/hw/irq.h
M include/hw/loader.h
M include/hw/nvram/fw_cfg.h
M include/hw/pci-host/q35.h
M include/hw/pci/pci.h
M include/hw/pci/pci_bus.h
M include/hw/pci/pcie.h
M include/hw/pci/pcie_host.h
M include/hw/sysbus.h
M include/hw/timer/hpet.h
M include/qom/object.h
M memory.c
M qom/object.c
A scripts/acpi_extract.py
A scripts/acpi_extract_preprocess.py
A scripts/update-acpi.sh
M vl.c
Log Message:
-----------
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
pci, pc, acpi fixes, enhancements
This includes some pretty big changes:
- pci master abort support by Marcel
- pci IRQ API rework by Marcel
- acpi generation support by myself
Everything has gone through several revisions, latest versions have been on
list for a while without any more comments, tested by several
people.
Please pull for 1.7.
Signed-off-by: Michael S. Tsirkin <address@hidden>
# gpg: Signature made Tue 15 Oct 2013 07:33:48 AM CEST using RSA key ID D28D5469
# gpg: Can't check signature: public key not found
* mst/tags/for_anthony: (39 commits)
ssdt-proc: update generated file
ssdt: fix PBLK length
i386: ACPI table generation code from seabios
pc: use new api to add builtin tables
acpi: add interface to access user-installed tables
hpet: add API to find it
pvpanic: add API to access io port
ich9: APIs for pc guest info
piix: APIs for pc guest info
acpi/piix: add macros for acpi property names
i386: define pc guest info
loader: allow adding ROMs in done callbacks
i386: add bios linker/loader
loader: use file path size from fw_cfg.h
acpi: ssdt pcihp: updat generated file
acpi: pre-compiled ASL files
acpi: add rules to compile ASL source
i386: add ACPI table files from seabios
q35: expose mmcfg size as a property
q35: use macro for MCFG property name
...
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: a9c78bb82efd825256c496e69aa884b1da7edea3
https://github.com/qemu/qemu/commit/a9c78bb82efd825256c496e69aa884b1da7edea3
Author: Anthony Liguori <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M hw/i386/pc.c
Log Message:
-----------
Merge remote-tracking branch 'kraxel/e820.1' into staging
* kraxel/e820.1:
e820: pass high memory too.
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 3fa4270a651503ac1a6aec5154ef17171ddae4e9
https://github.com/qemu/qemu/commit/3fa4270a651503ac1a6aec5154ef17171ddae4e9
Author: Anthony Liguori <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M monitor.c
Log Message:
-----------
Merge remote-tracking branch 'luiz/queue/qmp' into staging
* luiz/queue/qmp:
monitor: eliminate monitor_event_state_lock
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: cb95ec1b83ae3972a976e5331f9e772cde1ebd1c
https://github.com/qemu/qemu/commit/cb95ec1b83ae3972a976e5331f9e772cde1ebd1c
Author: Anthony Liguori <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M hw/usb/hcd-xhci.c
M hw/usb/host-libusb.c
Log Message:
-----------
Merge remote-tracking branch 'kraxel/usb.91' into staging
* kraxel/usb.91:
usb-hcd-xhci: Update endpoint context dequeue pointer for streams too
usb-hcd-xhci: Report completion of active transfer with CC_STOPPED on ep stop
usb-hcd-xhci: Remove unused cancelled member from XHCITransfer
usb-hcd-xhci: Remove unused sstreamsm member from XHCIStreamContext
usb-host-libusb: Detach kernel drivers earlier
usb-host-libusb: Configuration 0 may be a valid configuration
usb-host-libusb: Fix reset handling
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: e2cb2902bacb0efaa4adf680719aa77758dd33cd
https://github.com/qemu/qemu/commit/e2cb2902bacb0efaa4adf680719aa77758dd33cd
Author: Anthony Liguori <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M audio/audio.c
Log Message:
-----------
Merge remote-tracking branch 'kraxel/audio.2' into staging
* kraxel/audio.2:
audio: honor QEMU_AUDIO_TIMER_PERIOD instead of waking up every *nano* second
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 1ba1905abd72f34836b153f3348d618da6148f87
https://github.com/qemu/qemu/commit/1ba1905abd72f34836b153f3348d618da6148f87
Author: Anthony Liguori <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M cpus.c
M default-configs/ppc64-softmmu.mak
M dump.c
M hw/intc/Makefile.objs
M hw/intc/xics.c
A hw/intc/xics_kvm.c
M hw/ppc/spapr.c
M hw/ppc/spapr_hcall.c
M hw/ppc/spapr_pci.c
M include/elf.h
M include/hw/ppc/spapr.h
M include/hw/ppc/xics.h
M monitor.c
M pc-bios/README
M pc-bios/slof.bin
M roms/SLOF
M target-ppc/Makefile.objs
A target-ppc/arch_dump.c
M target-ppc/cpu-qom.h
M target-ppc/cpu.h
M target-ppc/kvm.c
M target-ppc/kvm_ppc.h
M target-ppc/machine.c
M target-ppc/mem_helper.c
M target-ppc/translate_init.c
Log Message:
-----------
Merge remote-tracking branch 'agraf/ppc-for-upstream' into staging
* agraf/ppc-for-upstream: (29 commits)
spapr: Use DeviceClass::fw_name for device tree CPU node
target-ppc: Fill in OpenFirmware names for some PowerPCCPU families
target-ppc: dump-guest-memory support
dump-guest-memory: Check for the correct return value
target-ppc: Use #define for max slb entries
target-ppc: Check for error on address translation in memsave command
target-ppc: Update slb array with correct index values.
spapr-pci: enable irqfd for INTx
xics-kvm: enable irqfd for MSI
xics: Implement H_XIRR_X
xics: Implement H_IPOLL
xics-kvm: Support for in-kernel XICS interrupt controller
xics: add cpu_setup callback
xics: split to xics and xics-common
xics: add missing const specifiers to TypeInfo
xics: convert init() to realize()
xics: add pre_save/post_load dispatchers
xics: replace fprintf with error_report
spapr: move cpu_setup after kvmppc_set_papr
xics: move reset and cpu_setup
...
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: ef5cfe5bbd8bb05a51afaf7ab313769eb9ef44b6
https://github.com/qemu/qemu/commit/ef5cfe5bbd8bb05a51afaf7ab313769eb9ef44b6
Author: Anthony Liguori <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M .gitignore
M audio/mixeng_template.h
M block/iscsi.c
M configure
M docs/ccid.txt
M docs/qapi-code-gen.txt
M hw/ppc/spapr.c
M qapi-schema.json
M slirp/if.c
M target-alpha/translate.c
M tests/test-throttle.c
M ui/vnc-enc-zywrle.h
Log Message:
-----------
Merge remote-tracking branch 'mjt/trivial-patches' into staging
* mjt/trivial-patches:
audio/mixeng_template.h: fix inline declaration
misc: Spelling and grammar fixes in comments
docs/ccid.txt: fix the typo
qapi: fix documentation example
.gitignore: ignore qmp-commands.txt
misc: New spelling fixes in comments
configure: create fsdev/ directory
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: a126050a103c924b03388a9a64ce9af8c96b0969
https://github.com/qemu/qemu/commit/a126050a103c924b03388a9a64ce9af8c96b0969
Author: Anthony Liguori <address@hidden>
Date: 2013-10-31 (Thu, 31 Oct 2013)
Changed paths:
M block.c
M block/qcow2.c
M block/raw-posix.c
M block/raw-win32.c
M block/raw_bsd.c
M block/sheepdog.c
M block/vmdk.c
M block/vpc.c
M exec.c
M hw/ide/ahci.c
M include/block/block_int.h
M include/block/coroutine.h
M qapi-schema.json
M qemu-coroutine-sleep.c
M qemu-img.c
M tests/ide-test.c
A tests/multiboot/Makefile
A tests/multiboot/libc.c
A tests/multiboot/libc.h
A tests/multiboot/link.ld
A tests/multiboot/mmap.c
A tests/multiboot/mmap.out
A tests/multiboot/multiboot.h
A tests/multiboot/run_test.sh
A tests/multiboot/start.S
M tests/qemu-iotests/030
M tests/qemu-iotests/040
M tests/qemu-iotests/051.out
M tests/qemu-iotests/059
M tests/qemu-iotests/059.out
A tests/qemu-iotests/068
A tests/qemu-iotests/068.out
A tests/qemu-iotests/069
A tests/qemu-iotests/069.out
M tests/qemu-iotests/group
Log Message:
-----------
Merge remote-tracking branch 'kwolf/tags/for-anthony' into staging
Block patches for 1.7.0-rc0 (v2)
# gpg: Signature made Thu 31 Oct 2013 04:44:39 PM CET using RSA key ID C88F2FD6
# gpg: Can't check signature: public key not found
* kwolf/tags/for-anthony: (30 commits)
vmdk: Implment bdrv_get_specific_info
qapi: Add optional field 'compressed' to ImageInfo
qemu-iotests: prefill some data to test image
sheepdog: check simultaneous create in resend_aioreq
sheepdog: cancel aio requests if possible
sheepdog: make add_aio_request and send_aioreq void functions
sheepdog: try to reconnect to sheepdog after network error
coroutine: add co_aio_sleep_ns() to allow sleep in block drivers
sheepdog: reload inode outside of resend_aioreq
sheepdog: handle vdi objects in resend_aio_req
sheepdog: check return values of qemu_co_recv/send correctly
qemu-iotests: Test case for backing file deletion
qemu-iotests: drop duplicated "create_image"
qemu-iotests: Fix 051 reference output
block: Avoid unecessary drv->bdrv_getlength() calls
block: Disable BDRV_O_COPY_ON_READ for the backing file
ahci: fix win7 hang on boot
sheepdog: pass copy_policy in the request
sheepdog: explicitly set copies as type uint8_t
block: Don't copy backing file name on error
...
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Compare: https://github.com/qemu/qemu/compare/b86160555f8d...a126050a103c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] a1ff8a: memory: Change MemoryRegion priorities from unsign...,
GitHub <=