Statistics
| Branch: | Revision:

root / hw @ 5cc11c46

# Date Author Comment
d58f5598 03/26/2013 02:30 pm David Gibson

savevm: Add VMSTATE_UINTTL_EQUAL helper

This adds an _EQUAL VMSTATE helper for target_ulongs, defined in terms of
VMSTATE_UINT32_EQUAL or VMSTATE_UINT64_EQUAL as appropriate.

Signed-off-by: David Gibson <>
Signed-off-by: Juan Quintela <>

75020a70 03/25/2013 12:13 pm Dmitry Fleytman

Common definitions for VMWARE devices

Signed-off-by: Dmitry Fleytman <>
Signed-off-by: Yan Vugenfirer <>
Signed-off-by: Stefan Hajnoczi <>

e263cd49 03/25/2013 12:13 pm Dmitry Fleytman

Packet abstraction for VMWARE network devices

Signed-off-by: Dmitry Fleytman <>
Signed-off-by: Yan Vugenfirer <>
Signed-off-by: Stefan Hajnoczi <>

786fd2b0 03/25/2013 12:13 pm Dmitry Fleytman

VMXNET3 device implementation

Signed-off-by: Dmitry Fleytman <>
Signed-off-by: Yan Vugenfirer <>
Signed-off-by: Stefan Hajnoczi <>

fe6344a0 03/24/2013 12:30 pm Anthony Green

Remove device_tree.o from hw/moxie/Makefile.objs.

Here's a fix for the build problem identified by Aurelien Jarno here:
http://lists.gnu.org/archive/html/qemu-devel/2013-03/msg04177.html

Signed-off-by: Anthony Green <>
Signed-off-by: Aurelien Jarno <>

a360d965 03/23/2013 04:25 pm Anthony Green

Add sample moxie system

Signed-off-by: Anthony Green <>
Signed-off-by: Blue Swirl <>

f7c61bf8 03/23/2013 04:23 pm Blue Swirl

Merge branch 'for-upstream' of git://github.com/mwalle/qemu

  • 'for-upstream' of git://github.com/mwalle/qemu:
    configure: rename OpenGL feature to GLX
    configure: proper OpenGL/GLX probe
    target-lm32: use HELPER macro
    target-lm32: flush tlb after clearing env...
d76bb735 03/22/2013 10:43 pm Aurelien Jarno

Merge branch 'ppc-for-upstream' of git://github.com/agraf/qemu

  • 'ppc-for-upstream' of git://github.com/agraf/qemu: (58 commits)
    target-ppc: Use NARROW_MODE macro for tlbie
    target-ppc: Use NARROW_MODE macro for addresses
    target-ppc: Use NARROW_MODE macro for comparisons...
cecd77ae 03/22/2013 08:05 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  1. By liguang (2) and others
  2. Via Stefan Hajnoczi
    • stefanha/trivial-patches:
      qdev: remove redundant abort()
      gitignore: ignore more files
      Use proper term in TCG README
      serial: Fix debug format strings...
01ed1d52 03/22/2013 05:09 pm liguang

qdev: remove redundant abort()

Reviewed-by: Andreas Färber <>
Signed-off-by: liguang <>
Signed-off-by: Stefan Hajnoczi <>

d5aea6f3 03/22/2013 04:28 pm David Gibson

mmu-hash*: Add header file for definitions

Currently cpu.h contains a number of definitions relating to the 64-bit
hash MMU. Some are used in the MMU emulation code, but some are only used
in the spapr MMU management hcall implementations.

This patch moves these definitions (except for a few that are needed...

dffdaf61 03/22/2013 04:28 pm David Gibson

mmu-hash*: Add hash pte load/store helpers

On real hardware the ppc hash page table is stored in memory; accordingly
our mmu emulation code can read a hash page table in guest memory. But,
when paravirtualized under PAPR, the real hash page table is in host...

a4e044c3 03/22/2013 04:28 pm David Gibson

pseries: Fix breakage in CPU QOM conversion

Commit 259186a7d2f7184efc96ae99bc5658e6159f53ad "cpu: Move halted and
interrupt_request fields to CPUState" broke the pseries machine. That's
because it uses CPU instead of ENV_GET_CPU() to convert from the global...

89dfd6e1 03/22/2013 04:28 pm David Gibson

pseries: Remove "busname" property for PCI host bridge

Currently the "spapr-pci-host-bridge" device has a "busname" property which
can be used to override the default assignment of qbus names for the bus
subordinate to the PHB. We use that for the default primary PCI bus, to...

7b565160 03/22/2013 04:28 pm David Gibson

pseries: Move XICS initialization before cpu initialization

Currently, the pseries machine initializes the cpus, then the XICS
interrupt controller. However, to support the upcoming in-kernel XICS
implementation we will need to initialize the irq controller before the...

8b4a8988 03/22/2013 02:30 pm Kevin Wolf

serial: Fix debug format strings

This fixes the build of hw/serial.c with DEBUG_SERIAL enabled.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

085d8134 03/22/2013 02:25 pm Peter Maydell

Fix typos and misspellings

Fix various typos and misspellings. The bulk of these were found with
codespell.

Signed-off-by: Peter Maydell <>
Reviewed-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

fe42d7fb 03/20/2013 09:27 am Cornelia Huck

virtio-ccw, s390-virtio: Use generic virtio-blk macro.

Now that virtio-ccw and s390-virtio define all common properties
for virtio-blk, we can switch to using the generic
DEFINE_VIRTIO_BLK_PROPERTIES macro.

CC: Alexander Graf <>
Signed-off-by: Cornelia Huck <>

da0a58b9 03/20/2013 09:22 am Cornelia Huck

s390-virtio, virtio-ccw: Add config_wce for virtio-blk.

There's no reason why we wouldn't want to make the cache mode
configurable.

Acked-by: Alexander Graf <>
Signed-off-by: Cornelia Huck <>

131cd737 03/20/2013 09:21 am Cornelia Huck

virtio-ccw: Add missing blk chs properties.

Signed-off-by: Cornelia Huck <>

f7d42093 03/19/2013 03:01 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/ipxe.2' into staging

  1. By Gerd Hoffmann
  2. Via Gerd Hoffmann
    • kraxel/ipxe.2:
      Switch to efi-enabled nic roms by default
      Add efi rom binaries
      Add Makefile rules to build nic rom binaries with efi support
      Update ipxe submodule to latest master...
a8e5cc0c 03/19/2013 12:48 pm Dunrong Huang

virtio-blk: Do not segfault fault if failed to initialize dataplane

$ ~/usr/bin/qemu-system-x86_64 -enable-kvm -m 1024 -drive if=none,id=drive0,cache=none,aio=native,format=raw,file=/root/Image/centos-6.4.raw -device virtio-blk-pci,drive=drive0,scsi=off,x-data-plane=on,config-wce=on # make dataplane fail to initialize...

44ac582d 03/18/2013 08:40 pm Michael Walle

milkymist-uart: fix receive buffering

Inform qemu-char when more input data can be received.

Signed-off-by: Michael Walle <>

562f5f5d 03/18/2013 08:40 pm Michael Walle

lm32_uart: fix receive buffering

Inform qemu-char when more input data can be received.

Signed-off-by: Michael Walle <>

b1e5fff4 03/18/2013 08:40 pm Michael Walle

configure: rename OpenGL feature to GLX

As the probe now actually checks for the availability of GLX, rename it
accordingly. The only user of this feature is the milkymist-tmu2 model.

Signed-off-by: Michael Walle <>

1cc91b7d 03/18/2013 08:08 pm KONRAD Frederic

virtio-blk: cleanup: QOM cast

Use QOM casts inside virtio-blk.

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Peter Maydell <>
Message-id:
Signed-off-by: Anthony Liguori <>

2d62a957 03/18/2013 08:08 pm KONRAD Frederic

virtio-blk: cleanup: remove qdev field.

The qdev field is no longer needed, just drop it.

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Peter Maydell <>
Message-id: ...

1c028ddf 03/18/2013 08:08 pm KONRAD Frederic

virtio-blk: add the virtio-blk device.

Create virtio-blk which extends virtio-device, so it can be connected on
virtio-bus.

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Peter Maydell <>
Message-id: ...

653ced07 03/18/2013 08:08 pm KONRAD Frederic

virtio-blk-pci: switch to new API.

Here the virtio-blk-pci is modified for the new API. The device
virtio-blk-pci extends virtio-pci. It creates and connects a virtio-blk
during the init. The properties are not changed.

Signed-off-by: KONRAD Frederic <>...

55d11e01 03/18/2013 08:08 pm KONRAD Frederic

virtio-blk-s390: switch to the new API.

Here the virtio-blk-s390 is modified for the new API. The device
virtio-blk-s390 extends virtio-s390-device as before. It creates and
connects a virtio-blk during the init. The properties are not modified.

Signed-off-by: KONRAD Frederic <>...

3400c455 03/18/2013 08:08 pm KONRAD Frederic

virtio-blk-ccw switch to new API.

Here the virtio-ccw-s390 is modified for the new API. The device
virtio-ccw-s390 extends virtio-ccw-device as before. It creates and
connects a virtio-ccw during the init. The properties are not modified.

Signed-off-by: KONRAD Frederic <>...

05ff6865 03/18/2013 08:08 pm KONRAD Frederic

virtio-blk: cleanup: init and exit functions.

As all virtio-blk-* are switched to the new API, we can remove the separate
init/exit for the old API.

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Peter Maydell <>...

f1b24e84 03/18/2013 08:08 pm KONRAD Frederic

virtio: make virtio device's structures public.

These structures must be made public to avoid two memory allocations for
refactored virtio devices.

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Andreas Färber <>...

cbd19063 03/18/2013 08:08 pm KONRAD Frederic

virtio-x-bus: fix allow_hotplug assertion.

This set allow_hotplug for each existing virtio-x-bus, allowing the
refactored devices to be hot pluggable.

Signed-off-by: KONRAD Frederic <>
Message-id: ...

10479a80 03/18/2013 08:08 pm KONRAD Frederic

virtio-pci: fix hot unplug.

Hot unplug failed because it tried to free the virtio device two times.

This fix the issue by removing the call to virtio_bus_destroy_device.

Signed-off-by: KONRAD Frederic <>
Message-id: ...

da3dcefa 03/18/2013 08:08 pm KONRAD Frederic

virtio-blk: don't use pointer for configuration.

The configuration field must not be a pointer as it will be used for virtio-blk
properties. So *blk is replaced by blk in VirtIOBlock structure.

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Peter Maydell <>...

71874c17 03/18/2013 11:21 am Gerd Hoffmann

spice: stop using DisplayState

Rework DisplayStateListener callbacks to not use the DisplayState
any more.

Signed-off-by: Gerd Hoffmann <>

bc2ed970 03/18/2013 11:21 am Gerd Hoffmann

console: zap displaystate from dcl callbacks

Now that nobody depends on DisplayState in DisplayChangeListener
callbacks any more we can remove the parameter from all callbacks.

Signed-off-by: Gerd Hoffmann <>

c78f7137 03/18/2013 11:21 am Gerd Hoffmann

console: stop using DisplayState in gfx hardware emulation

Use QemuConsole instead. Updates interfaces in console.[ch] and adapts
gfx hardware emulation code.

Signed-off-by: Gerd Hoffmann <>

7c20b4a3 03/18/2013 11:21 am Gerd Hoffmann

console: fix displaychangelisteners interface

Split callbacks into separate Ops struct. Pass DisplayChangeListener
pointer as first argument to all callbacks. Uninline a bunch of
display functions and move them from console.h to console.c

Signed-off-by: Gerd Hoffmann <>

c6c06853 03/18/2013 11:21 am Gerd Hoffmann

qxl: zap qxl0 global

DisplayChangeListener is passed now to all DisplayChangeListenerOps
callbacks, so we can use that to access the qxl state and kill the
qxl0 global variable.

Signed-off-by: Gerd Hoffmann <>

c099e7aa 03/18/2013 11:21 am Gerd Hoffmann

qxl: better vga init in enter_vga_mode

Ask the vga core to update the display. Will trigger dpy_gfx_resize
if needed. More complete than just calling dpy_gfx_resize.

Signed-off-by: Gerd Hoffmann <>

da229ef3 03/18/2013 11:21 am Gerd Hoffmann

console: rework DisplaySurface handling [vga emu side]

Decouple DisplaySurface allocation & deallocation from DisplayState.
Replace dpy_gfx_resize + dpy_gfx_setdata with a dpy_gfx_replace_surface
function.

This handles the graphic hardware emulation.

Signed-off-by: Gerd Hoffmann <>

c12aeb86 03/18/2013 11:21 am Gerd Hoffmann

console: rework DisplaySurface handling [dcl/ui side]

Replace the dpy_gfx_resize and dpy_gfx_setdata DisplayChangeListener
callbacks with a dpy_gfx_switch callback which notifies the ui code
when the framebuffer backing storage changes.

Signed-off-by: Gerd Hoffmann <>

c45e5b5b 03/18/2013 11:21 am Gerd Hoffmann

Switch to efi-enabled nic roms by default

All PCI nics are switched to EFI-enabled roms by default. They are
composed from three images (legacy, efi ia32 & efi x86), so classic
pxe booting will continue to work.

Exception: eepro100 is not switched, it uses a single rom for all...

e0891bd8 03/15/2013 06:41 pm Nathan Rossi

xilinx_spips: Fix bus setup conditional check

The R_LQPSI_CFG register has the LQSPI_CFG_SEP_BUS and LQSPI_CFG_TWO_MEM bits.

Signed-off-by: Nathan Rossi <>
Signed-off-by: Peter Crosthwaite <>
Message-id: ...

08a9635b 03/15/2013 06:41 pm Nathan Rossi

xilinx_spips: Add missing dual-bus snoop commands

Added additional commands to the switch to check for when snooping commands in
dual bus mode setups. Cleaned up code to use an enum.

Signed-off-by: Nathan Rossi <>
Signed-off-by: Peter Crosthwaite <>...

f8b9fe24 03/15/2013 06:41 pm Peter Crosthwaite

xilinx_spips: QOM styling fixes

Few fixes for the latest QOM styling guides.

Signed-off-by: Peter Crosthwaite <>
Message-id:
Signed-off-by: Peter Maydell <>

9c7d4893 03/15/2013 06:41 pm Peter Maydell

hw/vexpress: Set reset values for daughterboard oscillators

Set the reset values for the VExpress daughterboard oscillators
via the new sysctl properties.

Signed-off-by: Peter Maydell <>

06a1cea5 03/15/2013 06:41 pm Peter Crosthwaite

pl330: Initial version

Device model for Primecell PL330 DMA controller.

Signed-off-by: Peter Crosthwaite <>
Signed-off-by: Kirill Batuzov <>
Tested-by: Igor Mitsyanko <>
Reviewed-by: Igor Mitsyanko <>...

7451afb6 03/15/2013 06:41 pm Peter Crosthwaite

xilinx_zynq: added pl330 to machine model

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Peter Maydell <>
Message-id: ...

2790cd91 03/15/2013 06:41 pm Peter Crosthwaite

xilinx_spips: Set unused IRQs to NULL

Unused CS lines should init to 0 to avoid segfaulting when accessing an
unattached QSPI controller.

Signed-off-by: Peter Crosthwaite <>
Message-id: ...

0be6bfac 03/15/2013 06:41 pm Peter Maydell

qdev: Implement (variable length) array properties

Add support for declaring array properties for qdev devices.
These work by defining an initial static property 'len-arrayname'
which the user of the device should set to the desired size
of the array. When this property is set, memory is allocated...

8bd4824a 03/15/2013 06:41 pm Peter Maydell

hw/arm_sysctl: Implement SYS_CFG_VOLT

Implement the SYS_CFG_VOLT registers which return the voltage
of various supplies on motherboard and daughterboard. Since
QEMU implements a perfectly stable power supply these registers
always return a constant value. The number and value of the...

31410948 03/15/2013 06:41 pm Peter Maydell

hw/vexpress: Pass voltage sensor properties to sysctl device

Pass voltage sensor properties to the sysctl device. Since
these are daughterboard specific, we specify them via the
VEDBoardInfo structure.

Signed-off-by: Peter Maydell <>...

1f81f94b 03/15/2013 06:41 pm Peter Maydell

hw/arm_sysctl: Implement SYS_CFG_OSC function

Implement the SYS_CFG_OSC function. Since the idea of
programmable clock rates doesn't make much sense for QEMU,
we simply allow the clock rate to be read back as written.
The number and value of the daughterboard oscillators varies...

cdef10bb 03/15/2013 06:41 pm Peter Maydell

hw/vexpress: Pass proc_id via VEDBoardInfo

Pass the daughterboard-specific proc_id property to the code that
creates the sysctl device via the VEDBoardInfo struct, rather than
by having the daughterboard init function write to a uint32_t*
argument. This is a cleaner way to pass the info around, and...

71538323 03/15/2013 06:41 pm Peter Maydell

hw/arm_sysctl: Handle SYS_CFGCTRL in a more structured way

The SYS_CFGCTRL register consists of separate fields
for DCC, function, site, position and device, as well
as a read/write bit. Refactor the code handling SYS_CFGCTRL
writes to make it easier to add support for functions...

8ff05c98 03/15/2013 06:41 pm Peter Maydell

hw/arm_sysctl: Implement SYS_CFG_MUXFPGA writes as a no-op

SYS_CFG_MUXFPGA allows the guest to select whether the
video output should come from the motherboard's LCD
controller or the daughterboard's one. Since QEMU doesn't
currently support selecting the video output like this,...

291155cb 03/15/2013 06:41 pm Peter Maydell

hw/arm_sysctl: Implement SYS_CFG_DVIMODE as a no-op

SYS_CFG_DVIMODE allows the guest to select whether the
output DVI signal is VGA, SVGA, XGA, SGA or UXGA. Since
this makes no difference to QEMU, implement writes as a
no-op so Linux doesn't complain.

Signed-off-by: Peter Maydell <>

1f56f50a 03/15/2013 06:41 pm Peter Maydell

hw/arm_sysctl: Convert from qdev init to instance_init

Convert this device from old-style qdev init to an instance_init
function. We don't need a realize function yet, though.

Signed-off-by: Peter Maydell <>

dc0b0616 03/15/2013 05:47 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/block' into staging

  1. By Stefan Hajnoczi (14) and others
  2. Via Stefan Hajnoczi
    • stefanha/block: (28 commits)
      blockdev: Fix up copyright and permission notice
      qemu-iotests: use -nographic in test case 007
      qemu-iotests: add tests for rebasing zero clusters...
d4d76824 03/15/2013 05:47 pm Anthony Liguori

Merge remote-tracking branch 'cohuck/virtio-ccw-upstr' into staging

  1. By Christian Borntraeger (1) and Cornelia Huck (1)
  2. Via Cornelia Huck
    • cohuck/virtio-ccw-upstr:
      virtio-ccw: Wire up virtio-rng.
      virtio-ccw: remove qdev_unparent in unplug routing
485e3ce8 03/15/2013 05:07 pm Paolo Bonzini

dataplane: fix hang introduced by AioContext transition

The bug is that the EventNotifiers do have a NULL io_flush callback.
Because none of the callbacks on the dataplane AioContext have such a
callback, aio_poll will simply do nothing. Fixed by adding the callbacks:...

de9c0cec 03/15/2013 05:07 pm Kevin Wolf

block: Add options QDict to bdrv_open() prototype

It doesn't do anything yet except storing the options QDict in the
BlockDriverState.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>
Reviewed-by: Stefan Hajnoczi <>...

b8a205f2 03/12/2013 02:39 pm Christian Borntraeger

virtio-ccw: remove qdev_unparent in unplug routing

This patch fixes unplugging a virtio-ccw device. We no
longer need to do that in virtio-ccw since common code does now
proper handling.

Signed-off-by: Christian Borntraeger <>
Signed-off-by: Jens Freimann <>...

2362ecc5 03/12/2013 02:39 pm Cornelia Huck

virtio-ccw: Wire up virtio-rng.

Make virtio-rng devices available for s390-ccw-virtio machines.

Signed-off-by: Cornelia Huck <>

259186a7 03/12/2013 11:35 am Andreas Färber

cpu: Move halted and interrupt_request fields to CPUState

Both fields are used in VMState, thus need to be moved together.
Explicitly zero them on reset since they were located before
breakpoints.

Pass PowerPCCPU to kvmppc_handle_halt().

Signed-off-by: Andreas Färber <>

d8ed887b 03/12/2013 11:35 am Andreas Färber

exec: Pass CPUState to cpu_reset_interrupt()

Move it to qom/cpu.c to avoid build failures depending on include order
of cpu-qom.h and exec/cpu-all.h.

Change opaques of various ..._irq_handler() functions to the
appropriate CPU type to facilitate using cpu_reset_interrupt()....

c3affe56 03/12/2013 11:35 am Andreas Färber

cpu: Pass CPUState to cpu_interrupt()

Move it to qom/cpu.h to avoid issues with include order.

Change pc_acpi_smi_interrupt() opaque to X86CPU.

Signed-off-by: Andreas Färber <>

b350ab75 03/12/2013 11:35 am Andreas Färber

target-sh4: Move PVR/PRR/CVR into SuperHCPUClass

They are never changed once initialized, and moving them to the class
will allow to inspect them before instantiating.

Signed-off-by: Andreas Färber <>

bba18e23 03/11/2013 02:39 pm Paolo Bonzini

arm: fix compilation with CONFIG_FDT

A conflict was resolved the wrong way when merging commit 320ba5f (build:
always link device_tree.o into emulators if libfdt available, 2013-02-05).
This causes a build failure for the arm-softmmu target due to multiply...

fa388916 03/11/2013 03:39 am Anthony Liguori

Merge remote-tracking branch 'origin/master' into staging

  • origin/master: (75 commits)
    tcg: Don't make exitreq flag a local temporary
    Makefile: Add subdir dependency on config-devices-all.mak
    make_device_config.sh: Emit dependency file to directory where included...
6e72a00f 03/11/2013 02:56 am Anthony Liguori

Merge remote-tracking branch 'bonzini/hw-dirs' into staging

  • bonzini/hw-dirs:
    sh: move files referencing CPU to hw/sh4/
    ppc: move more files to hw/ppc
    ppc: move files referencing CPU to hw/ppc/
    m68k: move files referencing CPU to hw/m68k/
    i386: move files referencing CPU to hw/i386/...
6a245c66 03/11/2013 02:33 am Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  1. By Lei Li (2) and others
  2. Via Stefan Hajnoczi
    • stefanha/trivial-patches:
      Fix the wrong description in qemu manual
      pci_host: Drop write-only address_space field
      rng-random: Use qemu_open / qemu_close...
6d06368d 03/11/2013 02:30 am Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  1. By Paolo Bonzini (4) and Peter Lieven (2)
  2. Via Paolo Bonzini
    • bonzini/scsi-next:
      scsi-disk: handle io_canceled uniformly and correctly
      scsi-disk: do not complete canceled UNMAP requests...
7830cf78 03/11/2013 02:26 am Blue Swirl

baum: fix build

08744c98115cfa144ed3493556024e400b2e2573 removed hw/baum.h
but did not adjust hw/baum.c, breaking build. Fix.

Signed-off-by: Blue Swirl <>
Message-id: ...

eb839909 03/09/2013 01:02 pm Blue Swirl

Merge branch 's390-for-upstream' of git://github.com/agraf/qemu

  • 's390-for-upstream' of git://github.com/agraf/qemu:
    s390/virtio-ccw: remove redundant call to blockdev_mark_auto_del
    s390/css: Fix subchannel detection
    Allow virtio-net features for legacy s390 virtio bus...
62e1aeae 03/09/2013 01:02 pm Blue Swirl

Merge branch 'ppc-for-upstream' of git://github.com/agraf/qemu

  • 'ppc-for-upstream' of git://github.com/agraf/qemu: (66 commits)
    pseries: Add compatible property to root of device tree
    target-ppc: Move CPU aliases out of translate_init.c
    target-ppc: Report CPU aliases for QMP...
35569cea 03/08/2013 10:17 pm Christian Borntraeger

Allow virtio-net features for legacy s390 virtio bus

Enable all virtio-net features for the legacy s390 virtio bus. This also fixes
kernel BUG at /usr/src/packages/BUILD/kernel-default-3.0.58/linux-3.0/drivers/s390/kvm/kvm_virtio.c:121!

Signed-off-by: Christian Borntraeger <>...

38dd7cc7 03/08/2013 10:17 pm Christian Borntraeger

s390/css: Fix subchannel detection

We have to consider the m bit to find the real channel subsystem when
determining the last subchannel.

If we fail to take this into account, removal of a subchannel in
the middle of a big list of devices will stop device detection after...

8a7df84f 03/08/2013 10:17 pm Christian Borntraeger

s390/virtio-ccw: remove redundant call to blockdev_mark_auto_del

blockdev_mark_auto_del is already called in virtio-blk-exit.
Remove the redundant call.

Signed-off-by: Christian Borntraeger <>
Signed-off-by: Jens Freimann <>...

e13da404 03/08/2013 10:04 pm Amadeusz Sławiński

PPC: Fix dma interrupt

In openbios (drivers/ide.c) they are set to

0000000d 00000000 00000002 00000000
0000000e 00000000 00000003 00000000
0000000f 00000000 00000004 00000000
(The last one seems to be not implemented in qemu)

It follows convention of how they are set on real machines,...

987422bc 03/08/2013 10:04 pm Amadeusz Sławiński

PPC: xnu kernel expects FLUSH to be cleared on STOP

otherwise it gets stuck in a loop
so clear it when unsetting run when flush is set

void
IODBDMAStop( volatile IODBDMAChannelRegisters *registers) {

IOSetDBDMAChannelControl( registers,
IOClearDBDMAChannelControlBits( kdbdmaRun )...
d63919c9 03/08/2013 10:04 pm David Gibson

pseries: Add compatible property to root of device tree

Currently, for the pseries machine the device tree supplied by qemu to SLOF
and from there to the guest does not include a 'compatible property' at the
root level. Usually that works fine, since in this case the compatible...

6bbd5dde 03/08/2013 10:04 pm Erlon Cruz

pseries: Implement h_read hcall

This h_call is useful for DLPAR in future amongst other things. Given an index
it fetches the corresponding PTE stored in the htab.

Signed-off-by: Erlon Cruz <>
Acked-by: David Gibson <>...

d60fa42e 03/08/2013 10:04 pm Fabien Chouteau

Save memory allocation in the elf loader

The current elf loader uses too much memory. For example, I have a
executable with a bss section of 400 MB and I set the ram size to 512
MB. Qemu uses about 780MB of RAM (which is fine), but there's a peak at
1.6 GB during initialization (this is not fine)....

156dfade 03/08/2013 10:04 pm David Gibson

pseries: Add cleanup hook for PAPR virtual LAN device

Currently the spapr-vlan device does not supply a cleanup call for its
NetClientInfo structure. With current qemu versions, that leads to a SEGV
on exit, when net_cleanup() attempts to call the cleanup handlers on all...

fcfb4d6a 03/08/2013 09:57 pm Anthony Liguori

serial: add flow control to transmit

Signed-off-by: Anthony Liguori <>
Signed-off-by: Amit Shah <>
Message-id:
Signed-off-by: Anthony Liguori <>

7df4d457 03/08/2013 09:57 pm Amit Shah

virtio: console: add flow control

The virtio-serial-bus already has the logic to make flow control work
properly. Hook into the char layer's new ability to signal a backend is
writable again.

Signed-off-by: Amit Shah <>
Message-id: ...

d6258c93 03/08/2013 09:57 pm Amit Shah

virtio-serial: make flow control explicit in virtio-console

virtio-console.c used to return a value less than the number of bytes
asked to be written out to a chardev backend in case the backend is not
writable. virtio-serial-bus.c then implicitly enabled flow control for...

08744c98 03/08/2013 09:57 pm Anthony Liguori

qemu-char: move baum registration to baum.c

Signed-off-by: Anthony Liguori <>
Signed-off-by: Amit Shah <>
Message-id:
Signed-off-by: Anthony Liguori <>

5ab8211b 03/08/2013 09:57 pm Anthony Liguori

qemu-char: move msmouse registeration to msmouse.c

Signed-off-by: Anthony Liguori <>
Signed-off-by: Amit Shah <>
Message-id:
Signed-off-by: Anthony Liguori <>

d37e12a0 03/08/2013 02:15 pm Peter Maydell

pci_host: Drop write-only address_space field

The address_space field of PCIHostState was only ever written, never used.
Drop it completely.

Signed-off-by: Peter Maydell <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Stefan Hajnoczi <>

58427a0f 03/08/2013 11:18 am Paolo Bonzini

lm32: remove unused function

The milkymist-minimac device in fact does not exist at all.

Signed-off-by: Paolo Bonzini <>
Acked-by: Michael Walle <>
Signed-off-by: Stefan Hajnoczi <>

0bc472a9 03/07/2013 10:27 am Kuo-Jung Su

hw/nand.c: correct the sense of the BUSY/READY status bit

The BIT6 of Status Register(SR):

SR6 behaves the same as R/B# pin
SR6 = 0 indicates the device is busy;
SR6 = 1 means the device is ready

Some NAND flash controller (i.e. ftnandc021) relies on the SR6...

6f6710aa 03/05/2013 06:51 pm Paolo Bonzini

scsi: do not call scsi_read_data/scsi_write_data for a canceled request

Cc:
Signed-off-by: Paolo Bonzini <>

d0242ead 03/05/2013 06:51 pm Paolo Bonzini

scsi-disk: do not complete canceled UNMAP requests

Canceled requests should never be completed, and doing that could cause
accesses to a NULL hba_private field.

Cc:
Reported-by: Stefan Priebe <>
Tested-by: Stefan Priebe <>...

0c92e0e6 03/05/2013 06:51 pm Paolo Bonzini

scsi-disk: handle io_canceled uniformly and correctly

Always check it immediately after calling bdrv_acct_done, and
always do a "goto done" in case the "done" label has to free
some memory---as is the case for scsi_unmap_complete in the
previous patch.

This patch could fix problems that happen when a request is...

ed466761 03/05/2013 02:45 am Peter Maydell

hw/kvm/arm_gic: Implement support for KVM in-kernel ARM GIC

Implement support for using the KVM in-kernel GIC for ARM.

Signed-off-by: Peter Maydell <>
Reviewed-by: Andreas Färber <>