Statistics
| Branch: | Revision:

root / hw @ e6eaabeb

# Date Author Comment
231903bf 08/15/2012 08:43 pm Alexey Kardashevskiy

pseries pci: removed redundant busdev

The PCIHostState struct already contains SysBusDevice so
the one in sPAPRPHBState has to go.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

e0fdbd7c 08/15/2012 08:43 pm Alexey Kardashevskiy

pseries pci: spapr_populate_pci_devices renamed to spapr_populate_pci_dt

spapr_populate_pci_devices() populates the device tree only with bus
properties and has nothing to do with the devices on it as PCI BAR
allocation is done by the system firmware (SLOF)....

4a18e7c9 08/15/2012 08:43 pm Scott Wood

PPC: e500: rename mpc8544ds into generic file

Rename the file (with no changes other than fixing up the header paths)
in preparation for refactoring into a generic e500 platform. Also move
it into the newly created ppc/ directory.

Signed-off-by: Scott Wood <>...

b3305981 08/15/2012 08:43 pm Scott Wood

PPC: e500: change internal references away from mpc8544ds

No functional changes -- machine is still outwardly mpc8544ds.

The references that are not changed contain mpc8544 hardware details that
need to be parameterized if/when a different e500 platform wants to...

e6eaabeb 08/15/2012 08:43 pm Scott Wood

PPC: e500: split mpc8544ds machine from generic e500 code

Currently the only mpc8544ds-ism that is factored out is
toplevel compatible and model. In the future the generic e500
code is expected to become more generic.

Signed-off-by: Scott Wood <>...

633decd7 08/14/2012 12:12 am Anthony Liguori

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

  • qmp/queue/qmp: (48 commits)
    target-ppc: add implementation of query-cpu-definitions (v2)
    target-i386: add implementation of query-cpu-definitions (v2)
    qapi: add query-cpu-definitions command (v2)...
6a1f9d0c 08/13/2012 11:59 pm Anthony Liguori

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

  • pmaydell/arm-devs.next:
    arm: Move some ARM devices into libhw
    ssd0323: abort() instead of exit(1) on error.
    hw/sd.c: make sd_wp_addr() return bool
    hw/sd.c: make sd_dataready() return bool...
25df49f6 08/13/2012 10:10 pm Luiz Capitulino

qmp: add SUSPEND_DISK event

Emitted when the guest makes a request to enter S4 state.

There are three possible ways of having this event, as described here:

http://lists.gnu.org/archive/html/qemu-devel/2012-07/msg02307.html

I've decided to add a new event and make it indepedent of SHUTDOWN....

58f9b98f 08/13/2012 06:13 pm Andreas Färber

arm: Move some ARM devices into libhw

Avoids some unnecessary dependencies on cpu.h and prepares for
a future armeb-softmmu where most machines would not be built.

Defer touching the SoC devices since most have implicit or explicit
dependencies on the CPU....

d517872e 08/13/2012 05:25 pm Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  • qemu-kvm/uq/master:
    kvm: Add documentation comment for kvm_irqchip_in_kernel()
    kvm: Decouple 'GSI routing' from 'kernel irqchip'
    kvm: Decouple 'MSI routing via irqfds' from 'kernel irqchip'...
879bf4a7 08/13/2012 01:04 pm Mitsyanko Igor

hw/sd.c: make sd_dataready() return bool

For the sake of code clarity

Signed-off-by: Igor Mitsyanko <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Peter Maydell <>

4e8f1be2 08/13/2012 01:04 pm Mitsyanko Igor

hw/sd.c: make sd_wp_addr() return bool

For the sake of code clarity

Signed-off-by: Igor Mitsyanko <>
Signed-off-by: Peter Maydell <>

b1c26542 08/13/2012 01:04 pm Peter A. G. Crosthwaite

ssd0323: abort() instead of exit(1) on error.

To be more consistent with the newer ways of error signalling. That and SIGABT
is easier to debug with than exit(1).

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

a9c01830 08/13/2012 01:04 pm Mitsyanko Igor

hw/sd.c: convert wp_groups in SDState to bitfield

Representing each group write protection flag with only one bit instead of int
variable significantly reduces memory consumption.

Signed-off-by: Igor Mitsyanko <>
Signed-off-by: Peter Maydell <>

347cab1a 08/13/2012 01:04 pm Mitsyanko Igor

hw/sd.c: make sd_wp_addr() accept 64 bit address argument

Currently sd_wp_addr() accepts 32 bit address arguments therefore implicitly
restricting SD card address range. Change address argument type to uint64_t.

Signed-off-by: Igor Mitsyanko <>...

b7202b88 08/13/2012 01:04 pm Mitsyanko Igor

hw/sd.c: introduce wrapper for conversion address to wp group

Add wrapper function sd_addr_to_wpnum() to replace long address-->wg_group
conversion line.

Signed-off-by: Igor Mitsyanko <>
Signed-off-by: Peter Maydell <>

bebd1271 08/13/2012 01:04 pm Mitsyanko Igor

hw/sd.c: convert binary variables to bool

Several members of SDState have type int when they actually are binary variables.
Change type of these variables to bool to improve code readability. Change SD API
to be in consistency with new variables type.

Signed-off-by: Igor Mitsyanko <>...

55e00a19 08/13/2012 01:04 pm Peter Maydell

hw/armv7m_nvic: Fix incorrect default for num-irqs property

Fix an incorrect default value for the num-irqs property (we were
attempting to override it from the default set by the parent class
but not succeeding, which meant that the lm3s6965evb model would...

01fd41ab 08/13/2012 01:04 pm Peter A. G. Crosthwaite

armv7m: Guard against no -kernel argument

A -kernel argument must be specified for this machine. Guard against no -kernel
argument. Previously gave an unhelpful "bad address" error message.

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

669b4983 08/13/2012 12:20 pm Peter A. G. Crosthwaite

xilinx_axi*: Re-implemented interconnect

Re-implemented the interconnect between the Xilinx AXI ethernet and DMA
controllers. A QOM interface "stream" is created, for the two stream interfaces.

As per Edgars request, this is designed to be more generic than AXI-stream,...

53810bab 08/12/2012 03:48 am Anthony Liguori

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

  • kwolf/for-anthony:
    qemu-iotests: skip 039 with ./check -nocache
    block: add BLOCK_O_CHECK for qemu-img check
    qcow2: mark image clean after repair succeeds
    qed: mark image clean after repair succeeds...
31294261 08/12/2012 01:11 am Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  • bonzini/scsi-next:
    scsi-disk: add support for the UNMAP command
    scsi-disk: improve out-of-range LBA detection for WRITE SAME
    scsi-disk: more assertions and resets for aiocb
    virtio-scsi: do not compare 32-bit QEMU tags against 64-bit virtio-scsi tags...
220c2147 08/11/2012 12:37 pm Guan Xuetao

unicore32-softmmu: Add is_default setting for puv3 machine

This patch sets is_default to 1 for puv3 machine, so that
find_default_machine() returns puv3 machine.
Thanks Dunrong for pointing it out.

Cc: Dunrong Huang <>
Signed-off-by: Guan Xuetao <>...

79683f61 08/11/2012 12:37 pm Guan Xuetao

unicore32-softmmu: Add ps2 support

This patch adds ps2/keyboard support, and enables CONFIG_PCKBD.

Signed-off-by: Guan Xuetao <>
Signed-off-by: Blue Swirl <>

f716c197 08/11/2012 12:37 pm Guan Xuetao

unicore32-softmmu: Add puv3 pm support

This patch adds puv3 pm (power management) support,
include pm device simulation for kernel booting.
Thank Blue Swirl for pointing out the missing "break".

v1->v2: Add initialization to ret in puv3_pm_read.

Signed-off-by: Guan Xuetao <>...

1ea34899 08/11/2012 12:37 pm Guan Xuetao

unicore32-softmmu: Add puv3 dma support

This patch adds puv3 dma (Direct Memory Access) support,
include dma device simulation for kernel booting.

v1->v2: Add initialization to ret in puv3_dma_read.

Signed-off-by: Guan Xuetao <>
Signed-off-by: Blue Swirl <>

56d07a90 08/11/2012 12:37 pm Guan Xuetao

unicore32-softmmu: Add puv3 ostimer support

This patch adds puv3 ostimer support, include os timer
device simulation and ptimer support in puv3 machine.

Signed-off-by: Guan Xuetao <>
Signed-off-by: Blue Swirl <>

a89d01c1 08/11/2012 12:37 pm Guan Xuetao

unicore32-softmmu: Add puv3 gpio support

This patch adds puv3 gpio (General Purpose Input/Output) support,
include gpio device simulation and its interrupt support.

v1->v2: Add initialization to ret in puv3_gpio_read.

Signed-off-by: Guan Xuetao <>...

fbbdf983 08/11/2012 12:36 pm Guan Xuetao

unicore32-softmmu: Add puv3 soc/board support

This patch only add puv3 soc/board support, which introduces puv3
machine description, and specifies console type.

Signed-off-by: Guan Xuetao <>
Signed-off-by: Blue Swirl <>

5c8556a6 08/11/2012 12:36 pm Guan Xuetao

unicore32-softmmu: Add puv3 interrupt support

This patch adds puv3 interrupt support, include interrupt controler
device simulation and interrupt handler in puv3 machine.

Signed-off-by: Guan Xuetao <>
Signed-off-by: Blue Swirl <>

4f23a1e6 08/11/2012 12:36 pm Guan Xuetao

unicore32-softmmu: Add unicore32-softmmu build support

This patch adds unicore32-softmmu build support, include configure,
makefile, arch_init, and all missing functions needed by softmmu.
Although all missing functions are empty, unicore32-softmmu could...

61f52e06 08/10/2012 11:25 am Jason Baron

ahci: Fix ahci cdrom read corruptions for reads > 128k

While testing q35, which has its cdrom attached to the ahci controller, I found
that the Fedora 17 install would panic on boot. The panic occurs while
squashfs is trying to read from the cdrom. The errors are:...

ea8d82a1 08/10/2012 11:25 am Jason Baron

ahci: Fix sglist memleak in ahci_dma_rw_buf()

I noticed that in hw/ide/ahci:ahci_dma_rw_buf() we do not free the sglist. Thus,
I've added a call to qemu_sglist_destroy() to fix this memory leak.

In addition, I've adeed a call in qemu_sglist_destroy() to 0 all of the sglist...

13e3dce0 08/10/2012 11:25 am Paolo Bonzini

virtio-blk: support VIRTIO_BLK_F_CONFIG_WCE

Also rename VIRTIO_BLK_F_WCACHE to VIRTIO_BLK_F_WCE for consistency with
the spec.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

9315cbfd 08/10/2012 11:25 am Paolo Bonzini

virtio-blk: disable write cache if not negotiated

If the guest does not support flushes, we should run in writethrough mode.
The setting is temporary until the next reset, so that for example the
BIOS will run in writethrough mode while Linux will run with a writeback...

730a9c53 08/10/2012 11:25 am Avi Kivity

virtio-blk: fix use-after-free while handling scsi commands

The scsi passthrough handler falls through after completing a
request into the failure path, resulting in a use after free.

Reproducible by running a guest with aio=native on a block device.

Reported-by: Stefan Priebe <>...

82e5d464 08/09/2012 09:38 pm Max Filippov

target-xtensa: make 'sim' to be the default machine

This fixes the following error:

$ qemu-system-xtensa -cpu help
Segmentation fault

Signed-off-by: Max Filippov <>
Signed-off-by: Blue Swirl <>

e38077ff 08/09/2012 09:37 pm Max Filippov

target-xtensa: make default CPU depend on target endianness

This makes usable default for -cpu option both for qemu-system-xtensa
and qemu-system-xtensaeb fixing the following error:

$ qemu-system-xtensaeb -M sim
Unable to find CPU definition

Signed-off-by: Max Filippov <>...

acfbe712 08/09/2012 09:34 pm Blue Swirl

sparc: fix floppy TC line setup

The qemu_irq for Terminal Count (TC) line between FDC and Slavio misc
device was created only after use, spotted by Clang compiler. Also,
it was not created if the FDC didn't exist.

Rearrange code to fix order. Always create the TC line....

a1e64eb9 08/09/2012 09:34 pm Blue Swirl

xilinx_axienet: avoid useless self-assignment

Statement s=s; makes little sense, remove it. Spotted by Clang
compiler.

Signed-off-by: Blue Swirl <>

832a226b 08/09/2012 09:34 pm Blue Swirl

scsi-bus: remove overlapping entry

LOAD_UNLOAD and START_STOP have same value, so the table
entry is initialized twice. Spotted by Clang compiler.

Remove LOAD_UNLOAD entry since START_STOP entry already
represents both.

Reviewed-by: Markus Armbruster <>...

cea936b1 08/09/2012 09:21 pm Hervé Poussineau

esp: add Tekram DC-390 emulation (PC SCSI adapter)

Difference with AMD PCscsi is that DC-390 contains a EEPROM,
and that a romfile is available to add INT13 support.

This has been successfully tested on:
- MS DOS 6.22 (using DC390 ASPI driver)
- MS Windows 98 SE (using DC390 driver)...

aebcf56f 08/09/2012 09:21 pm Hervé Poussineau

esp: move PCI emulation to a new file esp-pci.c

sparc machines loose ability to instanciate PCI ESP SCSI adapter,
which is not a big loose as they don't have PCI bus support.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

bde299a2 08/09/2012 09:21 pm Hervé Poussineau

Revert "pci: add some stubs"

This reverts commit 0883c5159f1df05d8761014f65451c3c3b77ebcf.

Those stubs were only used by PCI ESP emulation, which is now
not compiled on architectures which have no PCI bus support.

Signed-off-by: Hervé Poussineau <>...

9c7e23fc 08/09/2012 09:21 pm Hervé Poussineau

esp: move some definitions to header file

These will be used by next commits.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

46e3f30e 08/09/2012 04:35 pm Paolo Bonzini

scsi-disk: more assertions and resets for aiocb

Leaving the aiocb to a non-NULL value leads to an assertion failure when
rerror/werror are set to stop or enospc, and the operation is retried.
scsi-disk checks that the aiocb member is NULL before filling it....

a084a703 08/09/2012 04:35 pm Paolo Bonzini

scsi-disk: improve out-of-range LBA detection for WRITE SAME

Signed-off-by: Paolo Bonzini <>

5222aaf2 08/09/2012 04:35 pm Paolo Bonzini

scsi-disk: add support for the UNMAP command

The unmap command can reuse the same infrastructure as MODE SELECT
for reading the descriptor list into memory. The descriptors are
processed sequentially.

Signed-off-by: Paolo Bonzini <>

614e41bc 08/09/2012 04:16 pm Peter Maydell

kvm: Decouple 'MSI routing via irqfds' from 'kernel irqchip'

Decouple another x86-specific assumption about what irqchips imply.

Signed-off-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

1d31f66b 08/09/2012 04:16 pm Peter Maydell

kvm: Move kvm_allows_irq0_override() to target-i386, fix return type

kvm_allows_irq0_override() is a totally x86 specific concept:
move it to the target-specific source file where it belongs.
This means we need a new header file for the prototype:
kvm_i386.h, in line with the existing kvm_ppc.h....

3889c3fa 08/09/2012 04:16 pm Peter Maydell

kvm: Rename kvm_irqchip_set_irq() to kvm_set_irq()

Rename the function kvm_irqchip_set_irq() to kvm_set_irq(),
since it can be used for sending (asynchronous) interrupts whether
there is a full irqchip model in the kernel or not. (We don't
include 'async' in the function name since asynchronous is the...

4dd7c82c 08/09/2012 04:04 pm Paolo Bonzini

virtio-scsi: do not compare 32-bit QEMU tags against 64-bit virtio-scsi tags

This patch fixes a problem in handling task management functions
in virtio-scsi. The cause of the problem is a mismatch between
the size of the tag in QEMU (32-bit) and virtio-scsi (64-bit)....

c03b0aa0 08/07/2012 05:46 pm Anthony Liguori

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

  • kraxel/usb.58:
    usb-storage: fix SYNCHRONIZE_CACHE
    usb-storage: improve debug logging
06f9847d 08/07/2012 11:49 am Gerd Hoffmann

usb-storage: improve debug logging

Signed-off-by: Gerd Hoffmann <>

54414218 08/07/2012 11:49 am Gerd Hoffmann

usb-storage: fix SYNCHRONIZE_CACHE

Commit 59310659073d85745854f2f10c4292555c5a1c51 is incomplete,
we'll arrive in the scsi command complete callback in CSW state
and must handle that case correctly.

Signed-off-by: Gerd Hoffmann <>

b2df4314 08/06/2012 11:39 pm Markus Armbruster

ide scsi: Mess with geometry only for hard disk devices

Legacy -drive cyls=... are now ignored completely when the drive
doesn't back a hard disk device. Before, they were first checked
against a hard disk's limits, then ignored.

Signed-off-by: Markus Armbruster <>...

26b9b5fe 08/06/2012 10:01 pm Paolo Bonzini

virtio: fix vhost handling

Commit b1f416aa8d870fab71030abc9401cfc77b948e8e breaks vhost_net
because it always registers the virtio_pci_host_notifier_read() handler
function on the ioeventfd, even when vhost_net.ko is using the ioeventfd.
The result is both QEMU and vhost_net.ko polling on the same eventfd...

ee785fed 08/04/2012 04:23 pm Chegu Vinod

Fixes related to processing of qemu's -numa option

The -numa option to qemu is used to create [fake] numa nodes
and expose them to the guest OS instance.

There are a couple of issues with the -numa option:

a) Max VCPU's that can be specified for a guest while using...

161abfb5 08/04/2012 03:54 pm Dunrong Huang

build: Fix build breakage detected by buildbot

More details:
http://buildbot.b1-systems.de/qemu/builders/xen_unstable/builds/83/steps/compile/logs/stdio

VLANState has been removed since commit a005d07, so "vlan id" should be
fetched using net_hub_id_for_client()....

b34bd5e5 08/03/2012 11:46 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  • bonzini/scsi-next:
    scsi: add support for ATA_PASSTHROUGH_xx scsi command
    esp: add missing const on TypeInfo structures
    esp: enable for all PCI machines
    Revert "megasas: disable due to build breakage"...
e4b65262 08/03/2012 10:55 pm Cong Meng

scsi: add support for ATA_PASSTHROUGH_xx scsi command

Correct the command names of opcode 0x85 and 0xa1, and calculate
their xfer size from CDB.

Signed-off-by: Cong Meng <>
Signed-off-by: Paolo Bonzini <>

f57fb884 08/03/2012 09:54 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/net' into staging

  • stefanha/net:
    net: add the support for -netdev socket, listen
    net: fix the coding style
    hub: add the support for hub own flow control
    net: determine if packets can be sent before net queue deliver packets...
aeb01d5f 08/03/2012 09:50 pm Anthony Liguori

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

  • aneesh/for-upstream:
    hw/9pfs: Fix assert when disabling migration
    configure: Fix build with capabilities
76b523db 08/03/2012 11:04 am Hannes Reinecke

megasas: static SAS addresses

This patch introduces a new property 'sas_address' which
allows the user to specify the SAS address for the HBA.
The default address is following the NAA locally assigned
identifier format with the locally assigned address
0x525400 as used eg for the MAC addresses....

1f077308 08/03/2012 11:04 am Hervé Poussineau

esp: add missing const on TypeInfo structures

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Paolo Bonzini <>

93161b69 08/03/2012 11:01 am Ronnie Sahlberg

SCSI: Update the sense code for PREVENT REMOVAL errors

Change the sense codes for failures to eject a device that is locked
by PREVENT_ALLOW_MEDIUM_REMOVAL from
the generic MEDIA_LOAD_OR_EJECT_FAILED to the more specific
MEDIUM_REMOVAL_PREVENTED.

The second sense code is more accurate, and is also listed in MMC annex F...

ae5708b3 08/03/2012 11:01 am Ronnie Sahlberg

SCSI: STARTSTOPUNIT only eject/load media if powercondition is 0

The START STOP UNIT command will only eject/load media if
power condition is zero.

If power condition is !0 then LOEJ and START will be ignored.

From MMC (sbc contains similar wordings too)...

18fc611b 08/03/2012 11:01 am Stefan Weil

megasas: Update function megasys_scsi_uninit

Commit f90c2bcdbc69e41e575f868b984c3e2de8f51bac changed
PCIUnregisterFunc, therefore the function prototype
needs an update.

megasas.o is currently not linked, so this bug was not
detected by the buildbots.

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

79fb50bb 08/03/2012 11:01 am Paolo Bonzini

scsi-disk: fix compilation with DEBUG_SCSI

Reported-by: Gerhard Wiesinger <>
Signed-off-by: Paolo Bonzini <>

c8057f95 08/02/2012 09:16 pm Peter Maydell

Support 'help' as a synonym for '?' in command line options

For command line options which permit '?' meaning 'please list the
permitted values', add support for 'help' as a synonym, by abstracting
the check out into a helper function.

This change means that in some cases where we were being lazy in...

dd673288 08/01/2012 04:45 pm Igor Mammedov

target-i386: move cpu halted decision into x86_cpu_reset

MP initialization protocol differs between cpu families, and for P6 and
onward models it is up to CPU to decide if it will be BSP using this
protocol, so try to model this. However there is no point in implementing...

65dee380 08/01/2012 04:45 pm Igor Mammedov

target-i386: move cpu_reset and reset callback to cpu.c

Moving reset callback into cpu object from board level and
resetting cpu at the end of x86_cpu_realize() will allow properly
create cpu object during run-time (hotplug) without calling reset externaly....

fb5b0c6d 08/01/2012 04:43 pm Stefano Stabellini

fix Xen compilation

xen_pt_unregister_device is used as PCIUnregisterFunc, so it should
match the type.

Signed-off-by: Stefano Stabellini <>
Signed-off-by: Anthony Liguori <>

4e68f7a0 08/01/2012 03:32 pm Stefan Hajnoczi

net: Rename VLANClientState to NetClientState

The vlan feature is no longer part of net core. Rename VLANClientState
to NetClientState because net clients are not explicitly associated with
a vlan at all, instead they have a peer net client to which they are...

35277d14 08/01/2012 03:32 pm Stefan Hajnoczi

net: Rename vc local variables to nc

Now that VLANClientState has been renamed to NetClientState all 'vc'
local variables should be 'nc'. Much of the code already used 'nc' but
there are places where 'vc' needs to be renamed.

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

b20c6b9e 08/01/2012 03:32 pm Stefan Hajnoczi

net: Rename qemu_del_vlan_client() to qemu_del_net_client()

Another step in moving the vlan feature out of net core. Users only
deal with NetClientState and therefore qemu_del_vlan_client() should be
named qemu_del_net_client().

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

a005d073 08/01/2012 02:56 pm Stefan Hajnoczi

net: Remove VLANState

VLANState is no longer used and can be removed.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Zhi Yong Wu <>
Reviewed-by: Laszlo Ersek <>

606c10e2 08/01/2012 02:28 pm Zhi Yong Wu

net: Convert qdev_prop_vlan to peer with hub

Instead of using VLANState use net/hub.h to support the vlan qdev
property. The vlan qdev property becomes an alias for the peer qdev
property but is represented as a VLAN ID number. When a VLAN ID is
selected the device will really peer with a hub port....

ec8b1f6c 08/01/2012 02:28 pm Stefan Hajnoczi

net: Remove vlan code from net.c

The vlan implementation in net.c has been replaced by hubs so we can
remove the code.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Zhi Yong Wu <>
Reviewed-by: Laszlo Ersek <>

4cdc0789 07/31/2012 07:31 pm Aneesh Kumar K.V

hw/9pfs: Fix assert when disabling migration

For 9p we can get the attach request multiple times for the
same export. So don't adding migration blocker for every
attach request.

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

5e3bc714 07/30/2012 06:00 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

  • mst/tags/for_anthony:
    msi/msix: added API to set MSI message address and data
    pci: Add INTx routing notifier
    pci: Add pci_device_route_intx_to_irq
    pci: Unregister BARs before device exit...
d4a06f46 07/30/2012 05:59 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  • bonzini/scsi-next: (32 commits)
    virtio-scsi: enable MSI-X support
    virtio-scsi: add ioeventfd support
    virtio-scsi: report parameter change events
    virtio-scsi: do not report dropped events after reset...
5e59b024 07/29/2012 05:05 pm Michael S. Tsirkin

Merge branch pci into master

Merge master and pci branch, resolve build breakage in hw/esp.c
introduced by f90c2bcd.

Conflicts:
hw/esp.c

0ed8b6f6 07/28/2012 12:23 pm Blue Swirl

Avoid returning void

It's silly and non-conforming to standards to return void,
don't do it.

Signed-off-by: Blue Swirl <>

16fd921b 07/28/2012 12:18 pm Peter Maydell

hw/escc: Drop duplicate definition of 'disabled' property

Drop a duplicate definition of the 'disabled' property from
the escc qdev property list: this redefinition is currently
effectively ignored but will become an error. (The duplication
was inadvertently introduced in 2009 in commit ec02f7dec2.)...

99f575ed 07/28/2012 12:13 am Jia Liu

target-or32: Add timer support

Add OpenRISC timer support.

Signed-off-by: Jia Liu <>
Signed-off-by: Blue Swirl <>

ce6e1e9e 07/28/2012 12:13 am Jia Liu

target-or32: Add a IIS dummy board

Add a IIS dummy board.

Signed-off-by: Jia Liu <>
Signed-off-by: Blue Swirl <>

dd29c7fb 07/28/2012 12:13 am Jia Liu

target-or32: Add PIC support

Add OpenRISC Programmable Interrupt Controller support.

Signed-off-by: Jia Liu <>
Signed-off-by: Blue Swirl <>

e67db06e 07/28/2012 12:12 am Jia Liu

target-or32: Add target stubs and QOM cpu

Add OpenRISC target stubs, QOM cpu and basic machine.

Signed-off-by: Jia Liu <>
Signed-off-by: Blue Swirl <>

4c205d0c 07/27/2012 04:47 pm Paolo Bonzini

virtio-scsi: enable MSI-X support

While virtio-scsi does support multiqueue, the default number of
interrupt vectors is not enough to actually enable usage of
multiple queues in the driver; this is because with only 2
vectors the driver will not be able to use a separate...

3f910904 07/27/2012 03:36 pm Paolo Bonzini

virtio-scsi: add ioeventfd support

Probably due to bad merge months ago, virtio-scsi-pci did not have
ioeventfd support. Fix this and enable it by default, as is the
case for other virtio-pci devices.

Signed-off-by: Paolo Bonzini <>

64f64855 07/27/2012 09:25 am Paolo Bonzini

virtio-scsi: Report missed events

When an event is reported but no buffers are present in the event vq,
we can set a flag and report a dummy event as soon as one is added.

Signed-off-by: Paolo Bonzini <>

2baa1beb 07/27/2012 09:25 am Paolo Bonzini

virtio-scsi: do not report dropped events after reset

Signed-off-by: Paolo Bonzini <>

feda01e4 07/27/2012 09:25 am Paolo Bonzini

virtio-scsi: report parameter change events

Signed-off-by: Paolo Bonzini <>

aaebacef 07/27/2012 09:25 am Paolo Bonzini

scsi-disk: report resized disk via sense codes

Linux will not use these, but a very similar mechanism will be used to
report the condition via virtio-scsi events.

Signed-off-by: Paolo Bonzini <>

53200fad 07/27/2012 09:25 am Paolo Bonzini

scsi: report parameter changes to HBA drivers

Signed-off-by: Paolo Bonzini <>

b6866fee 07/27/2012 09:25 am Cong Meng

virtio-scsi: Implement hotplug support for virtio-scsi

Implement the hotplug() and hot_unplug() interfaces in virtio-scsi, by signal
the virtio_scsi.ko in guest kernel via event virtual queue.

The counterpart patch of virtio_scsi.ko will be sent soon in another thread....

350e6e41 07/27/2012 09:25 am Cong Meng

scsi: introduce hotplug() and hot_unplug() interfaces for SCSI bus

Add two interfaces hotplug() and hot_unplug() to scsi bus info.
The scsi bus can implement these two interfaces to signal the HBA driver
of guest kernel to add/remove the scsi device in question....

e48e84ea 07/27/2012 09:25 am Paolo Bonzini

scsi: establish precedence levels for unit attention

When a device is resized, we will report a unit attention condition
for CAPACITY DATA HAS CHANGED. However, we should ensure that this
condition does not override a more important unit attention condition....

814589c4 07/27/2012 09:25 am Paolo Bonzini

scsi: add tracepoint for scsi_req_cancel

Signed-off-by: Paolo Bonzini <>