History log of /kvm-unit-tests/x86/realmode.c (Results 26 – 50 of 63)
Revision Date Author Comments
# 18ba9083 04-Nov-2013 Gleb Natapov <gleb@redhat.com>

kvm-unit-test: fix cpuid test

If cpuid is called with function value greater than max supported one
max supported value is used instead and index parameter is honored. That
is why we need to initial

kvm-unit-test: fix cpuid test

If cpuid is called with function value greater than max supported one
max supported value is used instead and index parameter is honored. That
is why we need to initialize index to same value in the test to get
same result from both cpuid invocations.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>

show more ...


# 88b6dac4 31-Oct-2013 Paolo Bonzini <pbonzini@redhat.com>

realmode: test SAHF instruction

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>


# 4f66bc86 04-Sep-2013 Bruce Rogers <brogers@suse.com>

realmode: test RETF imm

Signed-off-by: Bruce Rogers <brogers@suse.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


# 1a4c03a0 06-Jun-2013 Arthur Chunqi Li <yzt356@gmail.com>

kvm-unit-tests: Test case of emulating multibyte NOP

Add multibyte (1 to 4-bytes) NOPL test case to kvm-unit-tests
x86/realmode.c. This test only consist of 16-bit NOPL insn,
other test cases (5 to

kvm-unit-tests: Test case of emulating multibyte NOP

Add multibyte (1 to 4-bytes) NOPL test case to kvm-unit-tests
x86/realmode.c. This test only consist of 16-bit NOPL insn,
other test cases (5 to 9-bytes NOPL) should be placed
in x86/emulator.c.

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>

show more ...


# f366255f 09-May-2013 Paolo Bonzini <pbonzini@redhat.com>

realmode: print to serial port

The realmode test is still printing to the old debug port at 0xf1.
Use the serial port instead.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb

realmode: print to serial port

The realmode test is still printing to the old debug port at 0xf1.
Use the serial port instead.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>

show more ...


# 5edbb9ae 09-May-2013 Paolo Bonzini <pbonzini@redhat.com>

realmode: restore DF at exit from exec_in_big_real_mode

Some tests fail if DF=1. Restore it directly after executing the test,
do not do it "magically" in print_serial.

Signed-off-by: Paolo Bonzin

realmode: restore DF at exit from exec_in_big_real_mode

Some tests fail if DF=1. Restore it directly after executing the test,
do not do it "magically" in print_serial.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>

show more ...


# 2a9b5718 09-May-2013 Paolo Bonzini <pbonzini@redhat.com>

realmode: test AAM, XLAT, SALC

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>


# 3013e079 24-Apr-2013 Gleb Natapov <gleb@redhat.com>

add test for "mov[zs]x %ah, ..." instruction

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# 0987db7a 20-Dec-2012 Gleb Natapov <gleb@redhat.com>

test fninit/fnstsw/fnstcw instructions emulation

Add test for fninit/fnstsw/fnstcw instructions emulation. This exact
code sequence is executed by Linux kernel during boot and sometimes gets
emulate

test fninit/fnstsw/fnstcw instructions emulation

Add test for fninit/fnstsw/fnstcw instructions emulation. This exact
code sequence is executed by Linux kernel during boot and sometimes gets
emulated by KVM.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

show more ...


# 8cd86387 10-Dec-2012 Gleb Natapov <gleb@redhat.com>

test aad instruction

Add test for aad instruction emulation.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# 09b657b6 22-Aug-2012 Avi Kivity <avi@redhat.com>

realmode: test that stack operations ignore the high word of %esp if ss.b is set

Signed-off-by: Avi Kivity <avi@redhat.com>


# b493b2e8 27-Jun-2012 Avi Kivity <avi@redhat.com>

realmode: test bswap

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# fd9ea640 27-Jun-2012 Avi Kivity <avi@redhat.com>

realmode: test movsx/movzx

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# 7ae3645a 27-Jun-2012 Avi Kivity <avi@redhat.com>

realmode: test lahf

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# c2281fa4 27-Jun-2012 Avi Kivity <avi@redhat.com>

realmode: test sigt/sgdt

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# ed93f43b 27-Jun-2012 Avi Kivity <avi@redhat.com>

realmode: test for ss base used with esp/ebp base register

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# 8f578e98 27-Jun-2012 Avi Kivity <avi@redhat.com>

realmode: test cpuid

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# 556d2680 25-Aug-2010 Wei Yongjun <yjwei@cn.fujitsu.com>

Add realmode test for CALL FAR IMM instruction

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# b1c7c575 24-Aug-2010 Wei Yongjun <yjwei@cn.fujitsu.com>

Add realmode test for jcxz instruction

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# 37f51a4a 23-Aug-2010 Wei Yongjun <yjwei@cn.fujitsu.com>

Add realmode test for LDS/LES/LFS/LGS/LSS instruction

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


# 6055ea1f 22-Aug-2010 Avi Kivity <avi@redhat.com>

realmode: fold register comparison test into report()

This makes is easier to test registers.

Signed-off-by: Avi Kivity <avi@redhat.com>


# 4aa22949 22-Aug-2010 Avi Kivity <avi@redhat.com>

realmode: fix esp in long jump test

esp needs to point at the end of the stack, or it will corrupt memory.

Signed-off-by: Avi Kivity <avi@redhat.com>


# 18253fde 22-Aug-2010 Avi Kivity <avi@redhat.com>

realmode: make inregs, outregs global

This removes a lot of parameter passing.

Signed-off-by: Avi Kivity <avi@redhat.com>


# 81050840 22-Aug-2010 Avi Kivity <avi@redhat.com>

Introduce report() function for realmode test to simplify result reporting

Signed-off-by: Avi Kivity <avi@redhat.com>


# d4dc402c 22-Aug-2010 Avi Kivity <avi@redhat.com>

Simplify exec_in_big_real_mode() calling convention

Instead of passing both the address and size of the instruction to be
executed, pass the address of a descriptor containing both.

The label denot

Simplify exec_in_big_real_mode() calling convention

Instead of passing both the address and size of the instruction to be
executed, pass the address of a descriptor containing both.

The label denoting the end of the instruction is eliminated, reducing
aliases which confuse objdump.

Signed-off-by: Avi Kivity <avi@redhat.com>

show more ...


123