#
31e68df7 |
| 08-Jun-2020 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: always set up SMP
Currently setup_vm cannot assume that it can invoke IPIs, and therefore only initializes CR0/CR3/CR4 on the CPU it runs on. In order to keep the initialization code clean, le
x86: always set up SMP
Currently setup_vm cannot assume that it can invoke IPIs, and therefore only initializes CR0/CR3/CR4 on the CPU it runs on. In order to keep the initialization code clean, let's just call smp_init (and therefore setup_idt) unconditionally.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
8dc6b730 |
| 13-Jun-2017 |
Andrew Jones <drjones@redhat.com> |
x86/kvmclock_test: apply on_cpus
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
|
#
b2e0a90f |
| 31-Oct-2016 |
Andrew Jones <drjones@redhat.com> |
x86/kvmclock_test: fix i386 compilation
Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <1477939540-28370-1-git-send-email-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@red
x86/kvmclock_test: fix i386 compilation
Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <1477939540-28370-1-git-send-email-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
72246052 |
| 01-Sep-2016 |
Paolo Bonzini <pbonzini@redhat.com> |
kvmclock_test: show raw nanoseconds value
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
b006d7eb |
| 03-Mar-2016 |
Andrew Jones <drjones@redhat.com> |
x86: fix printf format warnings
Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1457008388-12749-5-git-send-email-drjones@redhat.com> [Fix c
x86: fix printf format warnings
Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1457008388-12749-5-git-send-email-drjones@redhat.com> [Fix conflicts with "x86: clean up exit use, use abort". - Paolo Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Conflicts:
lib/x86/desc.c
show more ...
|
#
4f0202c0 |
| 03-Sep-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: kvmclock_test: run wallclock test on all CPUs
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
09b22d11 |
| 13-Jan-2011 |
Avi Kivity <avi@redhat.com> |
kvmclock_test: fix smp initialization
cpu_count() is not valid before smp_init().
Signed-off-by: Avi Kivity <avi@redhat.com>
|
#
ce83c7ad |
| 31-Aug-2010 |
Jason Wang <jasowang@redhat.com> |
Add tests for kvm-clock
This patch implements three tests for kvmclock. First one check whether the date of time returned by kvmclock matches the value got from host. Second one check whether the cy
Add tests for kvm-clock
This patch implements three tests for kvmclock. First one check whether the date of time returned by kvmclock matches the value got from host. Second one check whether the cycle of kvmclock grows monotonically in smp guest and the count of warps and stalls are also recorded. The last test is a performance test to measure the guest cycles cost when trying to read cycle of kvmclock.
Three parameters were accepted by the test: test loops, seconds since 1970-01-01 00:00:00 UTC which could be easily get through date +%s and the max accepted offset value between the tod of guest and host.
Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
show more ...
|