- Aug 25, 2011
-
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
cfi02 is annoying in that is ignores some address bits; we probably want explicit support in the memory API for that. Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
The code will remap all PAMs, even if just one is updated, resulting in reduced performance. Wrap in a transaction to detect that those other PAMs have not changed. Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
This prevents spurious unmapping and remapping of the vga windows, which reduces performance. Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Acked-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- Aug 24, 2011
-
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
No longer used. Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Reviewed-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- Aug 23, 2011
-
-
Alexander Graf authored
When an exception occurs on BookE, we need to set ESR bits to expose to the guest information on what exactly happened. Add the obvious ones. Reported-by:
Jason Wessel <jason.wessel@windriver.com> Signed-off-by:
Alexander Graf <agraf@suse.de> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Alexander Graf authored
When accessing an SPE instruction despite it being not available, throw an SPE exception instead of an APU exception. That way the guest knows what's going on and actually uses SPE. Reported-by:
Jason Wessel <jason.wessel@windriver.com> Signed-off-by:
Alexander Graf <agraf@suse.de> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Alexander Graf authored
The BookE spec specifies a number of ESR bits. Add defines for them so we can use them later on. Reported-by:
Jason Wessel <jason.wessel@windriver.com> Signed-off-by:
Alexander Graf <agraf@suse.de> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Maydell authored
Remove a spurious second map of the OMAP GPMC CS0 region on reset. This fixes an assertion failure when we try to add the region to its container when it was already added. (The old code did not complain about mismatched map/unmap calls, but the new MemoryRegion implementation does.) Signed-off-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Richard Henderson authored
Signed-off-by:
Richard Henderson <rth@twiddle.net> Reviewed-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
- Aug 22, 2011
-
-
Peter Crosthwaite authored
This is a microblaze target specific function that belongs outside of xilinx.h (which is a collection of target independent device model instantiator functions) Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Peter Crosthwaite authored
Added some missing #includes for this file. Previously this file relied on its clients to pre-include its dependencies. Signed-off-by:
Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com>
-
Jan Kiszka authored
While in full-screen mode, the input focus naturally belongs to the SDL window. Avoid dropping it when switching from absolute to relative mouse mode. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
We can express the VCPU thread wakeup with the stop mechanism, saving both qemu_system_ready and the qemu_system_cond. For KVM threads, we can just enter the main loop as long as the thread is stopped. The central TCG thread is better held back before the loop as there can be side effects of the services called even when all CPUs are stopped. Creating VCPUs in stopped state will also be required for proper CPU hotplugging support. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
Memory region refactorings obsoleted them. CC: Avi Kivity <avi@redhat.com> Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
Most VGA memory access modes require MMIO handling as they demand weird logic to get a byte from or into the video RAM. However, there is one exception: chain 4 mode with all memory planes enabled for writing. This mode actually allows lineary mapping, which can then be combined with dirty logging to accelerate KVM. This patch accelerates specifically VBE accesses like they are used by grub in graphical mode. Not only the standard VGA adapter benefits from this, also vmware and spice in VGA mode. CC: Gerd Hoffmann <kraxel@redhat.com> CC: Avi Kivity <avi@redhat.com> Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
After the conversion to the new Memory API, vga_dirty_log_restart became seriously pointless. Remove it from vmware-vga and and then finally drop the service. CC: Andrzej Zaborowski <balrogg@gmail.com> CC: Avi Kivity <avi@redhat.com> Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
The code was disabled since day 1 of vmware-vga, and now it does not even build anymore. Time for a cleanup. CC: Andrzej Zaborowski <balrogg@gmail.com> Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
Elimiates 'vmsvga_value_write: guest runs Linux.' messages from the console. CC: Andrzej Zaborowski <balrogg@gmail.com> Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
Fixes cold reset in vmware graphic modes. We need to split up the reset function for this purpose, breaking out init-once bits. Cc: Andrzej Zaborowski <balrogg@gmail.com> Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
If the polarity bit is set in the redirection table, the input level simply has to inverted as it is low active in this case. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
Polarity of external interrupts needs to be handled in the IOAPIC. Passing it to the APIC is pointless. So remove all these arguments. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
In TCG mode, iothread and vcpus run in lock-step. So it's pointless to send a signal from qemu_cpu_kick to the vcpu thread - if we got here, the receiver already left the vcpu loop. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
Polling until select returns empty fdsets helps to reduce the switches between iothread and vcpus. The benefit of this patch is best visible when running an SMP guest on an SMP host in emulation mode. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
If we call select without a timeout, it's more efficient to keep the global mutex locked as we may otherwise just play ping pong with a vcpu thread contending for it. This is particularly important for TCG mode where we run in lock-step with the vcpu thread. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Anthony Liguori authored
-