Statistics
| Branch: | Revision:

root @ 23b96cdb

# Date Author Comment
809680c0 01/20/2012 01:27 am Andreas Färber

prep: Fix offset of BIOS MemoryRegion

Since 0c90c52fab5ea92d7f12b29bfe26a7cd75d9efcb (ppc_prep: convert to memory
API) OHW was "Trying to execute code outside RAM or ROM at 0xfff00700".

The BIOS MemoryRegion is created with a fixed size of 1 MiB.
Ensure that the full size can be accessed since the exception...

48e93728 01/20/2012 01:27 am Andreas Färber

prep: Use ISA m48t59

This simplifies the code later when the i8259 moves to the i82378
PCI->ISA bridge and happens to fix a SysBus m48t59 io_base issue
introduced by commit 0fb56ffc5edd66f12ccfc0d71af5f9c79c0a2612 (m48t59:
drop obsolete address base arithmetic). Suggested by Hervé and Jan....

55526054 01/20/2012 01:27 am Andreas Färber

prep: qdev'ify Raven host bridge (PCIDevice)

Move initialization of vendor ID, etc. to PCIDeviceInfo.
Introduce VMState.

Signed-off-by: Andreas Färber <>
Reviewed-by: Alexander Graf <>
Cc: Hervé Poussineau <>...

9c95f183 01/20/2012 01:27 am Andreas Färber

prep_pci: Simplify I/O endianness

The prep PowerPC CPU is Big Endian. An explicit byte swap therefore
effectively becomes Little Endian.

Remove explicit byte swaps and mark as Little Endian.

Signed-off-by: Andreas Färber <>
Reviewed-by: Alexander Graf <>...

7e5610ff 01/20/2012 01:27 am Andreas Färber

prep_pci: Update I/O to MemoryRegion ops

Convert to new-style read/write callbacks.

Signed-off-by: Andreas Färber <>
Cc: Alexander Graf <>
Cc: Michael S. Tsirkin <>
Cc: Avi Kivity <>
Cc: Benoît Canet <>

8ca8c7bc 01/20/2012 01:27 am Andreas Färber

prep: qdev'ify Raven host bridge (SysBus)

Drop pci_prep_init() in favor of extended device state. Inspired by
patches from Hervé and Alex.

Assign the 4 IRQs from the board after device instantiation. This moves
the knowledge out of prep_pci and allows for future machines with...

1c75457f 01/20/2012 01:27 am Andreas Färber

MAINTAINERS: Add PCI host bridge files to PReP machine

Signed-off-by: Andreas Färber <>
Acked-by: Alexander Graf <>

23b96cdb 01/20/2012 01:27 am Andreas Färber

prep: Add i82374 DMA emulation

Prepare Intel 82374 emulation for use by Intel 82378 PCI->ISA bridge.

Signed-off-by: Hervé Poussineau <>

Confine to CONFIG_I82374. Add VMState.

Signed-off-by: Andreas Färber <>
Reviewed-by: Alexander Graf <>

51568923 01/19/2012 08:51 pm Anthony Liguori

Merge remote-tracking branch 'spice/spice.v47' into staging

  • spice/spice.v47:
    qxl: Slot sanity check in qxl_phys2virt() is off by one, fix
a75e6678 01/19/2012 05:23 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  • stefanha/trivial-patches:
    Makefile: Remove generated headers on clean
    Makefile: Exclude tests/Makefile in unconfigured tree
    lm32: Fix mixup of uint32 and uint32_t
    tests: Silence gtester in Makefile...
b48c0134 01/19/2012 05:23 pm Anthony Liguori

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

  • qmp/queue/qmp:
    block: use proper qerrors in qmp_block_resize
    qerror: restore alphabetical order over qerrors
    qerror: add check-qerror.sh to verify alphabetical order
    qmp: Add missing gcc format attribute and fix format string...
5414b325 01/19/2012 05:19 pm Anthony Liguori

Merge remote-tracking branch 'pmaydell/arm-devs.for-upstream' into staging

  • pmaydell/arm-devs.for-upstream:
    arm: make the number of GIC interrupts configurable
    hw/lan9118: Add save/load support
    arm: Remove incorrect comment in arm_timer
    vexpress, realview: Add (dummy) L2 cache controller
9ca2140a 01/19/2012 04:34 pm Anthony Liguori

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

  • kraxel/usb.37:
    usb-redir: Improve some debugging messages
    usb-redir: Try to keep our buffer size near the target size
    usb-redir: Pre-fill our isoc input buffer before sending pkts to the host...
dcfa4868 01/19/2012 10:19 am Andreas Färber

Makefile: Remove generated headers on clean

Running `make distclean' followed by a new out-of-tree build would fail
due to stale generated QMP headers in the tree.

Commit 611b727374ad76fb0078ea65bc1387194913980e (Makefile: remove more
generated files on clean) made sure generated sources are removed....

e454e2e2 01/19/2012 10:19 am Andreas Färber

Makefile: Exclude tests/Makefile in unconfigured tree

Since commit dbfe06c62ccedc5b64e1c6466445133dd50f6de1 (build:
split unit test builds to a separate makefile fragment),
in absence of config-host.mak an undefined $(SRC_PATH) breaks
`make distclean' due to /tests/Makefile not being include'able....

0f3c3cc9 01/19/2012 10:16 am Andreas Färber

lm32: Fix mixup of uint32 and uint32_t

Commit d23948b15a9920fb7f6374b55a6db1ecff81f3ee (lm32: add Milkymist
VGAFB support) introduced a stray usage of the softfloat uint32 type.

Use uint32_t instead.

Signed-off-by: Andreas Färber <>
Acked-by: Michael Walle <>...

3c941c61 01/19/2012 10:14 am Stefan Weil

tests: Silence gtester in Makefile

This prettifies make output a little by avoiding a very long line.
As gtester prints the checks when they are run, no information is lost.

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

49cb826e 01/19/2012 10:13 am Andreas Färber

qemu-tool: Fix mixup of int64 and int64_t

Commit cbcfa0418f0c196afa765f5c9837b9344d1adcf3 (link the main loop and
its dependencies into the tools) introduced stray usages of int64.

Use int64_t instead.

Signed-off-by: Andreas Färber <>
Cc: Paolo Bonzini <>...

92d48558 01/18/2012 02:23 pm Luiz Capitulino

block: eject_device(): Use error_set()

Also drops the leftover 'mon' argument.

This is a preparation for the next commits which will port the
eject and change commands to the QAPI.

Signed-off-by: Luiz Capitulino <>

c245b6a3 01/18/2012 02:23 pm Luiz Capitulino

qapi: Convert eject

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

7060b478 01/18/2012 02:23 pm Anthony Liguori

monitor: expose readline state

HMP is now implemented in terms of QMP. The monitor has a bunch of logic to
deal with HMP right now like readline support. Export it from the monitor so
we can consume it in hmp.c.

In short time, hmp.c will take over all of the readline bits....

270b243f 01/18/2012 02:23 pm Luiz Capitulino

qapi: Introduce change-vnc-password

New QMP command to change the VNC password.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

Signed-off-by: Luiz Capitulino <>

903a8814 01/18/2012 02:23 pm Luiz Capitulino

qerror: Extend QERR_DEVICE_ENCRYPTED

Include the name of the encrypted file.

Signed-off-by: Luiz Capitulino <>

333a96ec 01/18/2012 02:23 pm Luiz Capitulino

qapi: Convert change

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

80047da5 01/18/2012 02:23 pm Luiz Capitulino

qapi: Convert block_set_io_throttle

Signed-off-by: Luiz Capitulino <>

aba2107a 01/18/2012 02:23 pm Stefan Weil

qmp: Add missing gcc format attribute and fix format string

Signed-off-by: Stefan Weil <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Luiz Capitulino <>

9737383b 01/18/2012 02:23 pm Stefan Hajnoczi

qerror: add check-qerror.sh to verify alphabetical order

We're supposed to keep qerror definitions and table entries in
alphabetical order. In practice this is not checked.

I haven't found a nice way to integrate this into the makefile yet but
we can at least have this script which verifies that qerrors are in...

c1303596 01/18/2012 02:23 pm Stefan Hajnoczi

qerror: restore alphabetical order over qerrors

Over time these must have gotten out of order. Put everything back in
alphabetical order.

This is purely a clean up. In practice nothing depends on the order.

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

939a1cc3 01/18/2012 02:23 pm Stefan Hajnoczi

block: use proper qerrors in qmp_block_resize

Let's report specific errors so that management tools and users can
identify the problem.

Two new qerrors are needed: * QERR_DEVICE_HAS_NO_MEDIUM for ENOMEDIUM * QERR_DEVICE_IS_READ_ONLY for EACCES

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

a6aa9d3e 01/18/2012 02:23 pm Luiz Capitulino

vnc: Simplify vnc_display_password()

Drop the qerror_report() call from it and let its callers set the error
themselves. This also allows for dropping the 'ret' variable.

Signed-off-by: Luiz Capitulino <>

fbf796fd 01/18/2012 02:23 pm Luiz Capitulino

qapi: Convert set_password

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

9ad5372d 01/18/2012 02:23 pm Luiz Capitulino

qapi: Convert expire_password

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

6b7332eb 01/17/2012 05:30 pm Markus Armbruster

qxl: Slot sanity check in qxl_phys2virt() is off by one, fix

Spotted by Coverity.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Gerd Hoffmann <>

5a157588 01/17/2012 12:54 pm Peter Maydell

vexpress, realview: Add (dummy) L2 cache controller

Instantiate the L2 cache controller on the ARM devboards which have one,
since we have a dummy model of it now. Note that the only non-MP board
with an L2x0 is the PB1176, which we don't model.

Signed-off-by: Peter Maydell <>

100cf55f 01/17/2012 12:54 pm Mark Langsdorf

arm: Remove incorrect comment in arm_timer

The current comment says that the arm_timers are restricted to between
32 KHz and 1 MHz, but sp804 TRM does not specify those limits.

Signed-off-by: Mark Langsdorf <>
Reviewed-by: Andreas Färber <>...

b09da0c3 01/17/2012 12:54 pm Peter Maydell

hw/lan9118: Add save/load support

Implement save/load for the LAN9118.

Signed-off-by: Peter Maydell <>
Reviewed-by: Andreas Färber <>

a32134aa 01/17/2012 12:54 pm Mark Langsdorf

arm: make the number of GIC interrupts configurable

Increase the maximum number of GIC interrupts for a9mp and a11mp to 1020,
and create a configurable property for each defaulting to 96 and 64
(respectively) so that device modelers can set the value appropriately...

2bd836e5 01/17/2012 10:44 am Hans de Goede

usb-redir: Clear iso / irq error when stopping the stream

And ignore status messages from the client which arrive after stream
stop (the stream stop send to the client and an error status reported by
the client my cross each other due to network latency)....

e8a7dd29 01/17/2012 10:44 am Hans de Goede

usb-redir: Dynamically adjust iso buffering size based on ep interval

Note the bufpq_target_size id stored in the endpoint info struct,
even though it only used once. This is done because it will be
referenced from other code in a follow up patch.

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

e1537884 01/17/2012 10:44 am Hans de Goede

usb-redir: Pre-fill our isoc input buffer before sending pkts to the host

This is something which should have been done from the first version of
usb-redir, but wasn't.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

81fd7b74 01/17/2012 10:44 am Hans de Goede

usb-redir: Try to keep our buffer size near the target size

Before this patch we would allow the (iso) buffer to grow unlimited
(and it would under certain circumstances) leading to way too high
latencies for iso data streams.

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

32213543 01/17/2012 10:44 am Hans de Goede

usb-redir: Improve some debugging messages

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

d8e17efd 01/17/2012 10:44 am Gerd Hoffmann

usb: add USBEndpoint

Start maintaining endpoint state at USBDevice level. Add USBEndpoint
struct and some helper functions to deal with it. For now it contains
the endpoint type only. Moved over some bits from usb-linux.c

Signed-off-by: Gerd Hoffmann <>

82f02fe9 01/17/2012 10:44 am Gerd Hoffmann

usb: add ifnum to USBEndpoint

Signed-off-by: Gerd Hoffmann <>

83a53bbc 01/17/2012 10:44 am Gerd Hoffmann

usb-desc: USBEndpoint support

Initialize USBEndpoint structs from USBDesc* data.

Signed-off-by: Gerd Hoffmann <>

5b6780d0 01/17/2012 10:44 am Gerd Hoffmann

usb/debug: add usb_ep_dump

Add function to dump endpoint data, for debugging purposes.

Signed-off-by: Gerd Hoffmann <>

f003397c 01/17/2012 10:44 am Gerd Hoffmann

usb: add max_packet_size to USBEndpoint

Signed-off-by: Gerd Hoffmann <>

25d5de7d 01/17/2012 10:44 am Gerd Hoffmann

usb: link packets to endpoints not devices

Add USBEndpoint for the control endpoint to USBDevices. Link async
packets to the USBEndpoint instead of the USBDevice.

Signed-off-by: Gerd Hoffmann <>

62c6ae04 01/17/2012 10:44 am Hector Martin

xhci: Initial xHCI implementation

Based on the implementation from Hector Martin <>

Hectors's implementation completely sidestepped the qemu usb system and
used libusb directly for usb device pass through. So I've ripped out
the libusb bits (or left them in disabled, as reference for further...

8c4ec5c0 01/17/2012 03:14 am Andrzej Zaborowski

pxa2xx_keypad: fix unbalanced parenthesis.

Breakage introduced by me when ammending a previous patch, sorry.

078758d0 01/17/2012 03:08 am Evgeny Voevodin

hw/arm_boot.c: Make SMP boards specify address to poll in bootup loop

The secondary CPU bootloader in arm_boot.c holds secondary CPUs in a
pen until the primary CPU releases them. Make boards specify the
address to be polled to determine whether to leave the pen (it was...

ea0e6841 01/17/2012 03:08 am Evgeny Voevodin

hw/sysbus.h: Increase maximum number of device IRQs.

Samsung exynos4210 Interrupt Combiner needs 512 IRQ sources.

Signed-off-by: Evgeny Voevodin <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Andrzej Zaborowski <>

753a97c6 01/17/2012 02:48 am Vasily Khoruzhick

pxa2xx_keypad: make single automatic scans work

u-boot uses single automatic scans and polling in
pxa2xx_keypad driver, so clear KPC_AS bit immediately
and update keys state even if KPC_AS and KPC_ASACT are
cleared.

Signed-off-by: Vasily Khoruzhick <>...

7ab3aedf 01/17/2012 02:40 am Vasily Khoruzhick

pxa2xx_lcd: fix palette parser

Pallete entry size for 16bpp format is 2 bytes, not 4

Signed-off-by: Vasily Khoruzhick <>
Signed-off-by: Andrzej Zaborowski <>

41bd3603 01/15/2012 06:54 pm Jan Kiszka

seabios: Update to release 1.6.3.1

User visible changes in seabios:
- Probe HPET existence (fix for -no-hpet)
- Probe PCI existence (fix for -machine isapc)
- usb: fix boot paths

Signed-off-by: Jan Kiszka <>

ddcada78 01/15/2012 06:23 pm Jan Kiszka

isapc: Fix segfault during initialization

Obviously, linking the RTC device state to the PIIX does not belong into
the common path that is shared with the isapc.

Signed-off-by: Jan Kiszka <>

3fbffb62 01/15/2012 04:13 pm Avi Kivity

kvm: flush the dirty log when unregistering a slot

Otherwise, the dirty log information is lost in the kernel forever.

Fixes opensuse-12.1 boot screen, which changes the vga windows rapidly.

Signed-off-by: Avi Kivity <>

d3cb6e2b 01/13/2012 07:25 pm Peter Maydell

target-arm: Fix errors in decode of M profile CPS

Fix errors in the decode of M profile CPS: * the decode of the I (affects PRIMASK) and F (affects FAULTMASK)
bits was reversed * the FAULTMASK system register number is 19, not 17

This fixes an issue reported as LP:913925....

2be27624 01/13/2012 07:25 pm Rob Herring

arm: Add dummy support for co-processor 15's secure config register

Signed-off-by: Rob Herring <>
Signed-off-by: Mark Langsdorf <>
Signed-off-by: Peter Maydell <>

6b620ca3 01/13/2012 06:55 pm Paolo Bonzini

prepare for future GPLv2+ relicensing

All files under GPLv2 will get GPLv2+ changes starting tomorrow.
event_notifier.c and exec-obsolete.h were only ever touched by Red Hat
employees and can be relicensed now.

Signed-off-by: Paolo Bonzini <>...

a87f3e8b 01/13/2012 06:21 pm Amit Shah

qdev: Add a 'free' method to disassociate chardev from qdev device

When a device is removed, remove the association with a chardev, if any,
so that the chardev can be re-used later for other devices.

Reported-by: Qunfang Zhang <>
Fix-suggested-by: Markus Armbruster <>...

a10348c3 01/13/2012 06:21 pm Amit Shah

virtio-console: no need to remove char handlers explicitly

qdev is now equipped (thanks to the last commit) to disassociate
chardevs from the qdev devices on the devices going away. So doing it
in the virtio-console driver is not necessary.

Since that was the only thing being done in the qdev exit method, drop...

86003615 01/13/2012 06:21 pm Paolo Bonzini

vectorize is_dup_page

is_dup_page is already proceeding in 32-bit chunks. Changing it
to 16 bytes using Altivec or SSE is easy.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

701a8f76 01/13/2012 06:20 pm Paolo Bonzini

vmstate: extract declarations out of hw/hw.h

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

1ba1f2e3 01/13/2012 06:20 pm Paolo Bonzini

virtio-blk: refuse SG_IO requests with scsi=off

QEMU does have a "scsi" option (to be used like -device
virtio-blk-pci,drive=foo,scsi=off). However, it only
masks the feature bit, and does not reject the command
if a malicious guest disregards the feature bits and...

fbc15e27 01/13/2012 06:20 pm Paolo Bonzini

rtc: clear non-PF bits when reinjecting on ack

When an rtc interrupt is reinjected immediately after being acked,
other interrupts should not be reinjected, so do clear their bits.

Also, if the periodic interrupts have been disabled before acking,
do not reinject, as the guest might get very confused!...

49d4d9b6 01/13/2012 06:20 pm Paolo Bonzini

ptimer: move declarations to ptimer.h

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

024a6fbd 01/13/2012 06:20 pm Anthony Liguori

qdev: fix device_del by refactoring reference counting

Commit 8eb0283 broken device_del by having too overzealous reference counting
checks. Move the reference count checks to qdev_free(), make sure to remove
the parent link on free, and decrement the reference count on property removal....

3b89eb43 01/13/2012 06:20 pm Paolo Bonzini

rtc: fix 12-hour mode

Hours in 12-hour mode are in the 1-12 range, not 0-11.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

eea86673 01/13/2012 06:20 pm Paolo Bonzini

rtc: raise AF bit when the alarm is encountered but AIE=0

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

663447d4 01/13/2012 06:20 pm Paolo Bonzini

rtc: raise PF bit when the periodic timer triggers but PIE=0

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

607a2c72 01/13/2012 06:17 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into HEAD

  • stefanha/trivial-patches:
    bt-host: add missing break statement
    virtfs-proxy-helper: Add missing printf format attribute
    virtfs-proxy-helper: Clean include files
    virtfs-proxy-helper: Fix compilation on newer systems...
20f8bd48 01/13/2012 05:01 pm Aurelien Jarno

target-i386: fix compilation with --enable-debug-tcg

Commit 2355c16e74ffa4d14e7fc2b4a23b055565ac0221 introduced a new ldmxcsr
helper taking an i32 argument, but the helper is actually passed a long.
Fix that by truncating the long to i32.

Signed-off-by: Aurelien Jarno <>

f46cee37 01/13/2012 12:37 pm Stefan Berger

hmp: Fix freeing of PciInfoList

Remember the original PciInfoList in info_list and use
the info variable to traverse the list.

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

822b635d 01/13/2012 12:37 pm Stefan Weil

virtfs-proxy-helper: Fix compilation on newer systems

Include file attr/xattr.h is not available on "newer" systems
(for example Fedora 12 or Debian Squeeze).

See comments in qemu-xattr.h for more information.
This file handles the system dependencies automatically....

e7e4a6cc 01/13/2012 12:37 pm Stefan Weil

virtfs-proxy-helper: Clean include files

The common standard include files are already included via qemu-common.h,
and for the socket related include files there is qemu_socket.h, so the
code can be reduced by some lines.

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

c5c7d3f0 01/13/2012 12:37 pm Stefan Weil

virtfs-proxy-helper: Add missing printf format attribute

Every function with printf like arguments must have it
(see file HACKING), so add it.

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

f7253270 01/13/2012 12:37 pm Stefan Hajnoczi

bt-host: add missing break statement

The switch statement in bt_host_read() is missing a break in one case.
Andrzej Zaborowski <> confirmed that this is
not an intentional fall-through.

Reviewed-by: Stefan Weil <>...

bd947d30 01/13/2012 12:36 pm Stefan Weil

configure: Modify detection of supported warning options

Reversing the order of the warning options and -Werror is important
when clang is used instead of gcc. It changes nothing for gcc.

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

5c84bd90 01/13/2012 12:36 pm Aurelien Jarno

tcg-arm: fix a typo in comments

ARM still doesn't support 16GB buffers in 32-bit modes, replace the
16GB by 16MB in the comment.

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>
Signed-off-by: Stefan Hajnoczi <>

dabdf394 01/13/2012 12:36 pm Stefan Weil

Spelling fixes in comments and documentation

Codespell detected these new spelling issues.

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

8d987346 01/13/2012 12:36 pm Stefan Hajnoczi

vvfat: avoid leaking file descriptor in commit_one_file()

Reported-by: Dr David Alan Gilbert <>
Signed-off-by: Stefan Hajnoczi <>

cee8e6ad 01/13/2012 12:36 pm Stefan Hajnoczi

vnc: fix no-lock-key-sync strncmp() length

The no-lock-key-sync option is being parsed incorrectly because of an
outdated strcmp() length value. Use the correct length so that invalid
option names do not match.

Reported-by: Dr David Alan Gilbert <>...

3c8359d1 01/13/2012 12:36 pm Stefan Hajnoczi

omap_dss: correct chip1 index in RFBI_READ/RFBI_STATUS

The RFBI_READ/RFBI_STATUS code incorrectly uses chip0 when it should
be using chip1. Andrzej Zaborowski <> confirmed this
bug since I don't know this code well.

Reported-by: Dr David Alan Gilbert <>...

0b0404bf 01/13/2012 12:36 pm Stefan Weil

Add 'fall through' comments to case statements without break

These comments are used by static code analysis tools and in code reviews
to avoid false warnings because of missing break statements.

The case statements handled here were reported by coverity....

bee5a5fb 01/13/2012 12:09 pm Edgar E. Iglesias

cris: Update paths to match the move of tests/cris

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

097db438 01/13/2012 11:25 am Gerd Hoffmann

usb-host: rip out legacy procfs support

This patch removes support for parsing /proc/bus/usb/devices for device
discovery. The code lacks a few features compared to the sysfs code and
is also bitrotting as everybody has sysfs these days.

This implies having sysfs mounted is mandatory now to use the usb-host...

65360511 01/13/2012 11:25 am Gerd Hoffmann

usb: track configuration and interface count in USBDevice.

Move fields from USBHostDevice to USBDevice.
Add bits to usb-desc.c to fill them for emulated devices too.
Also allow to set configuration 0 (== None) for emulated devices.

Signed-off-by: Gerd Hoffmann <>

1de14d43 01/13/2012 11:25 am Gerd Hoffmann

usb: track altsetting in USBDevice

Also handle {GET,SET}_INTERFACE in common code (usb-desc.c).

Signed-off-by: Gerd Hoffmann <>

cc5f1395 01/13/2012 11:25 am Gerd Hoffmann

usb-desc: audio endpoint support

Add support for audio endpoints which have two more fields in the
descriptor. Also add support for extra class specific endpoint
descriptors.

Signed-off-by: Gerd Hoffmann <>

b870472d 01/13/2012 11:25 am H. Peter Anvin

usb: add audio device model

This brings a usb audio device to qemu. Output only, fixed at
16bit stereo @ 480000 Hz. Based on a patch from
H. Peter Anvin <>

Usage: add '-device usb-audio' to your qemu command line.

Works sorta ok on a idle machine. Known issues:...

515aa3c5 01/12/2012 07:33 pm Anthony Liguori

check-qstring: remove check.h include

Reported-by: Peter Maydell <>
Signed-off-by: Anthony Liguori <>

a7d64ddb 01/12/2012 06:34 pm Lai Jiangshan

cleanup, Remove duplicated code

These two blocks of code are exactly the same, remove one.

Signed-off-by: Lai Jiangshan <>
Signed-off-by: Lai Jiangshan <>
Signed-off-by: Anthony Liguori <>

4aa7534d 01/12/2012 06:34 pm Lai Jiangshan

cleanup, save a syscall

Signed-off-by: Lai Jiangshan <>
Signed-off-by: Anthony Liguori <>

0e0e7fac 01/12/2012 06:34 pm Benjamin

Support for UDP unicast network backend

Signed-off-by: Benjamin MARSILI <>
Signed-off-by: Anthony Liguori <>

92af0bfd 01/12/2012 06:34 pm Stefan Hajnoczi

MAINTAINERS: update tracing repo git URL

I have moved git hosting services.

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

ad65aa88 01/12/2012 06:34 pm Anthony Liguori

test: eliminate libcheck tests and have make check use gtester

Signed-off-by: Anthony Liguori <>

91479dd0 01/12/2012 06:05 pm Anthony Liguori

check-qlist: convert to gtest

Signed-off-by: Anthony Liguori <>

ef76dc59 01/12/2012 06:05 pm Anthony Liguori

check-qjson: convert to gtest

Signed-off-by: Anthony Liguori <>

38273e1d 01/12/2012 06:05 pm Anthony Liguori

check-qjson: enable disabled tests

gtest does the right thing here so there's no need to comment these tests out.

Signed-off-by: Anthony Liguori <>