use qemu_blockalign consistently
Use qemu_blockalign for all allocations in the block layer. This allowsincreasing the required alignment, which is need to support O_DIRECT ondevices with large block sizes.
Signed-off-by: Christoph Hellwig <hch@lst.de>...
Merge remote branch 'mst/for_anthony' into staging
e1000: Pad short frames to minimum size (60 bytes)
The OpenIndiana (Solaris) e1000g driver drops frames that are too longor too short. It expects to receive frames of at least the Ethernetminimum size. ARP requests in particular are small and will be dropped...
Use gcc warning flag -Wempty-body
If the compiler supports the warning flag -Wempty-body, use it.
Adjust the code to avoid the warnings.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
pxa2xx: remove useless checks
Remove checks which were made useless by r5849,8da3ff180974732fc4272cb4433fef85c1822961.
This also avoids a warning with GCC flag -Wtype-limits.
pxa2xx: fix SSSR TFN logic
Fix SSSR TFN logic: TX FIFO is never filled, so it is always inunderrun condition if SSP is enabled.
This also avoids a gcc warning with -Wtype-limits.
Check for errors during BIOS or kernel load
Because of the use of unsigned types, possible errors duringBIOS or kernel load were ignored.
Fix by using a signed type.
This also avoids some warnings with GCC flag -Wtype-limits.
Introduce range.h
Extract range functions from pci.h. These will be used by later patchesby non-PCI devices. Adjust current users.
Use range_covers_byte
Use range_covers_byte() instead of comparisons.
This avoids some warnings with GCC flag -Wtype-limits.
serial: Update parameters after load
This is the patch to update serial port parameters after guest isalready loaded.
Signed-off-by: Michal Novotny <minovotn@redhat.com>Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
View revisions
Also available in: Atom