qemu/include/hw
Fam Zheng 61e68b3fbd scsi: Optimize scsi_req_alloc
Zeroing sense buffer for each scsi request is not efficient, we can just
leave it uninitialized because sense_len is set to 0.

Move the implicitly zeroed fields to the end of the structure and use a
partial memset.

The explicitly initialized fields (by scsi_req_alloc or scsi_req_new)
are moved to the beginning of the structure, before sense buffer, to
skip the memset.

Also change g_malloc0 to g_slice_alloc.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-09-23 15:40:51 +02:00
..
acpi Add ACPI tables for TPM 2014-08-25 00:16:06 +02:00
arm arm: armv7m: Rename address_space_mem -> system_memory 2014-08-19 19:02:40 +01:00
audio
block block: Pass errp in blkconf_geometry 2014-08-26 13:20:44 +02:00
char
cpu
cris
i2c smbus: return -1 if nothing found at the given address 2014-05-07 19:14:46 +03:00
i386 xhci PCIe endpoint migration compatibility fix 2014-09-10 07:20:53 +02:00
input input: switch hid mouse and tablet to the new input layer api. 2014-05-26 08:42:43 +02:00
intc arm: vgic device control api support 2014-02-26 17:20:00 +00:00
ipack
isa
kvm
lm32
m68k
mem qmp: add query-memory-devices command 2014-06-19 18:44:22 +03:00
mips hw/mips: Add API to convert KVM guest KSEG0 <-> GPA 2014-06-18 16:58:10 +02:00
misc vfio: Add vfio_container_ioctl() 2014-06-27 13:48:23 +02:00
net allwinner-emac: set autonegotiation complete bit on link up 2014-04-17 21:34:06 +01:00
nvram sun4m: Set HostID in NVRAM 2014-02-27 10:01:40 +00:00
pci pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_* 2014-08-25 00:16:06 +02:00
pci-host Patch queue for ppc - 2014-09-08 2014-09-08 12:02:07 +01:00
ppc spapr_pci: map the MSI window in each PHB 2014-09-08 12:50:53 +02:00
s390x sclp-s390: Add device to manage s390 memory hotplug 2014-09-01 09:25:32 +02:00
scsi scsi: Optimize scsi_req_alloc 2014-09-23 15:40:51 +02:00
sh4
sparc
timer allwinner-a10-pit: implement prescaler and source selection 2014-04-17 21:34:06 +01:00
tricore target-tricore: Add board for systemmode 2014-09-01 14:49:20 +01:00
unicore32
usb usb: move ehci register defines to header file 2014-06-02 16:28:59 +02:00
virtio block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
xen xen_backend: introduce xenstore_read_uint64 and xenstore_read_fe_uint64 2014-07-07 10:37:40 +00:00
boards.h intel-iommu: add Intel IOMMU emulation to q35 and add a machine option "iommu" as a switch 2014-08-28 23:10:22 +02:00
bt.h
devices.h
elf_ops.h elf-loader: add more return codes 2014-03-05 03:06:46 +01:00
empty_slot.h
fw-path-provider.h fw-path-provider: Change GPL version to 2+ 2014-04-07 15:36:07 +02:00
hotplug.h
hw.h
ide.h Call pci_piix3_xen_ide_unplug from unplug_disks 2014-02-20 17:28:08 +00:00
irq.h irq: Slim conversion of qemu_irq to QOM 2014-07-01 04:12:48 +02:00
loader.h loader: Add load_image_size() to replace load_image() 2014-09-08 12:50:48 +02:00
nmi.h cpus: Define callback for QEMU "nmi" command 2014-08-25 13:25:16 +02:00
pcmcia.h
ptimer.h
qdev-core.h qdev: Move global validation to a single function 2014-09-18 21:51:24 +03:00
qdev-dma.h qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
qdev-properties.h qdev: Rename qdev_prop_check_global() to qdev_prop_check_globals() 2014-09-18 21:51:24 +03:00
qdev.h
sd.h
ssi.h ssi: Name the CS GPIO 2014-05-28 17:36:21 +02:00
stream.h
sysbus.h sysbus: remove unused function sysbus_del_io 2014-08-17 23:25:24 +02:00
usb.h usb: add usb_bus_release function 2014-08-29 12:51:44 +02:00