s390: fix reset hypercall to reset the status
This patch fixes the reset hypercall which is supposed to alsoreset the device status in device memory.This fixes the following bug:
[root@localhost driver]# echo virtio0 > unbind[ 35.056966] ------------[ cut here ]------------...
s390: fix short kernel command lines
The default kernel command line for s390 is"root=/dev/ram0 ro"
When overriding this line, we have to ensure to also copy the \0 toavoid false lines, for example, -append "root=/dev/vda" will result in"root=/dev/vda0 ro" with the current code....
s390: Fix cpu shutdown for KVM
On s390 a shutdown is the state of all CPUs being either stoppedor disabled (for interrupts) waiting. We have to track the overallnumber of running CPUs to call the shutdown sequence accordingly.This patch implements the counting and shutdown handling for the...
hw/onenand: reject read-only drives
Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>Reviewed-by: Markus Armbruster <armbru@redhat.com>Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/nand: reject read-only drives
also gracefully fail on nand_device_init() for unsupported blocksize instead of aborting.
hw/arm_sysctl: Fix RESETCTL for realview-pb-a8 and -pbx-a9
Depending on the considered baseboard the bit used toreset the platform is different.
Here is the list of considered Realview/Versatile platforms:
Realview/Versatile AB for ARM926EJ-S: BOARD_ID = 0x100 = BOARD_ID_PB9...
hw/pxa2xx.c: Fix handling of RW bits in PMCR
Fix an error in commit afd4a6522 which meant that writing a zeroto the RW bits in the PMCR wouldn't actually clear them. (Errorspotted by Andrzej Zaborowski.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
hw/usb-net.c: Fix precedence bug when checking rndis_state
"!X == 2" is always false (spotted by Coverity), so the checksfor whether rndis is in the correct state would never fire.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Merge remote-tracking branch 'kwolf/block-stable' into staging
hw/arm_timer.c: Fix bounds check for Integrator timer accesses
There are only three counter/timers on the integrator board:correct the bounds check to avoid an array overrun. (Spottedby Coverity, see bug 887883).
View revisions
Also available in: Atom