1. 16 Jun, 2014 1 commit
  2. 12 Jun, 2014 1 commit
  3. 27 May, 2014 1 commit
    • Paolo Bonzini's avatar
      x86: smap: new testcase · fa6318d1
      Paolo Bonzini authored
      Test various combinations of the AC bit and reading/writing into
      user pages at CPL=0.
      One notable missing test is implicit kernel reads and writes (e.g.
      reading the IDT/GDT/LDT/TSS).  The interesting part of this is that
      AC must be ignored in ring 3; the processor always behaves as if AC=0.
      I skipped this because QEMU doesn't emulate this correctly, and because
      right now there's no kvm-unit-tests infrastructure to run code in ring
      3 at all.
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
  4. 22 Jan, 2014 2 commits
  5. 07 Aug, 2013 1 commit
  6. 30 Jul, 2013 1 commit
    • Arthur Chunqi Li's avatar
      kvm-unit-tests : Basic architecture of VMX nested test case · 9d7eaa29
      Arthur Chunqi Li authored
      This is the first version of VMX nested environment. It contains the
      basic VMX instructions test cases, including VMXON/VMXOFF/VMXPTRLD/
      basic execution routine in VMX nested environment andlet the VM print
      "Hello World" to inform its successfully run.
      The first release also includes a test suite for vmenter (vmlaunch and
      vmresume). Besides, hypercall mechanism is included and currently it is
      used to invoke VM normal exit.
      New files added:
      x86/vmx.h : contains all VMX related macro declerations
      x86/vmx.c : main file for VMX nested test case
      Signed-off-by: default avatarArthur Chunqi Li <yzt356@gmail.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
  7. 12 May, 2013 1 commit
  8. 07 Mar, 2013 1 commit
  9. 28 Nov, 2012 1 commit
  10. 31 May, 2012 1 commit
  11. 14 May, 2012 1 commit
  12. 05 Mar, 2012 1 commit
  13. 18 Jan, 2012 1 commit
    • Takuya Yoshikawa's avatar
      Add dirty logging performance test · ae5e9163
      Takuya Yoshikawa authored
      Can be used to check how long it takes to get dirty log according to
      the number of dirty pages as follows:
        $ ./api/dirty-log-perf
        rip 804a3fa
        rip 804a3fa
        get dirty log:      80824 ns for          1 dirty pages
        rip 804a3fa
        get dirty log:      60077 ns for          2 dirty pages
        rip 804a3fa
        get dirty log:      51745 ns for          4 dirty pages
        rip 804a3fa
        get dirty log:    2008468 ns for      65536 dirty pages
        rip 804a3fa
        get dirty log:    3402165 ns for     131072 dirty pages
        rip 804a3fa
        get dirty log:    5614625 ns for     262144 dirty pages
      Signed-off-by: default avatarTakuya Yoshikawa <takuya.yoshikawa@gmail.com>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
  14. 27 Jul, 2011 1 commit
  15. 19 Jan, 2011 1 commit
  16. 29 Dec, 2010 5 commits
  17. 22 Dec, 2010 6 commits
  18. 05 Dec, 2010 1 commit
  19. 01 Sep, 2010 2 commits
    • Jason Wang's avatar
      Add tests for kvm-clock · ce83c7ad
      Jason Wang authored
      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
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    • Jason Wang's avatar
      Introduce atomic operations · 584afc90
      Jason Wang authored
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
  20. 26 Aug, 2010 2 commits
  21. 25 Aug, 2010 1 commit
  22. 03 Aug, 2010 1 commit