#
02ee787f |
| 12-Jul-2018 |
mlarkin <mlarkin@openbsd.org> |
vmm(8)/vmm(4): send a copy of the guest register state to vmd on exit, avoiding multiple readregs ioctls back to vmm in case register content is needed subsequently.
ok phessler
|
#
2dda72b8 |
| 07-Jun-2017 |
mlarkin <mlarkin@openbsd.org> |
vmd: Implement simulated baudrate support in the ns8250 module. The previous version was allowing an output rate that is "too fast", and linux guests would give up after 512 characters TXed ("too muc
vmd: Implement simulated baudrate support in the ns8250 module. The previous version was allowing an output rate that is "too fast", and linux guests would give up after 512 characters TXed ("too much work for irq4").
This diff calculates the approximate rate we can sustain at the current programmed baud rate and limits the output to that rate by inserting a HZ delay after a specified number of characters have been transmitted. This fixes the linux guest console issue.
Note that the console now outputs at more or less the selected baud rate, instead of nearly instantaneously as before - if you selected 9600 in your guest VMs before, you might want to change that to 115200 now for a better console experience.
krw@ "seems like a good idea to me"
show more ...
|
#
b966d91a |
| 25-Mar-2017 |
mlarkin <mlarkin@openbsd.org> |
Last bits needed to get seabios + alpine linux working. This is enough to get started and let more people help finding and fixing bugs.
ok kettenis, deraadt
|
#
46635426 |
| 25-Mar-2017 |
mlarkin <mlarkin@openbsd.org> |
Introduce a new function to obtain properly sized input data, and convert i8253/i8259/mc146818 emulation to use this.
|
#
ffc3523b |
| 21-Mar-2017 |
mlarkin <mlarkin@openbsd.org> |
Fix two errors in NS8250 (UART) emulation. The first error zeroed out the high bits of %eax on reading register data from the emulated UART ports. The second error didn't properly assert the TXRDY bi
Fix two errors in NS8250 (UART) emulation. The first error zeroed out the high bits of %eax on reading register data from the emulated UART ports. The second error didn't properly assert the TXRDY bit during init - this bit was only set after the first character was sent. Both these bugs caused seabios to not be able to output any data. Found during the recent effort to get Linux guests booting.
show more ...
|
#
ecc93de1 |
| 01-Sep-2016 |
mlarkin <mlarkin@openbsd.org> |
Add a set of emulated legacy devices (PIT, PIC, RTC)
discussed with stefan and deraadt
|