- 10 Oct, 2011 1 commit
-
-
Liu, Jinsong authored
Tests now use the serial port for output. Signed-off-by:
Liu, Jinsong <jinsong.liu@intel.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 26 Sep, 2011 1 commit
-
-
Avi Kivity authored
If multiple NMIs occur simultaneously, the first is handled while the others are collapsed and queued. But the current implementation may collapse all NMIs into the first if timing is bad. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 14 Sep, 2011 1 commit
-
-
Avi Kivity authored
Used to be broken in multiple ways. Signed-off-by:
Avi Kivity <avi@redhat.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- 06 Sep, 2011 5 commits
-
-
Avi Kivity authored
This allows other callers to use desc.c without conflict. Fixes apic.flat failure with -smp 2. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
There are multiple callers, so be forgiving. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
boot_idt is set up an all cpus by the startup code, unlike the idt local to desc.c. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
fixed build. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
It's a volatile pointer to a function returning void, not a pointer to a function returning volatile void. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 31 Aug, 2011 2 commits
-
-
Lucas Meneghel Rodrigues authored
Use the serial port for printf() and use the Bochs bios exit port if the testdev port isn't available. This unconditionally switches to use the serial port but tries to use the testdev exit port since that lets you pass an exit status. Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com> Signed-off-by:
Lucas Meneghel Rodrigues <lmr@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Lucas Meneghel Rodrigues authored
Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 27 Jul, 2011 2 commits
-
-
Conny Seidel authored
Since the -enable-nesting option is no longer available remove the option from the config file. Signed-off-by:
Conny Seidel <conny.seidel@amd.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Conny Seidel authored
Add runtime detection of 32bit libraries to prevent build fails. Signed-off-by:
Conny Seidel <conny.seidel@amd.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 18 Jul, 2011 1 commit
-
-
Yang, Wei authored
This patch adds SMEP to all test cases and checks SMEP when cr0.wp=0. Signed-off-by:
Yang, Wei <wei.y.yang@intel.com> Signed-off-by:
Shan, Haitao <haitao.shan@intel.com> Signed-off-by:
Li, Xin <xin.li@intel.com> Reviewed-by:
Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- 21 Jun, 2011 1 commit
-
-
Avi Kivity authored
kvm has a bug with instructions of the form opcode $imm, displ(%%rip) Where the effective address was not calculated correctly. Test it now. Signed-off-by:
Avi Kivity <avi@redhat.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- 29 Mar, 2011 1 commit
-
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 19 Jan, 2011 3 commits
-
-
Gleb Natapov authored
Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
Gleb Natapov authored
If exception with error code is handled by task gate, error code should be pushed to new task stack. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
Gleb Natapov authored
Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- 13 Jan, 2011 1 commit
-
-
Avi Kivity authored
cpu_count() is not valid before smp_init(). Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 06 Jan, 2011 3 commits
-
-
Avi Kivity authored
'nr_cpus_done' is not incremented atomically; this has been observed to cause tests to stall. Fix by using a proper atomic increment. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
cpu_count() is used in important places, like vmexit.flat's measuring loop, yet it is ridiculously slow as it talks to the firmware config interface. Speed it up by reading the value from memory. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
We fire off the IPI, but don't wait for the other cpu to pickk up the function and data before returning. Fix by making the other cpu ACK the receipt of the IPI (but still execute the result asynchrously). Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 02 Jan, 2011 3 commits
-
-
Avi Kivity authored
This test round-robins executions among all cpus. If overcommitted, it will execute at the rate the host switches vcpu contexts. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
qemu -device testdev,chardev=log -chardev stdio,id=log \ -kernel vmexit.flat -append 'test1 test2 test3' will run test1, test2, and test3, and skip all others. Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- 29 Dec, 2010 15 commits
-
-
Gleb Natapov authored
Add various event injection test. Those tests use testdev to unmap pages from shadow pages/ept tables which make it possible to test rare scenarios. [avi: my compiler didn't like "foo"R"bar", added spaces] Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Provide easy way for test to hook its own exception handler. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Pass parameter to exception handler in correct register. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
The way virtual memory is setup now does not leave space for vmalloc on 32bit system. Make a hole in address space from 2G to 3G for vmalloc on 32 bit. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
It has more test cases then existing one. These test cases were written when I worked on fixing task switch emulation code. Most of them check for previously existing issue. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
All descriptor related code will go there. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Use library idt code instead. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
access.c has functions that are provided by library code. Remove them and use library functions instead. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
Gleb Natapov authored
Make it compilable in 32 and 64 bit mode. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-