Statistics
| Branch: | Revision:

root / hw @ 28e77964

# Date Author Comment
28e77964 08/25/2011 10:56 am Avi Kivity

sysbus: add sysbus_add_memory_overlap()

Signed-off-by: Avi Kivity <>

5461eb21 08/25/2011 10:56 am Avi Kivity

axis_dev88: convert to memory API (RAM only)

Reviewed-by: Richard Henderson <>
Acked-by: Edgar E. Iglesias <>
Signed-off-by: Avi Kivity <>

fbe15adf 08/24/2011 08:17 pm Avi Kivity

armv7m: convert to memory API

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

4c390a1d 08/24/2011 08:17 pm Avi Kivity

an5206: convert to memory API

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

d2c33733 08/24/2011 08:17 pm Avi Kivity

pci_host: convert conf index and data ports to memory API

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

be35694d 08/24/2011 08:17 pm Avi Kivity

sysbus: add helpers to add and delete memory regions to the system bus

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

58160baf 08/24/2011 08:17 pm Avi Kivity

stellaris_enet: convert to memory API

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

710ffe60 08/23/2011 10:51 pm Peter Maydell

hw/omap_gpmc: Don't try to map CS0 twice on reset

Remove a spurious second map of the OMAP GPMC CS0 region on reset.
This fixes an assertion failure when we try to add the region to
its container when it was already added. (The old code did not
complain about mismatched map/unmap calls, but the new MemoryRegion...

0d877c66 08/23/2011 12:29 am Peter A. G. Crosthwaite

xilinx.h: Added missing includes

Added some missing #includes for this file. Previously this file
relied on its clients to pre-include its dependencies.

Signed-off-by: Peter A. G. Crosthwaite <>
Signed-off-by: Edgar E. Iglesias <>

b861b741 08/23/2011 12:29 am Peter A. G. Crosthwaite

xilinx: removed microbalze_pic_init from xilinx.h

This is a microblaze target specific function that belongs outside
of xilinx.h (which is a collection of target independent device model
instantiator functions)

Signed-off-by: Peter A. G. Crosthwaite <>...

1f6f408c 08/22/2011 10:37 pm Jan Kiszka

target-i386: Remove unused polarity arguments from APIC API

Polarity of external interrupts needs to be handled in the IOAPIC.
Passing it to the APIC is pointless. So remove all these arguments.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

0035e509 08/22/2011 10:37 pm Jan Kiszka

ioapic: Implement polarity

If the polarity bit is set in the redirection table, the input level
simply has to inverted as it is low active in this case.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

8a9501ba 08/22/2011 10:37 pm Jan Kiszka

vmware-vga: Register reset service

Fixes cold reset in vmware graphic modes. We need to split up the reset
function for this purpose, breaking out init-once bits.

Cc: Andrzej Zaborowski <>
Signed-off-by: Jan Kiszka <>...

ca0508df 08/22/2011 10:37 pm Jan Kiszka

vmware-vga: Disable verbose mode

Elimiates 'vmsvga_value_write: guest runs Linux.' messages from the
console.

CC: Andrzej Zaborowski <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

8d121d49 08/22/2011 10:37 pm Jan Kiszka

vmware-vga: Remove dead DIRECT_VRAM mode

The code was disabled since day 1 of vmware-vga, and now it does not
even build anymore. Time for a cleanup.

CC: Andrzej Zaborowski <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

fe55ff6e 08/22/2011 10:37 pm Jan Kiszka

vmware-vga: Eliminate vga_dirty_log_restart

After the conversion to the new Memory API, vga_dirty_log_restart became
seriously pointless. Remove it from vmware-vga and and then finally drop
the service.

CC: Andrzej Zaborowski <>
CC: Avi Kivity <>...

80763888 08/22/2011 10:37 pm Jan Kiszka

vga: Use linear mapping + dirty logging in chain 4 memory access mode

Most VGA memory access modes require MMIO handling as they demand weird
logic to get a byte from or into the video RAM. However, there is one
exception: chain 4 mode with all memory planes enabled for writing. This...

78dd9ff6 08/22/2011 10:37 pm Jan Kiszka

vga: Drop some unused fields

Memory region refactorings obsoleted them.

CC: Avi Kivity <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

c839adec 08/22/2011 06:47 pm Avi Kivity

isa: add isa_address_space()

A helper that returns the address space used by ISA devices. Useful
for getting rid of isa_mem_base, multiple ISA buses, or ISA buses behind
bridges.

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

f5e6fed8 08/22/2011 06:47 pm Avi Kivity

pci: add pci_address_space()

Returns the PCI address space. Useful for bridges that can obscure
part of the PCI address space.

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

be20f9e9 08/22/2011 06:47 pm Avi Kivity

vga: drop get_system_memory() from vga devices and derivatives

Instead, use the bus accessors, or get the address space directly
from the board constructor.

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

ae0a5466 08/22/2011 06:47 pm Avi Kivity

440fx: fix PAM, PCI holes

The current implementation of PAM and the PCI holes is broken in several
ways:

- PCI BARs are not restricted to the PCI hole (a BAR may hide memory)
- PCI devices do not respect PAM (if a PCI device maps a region while
PAM maps the region to RAM, the request will be honored)...
fb57117a 08/22/2011 06:47 pm Avi Kivity

sh_pci: convert to memory API

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

1635bdfa 08/22/2011 06:47 pm Avi Kivity

arm11mpcore: use sysbus_init_mmio_cb2

This tells the sysbus code it need not use IO_MEM_UNASSIGNED.

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

45de094e 08/22/2011 06:47 pm Avi Kivity

versatile_pci: convert to memory API

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

cd0fa1e6 08/22/2011 06:47 pm Avi Kivity

ppce500_pci: convert to sysbus_init_mmio_cb2()

Not a huge step forward, but at least we now have a 1:1 relationship
between registration and unregistration.

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

c5b3572f 08/22/2011 06:47 pm Avi Kivity

sysbus: remove sysbus_init_mmio_cb()

This problem with this function is that it is not reversible - it is
impossible to know where things are registered and unregister them
exactly. As there are no more users, we can remove it.

Signed-off-by: Avi Kivity <>...

d7612013 08/22/2011 06:47 pm Avi Kivity

sysbus: add a variant of sysbus_init_mmio_cb with an unmap callback

sysbus_init_mmio_cb() uses the destructive IO_MEM_UNASSIGNED to remove a
region. Provide an alternative that calls an unmap callback, so the removal
may be done non-destructively.

Signed-off-by: Avi Kivity <>...

b6dcbe08 08/22/2011 06:47 pm Avi Kivity

ppc4xx_sdram: convert to memory API

Clumsy due to the lack of clipping support, needed for
changing exposed ram size.

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

9074e0e3 08/22/2011 06:23 pm Avi Kivity

ppc405_uc: convert to memory API

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

689a1921 08/22/2011 06:22 pm Avi Kivity

onenand: convert to memory API

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

c76f990e 08/22/2011 06:22 pm Avi Kivity

pcie_host: convert to memory API

Assuming that mmcfg size cannot change at runtime.

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

64066a8f 08/22/2011 06:21 pm Avi Kivity

omap_gpmc/nseries/tusb6010: convert to memory API

Somewhat clumsy since it needs a variable sized region.

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

e219dea2 08/22/2011 06:20 pm Avi Kivity

arm_timer: convert to memory API

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

f69bf9d4 08/22/2011 06:20 pm Avi Kivity

armv7m: convert to memory API

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

fc2bf449 08/22/2011 06:20 pm Avi Kivity

gt64xxx.c: convert to memory API

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

d09871f6 08/22/2011 06:20 pm Avi Kivity

tusb6010: move declarations to new file tusb6010.h

Avoid #include hell.

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

460d7c53 08/22/2011 06:20 pm Avi Kivity

arm_sysctl: convert to memory API

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

145aebec 08/22/2011 06:20 pm Hervé Poussineau

pcnet: fix wrong opaque (broken by bd8d6f7cadb6ace98c779135217a4ed7b5fccc23)

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Hervé Poussineau <>
Signed-off-by: Anthony Liguori <>

3812ed0b 08/22/2011 06:20 pm Avi Kivity

apb_pci: convert to memory API

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

312b4234 08/22/2011 06:20 pm Avi Kivity

apic: convert to memory API

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

755c0802 08/22/2011 06:20 pm Avi Kivity

arm_gic: convert to memory API

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

d4044c2a 08/22/2011 06:17 pm Bjørn Mork

e1000: use MII status register for link up/down

Some guests will use the standard MII status register
to verify link state. They will not notice link changes
unless this register is updated.

Verified with Linux 3.0 and Windows XP guests.

Without this patch, ethtool will report speed and duplex as...

74c0d6f0 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_get_msgfd() -> qemu_chr_fe_get_msgfd()

Signed-off-by: Anthony Liguori <>

903396ad 08/22/2011 06:17 pm Anthony Liguori

char: remove qemu_chr_send_event()

It's dead code.

Signed-off-by: Anthony Liguori <>

27143a44 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_open() -> qemu_chr_new()

Signed-off-by: Anthony Liguori <>

70f24fb6 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_close() -> qemu_chr_delete()

Signed-off-by: Anthony Liguori <>

41084f1b 08/22/2011 06:17 pm Anthony Liguori

char: qemu_chr_ioctl() -> qemu_chr_fe_ioctl()

Signed-off-by: Anthony Liguori <>

fa5efccb 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_read() -> qemu_chr_be_write()

Signed-off-by: Anthony Liguori <>

909cda12 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_can_read() -> qemu_chr_be_can_read()

Signed-off-by: Anthony Liguori <>

c9d830ed 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_guest_open() -> qemu_chr_fe_open()

Signed-off-by: Anthony Liguori <>

2817822d 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_guest_close() -> qemu_chr_fe_close()

Signed-off-by: Anthony Liguori <>

2cc6e0a1 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_write() -> qemu_chr_fe_write()

Signed-off-by: Anthony Liguori <>

e7e71b0e 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_printf() -> qemu_chr_fe_printf()

Signed-off-by: Anthony Liguori <>

f1a7104a 08/22/2011 02:34 am Anthony Liguori

Merge remote-tracking branch 'pmaydell/armhw-for-upstream' into staging

30c2f238 08/21/2011 11:02 pm Blue Swirl

escc: replace DPRINTFs with tracepoints

Signed-off-by: Blue Swirl <>

42c812b9 08/21/2011 11:02 pm Blue Swirl

m48t59: avoid structure holes spotted by pahole

Report from pahole on amd64 host:
struct M48t59State {
uint32_t type; /* 0 4 */

/* XXX 4 bytes hole, try to pack */
qemu_irq                   IRQ;                  /*     8     8 */...
d7b95534 08/21/2011 11:01 pm Blue Swirl

escc: avoid structure holes spotted by pahole

Edited report from pahole on amd64 host:
struct ChannelState {
...
ChnType type; /* 32 4 */

/* XXX 4 bytes hole, try to pack /
...
uint8_t rregs[16]; /
66 16 */...
242cca4f 08/21/2011 11:01 pm Blue Swirl

fdc: avoid structure holes spotted by pahole

Edited report from pahole on amd64 host:
struct FDCtrl {
uint8_t version; /* 0 1 */

/* XXX 7 bytes hole, try to pack */
qemu_irq                   irq;                  /*     8     8 */...
fe87aa83 08/21/2011 10:52 pm Blue Swirl

pcnet: avoid structure holes spotted by pahole

Edited report from pahole on amd64 host:
struct PCNetState_st {
...
uint16_t bcr32; /* 340 64 */

/* XXX 4 bytes hole, try to pack /
...
int tx_busy; /
4520 4 */...
9a975d63 08/21/2011 10:52 pm Blue Swirl

esp: avoid structure holes spotted by pahole

Report from pahole on amd64 host:
struct ESPState {
SysBusDevice busdev; /* 0 5648 /
/
--- cacheline 88 boundary (5632 bytes) was 16 bytes ago --- /
uint32_t it_shift; /
5648 4 */...

61999750 08/21/2011 10:52 pm Blue Swirl

sun4m: avoid structure holes spotted by pahole

Edited report from pahole on amd64 host:
struct sun4c_hwdef {
...
uint8_t nvram_machine_id; /* 112 1 */

/* XXX 1 byte hole, try to pack /
...
/
size: 136, cachelines: 3 /
/
sum members: 135, holes: 1, sum holes: 1 */...
427a66c3 08/21/2011 10:52 pm Blue Swirl

tcx: avoid structure holes spotted by pahole

Report from pahole on amd64 host:
struct TCXState {
SysBusDevice busdev; /* 0 5648 /
/
--- cacheline 88 boundary (5632 bytes) was 16 bytes ago --- /
target_phys_addr_t addr; /
5648 8 */...

149e1ea1 08/21/2011 10:52 pm Blue Swirl

sun4m_iommu: avoid structure holes spotted by pahole

Report from pahole on amd64 host:
struct IOMMUState {
SysBusDevice busdev; /* 0 5648 /
/
--- cacheline 88 boundary (5632 bytes) was 16 bytes ago --- /
uint32_t regs4096; /
5648 16384 */...

07dd0035 08/21/2011 10:52 pm Blue Swirl

slavio_intctl: avoid structure holes spotted by pahole

Report from pahole on amd64 host:
struct SLAVIO_INTCTLState {
SysBusDevice busdev; /* 0 5648 /
/
--- cacheline 88 boundary (5632 bytes) was 16 bytes ago --- /
uint32_t intregm_pending; /
5648 4 */...

97bbb109 08/21/2011 10:52 pm Blue Swirl

slavio_misc: avoid structure holes spotted by pahole

Report from pahole on amd64 host:
struct MiscState {
SysBusDevice busdev; /* 0 5648 /
/
--- cacheline 88 boundary (5632 bytes) was 16 bytes ago --- /
qemu_irq irq; /
5648 8 */...

f90074f4 08/21/2011 10:52 pm Blue Swirl

slavio_timer: avoid structure holes spotted by pahole

Report from pahole on amd64 host:
struct SLAVIO_TIMERState {
SysBusDevice busdev; /* 0 5648 /
/
--- cacheline 88 boundary (5632 bytes) was 16 bytes ago --- /
uint32_t num_cpus; /
5648 4 */...

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

02fa69b6 08/20/2011 12:22 pm Blue Swirl

scsi-disk: fix DPRINTF

The variable 'status' does not exist anymore, adjust DPRINTF
accordingly.

Signed-off-by: Blue Swirl <>

dc804ab7 08/18/2011 02:02 am Engin AYDOGAN

hw/stellaris: Add support for RCC2 register

Add support for the RCC2 register on Fury class devices.
Based on a patch by Vijay Kumar.

Signed-off-by: Engin AYDOGAN <>
[Peter Maydell: fixed comment typos, minor cleanup of unreachable code]
Signed-off-by: Peter Maydell <>

b3aaff11 08/18/2011 02:01 am Peter Maydell

hw/pl061.c: Support GPIOAMSEL register

Support the GPIOAMSEL register found on some Stellaris boards.

Signed-off-by: Peter Maydell <>

a35faa94 08/18/2011 02:01 am Peter Maydell

hw/pl061: Convert to VMState

Convert the PL061 to VMState. We choose to widen the struct members
to uint32_t rather than the other two options of breaking migration
compatibility or using vmstate hacks to read/write a 32 bit value
into an 8 bit struct field....

acb9b722 08/18/2011 02:01 am Peter Maydell

vexpress, realview: Use pl111, not pl110

The Versatile Express, Realview EB, PBX A9 and PB A8 boards all
use a PL111 for their graphics, not a PL110. Now we model the
PL111, use it on these board models.

Signed-off-by: Peter Maydell <>

242ea2c6 08/18/2011 02:01 am Peter Maydell

versatilepb: Implement SYS_CLCD mux control register bits

On the Versatile PB, PL110 graphics adaptor only natively supports
5551 pixel format; an external mux swaps bits around to allow
RGB565 and BGR565, under the control of bits [1:0] in the SYS_CLCD
system register....

4fbf5556 08/18/2011 02:01 am Peter Maydell

hw/pl110: Model the PL111 CLCD controller

Model the PL111 CLCD controller. This is a minor variation
on the PL110; the major programmer visible differences are
support for hardware cursor (unimplemented) and two new
pixel formats.

Since syborg_fb.c borrows the pl11x pixel drawing routines,...

8b2a04ee 08/16/2011 10:11 pm Paolo Bonzini

scsi: do not overwrite memory on REQUEST SENSE commands with a large buffer

Other scsi_target_reqops commands were careful about not using r->cmd.xfer
directly, and instead always cap it to a fixed length. This was not done
for REQUEST SENSE, and this patch fixes it....

3b6ffe50 08/14/2011 10:34 pm Peter Maydell

hw/scsi-bus.c: Fix use of uninitialised variable

Don't use req before it has been initialised in scsi_req_new().
This fixes a compile failure due to gcc complaining about this.

Signed-off-by: Peter Maydell <>
Acked-by: Paolo Bonzini <>...

6dc06f08 08/12/2011 04:31 pm Paolo Bonzini

scsi: add support for unit attention conditions

Unit attention conditions override any sense data the device already
has. Their signaling and clearing is handled entirely by the SCSIBus
code, and they are completely transparent to the SCSIDevices.

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

c7b48872 08/12/2011 04:31 pm Paolo Bonzini

scsi: report unit attention on reset

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

98254542 08/12/2011 04:31 pm Paolo Bonzini

scsi: add special traces for common commands

Can be useful when debugging the device scan phase.

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

739df215 08/12/2011 04:31 pm Paolo Bonzini

scsi: move handling of REQUEST SENSE to common code

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

a872a304 08/12/2011 04:31 pm Paolo Bonzini

scsi: add a bunch more common sense codes

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

fdaef069 08/12/2011 04:30 pm Paolo Bonzini

scsi: move handling of REPORT LUNS and invalid LUNs to common code

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

2599aece 08/12/2011 04:29 pm Paolo Bonzini

scsi: introduce SCSICommand

This struct is currently unnamed. Give it a name and use it
explicitly to decouple (some parts of) CDB parsing from
SCSIRequest.

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

87dcd1b2 08/12/2011 04:29 pm Paolo Bonzini

scsi: push lun field to SCSIDevice

This will let SCSIBus detect requests sent to an invalid LUN, and
handle them itself. However, there will be still support for only one
LUN per target

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

afa46c46 08/12/2011 04:29 pm Paolo Bonzini

scsi: move request parsing to common code

Also introduce the first occurrence of "independent" SCSIReqOps,
to handle invalid commands in common code.

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

12010e7b 08/12/2011 04:27 pm Paolo Bonzini

scsi: move request-related callbacks from SCSIDeviceInfo to SCSIReqOps

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

c39ce112 08/12/2011 04:27 pm Paolo Bonzini

scsi: pass cdb already to scsi_req_new

Right now the CDB is not passed to the SCSIBus until scsi_req_enqueue.
Passing it to scsi_req_new will let scsi_req_new dispatch common requests
through different reqops.

Moving the memcpy to scsi_req_new is a hack that will go away as...

8dbd4574 08/12/2011 04:27 pm Paolo Bonzini

scsi: introduce SCSIReqOps

This will let allow requests to be dispatched through different callbacks,
either common or per-device.

This patch adjusts the API, the next one will move members to SCSIReqOps.

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

b45ef674 08/12/2011 04:27 pm Paolo Bonzini

scsi: move sense handling to generic code

With this patch, sense data is stored in the generic data structures
for SCSI devices and requests. The SCSI layer takes care of storing
sense data in the SCSIDevice for the subsequent REQUEST SENSE command.

At the same time, get_sense is removed and scsi_req_get_sense can use...

4333979e 08/12/2011 04:27 pm Anthony Liguori

pc: make vgabios exit port more useful

We've always listened on port 501 for vgabios panic messages. In the entire
time I've worked on QEMU, I've never actually seen a vgabios panic message :-)

If we change the semantics of this port a little bit, it makes it possible to...

e44089c7 08/12/2011 04:27 pm Paolo Bonzini

scsi-disk: no need to call scsi_req_data on a short read

In fact, if the HBA's transfer_data callback goes on with scsi_req_continue
the request will be completed successfully instead of showing a failure.
It can even cause a segmentation fault.

An easy way to trigger it is "eject -f cd" during installation (during media...

05751d3f 08/12/2011 04:27 pm Paolo Bonzini

vscsi: always use get_sense

vscsi supports autosensing by providing sense data directly in the
response. When get_sense was added, the older state machine approach
that sent REQUEST SENSE commands separately was left in place. Remove
it, all existing SCSIDevices do support autosensing and the next patches...

682a9b21 08/12/2011 04:27 pm Paolo Bonzini

scsi: pass status when completing

A small improvement in the SCSI request API. Pass the status
at the time the request is completed, so that we can assert that
no request is completed twice. This would have detected the
problem fixed in the previous patch....

9b024b5f 08/12/2011 04:06 pm Anthony Liguori

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

eecaeced 08/12/2011 03:52 pm Anthony Liguori

Merge remote-tracking branch 'aneesh/for-upstream-1' into staging

25a263cd 08/12/2011 03:51 pm Anthony Liguori

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

7cb78eec 08/12/2011 03:50 pm Anthony Liguori

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

645a8ad6 08/11/2011 04:37 pm Zhi Yong Wu

scsi-bus: use DO_UPCAST

Signed-off-by: Zhi Yong Wu <>
Reviewed-by: Markus Armbruster <>
Signed-off-by: Stefan Hajnoczi <>

e92714c7 08/11/2011 04:37 pm Peter Maydell

hw/qdev: Don't crash if qdev_create(NULL, ...) fails

If an attempt to create a qdev device on the default sysbus (by passing
NULL as the bus to qdev_create) fails, print a useful error message
rather than crashing trying to dereference a NULL pointer.

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