Statistics
| Branch: | Revision:

root @ 1b1ed8dc

# Date Author Comment
ce3960eb 01/15/2013 05:09 am Andreas Färber

cpu: Move nr_{cores,threads} fields to CPUState

To facilitate the field movements, pass MIPSCPU to malta_mips_config();
avoid that for mips_cpu_map_tc() since callers only access MIPS Thread
Contexts, inside TCG helpers.

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

66afd1ad 01/15/2013 05:09 am Andreas Färber

target-mips: Clean up mips_cpu_map_tc() documentation

This function will be touched again soon, so a good understanding of env
vs. other helps. Adopt gtk-doc style.

Signed-off-by: Andreas Färber <>
Reviewed-by: Eric Johnson <>

1b1ed8dc 01/15/2013 05:09 am Andreas Färber

cpu: Move numa_node field to CPUState

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

cf7c3f0c 01/15/2013 02:52 am KONRAD Frederic

virtio-9p: fix compilation error.

Fix the compilation error introduced by msg new field.

CC hw/9pfs/virtio-9p.o
In file included from /home/konradf/Documents/safe/greensocs/virtio-project/x86-qemu/qemu/hw/9pfs/virtio-9p.c:17:0:
/home/konradf/Documents/safe/greensocs/virtio-project/x86-qemu/qemu/hw/virtio-pci.h:30:16: erreur: field ‘msg’ has incomplete type...

53510bfc 01/14/2013 09:36 pm Michael Roth

virtio-pci: build for uninitialized return value in vq_vector_unmask

Fixes the following:

/home/mdroth/w/qemu2.git/hw/virtio-pci.c: In function
‘kvm_virtio_pci_vector_unmask’:
/home/mdroth/w/qemu2.git/hw/virtio-pci.c:673:12: error: ‘ret’ may be
used uninitialized in this function [-Werror=uninitialized]...

b8bec49c 01/14/2013 09:36 pm Michael Roth

dataplane: fix build breakage on set_guest_notifiers()

virtio_pci_set_guest_notifiers() now takes an additional argument to
specify the number of virtqueues to assign a guest notifier for. This
causes a build breakage for CONFIG_VIRTIO_BLK_DATA_PLANE builds:...

9c16fa79 01/14/2013 09:26 pm Alberto Garcia

Add TEWS TPCI200 IndustryPack emulation

The TPCI200 is a PCI board that supports up to 4 IndustryPack modules.

A new bus type called 'IndustryPack' has been created so any
compatible module can be attached to this board.

Reviewed-by: Andreas Färber <>...

be657dea 01/14/2013 09:26 pm Alberto Garcia

Add GE IP-Octal 232 IndustryPack emulation

The GE IP-Octal 232 is an IndustryPack module that implements eight
RS-232 serial ports, each one of which can be redirected to a
character device in the host.

Signed-off-by: Alberto Garcia <>...

a507db95 01/14/2013 06:27 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/pixman.v6' into staging

  • kraxel/pixman.v6:
    pixman: pass extra cflags and ldflags

Signed-off-by: Anthony Liguori <>

b55160c3 01/14/2013 06:27 pm Anthony Liguori

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

  • kraxel/usb.76:
    usb-host: Initialize dev->port the obviously safe way
    usb-host: Drop superfluous null test from usb_host_auto_scan()
    ehci: Assert state machine is sane w.r.t. EHCIQueue
    xhci: nuke transfe5rs on detach...
167eb811 01/14/2013 06:27 pm Anthony Liguori

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

  • spice/spice.v67:
    qxl: Don't drop client capability bits
    qxl: Fix SPICE_RING_PROD_ITEM(), SPICE_RING_CONS_ITEM() sanity check

Signed-off-by: Anthony Liguori <>

a69f221e 01/14/2013 06:26 pm Anthony Liguori

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

  • kraxel/testdev.2:
    pc-testdev: use typedefs

Signed-off-by: Anthony Liguori <>

da758bd7 01/14/2013 06:26 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  • kwolf/for-anthony:
    dataplane: handle misaligned virtio-blk requests
    dataplane: extract virtio-blk read/write processing into do_rdwr_cmd()
    block: make qiov_is_aligned() public
    raw-posix: fix bdrv_aio_ioctl...
8e9a8681 01/14/2013 06:23 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

pci,virtio

This further optimizes MSIX handling in virtio-pci.
Also included is pci cleanup by Paolo, and pci device
assignment fix by Alex.

Signed-off-by: Michael S. Tsirkin <>...

7adef3bc 01/14/2013 06:23 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/stub' into staging

  • bonzini/stub: (27 commits)
    build: improve quiet output for .stp rules
    build: fold trace-obj-y into libqemuutil.a
    build: some simplifications for "trace/Makefile.objs"
    build: remove coroutine-obj-y...
0054ee8c 01/14/2013 06:22 pm Anthony Liguori

Merge remote-tracking branch 'qmp/queue/qmp' into staging

  • qmp/queue/qmp:
    monitor: assert monitor_puts()'s loop invariant
    target-i386: fix bits 39:32 of the final physical address when using 4M page

Signed-off-by: Anthony Liguori <>

f9943cd5 01/14/2013 01:50 pm Gerd Hoffmann

pixman: pass extra cflags and ldflags

Store --extra-cflags and --extra-ldflags in config-host.mak,
then pass them on to the pixman configure script.

Cc: Scott Wood <>
Signed-off-by: Gerd Hoffmann <>

cc8d2b65 01/14/2013 01:47 pm Markus Armbruster

ehci: Assert state machine is sane w.r.t. EHCIQueue

Coverity worries the EHCIQueue pointer could be null when we pass it
to functions that reference it. The state machine ensures it can't be
null then. Assert that, to hush the checker.

Signed-off-by: Markus Armbruster <>...

46635308 01/14/2013 01:47 pm Markus Armbruster

usb-host: Drop superfluous null test from usb_host_auto_scan()

Coverity points out that port is later passed to usb_host_open(),
which dereferences it. It actually can't be null: it always points to
usb_host_scan()'s auto port[]. Drop the superfluous port == NULL...

03607847 01/14/2013 01:47 pm Markus Armbruster

usb-host: Initialize dev->port the obviously safe way

Coverity worries the strcpy() could overrun the destination. It
can't, because the source always points to usb_host_scan()'s auto
port[], which has the same size. Use pstrcpy() anyway, to hush the
checker....

b5ef1aab 01/14/2013 11:06 am Stefan Hajnoczi

dataplane: extract virtio-blk read/write processing into do_rdwr_cmd()

Extract code for read/write command processing into do_rdwr_cmd(). This
brings together pieces that are spread across process_request().

The real motivation is to set the stage for handling misaligned...

de0161c0 01/14/2013 11:06 am Stefan Hajnoczi

dataplane: handle misaligned virtio-blk requests

O_DIRECT on Linux has alignment requirements on I/O buffers and
misaligned requests result in -EINVAL. The Linux virtio_blk guest
driver usually submits aligned requests so I forgot to handle misaligned
requests....

8e895599 01/14/2013 11:06 am Paolo Bonzini

block: do not probe zero-sized disks

A blank CD or DVD is visible as a zero-sized disks. Probing such
disks will lead to an EIO and a failure to start the VM. Treating
them as raw is a better solution.

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

0e7106d8 01/14/2013 11:06 am Liu Yuan

sheepdog: implement direct write semantics

Sheepdog supports both writeback/writethrough write but has not yet supported
DIRECTIO semantics which bypass the cache completely even if Sheepdog daemon is
set up with cache enabled.

Suppose cache is enabled on Sheepdog daemon size, the new cache control is...

b608c8dc 01/14/2013 11:06 am Paolo Bonzini

raw-posix: fix bdrv_aio_ioctl

When the raw-posix aio=thread code was moved from posix-aio-compat.c
to block/raw-posix.c, there was an unintended change to the ioctl code.
The code used to return the ioctl command, which posix_aio_read()
would later morph into a zero. This hack is not necessary anymore,...

c53b1c51 01/14/2013 11:06 am Stefan Hajnoczi

block: make qiov_is_aligned() public

The qiov_is_aligned() function checks whether a QEMUIOVector meets a
BlockDriverState's alignment requirements. This is needed by
virtio-blk-data-plane so:

1. Move the function from block/raw-posix.c to block/block.c....

81251841 01/14/2013 09:59 am Gerd Hoffmann

xhci: create xhci_detach_slot helper function

Signed-off-by: Gerd Hoffmann <>

f3dcf638 01/14/2013 09:59 am Gerd Hoffmann

xhci: call xhci_detach_slot on root port detach too

Signed-off-by: Gerd Hoffmann <>

0cb41e2c 01/14/2013 09:59 am Gerd Hoffmann

xhci: nuke transfe5rs on detach

Signed-off-by: Gerd Hoffmann <>

00e4d0db 01/14/2013 09:59 am Gerd Hoffmann

pc-testdev: use typedefs

Signed-off-by: Gerd Hoffmann <>

bc5f92e5 01/14/2013 09:59 am Markus Armbruster

qxl: Fix SPICE_RING_PROD_ITEM(), SPICE_RING_CONS_ITEM() sanity check

The pointer arithmetic there is safe, but ugly. Coverity grouses
about it. However, the actual comparison is off by one: <= end
instead of < end. Fix by rewriting the check in a cleaner way....

08688af0 01/14/2013 09:59 am Markus Armbruster

qxl: Don't drop client capability bits

interface_set_client_capabilities() copies only the first few bits,
because it falls into a Classic C trap: you can declare a parameter
uint8_t caps58, but the resulting parameter type is uint8_t *, not
uint8_t58. In particular, sizeof(caps) is sizeof(uint8_t *), not...

59cacde8 01/12/2013 07:42 pm Paolo Bonzini

build: move QAPI definitions for QEMU out of qapi-obj-y

There is no reason why for example qemu-ga should include all the
definitions for the QEMU monitor. However, there are a few
that are needed (qapi_free_SocketAddress, qapi_free_InetSocketAddress,
ErrorClass_lookup). These should be moved to a separate "core"...

576d5506 01/12/2013 07:42 pm Paolo Bonzini

build: move base QAPI files to libqemuutil.a

Signed-off-by: Paolo Bonzini <>

bf0842b7 01/12/2013 07:42 pm Paolo Bonzini

build: move version-obj-y to the generic LINK rule

There is no reason for it to be in block-obj-y, in particular.

Signed-off-by: Paolo Bonzini <>

84ecb7a6 01/12/2013 07:42 pm Paolo Bonzini

build: remove coroutine-obj-y

Just fold it into block-obj-y.

Signed-off-by: Paolo Bonzini <>

0e848f48 01/12/2013 07:42 pm Paolo Bonzini

build: some simplifications for "trace/Makefile.objs"

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Paolo Bonzini <>

ff667e2e 01/12/2013 07:42 pm Paolo Bonzini

build: fold trace-obj-y into libqemuutil.a

Signed-off-by: Paolo Bonzini <>

aaf821fd 01/12/2013 07:42 pm Paolo Bonzini

build: improve quiet output for .stp rules

Mention the directory in which the .stp file is being generated.

Signed-off-by: Paolo Bonzini <>

d9dc91ac 01/12/2013 07:42 pm Paolo Bonzini

libcacard: list oslib-obj-y file explicitly

We will grow the list of files in the next patches, but libcacard
should remain slim.

Signed-off-by: Paolo Bonzini <>

e4b42e6e 01/12/2013 07:42 pm Paolo Bonzini

build: rename oslib-obj-y to util-obj-y

This prepares the creation of libqemuutil.a in the next patch.

Signed-off-by: Paolo Bonzini <>

8a090705 01/12/2013 07:42 pm Paolo Bonzini

build: move util-obj-y to libqemuutil.a

Use a static library to eliminate repetition in the linking rules.

Signed-off-by: Paolo Bonzini <>

f157ebba 01/12/2013 07:42 pm Paolo Bonzini

build: move files away from tools-obj-y, common-obj-y, user-obj-y

Split them between libqemuutil.a and, for those used by qemu-img/io/nbd,
block-obj-y.

Static libraries ensure that binaries such as qemu-ga do not include
unused modules.

Signed-off-by: Paolo Bonzini <>

baacf047 01/12/2013 07:42 pm Paolo Bonzini

build: move libqemuutil.a components to util/

Signed-off-by: Paolo Bonzini <>

a372823a 01/12/2013 07:42 pm Paolo Bonzini

build: move qobject files to qobject/ and libqemuutil.a

Signed-off-by: Paolo Bonzini <>

9444e9e6 01/12/2013 07:42 pm Paolo Bonzini

build: consolidate multiple variables into universal-obj-y

The directory descent mechanism, and a less-flat tree both helped
in making some *-obj-y definitions very short. Many of these
often end up in universal-obj-y, and used to be separate only
because of libuser (which is now part of history...)....

992aeb8e 01/12/2013 07:42 pm Paolo Bonzini

libcacard: rewrite Makefile in non-recursive style

Signed-off-by: Paolo Bonzini <>

26ca8c06 01/12/2013 07:42 pm Paolo Bonzini

libcacard: link vscclient to dynamic library

There is no reason for vscclient to duplicate the code. rules.mak
takes care of invoking libtool to do the link.

Signed-off-by: Paolo Bonzini <>

af0c8e9f 01/12/2013 06:19 pm Paolo Bonzini

libcacard: use per-target variable definitions

This lets the libcacard Makefile use more rules.mak magic.

Signed-off-by: Paolo Bonzini <>

5018f1cc 01/12/2013 06:19 pm Paolo Bonzini

libcacard: add list of exported symbols

Do not export internal QEMU symbols.

Signed-off-by: Paolo Bonzini <>

afd347ab 01/12/2013 06:19 pm Paolo Bonzini

build: remove CONFIG_SMARTCARD

The passthru smartcard does not have the shared library dependency, build
it unconditionally.

Signed-off-by: Paolo Bonzini <>

e832341b 01/12/2013 06:19 pm Alon Levy

libcacard: fix missing symbol in libcacard.so

Before patch:
$ make libcacard.la
$ nm ./libcacard/.libs/libcacard.so.0.0.0 | grep " U " | \
egrep -v "(g_)|(GLIBC)|(SECMOD)|(PK11)|(CERT)|(NSS)|(PORT)|(PR)"
U error_set

Signed-off-by: Alon Levy <>...

b6fc675b 01/12/2013 06:19 pm Paolo Bonzini

libcacard: require libtool to build it

Do not fail at build time, instead just disable the library if libtool
is not present.

Signed-off-by: Paolo Bonzini <>

591eca67 01/12/2013 06:19 pm Paolo Bonzini

libcacard: prepare to use -y trick in the Makefile

Rename variables to follow the conventions of the rest of the build
systems.

Signed-off-by: Paolo Bonzini <>

21655882 01/12/2013 06:19 pm Paolo Bonzini

build: support linking with libtool objects/libraries

This patch moves the complication of using libtool to the generic
rules.mak file.

Signed-off-by: Paolo Bonzini <>

2c13ec50 01/12/2013 06:19 pm Paolo Bonzini

build: move dtrace rules to rules.mak

Signed-off-by: Paolo Bonzini <>

5708fc66 01/12/2013 06:19 pm Paolo Bonzini

stubs: fully replace qemu-tool.c and qemu-user.c

Signed-off-by: Paolo Bonzini <>

f141ccfa 01/12/2013 06:19 pm Paolo Bonzini

build: make libtool verbose when making with V=1

Signed-off-by: Paolo Bonzini <>

4d454574 01/12/2013 06:17 pm Paolo Bonzini

qemu-option: move standard option definitions out of qemu-config.c

Signed-off-by: Paolo Bonzini <>

63fb2590 01/12/2013 02:47 pm Blue Swirl

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

  • 'target-arm.next' of git://git.linaro.org/people/pmaydell/qemu-arm:
    target-arm: Fix SWI (SVC) instruction in M profile.
    target-arm: use type_register() instead of type_register_static()
02e079c7 01/12/2013 02:47 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: (31 commits)
    PPC: linux-user: Calculate context pointer explicitly
    target-ppc: Error out for -cpu host on unknown PVR
    target-ppc: Slim conversion of model definitions to QOM subclasses...
837d1f97 01/12/2013 02:46 pm Blue Swirl

Merge branch 's390-reorg' of git://repo.or.cz/qemu/rth

  • 's390-reorg' of git://repo.or.cz/qemu/rth: (149 commits)
    target-s390: Claim maintainership
    target-s390: Use noreturn for exception and load_psw
    target-s390: Use TCG_CALL_NO_WG for misc helpers...
a6fc23e5 01/12/2013 02:46 pm Julien Grall

hw/pc.c: add ULL suffix in ioport80_read and ioportF0_read return value

The commit c02e1eac887b1b0aee7361b1fcf889e7d47fed9d broke the compilation
for i386. ULL need to be specify for uint64_t value.

Signed-off-by: Julien Grall <>
Signed-off-by: Blue Swirl <>

163fa4b0 01/12/2013 02:45 pm Paolo Bonzini

tcg-i386: use LEA for 3-operand 64-bit addition

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

092bb306 01/12/2013 02:42 pm Gerd Hoffmann

pixman: fix warning

Cc:
Cc:
Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

cc6e3ca9 01/12/2013 02:42 pm Gerd Hoffmann

gcc: rename CONFIG_PRAGMA_DISABLE_UNUSED_BUT_SET to CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

3dd46c78 01/12/2013 02:40 pm Blue Swirl

optionrom: build with discrete CPP and AS steps

Build option ROM .S files with separate preprocessor and
assembler steps because the C compiler could be unsuitable.

Signed-off-by: Blue Swirl <>

b6d9439c 01/12/2013 02:26 pm Blue Swirl

slirp: remove unused field tt

Signed-off-by: Blue Swirl <>

338d80dd 01/12/2013 02:25 pm Richard Henderson

user: Consider symbolic links as possible directories

Commit 2296f194dfde4c0a54f249d3fdb8c8ca21dc611b reduced the number
of syscalls performed during user emulation startup, but failed to
consider the use of symbolic links in creating directory structures....

d2565875 01/12/2013 02:25 pm Richard Henderson

alpha-linux-user: Fix sigaction

Unconditional bswap replaced by _get_user/_put_user.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

658f2dc9 01/12/2013 02:24 pm Richard Henderson

linux-user: Rewrite _get_user/_put_user with __builtin_choose_expr

The previous formuation with multiple assignments to __typeof(*hptr) falls
down when hptr is qualified const. E.g. with const struct S *p, p->f is
also qualified const.

With this formulation, there's no assignment to any local variable....

c732a52d 01/12/2013 02:24 pm Richard Henderson

bswap: Rewrite cpu_to_<endian><type>u with {ld,st}<type>_<endian>_p

We've now optimized the ld/st versions; reuse that for the "legacy"
versions. Always use inlines so that we get the type checking that
we expect.

Signed-off-by: Richard Henderson <>...

612d590e 01/12/2013 02:24 pm Richard Henderson

bswap: Rewrite all ld<type>_<endian>_p functions

Use the new host endian unaligned access functions instead of
open coding byte-by-byte references. Remove assembly special
cases for i386 and ppc -- we've now exposed the operation to
the compiler sufficiently for these to be optimized automatically....

7db2145a 01/12/2013 02:24 pm Richard Henderson

bswap: Add host endian unaligned access functions

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

cdfe2851 01/12/2013 02:23 pm Richard Henderson

bswap: Tidy base definitions of bswapN

Move the bswap_N -> bswapN wrappers inside CONFIG_BYTESWAP_H.

Change the ultimate fallback defintions from macros to inline functions.
The proper types recieved by the function arguments means we can remove
unnecessary casts, making the code more readable....

fedb88bd 01/12/2013 02:22 pm Richard Henderson

fdt: Use bswapN instead of bswap_N

Fixes the libfdt enabled build for hosts that have <machine/bswap.h>.

The code at the beginning of qemu/bswap.h is attempting to standardize
on bswapN. In the case of CONFIG_MACHINE_BSWAP_H, this is all we get.
In the case of CONFIG_BYTESWAP_H, we get bswap_N from the system header...

918fd083 01/11/2013 05:21 pm Eduardo Habkost

target-arm: use type_register() instead of type_register_static()

The type_register_static() interface is documented as:

type_register_static:
@info: The #TypeInfo of the new type.
@info and all of the strings it points to should exist for the life...
314e2296 01/11/2013 05:21 pm Alex_Rozenman@mentor.com

target-arm: Fix SWI (SVC) instruction in M profile.

When do_interrupt_v7m is called with EXCP_SWI, the PC already
points to the next instruction. Don't modify it here.

Signed-off-by: Alex Rozenman <>
Signed-off-by: Peter Maydell <>

fedf2de3 01/11/2013 04:43 pm Anthony Liguori

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

  • stefanha/trivial-patches:
    hw/pc.c: Fix converting of ioport_register* to MemoryRegion
    Replace remaining gmtime, localtime by gmtime_r, localtime_r
    savevm: Remove MinGW specific code which is no longer needed...
e2848a78 01/11/2013 04:43 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/q35.1' into staging

  • kraxel/q35.1:
    Makefile: install the "acpi-dsdt.aml" and "q35-acpi-dsdt.aml" blobs too
    pc: rename machine types
    q35: document chipset devices
    q35: add ich9 intel hda controller

Conflicts:...

80ec2432 01/11/2013 04:23 pm Anthony Liguori

Merge remote-tracking branch 'afaerber-or/prep-up' into staging

  • afaerber-or/prep-up:
    prep: Use pc87312 device instead of collection of random ISA devices
    prep: Add pc87312 Super I/O emulation
    prep: Include devices for ppc64 as well

Signed-off-by: Anthony Liguori <>

c02e1eac 01/11/2013 10:49 am Julien Grall

hw/pc.c: Fix converting of ioport_register* to MemoryRegion

The commit 258711 introduced MemoryRegion to replace ioport_region*
for ioport 80h and F0h.
A MemoryRegion needs to have both read and write callback otherwise a segfault
will occur when an access is made....

eb7ff6fb 01/11/2013 10:44 am Stefan Weil

Replace remaining gmtime, localtime by gmtime_r, localtime_r

This allows removing of MinGW specific code and improves
reentrancy for POSIX hosts.

[Removed unused ret variable in qemu_get_timedate() to fix warning:
vl.c: In function ‘qemu_get_timedate’:
vl.c:451:16: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]...

68b891ec 01/11/2013 10:35 am Stefan Weil

savevm: Remove MinGW specific code which is no longer needed

QEMU provides a portable function qemu_gettimeofday instead of
gettimeofday and also an implementation of localtime_r for MinGW.

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

1d57db19 01/11/2013 10:33 am Peter Maydell

qga/channel-posix.c: Explicitly include string.h

Explicitly include string.h to avoid warnings under MacOS X/clang
about implicit declarations of strerror() and strlen().

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

75f13596 01/11/2013 10:32 am Stefan Weil

configure: Fix comment (copy+paste bug)

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

8b07eaa1 01/11/2013 09:30 am Gerd Hoffmann

q35: add ich9 intel hda controller

Signed-off-by: Gerd Hoffmann <>

7d9f7b51 01/11/2013 09:30 am Gerd Hoffmann

q35: document chipset devices

Signed-off-by: Gerd Hoffmann <>

94dec594 01/11/2013 09:30 am Gerd Hoffmann

pc: rename machine types

Starting with release 1.4 we have a fully functional q35 machine type,
i.e. "qemu -M q35" JustWorks[tm]. Update machine type names to reflect
that:

  • pc-1.4 becomes pc-i440fx-1.4
  • q35-next becomes pc-q35-1.4

The pc-1.3 (+older) names are maintained for compatibility reasons....

7e973bb2 01/11/2013 09:30 am Laszlo Ersek

Makefile: install the "acpi-dsdt.aml" and "q35-acpi-dsdt.aml" blobs too

The WARNING message from commit f7e4dd6c made me notice.

Signed-off-by: Laszlo Ersek <>
Signed-off-by: Gerd Hoffmann <>

d0508c36 01/10/2013 11:22 pm Paolo Bonzini

qdev: add qbus_reset_all

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

47a150a4 01/10/2013 11:22 pm Paolo Bonzini

virtio-scsi: abort in-flight I/O when the device is reset

When the device is reset, the SCSI bus should also be reset so
that in-flight I/O is cancelled.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

8c43a6f0 01/10/2013 11:11 pm Andreas Färber

Make all static TypeInfos const

Since 39bffca2030950ef6efe57c2fac8327a45ae1015 (qdev: register all
types natively through QEMU Object Model), TypeInfo as used in
the common, non-iterative pattern is no longer amended with information
and should therefore be const....

63e3555e 01/10/2013 10:52 pm Andreas Färber

Merge branch 'master' of git://git.qemu.org/qemu into prep-up

Conflicts:
hw/Makefile.objs
hw/ppc_prep.c

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

a6308bc2 01/10/2013 09:26 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/build.1' into staging

  • kraxel/build.1:
    m48t59-test: don't touch watchdog
    rtc-test: skip year-2038 overflow check in case time_t is 32bit only

Signed-off-by: Anthony Liguori <>

8757c09f 01/10/2013 09:26 pm Anthony Liguori

Merge remote-tracking branch 'awilliam/tags/qemu-1.4-vfio-20130109.0' into staging

vfio-pci: Fixes for qemu 1.4 & stable

  • awilliam/tags/qemu-1.4-vfio-20130109.0:
    vfio-pci: Loosen sanity checks to allow future features
    vfio-pci: Make host MSI-X enable track guest...
51782344 01/10/2013 06:47 pm Markus Armbruster

monitor: assert monitor_puts()'s loop invariant

Chiefly to hush up Coverity.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

4e45deed 01/10/2013 04:23 pm Gerd Hoffmann

rtc-test: skip year-2038 overflow check in case time_t is 32bit only

Signed-off-by: Gerd Hoffmann <>

067f0691 01/10/2013 04:23 pm Gerd Hoffmann

m48t59-test: don't touch watchdog

Signed-off-by: Gerd Hoffmann <>

6ad53bdf 01/09/2013 07:12 pm Wen Congyang

target-i386: fix bits 39:32 of the final physical address when using 4M page

((pde & 0x1fe000) << 19) is the bits 39:32 of the final physical address, and
we shouldn't use unit32_t to calculate it. Convert the type to hwaddr to fix
this problem.

Signed-off-by: Wen Congyang <>...