#
57479453 |
| 09-Jun-2021 |
Nadav Amit <nadav.amit@gmail.com> |
lib/x86: report result through serial console when no test device
If there are no test devices, we might be running on bare-metal or other environment, in which port 0xF4, which reports the test res
lib/x86: report result through serial console when no test device
If there are no test devices, we might be running on bare-metal or other environment, in which port 0xF4, which reports the test result, is not monitored. In such environments, print also the result of the test to the serial console.
For realmode: just give a simple indication whether the test passed or failed in a similar fashion.
This can allow automation tools to figure out the test is done and its result.
Signed-off-by: Nadav Amit <nadav.amit@gmail.com> Message-Id: <20210609182945.36849-2-nadav.amit@gmail.com>
show more ...
|
#
ce5a7e2d |
| 13-May-2019 |
Nadav Amit <nadav.amit@gmail.com> |
x86: Halt on exit
In some cases, shutdown through the test device and Bochs might fail. Just hang in a loop that executes halt in such cases. Remove the __builtin_unreachable() as it is not needed a
x86: Halt on exit
In some cases, shutdown through the test device and Bochs might fail. Just hang in a loop that executes halt in such cases. Remove the __builtin_unreachable() as it is not needed anymore.
Signed-off-by: Nadav Amit <nadav.amit@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
497d0f12 |
| 21-Sep-2018 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge tag 'for-master' of https://github.com/rhdrjones/kvm-unit-tests into HEAD
arm/arm64 patches ready for master
|
#
96d79976 |
| 20-Jul-2018 |
Andre Przywara <andre.przywara@arm.com> |
mark exit() and abort() as non-returning functions
exit() and abort() are functions that never return, and (at least) GCC has an attribute to flag those functions accordingly. This allows the compil
mark exit() and abort() as non-returning functions
exit() and abort() are functions that never return, and (at least) GCC has an attribute to flag those functions accordingly. This allows the compiler to do further optimizations and to omit various warnings about uninitialized variables, for instance. Since the actual "play-dead" function is in (inline) assembly, the compiler does not recognize its fatal nature, so help it with the __builtin_unreachable() hint. Flag the prototypes of our fatal functions accordingly.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andrew Jones <drjones@redhat.com>
show more ...
|
#
0f4f2acb |
| 21-Jul-2018 |
Eugene Korenevsky <ekorenevsky@gmail.com> |
x86: io: force carriage return on \n put to serial port
When '\n' (line feed) is put to serial port, put '\r' (carriage return) as well. This makes the serial port output to look properly (without s
x86: io: force carriage return on \n put to serial port
When '\n' (line feed) is put to serial port, put '\r' (carriage return) as well. This makes the serial port output to look properly (without stairs) at real hardware. Also the output looks well at QEMU/KVM and BOCHS emulators.
Signed-off-by: Eugene Korenevsky <ekorenevsky@gmail.com> Message-Id: <20180721185915.GA21451@vnote> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
b3a7cfdc |
| 21-Jul-2018 |
Eugene Korenevsky <ekorenevsky@gmail.com> |
x86: io: fix 8250 serial controller initialization
These changes make serial controller working at real hardware and BOCHS: - Disable interrupts - Set up LCR, FCR, MCR properly
Signed-off-by: Eugen
x86: io: fix 8250 serial controller initialization
These changes make serial controller working at real hardware and BOCHS: - Disable interrupts - Set up LCR, FCR, MCR properly
Signed-off-by: Eugene Korenevsky <ekorenevsky@gmail.com> Message-Id: <20180721185657.GA21275@vnote> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
dcda215b |
| 23-Oct-2017 |
Paolo Bonzini <pbonzini@redhat.com> |
vmalloc: convert to alloc_ops
The final step moves the vmalloc and vmap implementation to generic code, rewriting vmalloc and vfree as an alloc_ops implementation that is installed by setup_vm.
Thi
vmalloc: convert to alloc_ops
The final step moves the vmalloc and vmap implementation to generic code, rewriting vmalloc and vfree as an alloc_ops implementation that is installed by setup_vm.
This way all architectures can benefit from it just by calling setup_vm and providing the implementation of install_page.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
f1abb07b |
| 06-Jun-2016 |
Alexander Gordeev <agordeev@redhat.com> |
x86: io: Factor out ioremap()
Cc: Andrew Jones <drjones@redhat.com> Cc: Thomas Huth <thuth@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Reviewed-by: Andr
x86: io: Factor out ioremap()
Cc: Andrew Jones <drjones@redhat.com> Cc: Thomas Huth <thuth@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Alexander Gordeev <agordeev@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
55601383 |
| 06-Jun-2016 |
Alexander Gordeev <agordeev@redhat.com> |
x86: Introduce lib/x86/asm/io.h
Make x86 consistent with other architectures and put IO specific defines to lib/x86/asm/io.h
Cc: Andrew Jones <drjones@redhat.com> Cc: Thomas Huth <thuth@redhat.com>
x86: Introduce lib/x86/asm/io.h
Make x86 consistent with other architectures and put IO specific defines to lib/x86/asm/io.h
Cc: Andrew Jones <drjones@redhat.com> Cc: Thomas Huth <thuth@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Alexander Gordeev <agordeev@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
0f54b9b2 |
| 09-May-2013 |
Paolo Bonzini <pbonzini@redhat.com> |
io: only initialize serial port once
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
|
#
ac1690b2 |
| 06-Sep-2011 |
Avi Kivity <avi@redhat.com> |
io.c: add missing #endif
fixed build.
Signed-off-by: Avi Kivity <avi@redhat.com>
|
#
28fb1a86 |
| 30-Aug-2011 |
Lucas Meneghel Rodrigues <lmr@redhat.com> |
Make I/O more friendly to existing QEMU hardware
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 seri
Make I/O more friendly to existing QEMU hardware
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>
show more ...
|
#
7d36db35 |
| 03-Aug-2010 |
Avi Kivity <avi@redhat.com> |
Initial commit from qemu-kvm.git kvm/test/
Signed-off-by: Avi Kivity <avi@redhat.com>
|