Statistics
| Branch: | Revision:

root @ 89b439f3

# Date Author Comment
89b439f3 08/21/2013 11:30 pm Eduardo Habkost

pc: Create pc_compat_*() functions

Making the older compat functions call the newer compat functions at the
beginning allows the older functions undo what's done by newer compat
functions. e.g.: pc_compat_1_4() will be able to call pc_compat_1_5()
and then set has_pvpanic=false....

5650f5f4 08/21/2013 11:30 pm Markus Armbruster

pc: Don't prematurely explode QEMUMachineInitArgs

Don't explode QEMUMachineInitArgs before passing it to pc_init1().

Signed-off-by: Markus Armbruster <>
Reviewed-by: Laszlo Ersek <>
Reviewed-by: Eduardo Habkost <>...

3b6fb9ca 08/21/2013 11:30 pm Markus Armbruster

pc: Don't explode QEMUMachineInitArgs into local variables needlessly

Don't explode when the variable is used just a few times, and never
changed.

Signed-off-by: Markus Armbruster <>
Reviewed-by: Laszlo Ersek <>
Reviewed-by: Eduardo Habkost <>...

43a52ce6 08/21/2013 11:30 pm Eduardo Habkost

pc: Kill pc_init_pci_1_0()

The pc_init_pci_1_2()/pc_init_pci_1_0() split was made on commit
6fd028f64f662c801fd5a54d0e3a1d2baeee93ea, in preparation for commit
9953f8822cc316eec9962f0a2858c3439a80adec. The latter was reverted, so there's
no reason to keep two separate functions that do exactly the same, anymore....

92238367 08/21/2013 11:22 pm Markus Armbruster

ppc: Don't duplicate QEMUMachineInitArgs in PPCE500Params

Pass on the generic arguments unadulterated, and the machine-specific
ones as separate argument.

Signed-off-by: Markus Armbruster <>
Acked-by: Alexander Graf <>
Reviewed-by: Laszlo Ersek <>...

ee87e32f 08/21/2013 11:20 pm Markus Armbruster

ppc: Don't explode QEMUMachineInitArgs into local variables needlessly

Don't explode when the variable is used just once, and never changed.

Signed-off-by: Markus Armbruster <>
Acked-by: Alexander Graf <>
Reviewed-by: Laszlo Ersek <>...

6b63ef4d 08/21/2013 11:19 pm Markus Armbruster

sun4: Don't prematurely explode QEMUMachineInitArgs

Don't explode QEMUMachineInitArgs before passing it to
sun4m_hw_init(), sun4uv_init().

Signed-off-by: Markus Armbruster <>
Reviewed-by: Laszlo Ersek <>
Signed-off-by: Michael S. Tsirkin <>

4b38e989 08/21/2013 12:39 pm Alex Williamson

q35: Add PCIe switch to example q35 configuration

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

c0b4cc1f 08/21/2013 12:18 am Michael S. Tsirkin

pc: cleanup 1.4 compat support

Make 1.4 compat code call the 1.6 one, reducing
code duplication. Add comment explaining why we can't
make 1.4 call 1.5 as usual.

Signed-off-by: Michael S. Tsirkin <>
Reviewed-by: Andreas Färber <>...

0851c9f7 08/21/2013 12:18 am Michael S. Tsirkin

arch_init: align MR size to target page size

Migration code assumes that each MR is a multiple of TARGET_PAGE_SIZE:
MR size is divided by TARGET_PAGE_SIZE, so if it isn't migration
never completes.
But this isn't really required for regions set up with
memory_region_init_ram, since that calls qemu_ram_alloc...

04920fc0 08/21/2013 12:18 am Michael S. Tsirkin

loader: store FW CFG ROM files in RAM

ROM files that are put in FW CFG are copied to guest ram, by BIOS, but
they are not backed by RAM so they don't get migrated.

Each time we change two bytes in such a ROM this breaks cross-version
migration: since we can migrate after BIOS has read the first byte but...

ecfe10c9 08/20/2013 07:23 pm Anthony Liguori

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

target-arm queue

  1. gpg: Signature made Tue 20 Aug 2013 08:56:28 AM CDT using RSA key ID 14360CDE
  2. gpg: Can't check signature: public key not found
  1. By Peter Maydell (20) and Peter Chubb (1)...
9176e8fb 08/20/2013 05:52 pm Anthony Liguori

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

  1. By Stefan Hajnoczi
  2. Via Stefan Hajnoczi
    • stefanha/block-next:
      aio: drop io_flush argument
      tests: drop event_active_cb()
      thread-pool: drop thread_pool_active()
      dataplane/virtio-blk: drop flush_true() and flush_io()...
72420ce9 08/20/2013 05:52 pm Anthony Liguori

Merge remote-tracking branch 'rth/axp-next' into staging

  1. By Richard Henderson
  2. Via Richard Henderson
    • rth/axp-next:
      target-alpha: Implement the typhoon iommu
      target-alpha: Consider the superpage when threading and ending TBs
      target-alpha: Use goto_tb in call_pal...
237e4f92 08/20/2013 05:51 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging

QOM CPUState refactorings / X86CPU

  • gdbstub coprocessor register count bugfix
  • QOM instance_post_init infrastructure to override dynamic properties
  • X86CPU HyperV preparations for CPU subclasses...
6033e840 08/20/2013 04:54 pm Peter Maydell

hw/cpu/a15mpcore: Wire generic timer outputs to GIC inputs

Now our A15 CPU implements the generic timers, we can wire them
up to the appropriate inputs on the GIC.

Signed-off-by: Peter Maydell <>
Tested-by: Laurent Desnogues <>...

66aae5e1 08/20/2013 04:54 pm Peter Maydell

default-configs: Fix A9MP and A15MP config names

When individual CONFIG_ switches for the A9MPcore and A15MPcore
devices were created, they were inadvertently given incorrect names
(CONFIG_ARM9MPCORE and CONFIG_ARM15MPCORE). These CPUs are
"Cortex-A9MP" and "Cortex-A15MP", and in particular the ARM9 is...

23005810 08/20/2013 04:54 pm Peter Chubb

hw/timer/imx_epit: Simplify and fix imx_epit implementation

When imx_epit.c was last refactored, a common usecase (comparison
register zero) broke. This patch fixes that, and simplifies the code
yet more. It also fixes a major thinko in the reset path --- the...

b643e4b9 08/20/2013 04:54 pm Peter Maydell

hw/arm/pic_cpu: Remove the now-unneeded arm_pic_init_cpu()

Now all the boards have been converted arm_pic_init_cpu()
is unused and can just be deleted.

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

22d9e1a9 08/20/2013 04:54 pm Peter Maydell

target-arm: Allow raw_read() and raw_write() to handle 64 bit regs

Extend the raw_read() and raw_write() helper accessors so that
they can be used for 64 bit registers as well as 32 bit registers.

Signed-off-by: Peter Maydell <>
Tested-by: Laurent Desnogues <>...

2452731c 08/20/2013 04:54 pm Peter Maydell

target-arm: Support coprocessor registers which do I/O

Add an ARM_CP_IO flag which an ARMCPRegInfo definition can use to
indicate that the register's implementation does I/O and thus
its accesses need to be surrounded by gen_io_start()/gen_io_end()
in order for icount to work. Most notably, cp registers which...

55d284af 08/20/2013 04:54 pm Peter Maydell

target-arm: Implement the generic timer

The ARMv7 architecture specifies a 'generic timer' which is implemented
via cp15 registers. Newer kernels will prefer to use this rather than
a devboard-level timer. Implement the generic timer for TCG; for KVM
we will already use the hardware's virtualized timer for this....

033ee5a5 08/20/2013 04:54 pm Peter Maydell

hw/arm/realview: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

4f071cf9 08/20/2013 04:54 pm Peter Maydell

hw/arm/strongarm: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

bace999f 08/20/2013 04:54 pm Peter Maydell

hw/arm/versatilepb: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

fe9120a5 08/20/2013 04:54 pm Peter Maydell

hw/arm/vexpress: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

e4a6540d 08/20/2013 04:54 pm Peter Maydell

hw/arm/xilinx_zynq: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

9188dbf7 08/20/2013 04:54 pm Peter Maydell

hw/arm/highbank: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

99d228d6 08/20/2013 04:54 pm Peter Maydell

hw/arm/integratorcp: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

2f69ba17 08/20/2013 04:54 pm Peter Maydell

hw/arm/kzm: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

fcef61ec 08/20/2013 04:54 pm Peter Maydell

hw/arm/musicpal: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

437f0f10 08/20/2013 04:54 pm Peter Maydell

hw/arm/omap*: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

3f1beaca 08/20/2013 04:54 pm Peter Maydell

target-arm: Implement 'int' loglevel

The 'int' loglevel for recording interrupts and exceptions
requires support in the target-specific code. Implement
it for ARM. This improves debug logging in some situations
that were otherwise pretty opaque, such as when we fault...

7c1840b6 08/20/2013 04:54 pm Peter Maydell

target-arm: Make IRQ and FIQ gpio lines on the CPU object

Now that ARMCPU is a subclass of DeviceState, we can make the
CPU's inbound IRQ and FIQ lines be simply gpio lines, which
means we can remove the odd arm_pic shim.

We retain the arm_pic_init_cpu() function as a backwards...

de3a658f 08/20/2013 04:54 pm Peter Maydell

hw/arm/armv7m: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

ad666d91 08/20/2013 04:54 pm Peter Maydell

hw/arm/exynos4210: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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

70ecdc6e 08/19/2013 04:52 pm Stefan Hajnoczi

block/iscsi: drop iscsi_process_flush()

.io_flush() is no longer called so drop iscsi_process_flush().

Signed-off-by: Stefan Hajnoczi <>

94473d0c 08/19/2013 04:52 pm Stefan Hajnoczi

block/linux-aio: drop qemu_laio_completion_cb()

.io_flush() is no longer called so drop qemu_laio_completion_cb(). It
turns out that count is now unused so drop that too.

Signed-off-by: Stefan Hajnoczi <>

bed2e759 08/19/2013 04:52 pm Stefan Hajnoczi

block/nbd: drop nbd_have_request()

.io_flush() is no longer called so drop nbd_have_request(). We cannot
drop in_flight since it is still used by other block/nbd.c code.

Signed-off-by: Stefan Hajnoczi <>

5d289cc7 08/19/2013 04:52 pm Stefan Hajnoczi

block/rbd: drop qemu_rbd_aio_flush_cb()

.io_flush() is no longer called so drop qemu_rbd_aio_flush_cb().
qemu_aio_count is unused now so drop it too.

Signed-off-by: Stefan Hajnoczi <>

d6d94c67 08/19/2013 04:52 pm Stefan Hajnoczi

block/sheepdog: drop have_co_req() and aio_flush_request()

.io_flush() is no longer called so drop have_co_req() and
aio_flush_request().

Signed-off-by: Stefan Hajnoczi <>

f0d35765 08/19/2013 04:52 pm Stefan Hajnoczi

block/ssh: drop return_true()

.io_flush() is no longer called so drop return_true().

Signed-off-by: Stefan Hajnoczi <>

ce689368 08/19/2013 04:52 pm Stefan Hajnoczi

dataplane/virtio-blk: drop flush_true() and flush_io()

.io_flush() is no longer called so drop flush_true() and flush_io().

Signed-off-by: Stefan Hajnoczi <>

bb52b14b 08/19/2013 04:52 pm Stefan Hajnoczi

thread-pool: drop thread_pool_active()

.io_flush() is no longer called so drop thread_pool_active(). The block
layer is the only thread-pool.c user and it already tracks in-flight
requests, therefore we do not need thread_pool_active().

Signed-off-by: Stefan Hajnoczi <>

1b9ecdb1 08/19/2013 04:52 pm Stefan Hajnoczi

tests: drop event_active_cb()

Drop the io_flush argument to aio_set_event_notifier().

Reviewed-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

f2e5dca4 08/19/2013 04:52 pm Stefan Hajnoczi

aio: drop io_flush argument

The .io_flush() handler no longer exists and has no users. Drop the
io_flush argument to aio_set_fd_handler() and related functions.

The AioFlushEventNotifierHandler and AioFlushHandler typedefs are no
longer used and are dropped too....

372835fb 08/19/2013 04:51 pm Stefan Hajnoczi

block/gluster: drop qemu_gluster_aio_flush_cb()

Since .io_flush() is no longer called we do not need
qemu_gluster_aio_flush_cb() anymore. It turns out that qemu_aio_count
is unused now and can be dropped.

Thanks to Bharata B Rao <> for catching a...

bc02fb30 08/19/2013 04:49 pm Anthony Liguori

Change email address

My IBM email address will be unaccessible after August 23rd, 2013.

Signed-off-by: Anthony Liguori <>

35ecde26 08/19/2013 04:45 pm Stefan Hajnoczi

tests: adjust test-thread-pool to new aio_poll() semantics

aio_poll(ctx, true) will soon block when fd handlers have been set.
Previously aio_poll() would return early if all .io_flush() returned
false. This means we need to check the equivalent of the .io_flush()...

164a101f 08/19/2013 04:45 pm Stefan Hajnoczi

aio: stop using .io_flush()

Now that aio_poll() users check their termination condition themselves,
it is no longer necessary to call .io_flush() handlers.

The behavior of aio_poll() changes as follows:

1. .io_flush() is no longer invoked and file descriptors are always...

0d146022 08/19/2013 04:45 pm Stefan Hajnoczi

block/curl: drop curl_aio_flush()

.io_flush() is no longer called so drop curl_aio_flush(). The acb[]
array that the function checks is still used in other parts of
block/curl.c. Therefore we cannot remove acb[], it is needed.

Signed-off-by: Stefan Hajnoczi <>

e1b5c52e 08/19/2013 04:45 pm Stefan Hajnoczi

block: ensure bdrv_drain_all() works during bdrv_delete()

In bdrv_delete() make sure to call bdrv_make_anon() after bdrv_close()
so that the device is still seen by bdrv_drain_all() when iterating
bdrv_states.

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

88266f5a 08/19/2013 04:45 pm Stefan Hajnoczi

block: stop relying on io_flush() in bdrv_drain_all()

If a block driver has no file descriptors to monitor but there are still
active requests, it can return 1 from .io_flush(). This is used to spin
during synchronous I/O.

Stop relying on .io_flush() and instead check...

bf0da4df 08/19/2013 04:45 pm Stefan Hajnoczi

dataplane/virtio-blk: check exit conditions before aio_poll()

Check exit conditions before entering blocking aio_poll(). This is
mainly for consistency since it's unlikely that we are stopping in the
first event loop iteration.

Signed-off-by: Stefan Hajnoczi <>

24d1a6d9 08/19/2013 04:45 pm Stefan Hajnoczi

tests: adjust test-aio to new aio_poll() semantics

aio_poll(ctx, true) will soon block if any fd handlers have been set.
Previously it would only block when .io_flush() returned true.

This means that callers must check their wait condition before
aio_poll() to avoid deadlock....

ba96394e 08/16/2013 09:17 pm Richard Henderson

target-alpha: Implement call_pal without an exception

The destination of the call_pal, and the cpu state, is very predictable;
there's no need for exiting the cpu loop.

Signed-off-by: Richard Henderson <>

a9ead832 08/16/2013 09:17 pm Richard Henderson

target-alpha: Use goto_tb in call_pal

With appropriate flushing when the PALBR changes, the target of
a CALL_PAL is so predictable we can chain to it.

Signed-off-by: Richard Henderson <>

b114b68a 08/16/2013 09:17 pm Richard Henderson

target-alpha: Consider the superpage when threading and ending TBs

This allows significantly more threading, and occasionally larger TBs,
when processing code for the kernel and PALcode.

Signed-off-by: Richard Henderson <>

b83c4db8 08/16/2013 09:17 pm Richard Henderson

target-alpha: Implement the typhoon iommu

Signed-off-by: Richard Henderson <>

35143f01 08/16/2013 07:44 pm Andreas Färber

gdbstub: Fix gdb_register_coprocessor() register counting

Commit a0e372f0c49ac01faeaeb73a6e8f50e8ac615f34 reorganized the register
counting for GDB. While it seems correct not to let the total number of
registers skyrocket in an SMP scenario through a static variable, the...

747b0cb4 08/16/2013 07:44 pm Eduardo Habkost

tests: Unit tests for qdev global properties handling

This tests the qdev global-properties handling code.

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

8231c2dd 08/16/2013 07:44 pm Eduardo Habkost

qom: Introduce instance_post_init hook

This will allow classes to specify a function to be called after all
instance_init functions were called.

This will be used by DeviceState to call qdev_prop_set_globals() at the
right moment.

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

99a0b036 08/16/2013 07:44 pm Eduardo Habkost

qdev: Set globals in instance_post_init function

This way, properties registered in the instance_init function of
child classes will be handled properly by qdev_prop_set_globals(), too.

Includes a unit test for the new functionality.

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

92067bf4 08/16/2013 07:44 pm Igor Mammedov

target-i386: Move hyperv_* static globals to X86CPU

- since hyperv_* helper functions are used only in target-i386/kvm.c
move them there as static helpers

Requested-by: Eduardo Habkost <>
Signed-off-by: Igor Mammedov <>...

321bc0b2 08/16/2013 07:44 pm Tiejun Chen

cpus: Use cpu_is_stopped() efficiently

It makes more sense and will make things simpler later.

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

f2020398 08/15/2013 11:41 pm Anthony Liguori

Open up 1.7 development branch

Signed-off-by: Anthony Liguori <>

1ee2daeb 08/15/2013 09:41 pm Anthony Liguori

Update version for 1.6.0

Signed-off-by: Anthony Liguori <>

cc413a39 08/14/2013 05:47 pm Aurelien Jarno

mips_malta: do not raise exceptions when accessing invalid memory

Since commit c658b94f6e8c206c59d02aa6fbac285b86b53d2c, MIPS raises
exceptions when accessing invalid memory. This is not the correct
behaviour for MIPS Malta Core LV, as the GT-64120A system controller...

8b7a5415 08/14/2013 04:34 pm M. Mohan Kumar

block: Dont ignore previously set bdrv_flags

bdrv_flags is set by bdrv_parse_discard_flags(), but later it is reset
to zero.

Signed-off-by: M. Mohan Kumar <>
Message-id:
Signed-off-by: Anthony Liguori <>

3a3567d3 08/13/2013 09:24 pm James Hogan

qemu-char: fix infinite recursion connecting to monitor pty

Since commit bd5c51e (qemu-char: don't issue CHR_EVENT_OPEN in a BH), an
infinite recursion occurs when putting the monitor on a pty (-monitor
pty) and connecting a terminal to the slave port.

This is because of the qemu_chr_be_event(s, CHR_EVENT_OPENED) added to...

02653c5e 08/13/2013 05:02 pm Anthony Liguori

pvpanic: fix bad merge

Context matching caused the 'has_pvpanic = true' to be applied to
the 1.6 machine type instead of the 1.5 machine type.

Reported-by: Markus Armbruster <>
Reported-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

328465fd 08/12/2013 11:03 pm Anthony Liguori

Update version for 1.6.0-rc3

Signed-off-by: Anthony Liguori <>

9d054ea5 08/12/2013 11:03 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging

QOM CPUState refactorings

  • Fix X86CPU Westmere CPUID for pc-*-1.4 and older
  • afaerber/tags/qom-cpu-for-anthony:
    pc: Remove PCLMULQDQ from Westmere on pc-*-1.4 and older

Conflicts:...

9fb7aaaf 08/12/2013 10:59 pm Anthony Liguori

pc: drop external DSDT loading

This breaks migration and is unneeded with modern SeaBIOS.

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

7f3e341a 08/12/2013 07:20 pm Marcel Apfelbaum

hw/misc: don't create pvpanic device by default

This patch is based on Hu Tao's:
http://lists.nongnu.org/archive/html/qemu-devel/2013-08/msg00124.html

No need to hard-code pvpanic as part of the machine.
It can be added with "-device pvpanic" from command line (The next patch)....

a5d3f640 08/12/2013 07:20 pm Marcel Apfelbaum

hw/misc: make pvpanic known to user

This patch is based on Hu Tao's:
http://lists.nongnu.org/archive/html/qemu-devel/2013-08/msg00125.html

The pvpanic device may be enabled now with "-device pvpanic"
from command line.

Signed-off-by: Marcel Apfelbaum <>...

56383703 08/12/2013 06:33 pm Eduardo Habkost

pc: Remove PCLMULQDQ from Westmere on pc-*-1.4 and older

Commit 41cb383f42d0cb51d8e3e25e3ecebc954dd4196f made a guest-visible
change by adding the PCLMULQDQ bit to Westmere without adding
compatibility code to keep the ABI for older machine-types.
Fix it by adding the missing compat code....

6470215b 08/12/2013 05:31 pm Michael R. Hines

rdma: proper getaddrinfo() handling

getaddrinfo() already knows what it's doing,
but it can potentially return multiple addresses.
We need to handle that...

Reviewed-by: Orit Wasserman <>
Signed-off-by: Michael R. Hines <>...

7fc5b13f 08/12/2013 05:31 pm Michael R. Hines

rdma: IPv6 over Ethernet (RoCE) is broken in linux - workaround

We've gotten reports from multiple testers (including Frank Yangjie
and myself) that RDMA IPv6 support over RocE (Ethernet) is broken
in linux.

A patch to Linux is still in review:

http://comments.gmane.org/gmane.linux.drivers.rdma/16448...

8f3067bd 08/12/2013 05:31 pm Michael R. Hines

rdma: remaining documentation fixes

Was missing 'setup-time' in some of the QMP documentation...

Signed-off-by: Michael R. Hines <>
Reviewed-by: Eric Blake <>
Message-id: ...

885e8f98 08/12/2013 05:31 pm Isaku Yamahata

rdma: use resp.len after validation in qemu_rdma_registration_stop

resp.len is given from remote host. So should be validated before use.
Otherwise memcpy can access beyond the buffer.

Cc: Michael R. Hines <>
Reviewed-by: Orit Wasserman <>...

6f1484ed 08/12/2013 05:31 pm Isaku Yamahata

rdma: validate RDMAControlHeader::len

RMDAControlHeader::len is provided from remote, so validate it.

Reviewed-by: Orit Wasserman <>
Reviewed-by: Michael R. Hines <>
Signed-off-by: Isaku Yamahata <>...

88571882 08/12/2013 05:31 pm Isaku Yamahata

rdma: check if RDMAControlHeader::len match transferred byte

RDMAControlHeader::len is provided from remote, so check if the value
match the actual transferred byte_len.

Reviewed-by: Orit Wasserman <>
Reviewed-by: Michael R. Hines <>...

133bb095 08/12/2013 05:31 pm Paolo Bonzini

sysfw: remove read-only pc_sysfw_flash_vs_rom_bug_compatible

The variable is not written anymore.

This cleans up after 9e1c2ec (which accidentally left variable
pc_sysfw_flash_vs_rom_bug_compatible behind, value always zero), and
buries dead code from commit dafb82e (which resurrected the pc_sysfw...

a904410a 08/12/2013 05:31 pm Paolo Bonzini

pc_sysfw: remove the rom_only property

With the new semantics of pc_sysfw (no -pflash implies "old-style" ROM setup,
-pflash implies "new-style" ROM setup), there is no need anymore for a compat
property. Old machines simply will never use -pflash, and thus will always...

6dd2a5c9 08/12/2013 05:31 pm Paolo Bonzini

pc_sysfw: do not make it a device anymore

Move the code to hw/i386, the sole remaining property is available
as !pci_enabled.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Markus Armbruster <>
Message-id: ...

0b516ef0 08/12/2013 05:19 pm Stefan Weil

w32: Add missing version.o to all executables (fix regression)

QEMU executables for w32, w64 had included meta information built from
version.rc. These rules were changed several times some months ago.

The latest version added version.o to the tools, but not to the system...

cb77d192 08/12/2013 05:15 pm Markus Armbruster

qemu-option: Guard against qemu_opts_set_defaults() misuse

Commit 6d4cd40 fixed qemu_opts_set_defaults() for an existing corner
case, but broke it for another one that can't be reached in current
code.

Quote from its commit message:

I believe [opts_parse()] attempts to do the following:...
8571fa57 08/12/2013 05:15 pm Paolo Bonzini

LICENSE: clarify

1) The GPL says that "if the Program does not specify a version number
of this License, you may choose any version ever published by the Free
Software Foundation". This is not true, QEMU includes parts that are
v2-only.

2) Provide a default for files with no licensing information....

7748c1bd 08/12/2013 05:15 pm Paolo Bonzini

raw: add license header

Most of the block layer is under the BSD license, thus it is reasonable
to license block/raw.c the same way. CCed people should ACK by replying
with a Signed-off-by line.

Cc: Christoph Hellwig <>
Cc: Kevin Wolf <>...

3ee1ee80 08/12/2013 04:32 pm Anthony Liguori

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

pci,virtio fixes for 1.6

This includes some last-minute bugfixes for 1.6.
All very small patches that also look very safe to me.

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

  1. gpg: Signature made Mon 12 Aug 2013 04:28:57 AM CDT using RSA key ID D28D5469...
6624fecd 08/12/2013 04:32 pm Anthony Liguori

Merge remote-tracking branch 'pmaydell/tags/pull-arm-devs-20130812' into staging

arm-devs queue

  1. gpg: Signature made Mon 12 Aug 2013 05:58:14 AM CDT using RSA key ID 14360CDE
  2. gpg: Can't check signature: public key not found
  1. By Peter Maydell
  2. Via Peter Maydell...
3bba9c11 08/12/2013 04:32 pm Anthony Liguori

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

  1. By Mike Qiu
  2. Via Kevin Wolf
    • kwolf/for-anthony:
      block: Bugfix 'format' and 'snapshot' used in drive option

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

4a9a8876 08/12/2013 04:30 pm Anthony Liguori

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

  1. By Laszlo Ersek
  2. Via Luiz Capitulino
    • luiz/queue/qmp:
      dump: rebase from host-private RAMBlock offsets to guest-physical addresses
      dump: populate guest_phys_blocks
      dump: introduce GuestPhysBlockList...
283c8733 08/12/2013 04:30 pm Anthony Liguori

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

  1. By Gerd Hoffmann
  2. Via Gerd Hoffmann
    • kraxel/usb.87:
      xhci: implement warm port reset

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

2aa09da8 08/12/2013 04:28 pm Anthony Liguori

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

  • origin/master:
    mips: revert commit b332d24a8e1290954029814d09156b06ede358e2
    tcg/mips: fix invalid op definition errors

Necessary because patches got pushed by Aurelien before I pushed
the -rc2 tag....

f7b803b3 08/12/2013 01:57 pm Peter Maydell

hw/virtio/virtio-mmio: Make QueueNumMax read 0 for unavailable queues

The virtio-mmio spec says that QueueNumMax must read zero for queues
which are unavailable; implement this, rather than always returning
VIRTQUEUE_MAX_SIZE.

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

3561ba14 08/12/2013 12:25 pm Michael S. Tsirkin

vhost: clear signalled_used_valid on vhost stop

When vhost device stops, its implementation synchronizes kernel state
back to virtio.c so we can continue emulating the device
in userspace.

This patch ensures that virtio.c's signalled_used_valid flag is reset so...

6793dfd1 08/12/2013 12:19 pm Stefan Hajnoczi

virtio: clear signalled_used_valid when switching from dataplane

When the dataplane thread stops, its vring.c implementation synchronizes
vring state back to virtio.c so we can continue emulating the virtio
device.

This patch ensures that virtio.c's signalled_used_valid flag is reset so...

4965b7f0 08/12/2013 12:07 pm Gerd Hoffmann

i82801b11: Fix i82801b11 PCI host bridge config space

pci_bridge_write_config() was not being used.

Cc:
Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Andreas Färber <>
Signed-off-by: Michael S. Tsirkin <>