kvmvapic: Disable if there is insufficient memory
We need at least 1M of RAM to map the option ROM. Otherwise, we willcorrupt host memory or even crash:
$ qemu-system-x86_64 -nodefaults --enable-kvm -vnc :0 -m 640k Segmentation fault (core dumped)...
kvm: i8254: Cache kernel clock offset in KVMPITState
To prepare the final fix for clock calibration issues with the in-kernelPIT, we want to cache the offset between vmclock and the clock used bythe in-kernel PIT. So far, we only need to update it when the VM state...
kvm: i8254: Finish time conversion fix
0cdd3d1444 fixed reading back the counter load time from the kernelwhile assuming the kernel would always update its load time on writingthe state. That is only true for channel 1, and so pit_get_channel_inforeturned wrong output pin states for high counter values....
Merge remote-tracking branch 'qmp/queue/qmp' into staging
Merge remote-tracking branch 'pmaydell/arm-devs.next' into staging
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....
arm: Move some ARM devices into libhw
Avoids some unnecessary dependencies on cpu.h and prepares fora future armeb-softmmu where most machines would not be built.
Defer touching the SoC devices since most have implicit or explicitdependencies on the CPU....
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
hw/sd.c: make sd_wp_addr() return bool
For the sake of code clarity
Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ssd0323: abort() instead of exit(1) on error.
To be more consistent with the newer ways of error signalling. That and SIGABTis easier to debug with than exit(1).
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>Reviewed-by: Peter Maydell <peter.maydell@linaro.org>...
View revisions
Also available in: Atom