Statistics
| Branch: | Revision:

root @ 574b711a

# Date Author Comment
fee204fd 03/27/2013 05:26 pm Hans de Goede

qemu-char: Rename qemu_chr_generic_open to qemu_chr_be_generic_open

To better reflect that it is for handling a backend being opened.

Signed-off-by: Hans de Goede <>
Message-id:
Signed-off-by: Anthony Liguori <>

c0c4bd2c 03/27/2013 05:26 pm Hans de Goede

qemu-char: Add fe_open tracking

Add tracking of the fe_open state to struct CharDriverState.

Signed-off-by: Hans de Goede <>
Message-id:
Signed-off-by: Anthony Liguori <>

19083228 03/27/2013 05:26 pm Hans de Goede

qemu-char: Automatically do fe_open / fe_close on qemu_chr_add_handlers

Most frontends can't really determine if the guest actually has the frontend
side open. So lets automatically generate fe_open / fe_close as soon as a
frontend becomes ready (as signalled by calling qemu_chr_add_handlers) /...

8e25daa8 03/27/2013 05:26 pm Hans de Goede

qemu-char: Cleanup: consolidate fe_open/fe_close into fe_set_open

Signed-off-by: Hans de Goede <>
Message-id:
Signed-off-by: Anthony Liguori <>

574b711a 03/27/2013 05:26 pm Hans de Goede

qemu-char: Consolidate guest_close/guest_open into a set_fe_open callback

Signed-off-by: Hans de Goede <>
Message-id:
Signed-off-by: Anthony Liguori <>

16665b94 03/27/2013 05:26 pm Hans de Goede

qemu-char: Rename opened to be_open

Rename the opened variable to be_open to reflect that it contains the
opened state of the backend.

Signed-off-by: Hans de Goede <>
Message-id:
Signed-off-by: Anthony Liguori <>

99835e00 03/27/2013 05:10 pm Paolo Bonzini

compiler: fix warning with GCC 4.8.0

GCC 4.8.0 introduces a new warning:

block/qcow2-snapshot.c: In function 'qcow2_write_snapshots’:
block/qcow2-snapshot.c:252:18: error: typedef 'qemu_build_bug_on__253'
locally defined but not used [-Werror=unused-local-typedefs]...
404e7a4f 03/26/2013 11:16 pm Anthony Liguori

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

virtio,pci,qom

Work by Alex to support VGA assignment,
pci and virtio fixes by Stefan, Jason and myself, and a
new qmp event for hotplug support by myself.

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

a5519b42 03/26/2013 09:02 pm Michael S. Tsirkin

roms: switch oldnoconfig to olddefconfig

When a new option is added that qemu does not know
about, the prudent thing is to use the default not
force it to "no".

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

6214e73c 03/26/2013 09:02 pm Alex Williamson

pcie: Add endpoint capability initialization wrapper

Fix the awkward API of mangling the caller specified PCIe type and
just provide an interface to initialize an endpoint device. This
will pick either a regular endpoint or integrated endpoint based on
the bus and return pcie_cap_init to doing exactly what is asked....

3a861c46 03/26/2013 09:02 pm Alex Williamson

pci: Create and register a new PCI Express TypeInfo

This will allow us to differentiate Express and Legacy buses.

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

cf09458d 03/26/2013 09:02 pm Alex Williamson

pci: Move PCI and PCIE type defines

Move these so that we can reference them from a more common header
instead of including pci_bus.h everywhere.

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

60a0e443 03/26/2013 09:02 pm Alex Williamson

pci: Allow PCI bus creation interfaces to specify the type of bus

No change to any types.

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

afb661eb 03/26/2013 09:02 pm Alex Williamson

pci: Q35, Root Ports, and Switches create PCI Express buses

Convert q35, ioh3420, xio3130_upstream, and xio3130_downstream to
use the new TYPE_PCIE_BUS.

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

8c0bf9e2 03/26/2013 09:02 pm Alex Williamson

pci: Create pci_bus_is_express helper

For testing the bus type.

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

0889464a 03/26/2013 09:02 pm Alex Williamson

pci: Create and use API to determine root buses

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

eb28cb1b 03/26/2013 09:02 pm Alex Williamson

pcie: Mangle types to match topology

Windows will fail to start drivers for devices with an Endpoint type
PCIe capability attached to a Root Complex (code 10 - Device cannot
start). The proper type for such a device is Root Complex Integrated
Endpoint. Devices don't care which they are, so do this conversion...

ba7d8515 03/26/2013 09:02 pm Alex Williamson

pci: Teach PCI Bridges about VGA routing

Each PCI Bridge has a set of implied VGA regions that are enabled when
the VGA bit is set in the bridge control register. This allows VGA
devices behind bridges. Unfortunately with VGA Enable, which we
formerly allowed but didn't back, comes along some required VGA...

45eb768c 03/26/2013 09:02 pm Michael S. Tsirkin

pci_bridge: factor out common code

Reuse common code in pcie_port, override the hardwired-to-0
bits per PCI Express spec.
No functional change but makes the code easier to follow.

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

600d05b9 03/26/2013 09:02 pm Michael S. Tsirkin

pci_bridge: drop formatting from source

We use the same formatting for all files, it
doesn't make sense to have formatting directives only
in pci bridge header.

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

e5368f0d 03/26/2013 09:02 pm Alex Williamson

pci: Fix INTx routing notifier recursion

For some reason we recurse to fire the INTx routing notifier for each
child of a bus, for each possible device of a bus. That means that if
we add a root port, the notifier gets called for that bridge 256
times. If we add an upstream switch behind that root port, 256^2. But...

659fefee 03/26/2013 09:02 pm Alex Williamson

pci_bridge: Use a default map_irq function

The PCI bridge spec defines a default swizzle for translating INTx
IRQs from secondary bus to primary. Use this by default for any
bridge that doesn't set a function.

Signed-off-by: Alex Williamson <>...

ea7cfed6 03/26/2013 09:02 pm Alex Williamson

pci_bridge: Remove duplicate IRQ swizzle function

pci_bridge_dev_map_irq_fn() is identical to pci_swizzle_map_irq_fn(),
which is now the default for all PCI bridges. We can therefore remove
this function and the pci_bridge_map_irq() call that used it.

Signed-off-by: Alex Williamson <>...

8c7f3dd0 03/26/2013 09:02 pm Stefan Hajnoczi

pci: refuse empty ROM files

A zero size ROM file is invalid and should produce a warning.
Attempting to use a zero size file ends up hitting an assertion
qemu_ram_set_idstr() because RAMBlocks with duplicate addresses are
allocated - due to zero size the allocator doesn't increment the next...

49cd9ac6 03/26/2013 09:02 pm Stefan Hajnoczi

exec: assert that RAMBlock size is non-zero

find_ram_offset() does not handle size=0 gracefully. It hands out the
same RAMBlock offset multiple times, leading to obscure failures later
on.

Add an assert to warn early if something is incorrectly allocating a...

15054fce 03/26/2013 09:02 pm Michael S. Tsirkin

qmp: add path to device_deleted event

Add QOM path to device deleted event. It now becomes useful to report
it for devices which don't have an ID assigned.

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

f8f7c533 03/26/2013 09:02 pm Jason Wang

virtio-net: remove layout assumptions for mq ctrl

Following commit 921ac5d0f3a0df869db5ce4edf752f51d8b1596a (virtio-net:
remove layout assumptions for ctrl vq), this patch makes multiqueue ctrl
handling not rely on the layout of descriptors.

Signed-off-by: Jason Wang <>...

a38b2c49 03/26/2013 09:02 pm Michael S. Tsirkin

virtio-pci: guest notifier mask without non-irqfd

non-irqfd setups are currently broken with vhost:
we start up masked and nothing unmasks the interrupts.
Fix by using mask notifiers, same as the irqfd path.

Sharing irqchip/non irqchip code is always a good thing,...

e01fd687 03/26/2013 09:02 pm Alex Williamson

pci: Add PCI VGA helpers

Allow devices to register VGA memory regions for handling PCI spec
defined VGA I/O port and MMIO areas. PCI will attach these to the
bus address spaces and enable them according to the device command
register value.

Signed-off-by: Alex Williamson <>...

e998fa8d 03/26/2013 09:00 pm Michael S. Tsirkin

qom: call class destructor before unparent

It seems more logical to have destruction flow start with the subclass
and move up to the base class. This ensures object has a valid
canonical path when destructor is called.

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

18501ae6 03/26/2013 08:38 pm Anthony Liguori

Merge remote-tracking branch 'quintela/migration.next' into staging

  1. By Peter Lieven (9) and others
  2. Via Juan Quintela
    • quintela/migration.next: (22 commits)
      Use qemu_put_buffer_async for guest memory pages
      Add qemu_put_buffer_async
      Use writev ops if available...
fad5593c 03/26/2013 08:34 pm Anthony Liguori

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

  1. By Cornelia Huck
  2. Via Cornelia Huck
    • cohuck/virtio-ccw-upstr:
      virtio-ccw: Queue sanity check for notify hypercall.
b57ed9bf 03/26/2013 07:04 pm Cornelia Huck

virtio-ccw: Queue sanity check for notify hypercall.

Verify that the virtio-ccw notify hypercall passed a reasonable
value for queue.

Cc:
Reported-by: Alexander Graf <>
Signed-off-by: Cornelia Huck <>

0fbf01fe 03/26/2013 05:08 pm Anthony Liguori

qtest: use synchronous I/O for char device

Peter reported that rtc-test would periodically hang. It turns out
this was due to an EAGAIN occurring on qemu_chr_fe_write.

Instead of heavily refactoring qtest, just use a synchronous version
of the write operation for qemu_chr_fe_write to address this problem....

cd18720a 03/26/2013 05:08 pm Anthony Liguori

char: introduce a blocking version of qemu_chr_fe_write

Signed-off-by: Anthony Liguori <>

54852b03 03/26/2013 04:27 pm Peter Maydell

qom: Detect attempts to add a property that already exists

Detect attempts to add a property to an object if one of
that name already exists, and report them as errors.

Signed-off-by: Peter Maydell <>
Reviewed-by: Anthony Liguori <>...

e769bdc2 03/26/2013 04:27 pm Peter Maydell

hw/qdev: Abort rather than ignoring errors adding device properties

Instead of ignoring any errors that occur when adding properties
to a new device in device_initfn(), check for them and abort if any
occur. The most likely cause is accidentally adding a duplicate...

b000dfbd 03/26/2013 04:26 pm Peter Maydell

hw/qdev-properties.c: Improve diagnostic for setting property after realize

Now we have error_setg() we can improve the error message emitted if
you attempt to set a property of a device after the device is realized
(the previous message was "permission denied" which was not very...

3ab1dfdd 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi: add the virtio-scsi device.

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

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

bc7b90a0 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi-pci: switch to new API.

Here the virtio-scsi-pci is modified for the new API. The device virtio-scsi-pci
extends virtio-pci. It creates and connects a virtio-scsi during the init.

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Cornelia Huck <>...

9ef13d8f 03/26/2013 04:26 pm KONRAD Frederic

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

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

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

c908ea10 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi-ccw: switch to new API

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

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

0ac8e139 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi: cleanup: use QOM casts.

As the virtio-scsi-pci and virtio-scsi-s390 are switched to the new API,
we can use QOM casts.

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

763684be 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi: cleanup: init and exit functions.

This remove old init and exit function as they are no longer needed.

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

c19f806e 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi: cleanup: remove qdev field.

The qdev field is no longer needed. Just drop it.

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

4bfeb18a 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi: moving host_features from properties to transport properties.

host_features field is part of the transport device. So move all the
host_features related properties into transport device.

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

394e2e4c 03/26/2013 04:26 pm KONRAD Frederic

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

The configuration field must not be a pointer as it will be used for virtio-scsi
properties. So *conf is replaced by conf.

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Cornelia Huck <>...

22219527 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi: allocate cmd_vqs array separately.

Allocate/Free the cmd_vqs array separately to have a fixed size device.

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

2fd1a053 03/26/2013 04:25 pm Anthony Liguori

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

  1. By Corey Bryant (2) and others
  2. Via Luiz Capitulino
    • luiz/queue/qmp:
      New QMP command query-cpu-max and HMP command cpu_max
      qmp: fix handling of boolean values in qmp-shell
      QMP: TPM QMP and man page documentation updates...
f1c72795 03/26/2013 02:32 pm Peter Lieven

migration: do not sent zero pages in bulk stage

during bulk stage of ram migration if a page is a
zero page do not send it at all.
the memory at the destination reads as zero anyway.

even if there is an madvise with QEMU_MADV_DONTNEED
at the target upon receipt of a zero page I have observed...

70c8652b 03/26/2013 02:32 pm Peter Lieven

migration: do not search dirty pages in bulk stage

avoid searching for dirty pages just increment the
page offset. all pages are dirty anyway.

Signed-off-by: Peter Lieven <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>...

5cc11c46 03/26/2013 02:32 pm Peter Lieven

migration: use XBZRLE only after bulk stage

at the beginning of migration all pages are marked dirty and
in the first round a bulk migration of all pages is performed.

currently all these pages are copied to the page cache regardless
of whether they are frequently updated or not. this doesn't make sense...

d913829f 03/26/2013 02:32 pm Orit Wasserman

Add QemuFileWritevBuffer QemuFileOps

This will allow us to write an iovec

Signed-off-by: Orit Wasserman <>
Reviewed-by: Juan Quintela <>
Signed-off-by: Juan Quintela <>

28085f7b 03/26/2013 02:32 pm Orit Wasserman

Add socket_writev_buffer function

Signed-off-by: Orit Wasserman <>
Signed-off-by: Juan Quintela <>

7d8a30bb 03/26/2013 02:32 pm Orit Wasserman

Update bytes_xfer in qemu_put_byte

Signed-off-by: Orit Wasserman <>
Reviewed-by: Juan Quintela <>
Signed-off-by: Juan Quintela <>

b3ea2bdb 03/26/2013 02:32 pm Orit Wasserman

Store the data to send also in iovec

All data is still copied into the static buffer.
Adjacent iovecs are coalesced so we send one big buffer
instead of many small buffers.

Signed-off-by: Orit Wasserman <>
Signed-off-by: Juan Quintela <>

cb88aa88 03/26/2013 02:32 pm Orit Wasserman

Use writev ops if available

Update qemu_fflush and stdio_close to use writev ops if they are available
Use the buffers stored in the iovec.

Signed-off-by: Orit Wasserman <>
Reviewed-by: Juan Quintela <>
Signed-off-by: Juan Quintela <>

6181ec24 03/26/2013 02:32 pm Orit Wasserman

Add qemu_put_buffer_async

This allows us to add a buffer to the iovec to send without copying it
into the static buffer, the buffer will be sent later when qemu_fflush is called.

Signed-off-by: Orit Wasserman <>
Signed-off-by: Juan Quintela <>

500f0061 03/26/2013 02:32 pm Orit Wasserman

Use qemu_put_buffer_async for guest memory pages

This will remove an unneeded copy of guest memory pages.
For the page header and device state we still copy the data to the
static buffer the other option is to allocate the memory on demand
which is more expensive....

56ded708 03/26/2013 02:32 pm Peter Lieven

buffer_is_zero: use vector optimizations if possible

performance gain on SSE2 is approx. 20-25%. altivec
is not tested. performance for unsigned long arithmetic
is unchanged.

Signed-off-by: Peter Lieven <>
Reviewed-by: Eric Blake <>...

49f676a0 03/26/2013 02:32 pm Peter Lieven

bitops: unroll while loop in find_next_bit()

this patch adopts the loop unrolling idea of bitmap_is_zero() to
speed up the skipping of large areas with zeros in find_next_bit().

this routine is extensively used to find dirty pages in
live migration.

testing only the find_next_bit performance on a zeroed bitfield...

3edcd7e6 03/26/2013 02:32 pm Peter Lieven

migration: search for zero instead of dup pages

virtually all dup pages are zero pages. remove
the special is_dup_page() function and use the
optimized buffer_find_nonzero_offset() function
instead.

here buffer_find_nonzero_offset() is used directly
to avoid the unnecssary additional checks in...

78d07ae7 03/26/2013 02:32 pm Peter Lieven

migration: add an indicator for bulk state of ram migration

the first round of ram transfer is special since all pages
are dirty and thus all memory pages are transferred to
the target. this patch adds a boolean variable to track
this stage.

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

41a259bd 03/26/2013 02:32 pm Peter Lieven

cutils: add a function to find non-zero content in a buffer

this adds buffer_find_nonzero_offset() which is a SSE2/Altivec
optimized function that searches for non-zero content in a
buffer.

the function starts full unrolling only after the first few chunks have...

d58f5598 03/26/2013 02:30 pm David Gibson

savevm: Add VMSTATE_UINTTL_EQUAL helper

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

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

213945e4 03/26/2013 02:30 pm David Gibson

savevm: Add VMSTATE_FLOAT64 helpers

The current savevm code includes VMSTATE helpers for a number of commonly
used data types, but not for the float64 type used by the internal floating
point emulation code. This patch fixes the deficiency.

Signed-off-by: David Gibson <>...

8474a9dd 03/26/2013 02:30 pm David Gibson

savevm: Add VMSTATE_STRUCT_VARRAY_POINTER_UINT32

Currently the savevm code contains a VMSTATE_STRUCT_VARRAY_POINTER_INT32
helper (a variably sized array with the number of elements in an int32_t),
but not VMSTATE_STRUCT_VARRAY_POINTER_UINT32 (... with the number of...

377e2cb9 03/26/2013 02:30 pm David Gibson

savevm: Fix bugs in the VMSTATE_VBUFFER_MULTIPLY definition

The VMSTATE_BUFFER_MULTIPLY macro is misnamed - it actually specifies
a variably sized buffer with VMS_VBUFFER, so should be named
VMSTATE_VBUFFER_MULTIPLY. This patch fixes this (the macro had no current...

c61ca00a 03/26/2013 02:30 pm Peter Lieven

move vector definitions to qemu-common.h

vector optimizations will now be used at various places
not just in is_dup_page() in arch_init.c

Signed-off-by: Peter Lieven <>
Signed-off-by: Juan Quintela <>

e344b8a1 03/26/2013 02:30 pm David Gibson

savevm: Add VMSTATE_UINT64_EQUAL helpers

The savevm code already includes a number of *_EQUAL helpers which act as
sanity checks verifying that the configuration of the saved state matches
that of the machine we're loading into to work. Variants already exist...

817c6045 03/26/2013 02:30 pm Juan Quintela

migration: Improve QMP documentation

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>

88ca7bcf 03/25/2013 10:21 pm Corey Bryant

QMP: Remove duplicate TPM type from query-tpm

Signed-off-by: Corey Bryant <>
Reviewed-by: Eric Blake <>
Reviewed-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

28c4fa32 03/25/2013 10:21 pm Corey Bryant

QMP: TPM QMP and man page documentation updates

Signed-off-by: Corey Bryant <>
Reviewed-by: Eric Blake <>
Reviewed-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

e5ecec7b 03/25/2013 10:21 pm Igor Mammedov

qmp: fix handling of boolean values in qmp-shell

qmp-shell converts only integer arguments and the rest
is assumed to be strings which are faithfully sent as
quoted strings by json. But QEMU refuses to accept qmp
command with boolean argument whose value is escaped...

4d700430 03/25/2013 10:21 pm Michal Novotny

New QMP command query-cpu-max and HMP command cpu_max

These commands return the maximum number of CPUs supported by the
currently running emulator instance, as defined in its QEMUMachine
struct.

Signed-off-by: Michal Novotny <>
Signed-off-by: Luiz Capitulino <>

dcadaa9b 03/25/2013 08:14 pm Anthony Liguori

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

  1. By Dmitry Fleytman (5) and others
  2. Via Stefan Hajnoczi
    • stefanha/net:
      net: increase buffer size to accommodate Jumbo frame pkts
      VMXNET3 device implementation
      Packet abstraction for VMWARE network devices...
4b5805de 03/25/2013 08:14 pm Anthony Liguori

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

  1. By Liu Yuan (1) and Stefan Weil (1)
  2. Via Stefan Hajnoczi
    • stefanha/block:
      block: Add options QDict to bdrv_file_open() prototypes (fix MinGW build)
      rbd: fix compile error
d2f38a0a 03/25/2013 08:13 pm Anthony Liguori

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

  1. By Gerd Hoffmann
  2. Via Gerd Hoffmann
    • kraxel/ipxe.3:
      ipxe: update binaries
      ipxe: disable two second timeout
6db253ca 03/25/2013 08:10 pm Jan Kiszka

gtk: Release modifier when graphic console loses keyboard focus

This solves, e.g., sticky ALT when selecting a GTK menu, switching to a
different window or selecting a different virtual console.

Signed-off-by: Jan Kiszka <>
Message-id: ...

d63c9477 03/25/2013 08:10 pm Anthony Liguori

glib: add a compatibility interface for g_timeout_add_seconds

Signed-off-by: Anthony Liguori <>

d32fcad3 03/25/2013 12:14 pm Scott Feldman

net: increase buffer size to accommodate Jumbo frame pkts

Socket buffer sizes were hard-coded to 4K for VDE and socket netdevs. Bump this
up to 68K (ala tap netdev) to handle maximum GSO packet size (64k) plus plenty
of room for the ethernet and virtio_net headers....

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

net: iovec checksum calculator

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

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

Common definitions for VMWARE devices

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

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

Packet abstraction for VMWARE network devices

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

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

VMXNET3 device implementation

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

20048d0a 03/25/2013 12:13 pm Stefan Hajnoczi

net: use socket_set_nodelay() for -netdev socket

Reduce -netdev socket latency by disabling the Nagle algorithm on
SOCK_STREAM sockets in net/socket.c. Since we are tunelling Ethernet
over TCP we shouldn't artificially delay outgoing packets, let the guest...

5acf5ea4 03/25/2013 12:13 pm Dmitry Fleytman

Checksum-related utility functions

net_checksum_add_cont()
checksum calculation for scattered data with odd chunk sizes

net_raw_checksum()
checksum calculation for a buffer

Signed-off-by: Dmitry Fleytman <>
Signed-off-by: Yan Vugenfirer <>...

ea804cad 03/25/2013 10:53 am Stefan Weil

block: Add options QDict to bdrv_file_open() prototypes (fix MinGW build)

The new parameter is unused yet.

This part was missing in commit 787e4a8500020695eb391e2f1cc4767ee071d441.

Cc: Kevin Wolf <>
Cc: Eric Blake <>
Signed-off-by: Stefan Weil <>...

d43731c7 03/25/2013 10:51 am Liu Yuan

rbd: fix compile error

Commit 787e4a85 [block: Add options QDict to bdrv_file_open() prototypes] didn't
update rbd.c accordingly.

Cc: Kevin Wolf <>
Cc: Stefan Hajnoczi <>
Signed-off-by: Liu Yuan <>
Reviewed-by: Stefan Weil <>...

0099cd43 03/25/2013 10:13 am Gerd Hoffmann

ipxe: update binaries

Signed-off-by: Gerd Hoffmann <>

95ca557d 03/25/2013 10:07 am Gerd Hoffmann

ipxe: disable two second timeout

Signed-off-by: Gerd Hoffmann <>

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

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

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

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

2d497542 03/23/2013 04:31 pm Richard Henderson

tcg-optimize: Fold sub r,0,x to neg r,x

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

4980ef9e 03/23/2013 04:30 pm Richard Henderson

target-i386: Don't modify env->eflags around cpu_dump_state

We can compute the value in cpu_dump_state anyway, and gratuitous
modifications to eflags creates heisenbugs.

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

c53de1a2 03/23/2013 04:26 pm Richard Henderson

target-i386: Fix flags computation for ADOX

When starting from CC_OP_DYNAMIC, and issuing adox before adcx,
a typo used the wrong value for the resulting CC_OP.

Cc: Blue Swirl <>
Reported-by: Torbjorn Granlund <>
Signed-off-by: Richard Henderson <>...

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

Add top level changes for moxie

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

525bd324 03/23/2013 04:25 pm Anthony Green

Add moxie target code

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

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

Add moxie disassembler

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

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

Add sample moxie system

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

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

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

  • 'for-upstream' of git://github.com/mwalle/qemu:
    configure: rename OpenGL feature to GLX
    configure: proper OpenGL/GLX probe
    target-lm32: use HELPER macro
    target-lm32: flush tlb after clearing env...