Statistics
| Branch: | Revision:

root @ 7943a2fa

# Date Author Comment
7943a2fa 12/09/2010 03:23 pm Gerd Hoffmann

spice: add qxl vgabios binary.

Just compiled from vgabios git repo @ git.qemu.org,
copyed over and committed. Also added to the list
of blobs in the Makefile.

Signed-off-by: Gerd Hoffmann <>

138b38b6 12/08/2010 10:30 pm Alexander Graf

ppc: kvm: fix signedness warning

I get a warning on a signed comparison with an unsigned variable, so
let's make the variable signed and be happy.

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

2c90fe2b 12/05/2010 10:09 am Kirill Batuzov

Speedup 'tb_find_slow' by using the same heuristic as during memory page lookup

Move the last found TB to the head of the list so it will be found more quickly next time it will be looked for.

Signed-off-by: Kirill Batuzov <>
Signed-off-by: Pavel Yushchenko <>...

53016fa6 12/04/2010 11:21 pm Peter Maydell

Remove unused spin_trylock() function

Remove the spin_trylock() function, as it is not used anywhere,
and is not even implemented if CONFIG_USE_NPTL is defined.

Signed-off-by: Peter Maydell <>
Signed-off-by: Blue Swirl <>

edcdd562 12/04/2010 10:51 pm Stefan Weil

darwin-user: Use GCC_FMT_ATTR (format checking)

The redundant forward declaration of qerror in machload.c
is removed because it should be taken from qemu.h.

Please note that this patch is untested because
I have no matching environment to compile it.

Cc: Blue Swirl <>...

ab9de369 12/04/2010 10:51 pm Stefan Weil

audio: Use GCC_FMT_ATTR (format checking)

Cc: Blue Swirl <>
Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

047b39e4 12/04/2010 10:51 pm Stefan Weil

target-sparc: Use fprintf_function (format checking)

This change was missing in commit
9a78eead0c74333a394c0f7bbfc4423ac746fcd5.

Cc: Blue Swirl <>
Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

6e2d864e 12/04/2010 10:50 pm Stefan Weil

*-dis: Replace fprintf_ftype by fprintf_function (format checking)

This patch adds more printf format checking.

Additional modifications were needed for this code change:

  • alpha-dis.c: The local definition of MAX conflicts with
    a previous definition from osdep.h, so add an #undef....
e6e055c9 12/04/2010 08:36 pm Blue Swirl

Fix mingw32 and OpenBSD warnings

ffsl() is not universally available, so there are these warnings
on both mingw32 and OpenBSD:
/src/qemu/hw/pcie_aer.c: In function 'pcie_aer_update_log':
/src/qemu/hw/pcie_aer.c:399: warning: implicit declaration of function 'ffsl'...

bcd47878 12/04/2010 05:18 am Edgar E. Iglesias

Merge branch 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu

  • 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu:
    linux-user: fix mips and ppc to use UID16
    update binfmt conf
    linux-user: fix compiler error on nptl
    ARM: linux-user: Restore iWMMXT state from ucontext on sigreturn...
db1923de 12/03/2010 07:50 pm Stefan Hajnoczi

exec: Remove debugging fprintf() that slipped into qemu_ram_alloc_from_ptr()

Remove the debugging fprintf() slipped in via the following commit:

commit b2e0a138e77245290428a7d599a929e2e1bfe510
Author: Michael S. Tsirkin &lt;&gt;
Date: Mon Nov 22 19:52:34 2010 +0200...
b2e7aab2 12/03/2010 03:10 pm Martin Mohring

linux-user: fix mips and ppc to use UID16

Signed-off-by: Martin Mohring <>
Signed-off-by: Jan-Simon Möller <>
Signed-off-by: Riku Voipio <>

f3b974cd 12/03/2010 03:09 pm Jamie Lentin

linux-user: Translate getsockopt level option

n setsockopt, the socket level options are translated to the hosts'
architecture before the real syscall is called, e.g.
TARGET_SO_TYPE -> SO_TYPE. This patch does the same with getsockopt.

Tested on a x86 host emulating MIPS. Without it:-...

3a807dec 12/03/2010 03:09 pm Peter Maydell

ARM: enable XScale/iWMMXT in linux-user mode

In linux-user mode, the XScale/iWMMXT coprocessors must be enabled
at reset so that we can run code that uses these instructions.

Signed-off-by: Peter Maydell <>

ef5e4ea5 12/03/2010 03:09 pm Peter Maydell

target-sparc: remove unused functions cpu_lock(), cpu_unlock()

5f0b7c88 12/03/2010 03:09 pm Peter Maydell

ARM: linux-user: Correct size of padding in target_ucontext_v2

The padding in the target_ucontext_v2 is defined by the size of
the target's sigset_t type, not the host's. (This bug only causes
problems when we start using the uc_regspace[] array to expose...

01653295 12/03/2010 03:09 pm Peter Maydell

ARM: Expose vfp_get_fpscr() and vfp_set_fpscr() to C code

Expose the vfp_get_fpscr() and vfp_set_fpscr() functions to C
code as well as generated code, so we can use them to read and
write the FPSCR when saving and restoring VFP registers across
signal handlers in linux-user mode....

0d871bdb 12/03/2010 03:09 pm Peter Maydell

ARM: linux-user: Expose VFP registers to signal handlers

For ARM linux-user mode signal handlers, fill in the ucontext with
VFP register contents in the same way that the kernel does. We only
do this for v2 format sigframe (2.6.12 and above); this is actually...

5f9099d9 12/03/2010 03:09 pm Peter Maydell

ARM: linux-user: Restore VFP state from ucontext on sigreturn

Restore the VFP registers from the ucontext on return from a signal
handler in linux-user mode. This means that signal handlers cannot
accidentally corrupt the interrupted code's VFP state, and allows...

08e11256 12/03/2010 03:09 pm Peter Maydell

ARM: linux-user: Expose iWMMXT registers to signal handlers

Signed-off-by: Peter Maydell <>
Signed-off-by: Riku Voipio <>

a59d69da 12/03/2010 03:09 pm Peter Maydell

ARM: linux-user: Restore iWMMXT state from ucontext on sigreturn

Signed-off-by: Peter Maydell <>
Signed-off-by: Riku Voipio <>

9190749f 12/03/2010 03:09 pm Riku Voipio

linux-user: fix compiler error on nptl

Some compilers detect that new_stack isnt used after dd75d784

Signed-off-by: Riku Voipio <>

644d6777 12/03/2010 03:09 pm Riku Voipio

update binfmt conf

1) dont register i386 qemu on x86_64 host
2) widen sparc and arm match
3) add sh4, based on patch by David Kozub <>

Rest based on patch by Jan-Simon Möller <>

b0e102dd 12/03/2010 03:09 pm Peter Maydell

[PATCH] target-arm: remove unused functions cpu_lock(), cpu_unlock()

Signed-off-by: Riku Voipio <>

c65ffe6d 12/03/2010 03:09 pm amateur

linux-user: mmap_reserve() not controlled by RESERVED_VA

mmap_reserve() should be called only when RESERVED_VA is enabled.
Otherwise, unmaped virtual address space will never be reusable. This
bug will exhaust virtual address space in extreme conditions....

48e15fc2 12/03/2010 03:09 pm Nathan Froyd

linux-user: fix memory leaks with NPTL emulation

Running programs that create large numbers of threads, such as this
snippet from libstdc++'s pthread7-rope.cc:

const int max_thread_count = 4;
const int max_loop_count = 10000;
...
for (int j = 0; j < max_loop_count; j++)...
bee70008 12/03/2010 03:09 pm Peter Maydell

linux-user: remove unnecessary local from __get_user(), __put_user()

Remove an unnecessary local variable from the _get_user() and
_put_user() macros. This avoids confusing compilation failures
if the name of the local variable ('size') happens to be the...

6a865752 12/02/2010 10:41 pm Anthony Liguori

Fix build

msix.o and msi.o get pulled into the build unconditionally for QMP.

Signed-off-by: Anthony Liguori <>

19c71ff4 12/02/2010 10:16 pm Anthony Liguori

Merge remote branch 'mst/for_anthony' into staging

b2e0a138 12/02/2010 09:13 pm Michael S. Tsirkin

migration: stable ram block ordering

This makes ram block ordering under migration stable, ordered by offset.
This is especially useful for migration to exec, for debugging.

Signed-off-by: Michael S. Tsirkin <>
Tested-by: Jason Wang <>

3d002df3 12/02/2010 09:13 pm Michael S. Tsirkin

migration: allow rate > 4g

I'd like to disable bandwidth limit or make it very high,
Use int64_t all over to make values >= 4g work.

Signed-off-by: Michael S. Tsirkin <>
Tested-by: Jason Wang <>

0c600ce2 12/02/2010 09:13 pm Jason Wang

vhost: Fix address calculation in vhost_dev_sync_region()

We still need advance address even we find there's no dirty pages in
current chunk.

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

255108c0 12/01/2010 08:48 pm Richard Henderson

tcg-ia64: Provide default GUEST_BASE.

Fix compilation error when GUEST_BASE is not defined.

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

b3b0091f 12/01/2010 08:48 pm Richard Henderson

tcg-ia64: Implement qemu_ld32.

The port was not properly merged following
86feb1c860dc38e9c89e787c5210e8191800385e

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

650a217a 12/01/2010 08:48 pm Richard Henderson

tcg-ia64: Fix tlb read error for 32-bit targets.

Use ld4 not ld8 for reading the tlb of 32-bit targets.

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

07f59737 12/01/2010 08:48 pm Richard Henderson

tcg-ia64: Fix address compilation in qemu_st.

A typo in the usermode address calculation path; R3 used where R2 needed.

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

393f398b 12/01/2010 08:48 pm Richard Henderson

tcg-ia64: Fix warning in qemu_ld.

The usermode version of qemu_ld doesn't used mem_index,
leading to set-but-not-used warnings.

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

0909cbde 12/01/2010 08:48 pm Richard Henderson

tcg: Fix default definition of divu_i32 and remu_i32.

The arguments to tcg_gen_helper32 for these functions were not
updated correctly in rev 2bece2c88331f024a46527634e3dd91c71d22141.

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

c924f36a 12/01/2010 07:11 am Michael S. Tsirkin

Merge remote branch 'origin/master' into pci

Conflicts:
Makefile.objs
hw/virtio.c

09fa35e5 11/30/2010 11:25 pm Anthony Liguori

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

9233da78 11/30/2010 11:24 pm Anthony Liguori

Merge remote branch 'qmp/for-anthony' into staging

fd5d5c56 11/30/2010 10:38 pm Anthony Liguori

Use a Linux-style MAINTAINERS file

I make no claims that this is accurate or exhaustive but I think it's a
reasonable place to start.

As the file mentions, the purpose of this file is to give contributors
information about who they can go to with questions about a particular piece of...

b76876e6 11/29/2010 05:15 pm Kevin Wolf

ide: Reset current_addr after stopping DMA

Whenever SSBM is reset in the command register all state information is lost.
Restarting DMA means that current_addr must be reset to the base address of the
PRD table. The OS is not required to change the base address register before...

c29947bb 11/29/2010 05:15 pm Kevin Wolf

ide: Ignore double DMA transfer starts/stops

You can only start a DMA transfer if it's not running yet, and you can only
cancel it if it's running.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

8337606d 11/29/2010 05:15 pm Kevin Wolf

ide: Factor ide_dma_set_inactive out

Several places that stop a DMA transfer duplicate this code. Factor it out into
a common function.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

e3982b3c 11/29/2010 05:15 pm Kevin Wolf

ide: Set bus master inactive on error

BMIDEA in the status register must be cleared on error. This makes FreeBSD
respond (more) correctly to I/O errors.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

661a1799 11/27/2010 01:56 pm Paul Brook

Add pcnet-pci.c

Add file missing from last commit.

Signed-off-by: Paul Brook <>

a4c75a21 11/27/2010 01:23 pm Paul Brook

Split out common pcnet code

The core pcnet emulation code is used by both the PCI "pcnet" device
and the SPARC "lance" device. Split the common code frm the PCI code so
that that can be configures independantly.

Signed-off-by: Paul Brook <>

129cac5b 11/27/2010 12:33 pm Paul Brook

Remove PCI from sparc32 target

None of the (current) sparc32 machines have a PCI bus, so remove the PCI
code from these configs.

Signed-off-by: Paul Brook <>

cf66924f 11/27/2010 02:58 am Paul Brook

Detect missing config includes

Terminate make_device_config.sh if the awk command fails.
Typically this means a missing file.

Signed-off-by: Paul Brook <>

050e27c8 11/27/2010 02:34 am Paul Brook

Fix previous commit

Fix breakage from previous commit (missing pci.mak, and incorrect
include in default-configs/s390x-softmmu.mak).

Signed-off-by: Paul Brook <>

f8f5cfba 11/27/2010 02:06 am Paul Brook

PCI config include

Split PCI config options into a separate file

Signed-off-by: Paul Brook <>

01af7daf 11/27/2010 02:06 am Paul Brook

VirtIO config option

Make virtio devices optional. Selecting individual devices is not useful
as the host bindings are all in one file.

Signed-off-by: Paul Brook <>

bd9141bb 11/26/2010 08:47 pm Paul Brook

Include directives in default configs

Allow default configs to be split into several files.

Signed-off-by: Paul Brook <>

6e14404a 11/26/2010 08:46 pm Paul Brook

Add missing dependency.

Teach Makefile that cmd.o depends on a generated header (specifically
config-host.h).

Signed-off-by: Paul Brook <>

11a3cb81 11/26/2010 08:02 pm Christoph Hellwig

raw-posix: raw_pwrite comment fixup

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Kevin Wolf <>

2dd791b6 11/25/2010 01:51 pm Hannes Reinecke

scsi-disk: Remove duplicate cdb parsing

We parse the CDB twice, which is completely unnecessary.

Signed-off-by: Hannes Reinecke <>
Acked-by: Christoph Hellwig <>
Signed-off-by: Kevin Wolf <>

a6d96eb7 11/25/2010 01:19 pm Hannes Reinecke

scsi: Move sense handling into the driver

The current sense handling in scsi-bus is only used by the
scsi-disk driver; the scsi-generic driver is using its own.
So we should move the current sense handling into the
scsi-disk driver.

Signed-off-by: Hannes Reinecke <>...

39d98982 11/25/2010 01:15 pm Hannes Reinecke

scsi: INQUIRY VPD fixes

We should announce and support the block device characterics page
only on block devices, not on CDROMs. And the VPD page 0x83 has
an off-by-one error.

Signed-off-by: Hannes Reinecke <>
Acked-by: Christoph Hellwig <>...

f0171327 11/25/2010 01:00 pm Hannes Reinecke

scsi: Return SAM status codes

Traditionally, the linux stack is using SCSI status codes
which are shifted by one as compared to those defined in SAM.
A SCSI emulation should naturally return the SAM defined codes,
not the linux ones.
So to avoid any confusion this patch modifies the existing...

622b520f 11/25/2010 12:57 pm Hannes Reinecke

scsi: Increase the number of possible devices

The SCSI parallel interface has a limit of 8 devices, but
not the SCSI stack in general. So we should be removing the
hard-coded limit and use MAX_SCSI_DEVS instead.
And we only need to scan those devices which are allocated...

62155e2b 11/24/2010 06:31 pm Marcelo Tosatti

block migration: do not submit multiple AIOs for same sector (v2)

An old version of this patch was applied to master, so this contains the
differences between v1 and v2.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Kevin Wolf <>

9fbef1ac 11/24/2010 06:31 pm Avi Kivity

ide: convert bmdma address ioport to ioport_register()

cmd646, via compile tested, pci lightly boot tested.

Signed-off-by: Avi Kivity <>
Signed-off-by: Kevin Wolf <>

5cbdebe3 11/24/2010 06:31 pm Stefano Stabellini

qemu and qemu-xen: support empty write barriers in xen_disk

This patch can be applied to both qemu-xen and qemu and adds support
for empty write barriers to xen_disk.

Signed-off-by: Stefano Stabellini <>
Acked-by: Gerd Hoffmann <>...

80465c50 11/24/2010 06:31 pm Kevin Wolf

block: Remove unused s->hd in various drivers

All drivers use bs->file instead of s->hd for quite a while now, so it's time
to remove s->hd.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

6fa2c95f 11/24/2010 06:30 pm Stefan Hajnoczi

scsi-disk: Move active request asserts

SCSI read/write requests should not be re-issued before the current
fragment of I/O completes. There are asserts in scsi-disk.c that guard
this constraint but they trigger on SPARC Linux 2.4. It turns out that
the asserts are too early in the code path and don't allow for read...

9063f814 11/24/2010 06:30 pm Ryan Harper

Implement drive_del to decouple block removal from device removal

Currently device hotplug removal code is tied to device removal via
ACPI. All pci devices that are removable via device_del() require the
guest to respond to the request. In some cases the guest may not...

1abeb5a6 11/24/2010 05:25 pm Michael S. Tsirkin

virtio: fix up VQ checks

When migration triggers before a VQ is initialized,
base pa is 0 and last_used_index must be 0 too:
we don't have a ring to compare to.

Reported-by: Juan Quintela <>
Tested-by: Juan Quintela <>...

ce67ed65 11/24/2010 05:25 pm Stefan Hajnoczi

virtio: Convert fprintf() to error_report()

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>
(cherry picked from commit cd92f4cc22fbe12a7bf60c9430731f768dc1537c)

929176c3 11/24/2010 05:04 pm Michael S. Tsirkin

pci: fix bus walk under secondary bus reset

Take into account secondary bus reset bit for
bus walk: devices behind a reset bus should not
respond to configuration cycles.

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

f711df67 11/23/2010 11:04 am Richard Henderson

microblaze: target-ify target_ucontext

Rename the members of target_ucontext so that they don't conflict
with possible host macros for ucontext members. This has already
been done for the other targets.

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

ab85ceb1 11/22/2010 10:00 am Stefan Weil

pci: Automatically patch PCI vendor id and device id in PCI ROM

PCI devices with different vendor or device ids sometimes share
the same rom code. Only the ids and the checksum
differs in a boot rom for such devices.

The i825xx ethernet controller family is a typical example...

0389ced4 11/22/2010 10:00 am Stefan Weil

eepro100: Use a single rom file for all i825xx devices

Patching the rom data during load (in qemu) now
also supports i82801 (which had no rom file).

We only need a single rom file for the whole device family,
so remove the second one which is no longer needed....

81699d8a 11/22/2010 10:00 am Anthony Liguori

qbus: add functions to walk both devices and busses

There are some cases where you want to walk the busses, in particular, when
searching for a bus either by name or DeviceInfo.
Paolo suggested that we model the return values on how GCC's walkers work which...

ec990eb6 11/22/2010 10:00 am Anthony Liguori

qdev: reset qdev along with qdev tree

This patch changes the reset handling so that qdev has no knowledge of the
global system reset. Instead, a new bus/device level function is introduced
that allows all devices/buses on the bus/device to be reset using a depth...

b4694b7c 11/22/2010 10:00 am Isaku Yamahata

qdev: introduce reset call back for qbus level

and make it called via qbus_reset_all().
The qbus reset callback will be used by pci bus reset.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Michael S. Tsirkin <>

5af0a04b 11/22/2010 10:00 am Isaku Yamahata

qdev: trigger reset from a given device

Introduce a helper function which triggers reset from a given device.
Will be used by pci bus emulation.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Michael S. Tsirkin <>

9bb33586 11/22/2010 10:00 am Isaku Yamahata

pci: use qdev reset framework for pci bus reset

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Michael S. Tsirkin <>

a5fce077 11/22/2010 10:00 am Isaku Yamahata

pci bridge: implement secondary bus reset

Trigger secondary bus reset when secondary bus reset bit
value changes from 0 to 1.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Michael S. Tsirkin <>

89d437df 11/22/2010 10:00 am Isaku Yamahata

pci: add W1C bits to pci status register

This patch adds W1C bit support in the initialization/reset of pci
status registers.

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

1a1ea6f0 11/22/2010 10:00 am Isaku Yamahata

pcie_regs.h: more constants

Add constants for PCI AER log.

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

34e65944 11/22/2010 10:00 am Isaku Yamahata

pcie/aer: helper functions for pcie aer capability

This patch implements helper functions for pcie aer capability
which will be used later.

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

247c97f3 11/22/2010 10:00 am Michael S. Tsirkin

pcie_aer: get rid of recursion

Added some TODOs: they are trivial but omitted here
to make the patch logic as transparent as possible.

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

d33d9156 11/22/2010 10:00 am Michael S. Tsirkin

pcie_aer: complete unwinding recursion

Open-code functions created in the previous patch,
to make code more compact and clear.
Detcted and documented what looks like a bug in code
that becomes apparent from this refactoring.

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

61620c2f 11/22/2010 10:00 am Isaku Yamahata

ioh3420: support aer

Add aer support.

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

a158f92f 11/22/2010 10:00 am Isaku Yamahata

x3130/upstream: support aer

add aer support.

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

09b926d4 11/22/2010 10:00 am Isaku Yamahata

x3130/downstream: support aer.

add aer support.

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

f6bdfcc9 11/22/2010 10:00 am Michael S. Tsirkin

pci: fix bridge control bit wmask

Bits 12 to 15 in bridge control register are reserver and must be
read-only zero, curent mask is 0xffff which makes them writeable. Fix
this up by using symbolic bit names for writeable bits instead of a
hardcoded constant....

bba5ed77 11/22/2010 10:00 am Isaku Yamahata

pcie/port: fix bridge control register wmask

pci generic layer initialized wmask for bridge control register
according to pci spec. pcie deviates slightly from it,
so initialize it properly.

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

b90c73cf 11/22/2010 10:00 am Stefan Weil

pci: Replace unneeded type casts in calls of pci_register_bar

There is no need for these type casts (as other existing
code shows). So re-write the first argument without
type cast (and remove a related TODO comment).

Cc: Michael S. Tsirkin <>...

cd92f4cc 11/21/2010 05:16 pm Stefan Hajnoczi

virtio: Convert fprintf() to error_report()

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>

e7b43f7e 11/21/2010 05:16 pm Stefan Hajnoczi

virtio-net: Convert fprintf() to error_report()

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>

4e02d460 11/21/2010 05:16 pm Stefan Hajnoczi

virtio-pci: Convert fprintf() to error_report()

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>

9dbcca5a 11/21/2010 05:16 pm Gerd Hoffmann

virtfs: enable MSI-X

This patch enables MSI-X for virtfs-9p-pci. It also adds a
compat property to pc-0.13 which turns it of there to stay
compatible to 0.13-stable.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

94b0b5ff 11/21/2010 05:16 pm Stefan Hajnoczi

trace: Trace vm_start()/vm_stop()

VM state change notifications are invoked from vm_start()/vm_stop().
Trace these state changes so we can reason about the state of the VM
from trace output.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>

acd1c812 11/21/2010 05:16 pm Avi Kivity

Type-safe ioport callbacks

The current ioport callbacks are not type-safe, in that they accept an "opaque"
pointer as an argument whose type must match the argument to the registration
function; this is not checked by the compiler.

This patch adds an alternative that is type-safe. Instead of an opaque...

2871a3f6 11/21/2010 05:16 pm Avi Kivity

piix4 acpi: convert io BAR to type-safe ioport callbacks

Acked-by: Anthony Liguori <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

c1ded3dc 11/21/2010 05:16 pm Jan Kiszka

pcnet: Do not receive external frames in loopback mode

While not explicitly stated in the spec, it was observed on real systems
that enabling loopback testing on the pcnet controller disables
reception of external frames. And some legacy software relies on it, so...

281a26b1 11/21/2010 05:16 pm Gerd Hoffmann

vgabios update: handle compatibility with older qemu versions

As pointed out by avi the vgabios update is guest-visible and thus has
migration implications.

One change is that the vga has a valid pci rom bar now. We already have
a pci bus property to enable/disable the rom bar and we'll load the bios...

870cef1d 11/21/2010 05:16 pm Stefan Hajnoczi

virtio-blk: Convert fprintf() to error_report()

Errors should be logged using error_report() so they go to the
appropriate monitor.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>