Statistics
| Branch: | Revision:

root @ 5e954943

# Date Author Comment
c24d5e0b 02/10/2014 10:27 am Igor Mammedov

acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API

Split piix4_device_hotplug() into hotplug/unplug callbacks
and register them as "hotplug-handler" interface implementation of
PIIX4_PM device.

Replace pci_bus_hotplug() wiring with setting link on...

5d268704 02/10/2014 10:27 am Igor Mammedov

pci/shpc: convert SHPC hotplug to use hotplug-handler API

Split shpc_device_hotplug() into hotplug/unplug callbacks
and register them as "hotplug-handler" interface implementation of
PCI_BRIDGE_DEV device.

Replace pci_bus_hotplug() wiring with setting link on PCI BUS...

a66e657e 02/10/2014 10:27 am Igor Mammedov

pci/pcie: convert PCIE hotplug to use hotplug-handler API

Split pcie_cap_slot_hotplug() into hotplug/unplug callbacks
and register them as "hotplug-handler" interface implementation of
PCIE_SLOT device.

Replace pci_bus_hotplug() wiring with setting link on PCI BUS...

5e954943 02/10/2014 10:27 am Igor Mammedov

hw/pci: switch to a generic hotplug handling for PCIDevice

make qdev_unplug()/device_set_realized() to call hotplug handler's
plug/unplug methods if available and remove not needed anymore
hot(un)plug handling from PCIDevice.

In case if hotplug handler is not available, revert to the legacy...

2897ae02 02/10/2014 10:26 am Igor Mammedov

qdev:pci: refactor PCIDevice to use generic "hotpluggable" property

Get rid of PCIDevice specific PCIDeviceClass.no_hotplug and use
generic DeviceClass.hotpluggable field instead.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>...

5fdae20c 02/10/2014 10:23 am Igor Mammedov

hw/acpi: move typeinfo to the file end

do so to avoid not necessary forward declarations and
place typeinfo registration at the file end where it's
usually expected.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>...

a1483f88 02/10/2014 10:23 am Michael S. Tsirkin

loader: document that errno is set

Document that get_image_size sets errno
on failure.

Suggested-by: Peter Maydell <>
Reviewed-by: Eric Blake <>
Signed-off-by: Michael S. Tsirkin <>

9f117d41 02/10/2014 10:23 am Igor Mammedov

define hotplug interface

Provide a generic hotplug interface for hotplug handlers.
Intended for replacing hotplug mechanism used by
PCI/PCIE/SHPC code and will be used for memory hotplug.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>...

0ee4de6c 02/10/2014 10:23 am Igor Mammedov

qdev: add to BusState "hotplug-handler" link

It will allow to reuse field with different BUSes,
reducing code duplication. Field is intended for
replacing 'hotplug_qdev' field in PCIBus and also
will allow to avoid adding equivalent field to
DimmBus with possiblitity to refactor other BUSes...

1a37eca1 02/10/2014 10:23 am Igor Mammedov

qdev: add "hotpluggable" property to Device

Currently it's possible to make PCIDevice not hotpluggable
by using no_hotplug field of PCIDeviceClass. However it
limits this only to PCI devices and prevents from
generalizing hotplug code.

So add similar field to DeviceClass so it could be reused...

a1b4d9ef 02/05/2014 04:55 pm Igor Mammedov

pcihp: remove unused AcpiPciHpPciStatus.device_present field

Remove now unused 'device_present' field wich was obsoleted by
patch "pcihp: reduce number of device check events"

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>...

e358edc8 02/05/2014 04:55 pm Igor Mammedov

hw:piix4:acpi: reuse pcihp code for legacy PCI hotplug

reduces acpi PCI hotplug code duplication by ~200LOC

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>

35b30712 02/05/2014 04:55 pm Michael S. Tsirkin

qtest: don't report signals if qtest driver enabled

qtest driver always uses signals to kill qemu
no need to report it, whatever the accelerator state.

Add API to detect qtest driver, and suppress reporting
signals in this case.

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

d160024f 02/05/2014 04:55 pm Michael S. Tsirkin

pc_piix: enable legacy hotplug for Xen

xenfv has no fwcfg and so does not load acpi from QEMU.
as such new acpi features don't work.

Reported-by: Sander Eikelenboom <>
Signed-off-by: Michael S. Tsirkin <>

7454e51d 02/05/2014 04:55 pm Michael S. Tsirkin

pc.c: better error message on initrd sizing failure

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

5a2223ca 02/05/2014 04:55 pm Michael S. Tsirkin

pcihp: reduce number of device check events

PIIX created a made-up value for the UP register since it was read by
guest 32 times for each interrupt.
There's no reason to do this for the new PCIHP: register is only read
once for each interrupt, so clean up code by making read act as an...

8f5001f9 02/05/2014 04:55 pm Igor Mammedov

pcihp: replace enable|disable_device() with oneliners

enable_device() and disable_device() functions aren't reused anywere,
so replace them with respective oneliners at call sites.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>...

a7b613cf 02/05/2014 04:55 pm Igor Mammedov

pcihp: make PCI hotplug mmio handlers indifferent to PCI_HOTPLUG_ADDR

... removes dependency of mmio handler on PCI_HOTPLUG_ADDR.
It will be needed in case of Q35 where base could be different.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>...

99d09dd3 02/05/2014 04:55 pm Igor Mammedov

pcihp: make pci_read() mmio calback compatible with legacy ACPI hotplug

due to recent change introduced by:
"pcihp: reduce number of device check events"

'up' field is cleared right after it's read.
This is incompatible with legacy BIOS ACPI code
where PCNF ACPI method reads this field 32 times....

2b2449f7 02/04/2014 08:46 pm Peter Maydell

Merge remote-tracking branch 'remotes/borntraeger/tags/kvm-s390-20140131' into staging

This patch set contains the sclp defines and events for cpu hotplug,
the initial sclp defines (without code yet) for standby memory (some
sort of memory hotplug) as well as a cleanup of the kvm register...

9396b05a 02/04/2014 06:16 pm Peter Maydell

Merge remote-tracking branch 'remotes/mcayland/qemu-openbios' into staging

  • remotes/mcayland/qemu-openbios:
    Update OpenBIOS images

Signed-off-by: Peter Maydell <>

ce603d8e 02/03/2014 04:04 pm Edgar E. Iglesias

cris: Remove the CRIS PIC glue

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

8cfc114a 02/03/2014 04:04 pm Stefan Weil

linux-user: Fix trampoline code for CRIS

__put_user can write bytes, words (2 bytes) or longwords (4 bytes).
Here obviously words should have been written, but bytes were written,
so values like 0x9c5f were truncated to 0x5f.

Fix this by changing retcode from uint8_t to to uint16_t in...

d66433ff 02/03/2014 04:03 pm Edgar E. Iglesias

cris: Abort when a v10 takes interrupts while in a delayslot

This is an internal error as the CRISv10 should mask interrupts
while executing delay slots. Bail out sooner rather than later.

Signed-off-by: Edgar E. Iglesias <>

3065839c 02/03/2014 04:03 pm Edgar E. Iglesias

cris: Add interrupt signals to the CPU device

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

4a6da670 02/03/2014 04:03 pm Edgar E. Iglesias

axis-dev88: Connect the PIC upstream IRQs directly to the CPU

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

fd5d5afa 02/03/2014 04:03 pm Edgar E. Iglesias

cris: Add "any" as alias for "crisv32" in user emulation

Reviewed-by: Andreas Färber <>
Signed-off-by: Edgar E. Iglesias <>

2f61120c 02/02/2014 01:32 am Peter Maydell

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

  • qmp-unstable/queue/qmp:
    monitor: Cleanup mon->outbuf on write error
    virtio_rng: replace custom backend API with UserCreatable.complete() callback
    add optional 2nd stage initialization to -object/object-add commands...
b4a8c9ae 02/02/2014 01:06 am Peter Maydell

Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20140131' into staging

target-arm queue: * implementation of first part of the A64 Neon instruction set * v8 AArch32 rounding and 16<->64 fp conversion instructions * fix MIDR value on Zynq boards...

850bbe1b 02/01/2014 11:08 pm Peter Maydell

Merge remote-tracking branch 'remotes/awilliam/tags/vfio-pci-for-qemu-20140128.0' into staging

vfio-pci updates include:
- Destroy MemoryRegions on device teardown
- Print warnings around PCI option ROM failures
- Skip bogus mappings from 64bit BAR sizing...

bd88091c 02/01/2014 10:45 pm Peter Maydell

Merge remote-tracking branch 'remotes/sstabellini/xen-140130' into staging

  • remotes/sstabellini/xen-140130:
    address_space_translate: do not cross page boundaries

Signed-off-by: Peter Maydell <>

41ab7b55 01/31/2014 04:47 pm Christoffer Dall

arm_gic: Introduce define for GIC_NR_SGIS

Instead of hardcoding 16 various places in the code, use a define to
make it more clear what is going on.

Signed-off-by: Christoffer Dall <>
Reviewed-by: Peter Maydell <>...

5b0adce1 01/31/2014 04:47 pm Christoffer Dall

arm_gic: Fix GICD_ICPENDR and GICD_ISPENDR writes

Fix two bugs that would allow changing the state of SGIs through the
ICPENDR and ISPENDRs.

Signed-off-by: Christoffer Dall <>
Reviewed-by: Peter Maydell <>...

e1cea114 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add top level decode for SIMD 3-same group

Add top level decode for the A64 SIMD three regs same group
(C3.6.16), splitting it into the pairwise, logical, float and
integer subgroups.

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

956d272e 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add logic ops from SIMD 3 same group

Add support for the logical operations (ORR, AND, BIC, ORN, EOR, BSL,
BIT and BIF) from the SIMD 3 register same group (C3.6.16).

Signed-off-by: Alex Bennée <>
Signed-off-by: Peter Maydell <>...

1f8a73af 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add integer ops from SIMD 3-same group

Add some of the integer operations in the SIMD 3-same group:
specifically, the comparisons, addition and subtraction.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

845ea09a 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add simple SIMD 3-same floating point ops

Implement a simple subset of the SIMD 3-same floating point
operations. This includes a common helper function used for both
scalar and vector ops; FABD is the only currently implemented
shared op....

4d1cef84 01/31/2014 04:47 pm Alex Bennée

target-arm: A64: Add SIMD shift by immediate

This implements a subset of the AdvSIMD shift operations (namely all the
none saturating or narrowing ones). The actual shift generation code
itself is common for both the scalar and vector cases but wrapped with...

a08582f4 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add SIMD three-different multiply accumulate insns

Add support for the multiply-accumulate instructions from the
SIMD three-different instructions group (C3.6.15): * skeleton decode of unallocated encodings and split of
the group into its three sub-parts...

0ae39320 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add SIMD three-different ABDL instructions

Implement the absolute-difference instructions in the SIMD
three-different group: SABAL, SABAL2, UABAL, UABAL2, SABDL,
SABDL2, UABDL, UABDL2.

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

b305dba6 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add SIMD scalar 3 same add, sub and compare ops

Implement the add, sub and compare ops from the SIMD "scalar three same"
group.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

43630e58 01/31/2014 04:47 pm Will Newton

target-arm: Add set_neon_rmode helper

This helper sets the rounding mode in the standard_fp_status word to
allow NEON instructions to modify the rounding mode whilst using the
standard FPSCR values for everything else.

Signed-off-by: Will Newton <>...

34f7b0a2 01/31/2014 04:47 pm Will Newton

target-arm: Add AArch32 SIMD VRINTA, VRINTN, VRINTP, VRINTM, VRINTZ

Add support for the AArch32 Advanced SIMD VRINTA, VRINTN, VRINTP
VRINTM and VRINTZ instructions.

Signed-off-by: Will Newton <>
Signed-off-by: Peter Maydell <>

c9975a83 01/31/2014 04:47 pm Will Newton

target-arm: Add AArch32 FP VCVTA, VCVTN, VCVTP and VCVTM

Add support for the AArch32 floating-point VCVTA, VCVTN, VCVTP
and VCVTM instructions.

Signed-off-by: Will Newton <>
Signed-off-by: Peter Maydell <>

901ad525 01/31/2014 04:47 pm Will Newton

target-arm: Add AArch32 SIMD VCVTA, VCVTN, VCVTP and VCVTM

Add support for the AArch32 Advanced SIMD VCVTA, VCVTN, VCVTP
and VCVTM instructions.

Signed-off-by: Will Newton <>
Signed-off-by: Peter Maydell <>

664c6733 01/31/2014 04:47 pm Will Newton

target-arm: Add support for AArch32 FP VRINTR

Add support for the AArch32 floating-point VRINTR instruction.

Signed-off-by: Will Newton <>
Signed-off-by: Peter Maydell <>

a290c62a 01/31/2014 04:47 pm Will Newton

target-arm: Add support for AArch32 FP VRINTZ

Add support for the AArch32 floating-point VRINTZ instruction.

Signed-off-by: Will Newton <>
Signed-off-by: Peter Maydell <>

4e82bc01 01/31/2014 04:47 pm Will Newton

target-arm: Add support for AArch32 FP VRINTX

Add support for the AArch32 floating-point VRINTX instruction.

Signed-off-by: Will Newton <>
Signed-off-by: Peter Maydell <>

2ce70625 01/31/2014 04:47 pm Will Newton

target-arm: Add support for AArch32 SIMD VRINTX

Add support for the AArch32 Advanced SIMD VRINTX instruction.

Signed-off-by: Will Newton <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Peter Maydell <>

b48adc0d 01/31/2014 04:47 pm Alistair Francis

ZYNQ: Implement board MIDR control for Zynq

This patch uses the fact that the midr variable is now a property
This patch sets the midr variable to the boards custom midr

Signed-off-by: Alistair Francis <>
Message-id: ...

2cdaca90 01/31/2014 04:47 pm Paolo Bonzini

display: avoid multi-statement macro

For blizzard, pl110 and tc6393xb this is harmless, but for pxa2xx
Coverity noticed that it is used inside an "if" statement.
Fix it because it's the file with the highest number of defects
in the whole QEMU tree! Use "do...while (0)", or just remove the...

9972da66 01/31/2014 04:47 pm Will Newton

target-arm: Move arm_rmode_to_sf to a shared location.

This function will be needed for AArch32 ARMv8 support, so move it to
helper.c where it can be used by both targets. Also moves the code out
of line, but as it is quite a large function I don't believe this...

7655f39b 01/31/2014 04:47 pm Will Newton

target-arm: Add AArch32 FP VRINTA, VRINTN, VRINTP and VRINTM

Add support for AArch32 ARMv8 FP VRINTA, VRINTN, VRINTP and VRINTM
instructions.

Signed-off-by: Will Newton <>
Signed-off-by: Peter Maydell <>

f3f8c4f4 01/31/2014 04:47 pm Alex Bennée

target-arm: A64: Add SIMD modified immediate group

This patch adds support for the AdvSIMD modified immediate group
(C3.6.6) with all its suboperations (movi, orr, fmov, mvni, bic).

Signed-off-by: Alexander Graf <>
[AJB: new decode struct, minor bug fixes, optimisation]...

360a6f2d 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add SIMD scalar copy instructions

Add support for the SIMD scalar copy instruction group (C3.6.7),
which consists of the single instruction DUP (element, scalar).

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

83bfffec 01/31/2014 04:47 pm Peter Maydell

hw/arm/boot: Don't set up ATAGS for autogenerated dtb booting

The code which decides whether to set up the ATAGS data structure on
reset was using the wrong conditional, which meant we were creating
an ATAGS structure when doing a device-tree boot if the dtb was...

51a9b04b 01/31/2014 04:47 pm Alistair Francis

ARM: Convert MIDR to a property

Convert the MIDR register to a property. This allows boards to later set
a custom MIDR value. This has been done in such a way to maintain
compatibility with all existing CPUs and boards

Signed-off-by: Alistair Francis <>...

7c51048f 01/31/2014 04:47 pm Michael Matz

target-arm: A64: Add SIMD TBL/TBLX

Add support for the SIMD TBL/TBLX instructions (group C3.6.2).

Signed-off-by: Michael Matz <>
[PMM: rewritten to do more of the decode in translate-a64.c,
and to do only one 64 bit pass at a time in the helper]...

5fa5469c 01/31/2014 04:47 pm Michael Matz

target-arm: A64: Add SIMD ZIP/UZP/TRN

Add support for the SIMD ZIP/UZIP/TRN instruction group
(C3.6.3).

Signed-off-by: Michael Matz <>
[PMM: use new do_vec_get/set etc functions and generally update to new
codebase standards; refactor to pull per-element loop outside switch]...

4a0ff1ce 01/31/2014 04:47 pm Michael Matz

target-arm: A64: Add SIMD across-lanes instructions

Add support for the SIMD "across lanes" instruction group (C3.6.4).

Signed-off-by: Michael Matz <>
[PMM: Updated to current codebase, added fp min/max ops,
added unallocated encoding checks]...

67bb9389 01/31/2014 04:47 pm Alex Bennée

target-arm: A64: Add SIMD copy operations

This adds support for the all the AdvSIMD vector copy operations
(ARM ARM 3.6.5).

Signed-off-by: Alex Bennée <>
Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

72430bf5 01/31/2014 04:47 pm Alex Bennée

target-arm: A64: Add SIMD ld/st multiple

This adds support support for the SIMD load/store
multiple category of instructions.

This also brings in a couple of helper functions for manipulating
sections of the SIMD registers:

  • do_vec_get - fetch value from a slice of a vector register...
df54e47d 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add SIMD ld/st single

Implement the SIMD ld/st single structure instructions.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

384b26fb 01/31/2014 04:47 pm Alex Bennée

target-arm: A64: Add decode skeleton for SIMD data processing insns

Add decode skeleton and function placeholders for all the SIMD data
processing instructions. Due to the complexity of this part of the
table the normal extract and switch approach gets very messy very...

5c73747f 01/31/2014 04:47 pm Peter Maydell

target-arm: A64: Add SIMD EXT

Add support for the SIMD EXT instruction (the only one in its
group, C3.6.1).

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

89e4a51c 01/31/2014 01:13 pm Peter Maydell

Merge remote-tracking branch 'stefanha/tags/tracing-pull-request' into staging

Tracing pull request

  1. gpg: Signature made Mon 27 Jan 2014 14:51:09 GMT using RSA key ID 81AB73C8
  2. gpg: Good signature from "Stefan Hajnoczi <>"
  3. gpg: aka "Stefan Hajnoczi <>"...
44c68de0 01/31/2014 10:43 am Dominik Dingel

s390x/kvm: cleanup partial register handling

The partial register handling (introduced with commits
420840e58b85f7f4e5493dca3f273566f261090a and
3474b679486caa8f6448bae974e131370f360c13 ) aimed to improve intercept
handling performance.

It made the code more complicated though. During development for life...

0159a643 01/31/2014 02:23 am Peter Maydell

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

acpi,pci,pc,virtio fixes and enhancements

This includes new unit-tests for acpi by Marcel,
hotplug for pci bridges by myself (piix only so far)
and cpu hotplug for q35.
And a bunch of fixes all over the place as usual....

97374ce5 01/31/2014 02:13 am Peter Maydell

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

  • sstabellini/xen-170114:
    xen_pt: Fix passthrough of device with ROM.
    xen_pt: Fix debug output.
    xenfb: map framebuffer read-only and handle unmap errors

Message-id: ...

8e02b359 01/31/2014 12:25 am Peter Maydell

Merge remote-tracking branch 'stefanha/tags/net-pull-request' into staging

Net patches

  1. gpg: Signature made Mon 27 Jan 2014 14:45:35 GMT using RSA key ID 81AB73C8
  2. gpg: Can't check signature: public key not found
  • stefanha/tags/net-pull-request:
    tap-linux: Get features once and use it many times...
dc08f851 01/30/2014 09:02 pm Peter Maydell

Merge remote-tracking branch 'rth/tcg-movbe' into staging

  • rth/tcg-movbe:
    tcg/i386: cleanup useless #ifdef
    tcg/i386: use movbe instruction in qemu_ldst routines
    tcg/i386: add support for three-byte opcodes
    tcg/i386: remove hardcoded P_REXW value...
360e607b 01/30/2014 04:20 pm Stefano Stabellini

address_space_translate: do not cross page boundaries

The following commit:

commit 149f54b53b7666a3facd45e86eece60ce7d3b114
Author: Paolo Bonzini <>
Date: Fri May 24 12:59:37 2013 +0200

memory: add address_space_translate

breaks Xen support in QEMU, in particular the Xen mapcache. The effect...

0706f7c8 01/30/2014 03:56 pm Peter Maydell

Merge remote-tracking branch 'mjt/tags/trivial-patches-2014-01-16' into staging

trivial-patches for 2014-01-16

  1. gpg: Signature made Thu 16 Jan 2014 17:29:05 GMT using RSA key ID 74F0C838
  2. gpg: Good signature from "Michael Tokarev <>"
  3. gpg: aka "Michael Tokarev <>"...
18d13fa2 01/30/2014 03:25 pm Alexander Graf

TCG: Fix I64-on-32bit-host temporaries

We have cache pools of temporaries that we can reuse later when they've
already been allocated before.

These cache pools differenciate between the target TCG variable type they
contain. So we have one pool for I32 and one pool for I64 variables....

056f49ff 01/28/2014 07:47 pm Stratos Psomadakis

monitor: Cleanup mon->outbuf on write error

In case monitor_flush() fails to write the contents of mon->outbuf to
the output device, mon->outbuf is not cleaned up properly. Check the
return code of the qemu_chr_fe_write() function and cleanup the outbuf
if it fails....

57d3e1b3 01/28/2014 07:47 pm Igor Mammedov

virtio_rng: replace custom backend API with UserCreatable.complete() callback

in addition fix default backend leak by releasing it if its
initialization failed.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Stefan Hajnoczi <>...

269e09f3 01/28/2014 07:47 pm Igor Mammedov

add optional 2nd stage initialization to -object/object-add commands

Introduces USER_CREATABLE interface that must be implemented by
objects which are designed to created with -object CLI option or
object-add QMP command.

Interface provides an ability to do an optional second stage...

69252c04 01/28/2014 06:28 pm Igor Mammedov

object_add: consolidate error handling

Signed-off-by: Igor Mammedov <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Luiz Capitulino <>

90e9cf28 01/28/2014 06:28 pm Igor Mammedov

vl.c: -object: don't ignore duplicate 'id'

object_property_add_child() may fail if 'id' matches
an already existing object. Which means an incorrect
command line.
So instead of silently ignoring error, report it and
terminate QEMU.

Signed-off-by: Igor Mammedov <>...

8b6d1408 01/28/2014 05:23 pm Bandan Das

vfio: correct debug macro typo

Change to DEBUG_VFIO in vfio_msi_interrupt() for debug
messages to get printed

Signed-off-by: Bandan Das <>
Signed-off-by: Alex Williamson <>

234eef51 01/28/2014 01:22 pm Matthew Rosato

sclp-s390: Define new SCLP codes and structures

Define new SCLP codes and structures that will be needed for
s390 memory hotplug.

Signed-off-by: Matthew Rosato <>
Signed-off-by: Christian Borntraeger <>

8a745f2a 01/27/2014 04:49 pm Michael Mueller

tracing: start trace processing thread in final child process

When running with trace backend e.g. "simple" the writer thread needs to be
implemented in the same process context as the trace points that will be
processed. Under libvirtd control, qemu gets first started in daemonized...

b618c288 01/27/2014 04:49 pm Lluís Vilanova

trace: [simple] Do not include "trace/simple.h" in generated tracer headers

The header is not necessary, given that the simple backend does not define any
inlined tracing routines.

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

05735a2a 01/27/2014 04:49 pm Stefan Hajnoczi

trace: add glib 2.32+ static GMutex support

The GStaticMutex API was deprecated in glib 2.32. We cannot switch over
to GMutex unconditionally since we would drop support for older glib
versions. But the deprecated API warnings during build are annoying so...

736ec167 01/27/2014 04:49 pm Stefan Hajnoczi

trace: fix simple trace "disable" keyword

The trace-events "disable" keyword turns an event into a nop at
compile-time. This is important for high-frequency events that can
impact performance.

The "disable" keyword is currently broken in the simple trace backend....

4bf2c138 01/27/2014 04:44 pm Hani Benhabiles

net: Use g_strdup_printf instead of snprintf.

assign_name() in net/net.c is using snprintf + g_strdup to get the same
result as g_strdup_printf.

Signed-off-by: Hani Benhabiles <>
Signed-off-by: Stefan Hajnoczi <>

2ad657e3 01/27/2014 04:44 pm Roy Franz

Fix lan9118 TX "CMD A" handling

The 9118 ethernet controller supports transmission of multi-buffer packets
with arbitrary byte alignment of the start and end bytes. All writes to
the packet fifo are 32 bits, so the controller discards bytes at the beginning...

c444dfab 01/27/2014 04:44 pm Roy Franz

Fix lan9118 buffer length handling

The 9118 ethernet controller supports transmission of multi-buffer packets
with arbitrary byte alignment of the start and end bytes. All writes to
the packet fifo are 32 bits, so the controller discards bytes at the beginning...

1f149e72 01/27/2014 04:44 pm Kusanagi Kouichi

tap-linux: Get features once and use it many times

Signed-off-by: Kusanagi Kouichi <>
Signed-off-by: Stefan Hajnoczi <>

b8124cec 01/26/2014 01:11 pm Michael S. Tsirkin

acpi-test: update expected AML since recent changes

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

30607764 01/26/2014 01:11 pm Marcel Apfelbaum

hw/pci: fix error flow in pci multifunction init

Scenario:
- There is a non multifunction pci device A on 00:0X.0.
- Hot-plug another multifunction pci device B at 00:0X.1.
- The operation will fail of course.
- Try to hot-plug the B device 2-3 more times, qemu will crash....

f30ee8a9 01/26/2014 01:11 pm Eduardo Habkost

pc: Save size of RAM below 4GB

The ram_below_4g value will be useful in other places, such as the ACPI
table code, and other code that currently requires passing
below_4g_mem_size around in function arguments.

Signed-off-by: Eduardo Habkost <>...

4c8a949b 01/26/2014 01:11 pm Eduardo Habkost

acpi: Fix PCI hole handling on build_srat()

The original SeaBIOS code used the RamSize variable, that was used by
SeaBIOS for the size of RAM below 4GB, not for all RAM. When copied to
QEMU, the code was changed to use the full RAM size, and this broke the...

9a305c8f 01/26/2014 01:11 pm Gerd Hoffmann

q35: gigabyte alignment for ram

Map 2G (q35) of memory below 4G, so the RAM pieces
are nicely aligned to gigabyte borders.

Keep old memory layout for (a) old machine types and (b) in case all
memory fits below 4G and thus we don't have to split RAM into pieces...

4e17997d 01/26/2014 01:11 pm Michael S. Tsirkin

q35: document gigabyte_align

Document the logic behind the below/above 4G split.

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

a75143ed 01/26/2014 01:11 pm Michael S. Tsirkin

MAINTAINERS: add self as virtio co-maintainer

This will help make sure I get Cc'd on patches.

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

562e56a9 01/26/2014 01:11 pm Igor Mammedov

pc: Q35 DSDT: exclude CPU hotplug IO range from PCI bus resources

... for range defined at hw/acpi/ich9.c:ICH9_PROC_BASE

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>

61a3f635 01/26/2014 01:11 pm Igor Mammedov

pc: ACPI: expose PRST IO range via _CRS

.. so OSPM could notice resource conflict if there is any.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>

e4cf8ed0 01/26/2014 01:11 pm Igor Mammedov

pc: ACPI: unify source of CPU hotplug IO base/len

use C headers defines as source of IO base/len for respective
values in ASL code.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>

2867534f 01/26/2014 01:11 pm Igor Mammedov

pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>