History | View | Annotate | Download (68.8 kB)
softmmu: move include files to include/sysemu/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
misc: move include files to include/qemu/
pci: update all users to look in pci/
update all users so we can remove the makefile hack.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
megasas: Use bdrv_drain_all instead of qemu_aio_flush
Calling qemu_aio_flush() directly can hang when combined with I/Othrottling.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Acked-by: Paolo Bonzini <pbonzini@redhat.com>
megasas: Correct target/lun mapping
The structure to reference a logical drive has an unused field,which can be used to carry the lun ID. This enabled seabios toestablish the proper target/LUN mapping.
Cc: Paolo Bonzini <pbonzini@redhat.com>Cc: Gerd Hoffmann <kraxel@redhat.com>...
megasas: do not include block_int.h
Rename target_phys_addr_t to hwaddr
target_phys_addr_t is unwieldly, violates the C standard (_t suffixes arereserved) and its purpose doesn't match the name (most target_phys_addr_taddresses are not target specific). Replace it with a finger-friendly,...
cleanup useless return sentence
This patch cleans up return sentences in the end of void functions.
Reported-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Amos Kong <akong@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
megasas: Add 'hba_serial' property
Add a 'hba_serial' property to the megasas driver. Originallyit would be using a pointer value which would break migration.
Reported-by: Stefan Weil <sw@weilnetz.de>Cc: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Hannes Reinecke <hare@suse.de>...
megasas: static SAS addresses
This patch introduces a new property 'sas_address' whichallows the user to specify the SAS address for the HBA.The default address is following the NAA locally assignedidentifier format with the locally assigned address0x525400 as used eg for the MAC addresses....
megasas: Update function megasys_scsi_uninit
Commit f90c2bcdbc69e41e575f868b984c3e2de8f51bac changedPCIUnregisterFunc, therefore the function prototypeneeds an update.
megasas.o is currently not linked, so this bug was notdetected by the buildbots.
Signed-off-by: Stefan Weil <sw@weilnetz.de>...
megasas: Replace trace_megasas_dcmd_dump_frame()
trace_megasas_dcmd_dump_frame() takes 9 arguments, which israther much. Plus the trace infrastructure doesn't supportit. As we can get the information via other means it's pointlessto have it in the driver, so rather use some proper trace...
megasas: fix misuse of scsi_req_abort
scsi_req_abort is for terminating a command with a non-zero status.The ABORT task management function is invoked by scsi_req_cancel.In fact, ABORTED_COMMAND is a sense key, not a SAM status code.
megasas: mark mfi_frame_desc as 'static'
Suggested by blue swirl. Patch is on top of Paolo'sscsi-next tree.
Signed-off-by: Hannes Reinecke <hare@suse.de>Cc: Paolo Bonzini <pbonzini@redhat.com>Cc: Blue Swirl <blauwirbel@gmail.com>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
megasas: LSI Megaraid SAS HBA emulation
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.I've tested it to work with Linux, Windows Vista, and Windows7.
Signed-off-by: Hannes Reinecke <hare@suse.de>[ Squashed trivial changes from Andreas Faerber, rebased over IOMMU...