Statistics
| Branch: | Revision:

root / hw @ 28b70c9d

# Date Author Comment
619d7ae9 07/02/2012 12:27 pm Paolo Bonzini

virtio-scsi: do not crash on adding buffers to the event queue

The event queue is not supported yet and the handler does not
have to do much anyway when buffers are added. However, the
handler is called unconditionally by the virtio layer, and this
results in a crash as soon as buffers are added to the event...

335f560f 07/02/2012 12:27 pm Christian Hoff

scsi: Fix data length == SCSI_SENSE_BUF_SIZE

Fix the edge case where the sense data length is exactly the same
as SCSI_SENSE_BUF_SIZE.
This makes SCSI requests work that use all of the available 95 byte
sense data.

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

15e58a21 07/02/2012 12:27 pm Christian Hoff

scsi: Fix LOAD_UNLOAD

Change operation code of LOAD_UNLOAD command to 0x1b as described in
section 7.3 of the SCSI Stream Commands spec.

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

28b70c9d 07/02/2012 12:27 pm Paolo Bonzini

scsi: Ensure command and transfer lengths are set for all SCSI devices

scsi-generic relies on those values to be correct, so it is important that
those values are initialized properly for all device types.

Reported-by: Christian Hoff <>...

e8f943c3 07/02/2012 12:11 pm Hannes Reinecke

megasas: LSI Megaraid SAS HBA emulation

This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.
I've tested it to work with Linux, Windows Vista, and Windows7.

Signed-off-by: Hannes Reinecke <>
[ Squashed trivial changes from Andreas Faerber, rebased over IOMMU...

27395add 07/02/2012 11:18 am Paolo Bonzini

scsi: add a qdev property for the disk's WWN

Signed-off-by: Paolo Bonzini <>

55042b95 07/02/2012 11:18 am Paolo Bonzini

atapi: implement READ DISC INFORMATION

This command is not necessary for CD-ROM and DVD-ROM, but some versions of
udev trip on its absence.

Cc: Kevin Wolf <>
Cc: Markus Armbruster <>
Signed-off-by: Paolo Bonzini <>

1a4f0c3a 07/02/2012 11:18 am Paolo Bonzini

scsi-disk: implement READ DISC INFORMATION

This command is not necessary for CD-ROM and DVD-ROM, but some versions of
udev trip on its absence.

Cc: Kevin Wolf <>
Cc: Markus Armbruster <>
Signed-off-by: Paolo Bonzini <>

98392453 07/02/2012 11:18 am Ronnie Sahlberg

ISCSI: Add SCSI passthrough via scsi-generic to libiscsi

Update iscsi to allow passthrough of SG_IO scsi commands when the iscsi
device is forced to be scsi-generic.

Implement both bdrv_ioctl() and bdrv_aio_ioctl() in the iscsi backend,
emulate the SG_IO ioctl and pass the SCSI commands across to the...

7430d0f5 07/02/2012 11:18 am Hannes Reinecke

megasas: Add header file

This patch adds the header file for megasas.

Signed-off-by: Hannes Reinecke <>
Signed-off-by: Paolo Bonzini <>

82579390 07/02/2012 11:18 am Paolo Bonzini

scsi: simplify handling of the VPD page length field

The last four bytes of the thin provisioning page were cut out.

Signed-off-by: Paolo Bonzini <>

5fa45de5 06/28/2012 12:33 am David Gibson

iommu: Allow PCI to use IOMMU infrastructure

This patch adds some hooks to let PCI devices and busses use the new IOMMU
infrastructure. When IOMMU support is enabled, each PCI device now
contains a DMAContext * which is used by the pci_dma_*() wrapper functions....

edded454 06/28/2012 12:33 am David Gibson

pseries: Implement IOMMU and DMA for PAPR PCI devices

Currently the pseries machine emulation does not support DMA for emulated
PCI devices, because the PAPR spec always requires a (guest visible,
paravirtualized) IOMMU which was not implemented. Now that we have...

8292f75a 06/28/2012 12:33 am David Gibson

Better support for dma_addr_t variables

A while back, we introduced the dma_addr_t type, which is supposed to
be used for bus visible memory addresses. At present, this is an
alias for target_phys_addr_t, but this will change when we eventually
add support for guest visible IOMMUs....

d86a77f8 06/28/2012 12:33 am David Gibson

iommu: Add universal DMA helper functions

Not that long ago, every device implementation using DMA directly
accessed guest memory using cpu_physical_memory_*(). This meant that
adding support for a guest visible IOMMU would require changing every
one of these devices to go through IOMMU translation....

9ac6a217 06/28/2012 12:33 am David Gibson

usb-ohci: Use universal DMA helper functions

The OHCI device emulation can provide both PCI and SysBus OHCI
implementations. Because of this, it was not previously converted to
use the PCI DMA helper functions.

This patch converts it to use the new universal DMA helper functions....

c65bcef3 06/28/2012 12:33 am David Gibson

iommu: Make sglists and dma_bdrv helpers use new universal DMA helpers

dma-helpers.c contains a number of helper functions for doing
scatter/gather DMA, and various block device related DMA. Currently,
these directly access guest memory using cpu_physical_memory_*(),...

10ca2943 06/28/2012 12:33 am David Gibson

ide/ahci: Use universal DMA helper functions

The AHCI device can provide both PCI and SysBus AHCI device
emulations. For this reason, it wasn't previously converted to use
the pci_dma_*() helper functions. Now that we have universal DMA
helper functions, this converts AHCI to use them....

e2f89926 06/28/2012 12:33 am David Gibson

usb: Convert usb_packet_{map, unmap} to universal DMA helpers

The USB UHCI and EHCI drivers were converted some time ago to use the
pci_dma_*() helper functions. However, this conversion was not complete
because in some places both these drivers do DMA via the usb_packet_map()...

e5332e63 06/28/2012 12:33 am David Gibson

iommu: Introduce IOMMU emulation infrastructure

This patch adds the basic infrastructure necessary to emulate an IOMMU
visible to the guest. The DMAContext structure is extended with
information and a callback describing the translation, and the various...

ad0ebb91 06/28/2012 12:33 am David Gibson

pseries: Convert sPAPR TCEs to use generic IOMMU infrastructure

The pseries platform already contains an IOMMU implementation, since it is
essential for the platform's paravirtualized VIO devices. This IOMMU
support is currently built into the implementation of the VIO "bus" and...

fcce6fd2 06/28/2012 12:27 am Jason Wang

rtl8139: validate rx ring before receiving packets

Commit ff71f2e8cacefae99179993204172bc65e4303df prevent the possible
crash during initialization of linux driver by checking the operating
mode.This seems too strict as:

- the real card could still work in mode other than normal...

7de3abe5 06/28/2012 12:26 am Anthony Liguori

qdev: fix use-after-free in the error path of qdev_init_nofail

From Markus:

Before:

$ qemu-system-x86_64 -display none -drive if=ide
qemu-system-x86_64: Device needs media, but drive is empty
qemu-system-x86_64: Initialization of device ide-hd failed...
e0a3dc7c 06/26/2012 11:09 pm Anthony Liguori

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

  • stefanha/trivial-patches:
    tci: Support INDEX_op_bswap64_i64
    target-i386: Use QEMU instead of Qemu
    Makefile.hw: avoid overly large 'make clean' rm command
    configure: Fix typo
    arm_gic: Send dbg msgs to stderr not stdout...
3aa42d32 06/26/2012 11:07 pm Anthony Liguori

Merge remote-tracking branch 'spice/spice.v58' into staging

  • spice/spice.v58:
    vga: raise default vgamem size
    add pc-1.2
    qxl: add vgamem_size_mb and vgamem_size
    vga: make vram size configurable
    vga: raise xres+yres limits
    qxl: reset current_async on qxl_soft_reset...
3978f461 06/26/2012 11:05 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/compile-xs' into staging

  • sstabellini/compile-xs:
    xenstore: Use <xenstore.h>
    xen: Reorganize includes of Xen headers.
7a542b67 06/26/2012 11:05 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/xen-pt' into staging

  • sstabellini/xen-pt:
    Introduce Xen PCI Passthrough, MSI
    Introduce apic-msidef.h
    Introduce Xen PCI Passthrough, PCI config space helpers
    Introduce Xen PCI Passthrough, qdevice
    qdev-properties: Introduce pci-host-devaddr....
b1a6609e 06/26/2012 11:01 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.54' into staging

  • kraxel/usb.54:
    uhci: fix uhci_async_cancel_all
    usb-host: live migration support
    usb-host: attach only to running guest
    ehci: tracing improvements
    usb: restore USBDevice->attached on vmload...
4e469a43 06/24/2012 01:48 pm Blue Swirl

Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf

  • 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf: (72 commits)
    PPC: BookE206: Bump MAS2 to 64bit
    PPC: BookE: Support 32 and 64 bit wide MAS2
    PPC: Extract SPR dump generation into its own function...
959a255d 06/24/2012 01:48 pm Blue Swirl

Merge branch 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm

  • 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm: (33 commits)
    target-arm: Remove ARM_CPUID_* macros
    target-arm: Remove remaining old cp15 infrastructure...
8dacfcb4 06/24/2012 01:45 pm Blue Swirl

Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf

  • 's390-for-upstream' of git://repo.or.cz/qemu/agraf:
    s390: stop target cpu on sigp initial reset
    s390: make kvm_stat work on s390
    kvm: Update kernel headers
    s390x: fix s390 virtio aliases
99918cec 06/24/2012 10:09 am Blue Swirl

Merge branch 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm

  • 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm:
    arm_boot: Conditionalised DTB command line update
    cadence_ttc: changed master clock frequency...
2a7a47fc 06/24/2012 02:04 am Alexander Graf

PPC: BookE: Implement EPR SPR

On the e500 series, accessing SPR_EPR magically turns into an access at
that CPU's IACK register on the MPIC. Implement that logic to get kernels
that make use of that feature work.

Signed-off-by: Alexander Graf <>

a053a7ce 06/24/2012 02:04 am Alexander Graf

PPC: e500: Refactor serial dt generation

When generating serial port device tree nodes, we duplicate quite a bit
of code, because there are 2 of them in the mpc8544ds board we emulate.

Shove the generating code into a function, so we duplicate less code....

caedc737 06/24/2012 02:04 am Alexander Graf

PPC: e500: allow users to set the /compatible property via -machine

Device trees usually have a node /compatible, which indicate which machine
type we're looking at. For quick prototyping, it can be very useful to change
the contents of that node via the command line....

5025d542 06/24/2012 02:04 am Alexander Graf

uImage: increase the gzip load size

Recent u-boot has different defines for its gzip extract buffer, but the
common ground seems to be 64MB. So let's bump it up to that, enabling me
to load my test image again ;).

Signed-off-by: Alexander Graf <>

518c7fb4 06/24/2012 02:04 am Alexander Graf

PPC: e500: Use new MPIC dt format

Due to popular demand, we're updating the way we generate the MPIC
node and interrupt lines based on what the current state of art is.

Requested-by: Scott Wood <>
Signed-off-by: Alexander Graf <>

ebb9518a 06/24/2012 02:04 am Alexander Graf

PPC: e500: Use new SOC dt format

Due to popular demand, let's clean up the soc node a bit and use
more recent dt notions.

Requested-by: Scott Wood <>
Signed-off-by: Alexander Graf <>

ed2bc496 06/24/2012 02:04 am Alexander Graf

PPC: e500: Define addresses as always 64bit

Every time we use an address constant, it needs to potentially fit into
a 64bit physical address space. So let's define things accordingly.

Signed-off-by: Alexander Graf <>

3627757e 06/24/2012 02:04 am Alexander Graf

PPC: e500: Extend address/size of / to 64bit

We want to be able to support >= 4GB of RAM. To do so, we need to be able
to tell the guest OS how much RAM it has.

However, that information today is capped to 32bit. So let's extend the
offset and size fields to 64bit, so we can fit in big addresses and even...

1d2e5c52 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: use 64bit cell helper

We have a nice 64bit helper to ease the device tree generation and
make the code more readable when creating 64bit 2-cell parameters.
Use it when generating the device tree.

Signed-off-by: Alexander Graf <>

7f47b41f 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: use target_phys_addr_t for ramsize

We're passing the ram size as uint32_t, capping it to 32 bits atm.
Change to target_phys_addr_t (uint64_t) to make sure we have all
the bits.

Signed-off-by: Alexander Graf <>

d1b93565 06/24/2012 02:04 am Alexander Graf

PPC: e500: enable manual loading of dtb blob

We want to be able to override the automatically created device tree
by using the -dtb option. Implement this for the mpc8544ds machine.

Signed-off-by: Alexander Graf <>

5da96624 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create /soc8544 node dynamically

Signed-off-by: Alexander Graf <>

0cfc6e8d 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create serial nodes dynamically

Signed-off-by: Alexander Graf <>

19ac9dea 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create mpic node dynamically

Signed-off-by: Alexander Graf <>

f5038483 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create global-utils node dynamically

Signed-off-by: Alexander Graf <>

0dbc0798 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create pci node dynamically

Signed-off-by: Alexander Graf <>

2636fcb6 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: start with empty device tree

Now that all of the device tree bits are generated during runtime, we
can get rid of the device tree blob and instead start from scratch with
an empty device tree.

Signed-off-by: Alexander Graf <>

25b42708 06/24/2012 02:04 am Alexander Graf

dt: Add -machine dumpdtb option to dump the current dtb

Now that we are dynamically creating the dtb, it's really useful to
be able to dump the created blob for debugging.

This patch implements a -machine dumpdtb=<file> option for e500 that
dumps the dtb exactly in the form the guest would get it to disk. It...

63397dd0 06/24/2012 02:04 am Alexander Graf

PPC: e500: require libfdt

Now that we're moving all of the device tree generation from an external
pre-execution generated blob to runtime generation using libfdt, we absolutely
must have libfdt around.

This requirement was there before already, as the only way to not require libfdt...

dd0bcfca 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create memory node dynamically

Signed-off-by: Alexander Graf <>

625e665b 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create /cpus node dynamically

Signed-off-by: Alexander Graf <>

d50f71a5 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create /hypervisor node dynamically

Signed-off-by: Alexander Graf <>

51b852b7 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create / node dynamically

Signed-off-by: Alexander Graf <>

f5231aaf 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create /chosen node dynamically

Signed-off-by: Alexander Graf <>

5af9873d 06/24/2012 02:04 am Benjamin Herrenschmidt

pseries: Correctly create ibm,segment-page-sizes property

The core tcg/kvm code for ppc64 now has at least the outline
capability to support pagesizes beyond the standard 4k and 16MB. The
CPUState is initialized with information advertising the available...

a4d8e8da 06/24/2012 02:04 am Benjamin Herrenschmidt

spapr_vscsi: Error handling fixes

We were incorrectly g_free'ing an object that isn't allocated
in one error path and failed to release it completely in another

This fixes qemu crashes with some cases of IO errors.

Signed-off-by: Benjamin Herrenschmidt <>...

c73e3771 06/24/2012 02:04 am Benjamin Herrenschmidt

spapr: Add "memop" hypercall

This adds a qemu-specific hypervisor call to the pseries machine
which allows to do what amounts to memmove, memcpy and xor over
regions of physical memory such as the framebuffer.

This is the simplest way to get usable framebuffer speed from...

cba2026a 06/24/2012 02:04 am Alexander Graf

PPC: mpc8544ds: Span initial TLB entry over as much RAM as we need

The initial TLB entry is supposed to help us run the guest -kernel payload.
This means the guest needs to be able to access its own memory, the initrd
memory and the device tree.

So far we only statically reserved a TLB entry from [0;256M[. This patch...

f1dacf1c 06/22/2012 11:49 am Gerd Hoffmann

add pc-1.2

9e56edcf 06/22/2012 11:49 am Gerd Hoffmann

vga: raise default vgamem size

Old size: 8 MB (traditional upstream qemu value).
New size: 16 MB (traditional qemu-kvm value).

Also adds compat properties so old machine types
keep the old default values.

Signed-off-by: Gerd Hoffmann <>

13d1fd44 06/22/2012 11:49 am Alon Levy

qxl: add vgamem_size_mb and vgamem_size

In preperation for supporting a larger framebuffer for multiple monitors
on a single card, add a property to qxl vgamem_size_mb, and corresponding
byte sized vgamem_size, and use instead of VGA_RAM_SIZE.

[ kraxel: simplify property handling, add sanity checks ]...

0a530548 06/22/2012 11:46 am Alon Levy

hw/qxl: s/qxl_guest_bug/qxl_set_guest_bug/

Signed-off-by: Alon Levy <>
Signed-off-by: Gerd Hoffmann <>

0f7bfd81 06/22/2012 11:46 am Alon Levy

qxl: stop dirty loging when not in vga mode

Tested with linux guest. Not sure how to check actual performance affect
of this. Checked with the previously send traceevent that the kvm ioctl
to start/stop dirty logging is being called.
(KVM_SET_USER_MEMORY_REGION)....

087e6a42 06/22/2012 11:46 am Alon Levy

hw/qxl: ignore guest from guestbug until reset

soft_reset is called from any of: * QXL_IO_RESET * vga io * pci reset handler

Signed-off-by: Alon Levy <>
Signed-off-by: Gerd Hoffmann <>

a5f68c22 06/22/2012 11:46 am Alon Levy

qxl: reset current_async on qxl_soft_reset

Signed-off-by: Alon Levy <>
Signed-off-by: Gerd Hoffmann <>

e9c6149f 06/22/2012 11:46 am Gerd Hoffmann

vga: raise xres+yres limits

The vgabios will check whenever any given video mode will fit into the
given video memory before adding it to the list of available modes, so
there is no need to keep xmax * ymax * 32bpp lower than VGA_RAM_SIZE.

Lets raise the limits a bit. Should be good for a few years, display...

4a1e244e 06/22/2012 11:46 am Gerd Hoffmann

vga: make vram size configurable

Zap the global VGA_RAM_SIZE #define, make the vga ram size configurable
for standard vga and vmware vga. cirrus and qxl are left with a fixed
size (and private VGA_RAM_SIZE #define) for now.

qxl needs some non-trivial adjustments in the mode list handling deal...

5eb98401 06/22/2012 11:41 am Peter A. G. Crosthwaite

arm_gic: Send dbg msgs to stderr not stdout

Signed-off-by: Peter A. G. Crosthwaite <>
Signed-off-by: Stefan Hajnoczi <>

cced7a13 06/21/2012 09:45 pm Blue Swirl

fdc: use LOG_UNIMP logging

Convert uses of FLOPPY_ERROR to either FLOPPY_DPRINTF
(for implemented cases) or to use LOG_UNIMP (unimplemented).

Signed-off-by: Blue Swirl <>

93d7ae8e 06/21/2012 07:06 pm Allen Kay

Introduce Xen PCI Passthrough, PCI config space helpers

A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git

Signed-off-by: Allen Kay <>
Signed-off-by: Guy Zana <>
Signed-off-by: Anthony PERARD <>...

9886c23a 06/21/2012 07:06 pm Anthony PERARD

Introduce apic-msidef.h

This patch move the msi definition from apic.c to apic-msidef.h. So it can be
used also by other .c files.

Signed-off-by: Anthony PERARD <>
Acked-by: Stefano Stabellini <>
Acked-by: Michael S. Tsirkin <>

3854ca57 06/21/2012 07:06 pm Jiang Yunhong

Introduce Xen PCI Passthrough, MSI

A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git

Signed-off-by: Jiang Yunhong <>
Signed-off-by: Shan Haitao <>
Signed-off-by: Anthony PERARD <>...

9ff706c8 06/21/2012 07:06 pm Anthony PERARD

pci_ids: Add INTEL_82599_SFP_VF id.

We are using this in our quirk lookup provided by patch
titled: Introduce Xen PCI Passthrough, PCI config space helpers.

Signed-off-by: Anthony PERARD <>
Acked-by: Stefano Stabellini <>...

396af688 06/21/2012 07:06 pm Anthony PERARD

Introduce XenHostPCIDevice to access a pci device on the host.

Signed-off-by: Anthony PERARD <>
Signed-off-by: Stefano Stabellini <>
Reviewed-by: Konrad Rzeszutek Wilk <>

7aa8cbb9 06/21/2012 07:06 pm Anthony PERARD

pci.c: Add opaque argument to pci_for_each_device.

The purpose is to have a more generic pci_for_each_device by passing an extra
argument to the function called on every device.

This patch will be used in a next patch.

Signed-off-by: Anthony PERARD <>...

679042f0 06/21/2012 07:06 pm Anthony PERARD

qdev-properties: Introduce pci-host-devaddr.

This new property will be used to specify a host pci device address.

Signed-off-by: Anthony PERARD <>
Acked-by: Michael S. Tsirkin <>
Acked-by: Stefano Stabellini <>

eaab4d60 06/21/2012 07:06 pm Allen Kay

Introduce Xen PCI Passthrough, qdevice

A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git

Signed-off-by: Allen Kay <>
Signed-off-by: Guy Zana <>
Signed-off-by: Anthony PERARD <>...

fc3511d4 06/21/2012 04:19 pm Peter A. G. Crosthwaite

xilinx_timer: Removed include of qemu-timer

The Xilinx timer does not interact with the qemu_timer API, so dont include it.

Signed-off-by: Peter A. G. Crosthwaite <>
Signed-off-by: Edgar E. Iglesias <>

7798a882 06/21/2012 04:19 pm Peter A. G. Crosthwaite

xilinx_timer: Fixed deadlock issue

The timer was deadlocking when the interval was set too low. It would cause a
flood of timer events and the CPU would halt indefinately. This is a known issue
and theres a generic workaround in place in ptimer on ptimer_set_limit(),...

e108a3c1 06/21/2012 02:44 pm Anthony PERARD

xenstore: Use <xenstore.h>

In the next release of Xen (4.2), xs.h became deprecated.

Signed-off-by: Anthony PERARD <>
Signed-off-by: Stefano Stabellini <>

b41f6719 06/21/2012 02:43 pm Anthony PERARD

xen: Reorganize includes of Xen headers.

Because xs.h will be remove in future release of Xen, this patch removes the
extra includes of this headers.

Also, it removes the extra includes of xenctrl.h and xen/io/xenbus.h as there
already are in xen_common.h....

9a773408 06/20/2012 03:46 pm Gerd Hoffmann

ehci: add live migration support

Signed-off-by: Gerd Hoffmann <>

495d5447 06/20/2012 03:46 pm Gerd Hoffmann

usb: restore USBDevice->attached on vmload

Signed-off-by: Gerd Hoffmann <>

30e9d412 06/20/2012 03:46 pm Gerd Hoffmann

ehci: tracing improvements

Signed-off-by: Gerd Hoffmann <>

a844ed84 06/20/2012 03:46 pm Gerd Hoffmann

usb-host: attach only to running guest

Signed-off-by: Gerd Hoffmann <>

a229c053 06/20/2012 03:46 pm Gerd Hoffmann

usb-host: live migration support

Signed-off-by: Gerd Hoffmann <>

77fa9aee 06/20/2012 03:46 pm Gerd Hoffmann

uhci: fix uhci_async_cancel_all

We update the QTAILQ in the loop, thus we must use the SAFE version
to make sure we don't touch the queue struct after freeing it.

https://bugzilla.novell.com/show_bug.cgi?id=766310

Signed-off-by: Gerd Hoffmann <>

9ee703b0 06/20/2012 03:01 pm Peter Maydell

hw/pxa2xx_pic: Convert coprocessor registers to new scheme

Convert the coprocessor access functions for the pxa2xx PIC to the
arm_cp_reginfo scheme.

Signed-off-by: Peter Maydell <>

e2f8a44d 06/20/2012 03:01 pm Peter Maydell

hw/pxa2xx.c: Convert CLKCFG and PWRMODE cp14 regs

Convert the PXA2xx CLKCFG and PWRMODE cp14 registers to the
new arm_cp_reginfo scheme.

Signed-off-by: Peter Maydell <>

dc2a9045 06/20/2012 03:01 pm Peter Maydell

hw/pxa2xx: Convert cp14 perf registers to new scheme

Convert the PXA2xx cp14 perf registers from old-style
coprocessor hooks to the new scheme.

Signed-off-by: Peter Maydell <>

459ae5ea 06/19/2012 09:36 pm Gleb Natapov

Add PIIX4 properties to control PM system states.

This patch adds two things. First it allows QEMU to distinguish between
regular powerdown and S4 powerdown. Later separate QMP notification will
be added for S4 powerdown. Second it allows S3/S4 states to be disabled...

93bfef4c 06/19/2012 09:36 pm Crístian Viana

Allow machines to configure the QEMU_VERSION that's exposed via hardware

QEMU exposes its version to the guest's hardware and in some cases that is wrong
(e.g. Windows prints messages about driver updates when you switch
the QEMU version).
There is a new field now on the struct QEmuMachine, hw_version, which may...

dcff25f2 06/19/2012 09:32 pm Anthony Liguori

make: automatically include dependencies in recursive subdir rules (v2)

I think I understand enough of what's going on in these rules to ensure this is
right. But I could certainly use a second or third opinion...

Signed-off-by: Anthony Liguori <>

cff0cfbe 06/19/2012 04:24 pm Peter Maydell

hw/omap.h: Drop broken MEM_VERBOSE tracing

Remove the MEM_VERBOSE tracing option from omap.h. This worked by
intercepting cpu_register_io_memory() calls; it has been broken
since cpu_register_io_memory() was removed in favour of the
MemoryRegion API.

Signed-off-by: Peter Maydell <>

c97338dc 06/19/2012 04:24 pm Peter Maydell

hw/a9mpcore: Fix compilation failure if physaddrs are 64 bit

Add a cast to a logging printf to avoid a compilation failure
if target_phys_addr_t is a 64 bit type. (This is better than
using TARGET_FMT_plx because we really don't need a full
16 digit hex string to print the offset into a device.)...

5fbe02e8 06/19/2012 04:24 pm Jim Meyering

cadence_gem: avoid stack-writing buffer-overrun

Use sizeof(rxbuf)-size (not sizeof(rxbuf-size)) as the number
of bytes to clear. The latter would always clear 4 or 8
bytes, possibly writing beyond the end of that stack buffer.
Alternatively, depending on the value of the "size" parameter,...

69efc026 06/19/2012 04:24 pm Peter A. G. Crosthwaite

cadence_ttc: changed master clock frequency

Change the timer clock frequency to 133MHz which is correct. the old 2.5MHz
value was for the pre-silicon emulation platform.

Signed-off-by: Peter A. G. Crosthwaite <>
Signed-off-by: Peter Maydell <>

5e87975c 06/19/2012 04:24 pm Peter A. G. Crosthwaite

arm_boot: Conditionalised DTB command line update

The DTB command line should only be overwritten if the user provides a command
line with -append. Otherwise whatever command line was in the DTB should stay
unchanged.

Signed-off-by: Peter A. G. Crosthwaite <>...