parallel: refactor device creation
Turn parallel_init into an inline function.
Don't expose ParallelState.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Fix vmport segfault (v2)
Fix regression caused by qdev conversion.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Merge remote branch 'qemu-kvm/uq/master' into staging
Merge mainstone.h header into mainstone.c
Now the only user of mainstone.h is mainstone.c file. Merge headerinto board file.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
mainstone: convert FPGA emulation code to use QDev/SysBus
mainstone: correct and simplify irq handling
Simplify IRQ handling to stop setting an input irq pin. As a win, also getcorrect IRQ status after save/load cycle.
correctly check ppr priority during interrupt injection]
TPR blocks all interrupts in a priority class, so simple "less orequal" check is not enough.
Signed-off-by: Gleb Natapov <gleb@redhat.com>Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kvm: x86: Introduce kvmclock device to save/restore its state
If kvmclock is used, which implies the kernel supports it, register akvmclock device with the sysbus. Its main purpose is to save and restorethe kernel state on migration, but this will also allow to visualize it...
Introduce log_start/log_stop in CPUPhysMemoryClient
In order to use log_start/log_stop with Xen as well in the vga code,this two operations have been put in CPUPhysMemoryClient.
The two new functions cpu_physical_log_start,cpu_physical_log_stop areused in hw/vga.c and replace the kvm_log_start/stop. With this, vga does...
cirrus: Remove obsolete kvm.h include
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
View revisions
Also available in: Atom