Statistics
| Branch: | Revision:

root @ 5844997a

# Date Author Comment
24b856ca 06/12/2011 10:33 am Isaku Yamahata

hw/wdt_i6300esb.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

3ec39b2d 06/12/2011 10:33 am Isaku Yamahata

hw/xio3130_downstream.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

5844997a 06/12/2011 10:33 am Isaku Yamahata

hw/xio3130_upstream.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

d7b61ecc 06/12/2011 10:33 am Isaku Yamahata

hw/unin_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

a8eae585 06/12/2011 10:33 am Isaku Yamahata

hw/usb-ohci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

56fe6408 06/12/2011 10:33 am Isaku Yamahata

hw/versatile_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

32902772 06/12/2011 10:33 am Isaku Yamahata

hw/vga-pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

1cf0d2b8 06/12/2011 10:33 am Isaku Yamahata

hw/vt82c686.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

d7dccd11 06/12/2011 10:33 am Isaku Yamahata

hw/pcnet-pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

146beee5 06/12/2011 10:33 am Isaku Yamahata

hw/piix4.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

3a9d8549 06/12/2011 10:33 am Isaku Yamahata

hw/piix_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

96c05abc 06/12/2011 10:33 am Isaku Yamahata

hw/qxl.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

7cba16a7 06/12/2011 10:33 am Isaku Yamahata

hw/rtl8139.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

ae2ebad7 06/12/2011 10:33 am Isaku Yamahata

hw/sh_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

e8b36ba9 06/12/2011 10:33 am Isaku Yamahata

hw/sun4u.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

c04ca075 06/12/2011 10:33 am Isaku Yamahata

hw/ide/cmd646.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

03f1c143 06/12/2011 10:33 am Isaku Yamahata

hw/ide/ich.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

65ff544b 06/12/2011 10:33 am Isaku Yamahata

hw/ide/via.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

d15fda63 06/12/2011 10:33 am Isaku Yamahata

hw/intel-hda.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

3d0b1e70 06/12/2011 10:33 am Isaku Yamahata

hw/ioh3420.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

7aff0f21 06/12/2011 10:33 am Isaku Yamahata

hw/ivshmem.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

af5374aa 06/12/2011 10:33 am Isaku Yamahata

hw/lsi53c895a.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

18f1c729 06/12/2011 10:33 am Isaku Yamahata

hw/ne2000.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

580b7295 06/12/2011 10:33 am Isaku Yamahata

hw/acpi_piix4.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

51387f86 06/12/2011 10:33 am Isaku Yamahata

hw/bonito.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

5b96d8f9 06/12/2011 10:33 am Isaku Yamahata

hw/cirrus_vga.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

e72d5c9d 06/12/2011 10:33 am Isaku Yamahata

hw/e1000.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

0b8c537f 06/12/2011 10:33 am Isaku Yamahata

hw/es1370.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

a614f52d 06/12/2011 10:33 am Isaku Yamahata

hw/grackle_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

231f5f43 06/12/2011 10:33 am Isaku Yamahata

hw/gt64xxx.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

e7b9bc3e 06/12/2011 10:33 am Isaku Yamahata

dec_pci: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

92f9a4f1 06/12/2011 10:33 am Isaku Yamahata

apb_pci: convert to PCIDeviceInfo to initialize ids

Use PCIDeviceInfo to initialize ids.

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

25f8e2f5 06/12/2011 10:33 am Isaku Yamahata

ide/piix: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

310faaed 06/12/2011 10:33 am Isaku Yamahata

vmware_vga.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

0647b949 06/12/2011 10:33 am Isaku Yamahata

hw/ac97.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

113f89df 06/12/2011 10:33 am Isaku Yamahata

pci: move ids of config space into PCIDeviceInfo

vender id/device id... in configuration space are read-only registers
which are commonly defined for all pci devices.
So move those initialization into common place.

Signed-off-by: Isaku Yamahata <>...

dc638fad 06/12/2011 10:33 am Isaku Yamahata

usb-uhci: convert to PCIDEviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

ad03502b 06/12/2011 10:33 am Isaku Yamahata

eepro100: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

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

2173a75f 06/12/2011 10:33 am Alex Williamson

CPUPhysMemoryClient: batch addresses in catchup

When a phys memory client registers and we play catchup by walking
the page tables, we can make a huge improvement in the number of
times the set_memory callback is called by batching contiguous
pages together. With a 4G guest, this reduces the number of callbacks...

69c8944f 05/16/2011 02:23 pm Michael S. Tsirkin

ich/ahci: fix uninitialized memory use

The commit 667bb59d2358daeef179583c944becba3f1f9680
uses d->ahci.mem before it is initialized by
ahci_init(). Fix this by calling ahci_init() first thing
so that it's safe to use all fields in the ahci state struct....

5300f1a5 05/05/2011 04:39 pm Michael S. Tsirkin

Merge remote branch 'origin/master' into pci

Conflicts:
exec.c

8d4c78e7 05/05/2011 04:23 pm Alex Williamson

CPUPhysMemoryClient: Pass guest physical address not region offset

When we're trying to get a newly registered phys memory client updated
with the current page mappings, we end up passing the region offset
(a ram_addr_t) as the start address rather than the actual guest...

c2f42bf0 05/05/2011 04:21 pm Alex Williamson

CPUPhysMemoryClient: Fix typo in phys memory client registration

When we register a physical memory client, we try to walk the page
tables, calling the set_memory hook for every entry. Effectively
playing catchup for the client for everything already registered....

602ef4d9 05/05/2011 04:11 pm Jan Kiszka

pci: Add class 0x403 as 'audio controller'

Used by HD audio controllers like our intel-hda.

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

45fe15c2 05/05/2011 04:10 pm Jan Kiszka

MSI: Robust resource release

msi_init may fail, so we need to check on uninit if the cap was
actually installed. This also avoids that the users need to check.

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

27a05006 05/05/2011 04:05 pm Stefan Weil

eepro100: Support byte/word writes to pointer register

pointer is a 32 bit register, but may be written using 8 or 16 bit writes.
Add support for byte/word writes.

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

0113f48d 05/05/2011 04:05 pm Stefan Weil

eepro100: Support byte/word read/write access to MDI control register

MDI control is a 32 bit register, but may be read or written using
8 or 16 bit access. Data is latched when the MSB is written.

Add support for byte/word read/write access.

Signed-off-by: Stefan Weil <>...

a39bd017 05/05/2011 04:05 pm Stefan Weil

eepro100: Support byte read access to general control register

The general control register is a byte register.
Add support for byte reads.

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

072476ea 05/05/2011 04:05 pm Stefan Weil

eepro100: Support 32 bit read/write access to flash register

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

e5e23ab8 05/05/2011 04:05 pm Stefan Weil

eepro100: Fix endianness issues

Like other Intel devices, e100 (eepro100) uses little endian byte order.

This patch was tested with these combinations:

i386 host, i386 + mipsel guests (le-le)
mipsel host, i386 guest (le-le)
i386 host, mips + ppc guests (le-be)...

3fd3d0b4 05/05/2011 04:05 pm Stefan Weil

eepro100: Support byte/word writes to port address

port is a 32 bit register, but may be written using 8 or 16 bit writes.
Add support for byte/word writes.

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

792f1d63 05/05/2011 04:04 pm Stefan Weil

eepro100: Pad received short frames

QEMU sends frames smaller than 60 bytes to ethernet nics.
Such frames are rejected by real NICs and their emulations.
To avoid this behaviour, other NIC emulations pad received
frames. This patch enables this workaround for eepro100, too....

27112f18 05/05/2011 03:50 pm Stefan Weil

eepro100: Remove unused structure element

cppcheck reports that 'packet' is unused.

It was only used to calculate the size of the preceding data.
Removing it saves a lot of stack space (local variable rx).

Signed-off-by: Stefan Weil <>...

77bee84e 05/05/2011 03:50 pm Stefan Weil

eepro100: Remove type casts which are no longer needed

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

1b4f97d6 05/05/2011 03:49 pm Stefan Weil

eepro100: Avoid duplicate debug messages

When DEBUG_EEPRO100 was enabled, unsupported writes were logged twice.
Now logging in eepro100_write1 and eepro100_write2 is similar to the
logging in eepro100_write4 (which already was correct).

Signed-off-by: Stefan Weil <>...

e80fec7f 05/03/2011 12:29 pm Kevin Wolf

qemu-img resize: Fix option parsing

For shrinking images, you're supposed to use a negative size. However, the
leading minus makes getopt think that it's an option and so you get the help
text if you don't use -- like in 'qemu-img resize test.img -- -1G'....

a7acf552 05/03/2011 12:29 pm Amit Shah

atapi: Move comment to proper place

Move misplaced comment for media_is_dvd()

Signed-off-by: Amit Shah <>
Signed-off-by: Kevin Wolf <>

4a737d14 05/03/2011 12:29 pm Amit Shah

atapi: Explain why we need a 'media not present' state

After the re-org of the atapi code, it might not be intuitive for a
reader of the code to understand why we're inserting a 'media not
present' state between cd changes.

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

ab719827 05/03/2011 12:29 pm Alon Levy

ide/atapi: fix set but unused

Signed-off-by: Alon Levy <>
Acked-by: Stefan Weil <>
Signed-off-by: Kevin Wolf <>

2ab3cb8c 05/03/2011 12:29 pm Jes Sorensen

qemu-progress.c: printf isn't signal safe

Change the signal handling to indicate a signal is pending, rather
then printing directly from the signal handler.

In addition make the signal prints go to stderr, rather than stdout.

Signed-off-by: Jes Sorensen <>...

d2d979c6 05/03/2011 12:29 pm Nick Thomas

NBD: Avoid leaking a couple of strings when the NBD device is closed

Signed-off-by: Nick Thomas <>
Signed-off-by: Kevin Wolf <>

ecbe1de8 05/03/2011 11:48 am Michael Walle

lm32: fix exception handling

Global interrupt enable bit is already saved within the exception handler
helper routine. Thus remove extra code in translation routines.

Additionally, debug exceptions has always DEBA as base address.

Signed-off-by: Michael Walle <>...

c07050dd 05/03/2011 11:48 am Michael Walle

milkymist-vgafb: fix console resizing

After enabling the framebuffer, ensure that the console is resized.

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

f3172a0e 05/03/2011 11:48 am Michael Walle

milkymist-sysctl: fix timers

Prevent timers from firing right after starting.

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

57aa265d 05/03/2011 11:48 am Michael Walle

lm32: add Milkymist Minimac2 support

This patch adds support for Milkymist's minimal Ethernet MAC v2. It
superseds minimac1.

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

4a043713 05/02/2011 03:51 pm Paolo Bonzini

kvm: use qemu_free consistently

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Marcelo Tosatti <>

e41e0fc6 05/02/2011 03:38 pm Jan Kiszka

x86: Allow multiple cpu feature matches of lookup_feature

kvmclock is represented by two feature bits. Therefore, lookup_feature
needs to continue its search even after the first match. Enhance it
accordingly and switch to a bool return type at this chance....

642258c6 05/02/2011 03:38 pm Glauber Costa

kvm: add kvmclock to its second bit

We have two bits that can represent kvmclock in cpuid.
They signal the guest which msr set to use. When we tweak flags
involving this value - specially when we use "-", we have to act on both.

Signed-off-by: Glauber Costa <>...

450fb75c 05/02/2011 03:38 pm Glauber Costa

kvm: create kvmclock when one of the flags are present

kvmclock presence can be signalled by two different flags. So for
device creation, we have to test for both.

Signed-off-by: Glauber Costa <>
Signed-off-by: Avi Kivity <>

97ffbd8d 05/02/2011 03:38 pm Jan Kiszka

Break up user and system cpu_interrupt implementations

Both have only two lines in common, and we will convert the system
service into a callback which is of no use for user mode operation.

Signed-off-by: Jan Kiszka <>
CC: Riku Voipio <>...

ec6959d0 05/02/2011 03:38 pm Jan Kiszka

Redirect cpu_interrupt to callback handler

This allows to override the interrupt handling of QEMU in system mode.
KVM will make use of it to set a specialized handler.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Marcelo Tosatti <>

aa7f74d1 05/02/2011 03:38 pm Jan Kiszka

kvm: Install specialized interrupt handler

KVM only requires to set the raised IRQ in CPUState and to kick the
receiving vcpu if it is remote. Installing a specialized handler allows
potential future changes to the TCG code path without risking KVM side
effects....

51b0c606 05/02/2011 03:38 pm Michael Tokarev

fix crash in migration, 32-bit userspace on 64-bit host

This change fixes a long-standing immediate crash (memory corruption
and abort in glibc malloc code) in migration on 32bits.

The bug is present since this commit:

commit 692d9aca97b865b0f7903565274a52606910f129...
0c31b744 05/02/2011 02:24 pm Glauber Costa

kvm: use kernel-provided para_features instead of statically coming up with new capabilities

Use the features provided by KVM_GET_SUPPORTED_CPUID directly to
mask out features from guest-visible cpuid.

The old get_para_features() mechanism is kept for older kernels that do not implement it....

6f11f013 05/02/2011 10:00 am Stefan Weil

linux-user: Fix compilation for "old" linux versions

Debian Lenny and other installations with older linux versions
failed to compile linux-user because some CLONE_xxx macros are
undefined.

Signed-off-by: Stefan Weil <>
Signed-off-by: Riku Voipio <>

e95d3bf0 05/02/2011 10:00 am Mike McCormack

Fix buffer overrun in sched_getaffinity

Zeroing of the cpu array should start from &cpus[kernel_ret]
not &cpus[num_zeros_to_fill].

This fixes a crash in EFL's edje_cc running under qemu-arm.

Signed-off-by: Mike McCormack <>
Reviewed-by: Stefan Hajnoczi <>...

cd18f05e 05/02/2011 10:00 am Mike McCormack

Don't zero out buffer in sched_getaffinity

The kernel doesn't fill the buffer provided to sched_getaffinity
with zero bytes, so neither should QEMU.

Signed-off-by: Mike McCormack <>
Reviewed-by: Stefan Hajnoczi <>...

08ab2ccb 04/29/2011 11:01 pm Blue Swirl

Merge branch 'patches' of git://qemu.weilnetz.de/git/qemu

  • 'patches' of git://qemu.weilnetz.de/git/qemu:
    qemu-timer: Fix timers for w32
    qemu-timer: Avoid type casts
    qemu-timer: Remove unneeded include statement (w32)
    qemu-timer: Add and use new function qemu_timer_expired_ns
642cfd4d 04/28/2011 08:40 pm Anthony Liguori

virtfs: fix build due from rename

The latest virtfs pull broke the cris-softmmu target.

Signed-off-by: Anthony Liguori <>

71ef18e1 04/28/2011 04:37 pm Anthony Liguori

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

e77976a2 04/28/2011 04:25 pm Anthony Liguori

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

5c1c9bb2 04/28/2011 10:05 am Alexey Kardashevskiy

virtio-serial: Fix endianness bug in the config space

The virtio serial specification requres that the values in the config
space are encoded in native endian of the guest.

The qemu virtio-serial code did not do conversion to the guest endian
format what caused problems when host and guest use different format....

da7d998b 04/28/2011 08:41 am Amit Shah

char: Detect chardev release by NULL handlers as well as NULL opaque

Juan says he prefers these extra checks to ensure a user of a chardev is
releasing it.

Requested-by: Juan Quintela <>
Signed-off-by: Amit Shah <>

d5b27167 04/28/2011 08:33 am Kusanagi Kouichi

char: Allow devices to use a single multiplexed chardev.

This fixes regression caused by commit
2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6
("char: Prevent multiple devices opening same chardev"):

-nodefaults -nographic -chardev stdio,id=stdio,mux=on,signal=off \...

cd8f7df2 04/28/2011 08:32 am Hans de Goede

spice-chardev: listen to frontend guest open / close

Note the vmc_register_interface() in spice_chr_write is left in place
in case someone uses spice-chardev with a frontend which does not have
guest open / close notification.

Signed-off-by: Hans de Goede <>...

0b6d2266 04/28/2011 08:32 am Hans de Goede

virtio-console: notify backend of guest open / close

Signed-off-by: Hans de Goede <>
Reviewed-by: Alon Levy <>
Signed-off-by: Amit Shah <>

7c32c4fe 04/28/2011 08:32 am Hans de Goede

chardev: Allow frontends to notify backends of guest open / close

Some frontends know when the guest has opened the "channel" and is actively
listening to it, for example virtio-serial. This patch adds 2 new qemu-chardev
functions which can be used by frontends to signal guest open / close, and...

a7d3970d 04/27/2011 09:14 pm Peter Maydell

target-arm: Don't update base register on abort in Thumb T1 LDM

Make sure the base register isn't updated if it is in the load list
for a Thumb LDM (T1 encoding) which aborts partway through the load.

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

5856d44e 04/27/2011 09:13 pm YuYeon Oh

target-arm: fix LDMIA bug on page boundary
target-arm: fix LDMIA bug on page boundary

When consecutive memory locations are on page boundary, a base register may be
loaded before page fault occurs. After page fault handling, it losts the memory
location information. To solve this problem, loading a base register has to put back....

47f7be39 04/27/2011 09:04 pm Jan Kiszka

ioapic: Do not set irr for masked edge IRQs

So far we set IRR for edge IRQs even if the pin is masked. If the guest
later on unmasks and switches the pin to level-triggered mode, irr will
remain set, causing an IRQ storm. The point is that setting IRR is not...

e14ea479 04/27/2011 06:31 pm Stefan Hajnoczi

vl.c: Replace -virtfs string manipulation with QemuOpts

The -virtfs option creates an fsdev representing the pass-through file
system and a guest-visible virtio-9p-pci device that can access this
file system. This patch replaces the string manipulation used to build...

4f8dee2d 04/27/2011 06:27 pm Harsh Prateek Bora

v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

The nwnames field in TWALK message is assumed to be >=0 and <= MAXWELEM
which is defined as macro P9_MAXWELEM (16) in virtio-9p.h as per 9p2000
RFC. Appropriate changes are required in V9fsWalkState and v9fs_walk....

f35bde2f 04/27/2011 06:27 pm Harsh Prateek Bora

hw/virtio-9p-local.c: Remove unnecessary null char in symlink file

This patch removes the addition of null char in symlink file
which is being appended to file in case of mapped security model.
Without this patch, the extra null char causes LTP testcase lstat03...

1d810aeb 04/27/2011 06:26 pm M. Mohan Kumar

virtio-9p: Bugfix to send correct iounit

LCREATE function packs address of iounit in the pdu, fix that to send
actual iounit itself.

Signed-off-by: M. Mohan Kumar <>
Acked-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

a0994761 04/27/2011 06:26 pm Aneesh Kumar K.V

virtio-9p: removexattr on default acl should return 0

If we don't have default acl, removexattr on default acl
should return 0

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

39792515 04/27/2011 06:25 pm Aneesh Kumar K.V

virtio-9p: Print the pdu details on return

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

353ac78d 04/27/2011 06:24 pm Aneesh Kumar K.V

virtio-9p: move 9p files around

Now that we start adding more files related to 9pfs
it make sense to move them to a separate directory

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

661bfc80 04/27/2011 05:31 pm Jan Kiszka

pflash: Restore & fix lazy ROMD switching

Commit 5145b3d1cc revealed a bug in the lazy ROMD switch-back logic, but
resolved it by breaking that feature. This approach addresses the issue
by switching back to ROMD after a certain amount of read accesses
without further unlock sequences....

70afb8ff 04/27/2011 05:28 pm Stefan Weil

darwin-user: Remove unneeded null pointer check

cppcheck reports this error:

commpage.c:223: error: Possible null pointer dereference:
value - otherwise it is redundant to check if value is null at line 214

The null pointer check in line 214 is indeed not needed....

aa348082 04/27/2011 05:26 pm Aurelien Jarno

Merge branch 'for-anthony' of git://repo.or.cz/qemu/kevin

  • 'for-anthony' of git://repo.or.cz/qemu/kevin:
    Remove obsolete 'enabled' variable from progress state
    Add dd-style SIGUSR1 progress reporting
    qed: Fix consistency check on 32-bit hosts
    ide/atapi: Introduce CHECK_READY flag for commands...