Up to [local] / src / usr.sbin / vmd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 1 22:01:40 2022 UTC (21 months, 1 week ago) by dv
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
HEAD
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)
vmm(4): send all port io emulation to userland Simplify things by sending any io exits from IN/OUT instructions to userland instead of trying to emulate anything in the kernel. vmm was sending most pertinent exits to vmd anyways, so this functionally changes little. An added benefit is this solves an issue reported by tb@ where i386 OpenBSD guests would probe for a pc keyboard repeatedly and cause excessive vm exits. (The emulation in vmm was not properly handling these port reads.) While here, make the assignment of the VEI_DIR_{IN,OUT} enum values not assume the underlying integer the compiler may assign. ok mlarkin@
Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 26 17:10:10 2018 UTC (6 years, 1 month ago) by mlarkin
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)
vmd(8): handle PIT channel 2 status readback via port 0x61 Allow PIT channel 2 status (fired/counting) readback via port 0x61 bit 5. ok guenther@
Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 17 14:34:09 2018 UTC (6 years, 1 month ago) by cheloha
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)
Drive i8253 with CLOCK_MONOTONIC. Ensures that the olatch decrements uniformly, independent of system wall clock jumps. While here, roll the olatch computation in i8253_do_readback() into a loop, and leverage the timespec macros in sys/time.h. Both make the code a lot more readable. ok mlarkin@
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 9 00:51:40 2017 UTC (6 years, 11 months ago) by pd
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)
vmd/vmctl: Add ability to pause / unpause vms With help from Ashwin Agrawal ok reyk@ mlarkin@
Revision 1.6 / (download) - annotate - [select for diffs], Mon May 8 09:08:40 2017 UTC (7 years, 1 month ago) by reyk
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)
Adds functions to read and write state of devices in vmd. This is required for implementing vmctl send and vmctl receive. vmctl send / receive are two new options that will support snapshotting VMs and migrating VMs from one host to another. The atomicio files are copied from usr.bin/ssh. Patch from Pratik Vyas; this project was undertaken at San Jose State University along with his three teammates, Ashwin, Harshada and Siri with mlarkin@ as the advisor. OK mlarkin@
Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 28 08:14:48 2017 UTC (7 years, 1 month ago) by mlarkin
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
rename i8253 "counter" to "channel", a better name for what we are emulating
Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 8 19:06:04 2017 UTC (7 years, 2 months ago) by mlarkin
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)
implement channels 1 and 2 of the legacy PIT. ok otto, deraadt
Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 23 07:02:47 2017 UTC (7 years, 2 months ago) by mlarkin
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.2: +8 -1 lines
Diff to previous 1.2 (colored)
Various i8253/i8254 implementation improvements - Fix an error that used the wrong i/o latch index on reads (resulting in erratic counter values possibly being read). Also do proper return size setting (don't clobber %eax high bits). This diff also implements counter readback mode, which is used in seabios.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 3 06:00:17 2016 UTC (7 years, 8 months ago) by mlarkin
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)
add RCS tags
Revision 1.1 / (download) - annotate - [select for diffs], Thu Sep 1 14:48:09 2016 UTC (7 years, 9 months ago) by mlarkin
Branch: MAIN
Add a set of emulated legacy devices (PIT, PIC, RTC) discussed with stefan and deraadt