Statistics
| Branch: | Revision:

root @ bc24a225

# Date Author Comment
bc24a225 05/10/2009 03:44 am Paul Brook

Follow coding conventions

Remove explicit struct qualifiers and rename structure types.

Signed-off-by: Paul Brook <>

d4ec5228 05/10/2009 01:22 am Paul Brook

Workaround compiler warnings at -O1

Signed-off-by: Paul Brook <>

cb76e138 05/10/2009 01:12 am Paul Brook

Fixe ARM NEON vrshl.

Signed-off-by: Paul Brook <>

009a4356 05/09/2009 11:28 pm Laurent Vivier

Add m68k_cpu_list()

This patch adds to m68k target the missing m68k_cpu_list():

$ ./m68k-softmmu/qemu-system-m68k -cpu ?
m5206
m5208
cfv4e
any

Signed-off-by: Laurent Vivier <>

39b6efc8 05/09/2009 12:11 am vibi

Fix in file qemu-sockets.c

1) Changed usage of malloc,free,strdup to qemu_malloc,qemu_free,qemu_strdup
2) Some coding style fixes (based on CODING_STYLE document)
3) Free struct addrinfo *res after failure of listen

Signed-off-by: vibi <>...

4e12cd94 05/09/2009 12:11 am Avi Kivity

vga: Replace VGA_COMMON with a structure

All VGA devices share a common field subset; currently they do so by
a macro which defines the common fields inline their state structures,
relying on the the common state being placed at offset 0 in the structure....

fbb7b4e0 05/09/2009 12:02 am Kevin Wolf

Improve block range checks

This patch makes the range checks for block requests more strict: It fixes a
potential integer overflow and checks for negative offsets. Also, it adds the
check for compressed writes.

Signed-off-by: Kevin Wolf <>...

989cebff 05/08/2009 11:51 pm Anthony Liguori

Remove noisy printf when KVM masks CPU features

Signed-off-by: Anthony Liguori <>

e7d54ae8 05/08/2009 11:51 pm Christoph Hellwig

fix asynchronous ioctls

posix_aio_read expect aio requests to return the number of bytes
requests to be successfull, so we need to fake this up for ioctls.

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Anthony Liguori <>

b827df58 05/08/2009 11:42 pm Avi Kivity

kvm: Add support for querying supported cpu features

kvm does not support all cpu features; add support for dunamically querying
the supported feature set.

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

c6fa82c4 05/08/2009 11:42 pm Avi Kivity

Make x86 cpuid feature names available in file scope

To be used later.

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

02b049df 05/08/2009 11:42 pm Avi Kivity

Fix x86 feature modifications for features that set multiple bits

QEMU allows adding or removing cpu features by using the syntax '-cpu +feature'
or '-cpu -feature'. Some cpuid features cause more than one bit to be set or
cleared; but QEMU stops after just one bit has been modified, causing the...

e8a6aec9 05/08/2009 11:42 pm Avi Kivity

kvm: Trim cpu features not supported by kvm

Remove cpu features that are not supported by kvm from the cpuid features
reported to the guest.

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

ad7b8b33 05/08/2009 11:42 pm Anthony Liguori

Introduce kvm_check_extension to check if KVM extensions are supported

Signed-off-by: Anthony Liguori <>

e28f9884 05/08/2009 11:24 pm Glauber Costa

register reset handler for option_roms

Currently, boot options are not preserved across a system reset.
option roms can modify themselves, or can for instance restore the real
int 0x19 vector after they tried to boot from it.

To properly do that, we need a reset handler registered to deal with option...

d6ecb036 05/08/2009 11:24 pm Glauber Costa

reset state for load_linux

The linux loader is just an option rom like any other, just with
some special requirements. Right now, our option rom resetting
mechanism is not being applied to it. As a result, users using
-kernel will not be able to successfully reboot their machines...

79d5ca56 05/08/2009 11:24 pm Alexander Graf

AIO deletion race fix

When deleting an fd event there is a chance the object doesn't get
deleted, but only ->deleted set positive and deleted somewhere later.

Now, if we create a handler for the fd again before the actual
deletion occurs, we end up writing data into an object that has...

4a794a62 05/08/2009 11:24 pm Amit Shah

e1000: Do not reinit pci config space to 0

pci_register_device already mallocs the pci config space buffer filled
with zeroes.

Doing this again breaks some default config space writes like
setting the subsystem vendor id and subsystem device id.

Signed-off-by: Amit Shah <>...

d4d698f0 05/08/2009 11:24 pm Gleb Natapov

Fix cluster freeing in qcow2

Need to drop QCOW_OFLAG_COPIED from a cluster pointer before freeing it.

Add an explanation how thing meant to work.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Anthony Liguori <>

a6d65524 05/08/2009 06:13 pm Anthony Liguori

Enable power button even generation.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Anthony Liguori <>

322f9d01 05/08/2009 03:24 pm Jan Kiszka

Drop CONFIG_GDBSTUB

This is no user-flippable switch, and no arch makes use of disabling
gdbstub support. So it's pointless to keep the related #ifdefs and
configure hunks around - and risking breakages like 711c410fdd again.

Signed-off-by: Jan Kiszka <>

c599710f 05/08/2009 03:20 pm Paul Brook

Remove superfluous #includes.

Signed-off-by: Paul Brook <>

42a89d77 05/08/2009 03:19 pm Paul Brook

Use target_phys_addr_t, not target_ulong.

Signed-off-by: Paul Brook <>

2ac71179 05/08/2009 04:35 am Paul Brook

Replace cpu_abort with hw_error

Signed-off-by: Paul Brook <>

e612a1f7 05/07/2009 08:14 pm Blue Swirl

Fix disassembler memory accesses

Sparc disassembler wants to check previous addresses for some stuff
and this may actually cause faults to be generated to the guest if the
address is close to page start, because of the function used for the
memory access....

0087375e 05/07/2009 04:00 am Paul Brook

Suppress make directory messages.

We already print a directory prefix in non-verbose mode, so there's no
point printing a messages when recursive make enters/leaves a directory.

Signed-off-by: Paul Brook <>

399a4e21 05/06/2009 06:18 pm Paul Brook

Fix PL110 framebuffer byteswapping in 32bpp mode.

Signed-off-by: Paul Brook <>

72af9170 05/05/2009 02:13 pm Edgar E. Iglesias

ETRAX: Simplify serport control logic.

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

f2964260 05/05/2009 01:50 pm Edgar E. Iglesias

ETRAX: Drop _t for the serial type.

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

4ad804df 05/05/2009 01:48 pm Edgar E. Iglesias

ETRAX: Use NULL for subwidth serport reg accesses.

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

b23b0fd0 05/05/2009 01:41 pm Edgar E. Iglesias

ETRAX: Drop the _t for the internal PIC type.

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

8d13fcc0 05/05/2009 01:38 pm Edgar E. Iglesias

ETRAX: Simplify the interrupt controller model.

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

7a3161ba 05/05/2009 01:25 pm Edgar E. Iglesias

ETRAX: Simplify interrupt signaling.

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

65a650c2 05/04/2009 05:19 pm Paul Brook

Fix compiler warnings in nwfpe code.

Signed-off-by: Paul Brook <>

6bb72b18 05/04/2009 11:05 am Aurelien Jarno

target-mips: proper sign extension for 'SUBU rd, zero, rt'

Signed-off-by: Aurelien Jarno <>

88cbb980 05/04/2009 11:05 am Aurelien Jarno

target-mips: fix comments about SUB/DSUB

Signed-off-by: Aurelien Jarno <>

c304d317 05/04/2009 11:05 am Aurelien Jarno

qemu-options.hx: fix description of cache=none suboption

Signed-off-by: Aurelien Jarno <>

cc63bb0f 05/04/2009 12:40 am Paul Brook

Suppress type mismatch warnings in VDE code.

Signed-off-by: Paul Brook <>

425c608c 05/03/2009 10:10 pm Isaku Yamahata

minor fix of pci_register_bus()

keep first_bus linked list correct.

Signed-off-by: Isaku Yamahata <>

6407f373 05/03/2009 10:03 pm Isaku Yamahata

use PCI_HEADER_TYPE.

use symbolic value instead of 0x0e and related value.

Signed-off-by: Isaku Yamahata <>

ccbb4d44 05/03/2009 09:58 pm Stuart Brady

Fix typos in comments in exec.c

This patch fixes several typos in comments in exec.c:

longet -> longer
recommanded -> recommended
ajustments -> adjustments
inconsistancies -> inconsistencies
phsical -> physical
positionned -> positioned...
719f66a7 05/03/2009 09:51 pm Blue Swirl

Optimize cmp x, 0 case

Signed-off-by: Blue Swirl <>

dc1a6971 05/03/2009 09:51 pm Blue Swirl

Reindent

Signed-off-by: Blue Swirl <>

03f311ed 05/03/2009 07:00 pm Paul Brook

Handle NULL bdrv.

Signed-off-by: Paul Brook <>

b89e94af 05/02/2009 11:19 pm Blue Swirl

Improve instruction name comments for easier searching

Signed-off-by: Blue Swirl <>

7ab463cb 05/02/2009 10:52 pm Blue Swirl

Clarify: dmmuregs1 is not a typo

Signed-off-by: Blue Swirl <>

41d72852 05/02/2009 10:14 pm Blue Swirl

Optimize operations with immediate parameters

67526b20 05/02/2009 09:58 pm Blue Swirl

Fix Sparc64 sign extension problems

Signed-off-by: Blue Swirl <>

d02f7094 05/01/2009 06:03 pm Anthony Liguori

Make sure not to fall through on error in loadvm

This is from the KVM tree

Signed-off-by: Anthony Liguori <>

f654d9e2 05/01/2009 06:03 pm Alex Williamson

Fix hw/acpi.c build w/ DEBUG enabled

Trivial build warning/fixes when the local DEBUG define is enabled.

Signed-off-by: Alex Williamson <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

aff427a1 05/01/2009 05:47 pm Chris Wright

Pci nic: pci_register_device can fail

The pci_register_device() call in PCI nic initialization routines can
fail. Handle this failure and propagate a meaningful error message to
the user instead of generating a SEGV.

Cc: Marcelo Tosatti <>...

e6a6dfe4 05/01/2009 05:44 pm Anthony Liguori

Fix serial option with -drive

This is from the KVM tree.

Signed-off-by: Anthony Liguori <>

8563d5b3 05/01/2009 05:44 pm Gerd Hoffmann

vnc: kill leftover debug statement.

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

6f0437e8 05/01/2009 05:44 pm Jan Kiszka

kvm: Avoid COW if KVM MMU is asynchronous

Avi Kivity wrote:

Suggest wrapping in a function and hiding it deep inside kvm-all.c.

Done in v2:

---------->

If the KVM MMU is asynchronous (kernel does not support MMU_NOTIFIER),
we have to avoid COW for the guest memory. Otherwise we risk serious...

ffad4116 05/01/2009 05:44 pm Jan Kiszka

net: Fix -net socket parameter checks

My commit ea053add700d8abe203cd79a9ffb082aee4eabc0 broke -net socket by
overwriting an intermediate buffer in the added check_param. Fix this
by switching check_param to automatic buffer allocation and release, ie.
callers no longer have to worry about providing a scratch buffer....

9dd986cc 05/01/2009 05:44 pm Richard W.M. Jones

Hardware watchdog

Here is an updated hardware watchdog patch, which should fix
everything that was raised about the previous version ...

Signed-off-by: Richard W.M. Jones <>
Signed-off-by: Anthony Liguori <>

d9654a58 05/01/2009 05:44 pm Kevin Wolf

qemu-io: Optionally verify only part of read data

There are reasonable test cases where a read must span areas that are not
uniformly filled with one pattern but contains several parts. This makes -P
useless for them currently.

Introducing additional options which determine the part of the read data that...

8b91408b 05/01/2009 05:44 pm Christoph Hellwig

fix virtio_blk_inhdr comment

The inhdr is at the end of the S/G list, not the beginning.

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Anthony Liguori <>

49669fc5 05/01/2009 05:44 pm Glauber Costa

suport device driver initialization model

According to PnP specification, Appendix B, Option ROMs
that support DDIM (device driver initialization model) should
have their memory space writeable.

KVM deviates from us here, by removing the IO_MEM_ROM flag,...

704aec58 05/01/2009 05:44 pm Xiantao Zhang

Build fix for !CONFIG_GDBSTUB case

Once CONFIG_GDBSTUB not configured, compile will generate error.

Signed-off-by: Xiantao Zhang <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

0fc8e0ec 05/01/2009 05:44 pm Gerd Hoffmann

vnc: windup keypad keys for qemu console emulation

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

206ab6e0 05/01/2009 05:44 pm Jan Kiszka

net: Avoid gcc'ism in net_host_device_add

+ if (net_client_init(device, opts ? : "") < 0) {

Is this a gcc extension? Do we want to introduce this construct to the
code base.

Valid remark, fix below.

Thanks,
Jan

-------->

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

bee1b010 05/01/2009 05:44 pm Gerd Hoffmann

vnc: fix segfault

Move down cmp_bytes initialization. Must be after vga_hw_update()
call, because that one might change the screen depth.

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

451c4abd 05/01/2009 05:44 pm Mark McLoughlin

ppc: include cache-utils.o in BLOCK_OBJS

On ppc, cutils.o needs cache-utils.o or an undefined reference to
qemu_cache_conf results.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

1063b8b1 05/01/2009 05:44 pm Christoph Hellwig

virtio-blk: add SGI_IO passthru support

[had the qemu list address wrong the first time, reply to this message,
not the previous if you were on Cc]

Add support for SG_IO passthru (packet commands) to the virtio-blk
backend. Conceptually based on an older patch from Hannes Reinecke...

89ee676e 05/01/2009 05:44 pm Gerd Hoffmann

vnc: fix server surface pixel format.

Format must be identical to the guest surface, we can't work with
the 32 bpp used by the default surface allocator.

Without this patch vnc doesn't get the conversions right when sending
pixel data to the client. The bug triggers if...

24cf0a6e 05/01/2009 05:44 pm Gerd Hoffmann

vnc: no need to set force_update for incremental update requests.

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

e6f4afe0 05/01/2009 05:38 pm Jan Kiszka

kvm: Relax aligment check of kvm_set_phys_mem

There is no need to reject an unaligned memory region registration if
the region will be I/O memory and it will not split an existing KVM
slot. This fixes KVM support on PPC.

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

582af0da 05/01/2009 05:16 pm Paul Brook

Remove redundant cirrus vga ram functions.

Signed-off-by: Paul Brook <>

140f8f25 05/01/2009 10:31 am Consul

Remove redundant #define

Suppress a warning
audio/dsoundaudio.c:35:1: warning: "WIN32_LEAN_AND_MEAN" redefined
<command line>:4:1: warning: this is the location of the previous definition

Signed-off-by: Alex Ivanov <>

0b4e6e3e 04/30/2009 08:39 pm Paul Brook

Remove cpu_get_io_memory_{read,write}.

Signed-off-by: Paul Brook <>

1dcea8e8 04/30/2009 08:35 pm Paul Brook

Remove vga LFB accessor hacks.

These are redundant now that we remap the LFB ram area.

Signed-off-by: Paul Brook <>

0ecdb16e 04/29/2009 10:22 pm François Revol

gitignore qemu-options.texi

$subj

François.

Signed-off-by: François Revol <>

a7e21219 04/29/2009 09:38 pm Jan Kiszka

Fix qemu_event_init

Falling through to "fail" made qemu_event_init() close the pipe fds
immediately again, breaking timer event notification.

Signed-off-by: Jan Kiszka <>

2d3eb7bf 04/28/2009 09:07 pm Tristan Gingold

Fix powerpc 604 reset vector

According to 604eUM_book (see 8.3.3 Reset inputs p8-54), the IP bit is set
for hreset and the vector is at offset 0x100 from the exception prefix.

No difference in this area between 604 and 604e.

Signed-off-by: Tristan Gingold <>

fc1c67bc 04/28/2009 09:00 pm Blue Swirl

Fix PPC reset

efcfd0c5 04/28/2009 08:05 pm Blue Swirl

Silence missing pkg-config error messages

417728d8 04/28/2009 06:59 pm Igor Kovalenko

sparc64 fix context value for ITLB fault

Revert previous change to get_physical_address_code:
I/D MMU context register is shared, so using dmmuregs1 is correct

Signed-off-by: Igor V. Kovalenko <>

82f2cfc3 04/27/2009 10:14 pm Igor Kovalenko

sparc64 fix TLB match code

TLB match code must respect page size, otherwise 4M page mappings may
be not found.

Also correct a typo in get_physical_address_code which should use IMMU
registers.

Signed-off-by: Igor V. Kovalenko <>...

c0c440f3 04/27/2009 09:10 pm Blue Swirl

Synch to VGA

12c7e75a 04/27/2009 08:57 pm Avi Kivity

[RESEND] Fix vga segfaults or screen corruption with large memory guests

page0 and friends are ram addresses; a smaller size will overflow and
cause a segfault or random corruption.

Change them to ram_addr_t.

Signed-off-by: Avi Kivity <>

918a608b 04/27/2009 08:16 pm Jan Kiszka

build system: Silence failing configure tests

Signed-off-by: Jan Kiszka <>

8d316b00 04/27/2009 08:11 pm Robert Reif

fix net.c compile warning

Fix net.c compile warning:

CC net.o
net.c: In function net_slirp_redir:
net.c:623: warning: format not a string literal and no format arguments

Signed-off-by: Robert Reif <>

d877fa5a 04/25/2009 10:07 pm Blue Swirl

Recognize V9 stores and CAS accesses as writes

Signed-off-by: Blue Swirl <>

9c22a623 04/25/2009 07:28 pm Blue Swirl

Fix a warning in sparc64-linux-user build

48e77a36 04/25/2009 06:26 pm Blue Swirl

Merge branch 'master' of :/srv/git/qemu

697a77e6 04/25/2009 06:17 pm Igor Kovalenko

sparc64 support TSB related MMU registers

Posting updated patch to the list...

On Fri, Apr 24, 2009 at 9:42 PM, Blue Swirl <> wrote:
 >
 > Nice, though I didn't notice any visible improvement in my tests.

This early in boot process there is not much to output; and I test...

2fa73ec8 04/25/2009 04:51 pm Edgar E. Iglesias

CRIS: cris_mmu_result_t -> cris_mmu_result

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

ef28c4b0 04/25/2009 03:56 pm Blue Swirl

Fix Win32 warning

6fcfeff9 04/25/2009 11:00 am Blue Swirl

Fix compilation when x86_64 is defined

c433bedf 04/25/2009 10:31 am Blue Swirl

Fix warning

5606c220 04/25/2009 01:08 am Aurelien Jarno

block-vvfat: fix a warning

Signed-off-by: Aurelien Jarno <>

d6dc3d42 04/24/2009 09:04 pm aliguori

qemu: introduce iothread (Marcelo Tosatti)

Fill in the hooks and introduce iothread.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7248 c046a42c-6fe2-441c-8c8c-71466251a162

6e29f5da 04/24/2009 09:04 pm aliguori

qemu: handle stop request in main loop (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7247 c046a42c-6fe2-441c-8c8c-71466251a162

e6e35b1e 04/24/2009 09:03 pm aliguori

qemu: refactor tcg cpu execution loop (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7246 c046a42c-6fe2-441c-8c8c-71466251a162

e568902a 04/24/2009 09:03 pm aliguori

qemu: use debug_requested global instead of cpu_exec return (Marcelo Tosatti)

Necessary for the next refactoring patch.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7245 c046a42c-6fe2-441c-8c8c-71466251a162

4870852c 04/24/2009 09:03 pm aliguori

qemu: introduce lock/unlock_iothread (Marcelo Tosatti)

Hook to allow iothread to drop the global mutex.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7244 c046a42c-6fe2-441c-8c8c-71466251a162

8edac960 04/24/2009 09:03 pm aliguori

qemu: introduce qemu_cpu_kick (Marcelo Tosatti)

To notify cpu of pending interrupt.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7243 c046a42c-6fe2-441c-8c8c-71466251a162

0bf46a40 04/24/2009 09:03 pm aliguori

qemu: introduce qemu_init_vcpu (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7242 c046a42c-6fe2-441c-8c8c-71466251a162

43b96858 04/24/2009 09:03 pm aliguori

qemu: refactor main_loop (Marcelo Tosatti)

Break main loop into 3 main functions.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7241 c046a42c-6fe2-441c-8c8c-71466251a162