pc_piix: Move kvm irq routing functions out of pc_piix.c
Rename: kvm_piix3_gsi_handlei() -> kvm_pc_gsi_handler() kvm_piix3_setup_irq_routing() -> kvm_pc_setup_irq_routing()
This is in preparation for other users, namely q35 at this time.
Signed-off-by: Jason Baron <jbaron@redhat.com>...
cpus: Pass CPUState to run_on_cpu()
CPUArchState is no longer needed.
Move the declaration to include/qemu/cpu.h and add documentation.
Signed-off-by: Andreas Färber <afaerber@suse.de>
apic: Store X86CPU in APICCommonState
Prepares for using a link<> property to connect APIC with CPU and forchanging the CPU APIs to CPUState.
Resolve Coding Style warnings by moving the closing parenthesis offoreach_apic() macro to next line.
Signed-off-by: Andreas Färber <afaerber@suse.de>...
pci-assign: Use pci_intx_route_changed()
Replace open coded version
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
pci-assign: Use msi_get_message()
pci-assign only uses a subset of the flexibility msi_get_message()provides, but it's still worthwhile to use it.
Rename target_phys_addr_t to hwaddr
target_phys_addr_t is unwieldly, violates the C standard (_t suffixes arereserved) and its purpose doesn't match the name (most target_phys_addr_taddresses are not target specific). Replace it with a finger-friendly,...
pci-assign: use monitor_handle_fd_param
There is no need to open-code the choice between a file descriptornumber or a named one. Just use monitor_handle_fd_param, whichalso takes care of printing the error message.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
kvm: i386: Add classic PCI device assignment
This adds PCI device assignment for i386 targets using the classic KVMinterfaces. This version is 100% identical to what is being maintainedin qemu-kvm for several years and is supported by libvirt as well. It is...
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....
View revisions
Also available in: Atom