Age | Commit message (Collapse) | Author |
|
ok dlg@ mpi@ deraadt@
|
|
network to presentation format to inet_ntop().
The few remaining functions will be soon converted.
ok mikeb@, deraadt@ and moral support from henning@
|
|
ok jmatthew dlg pelikan
|
|
but running it from the mountroot hooks. this means the clock will be
attached and therefore better to compare the hypervisors clock against.
before we used to get ridiculous timedeltas, which if ntpd used to set the
time with on startup (ie, ntpd -s) would make us think we were in 2057 or
2104.
ok jmatthew@
|
|
ok deraadt@
|
|
vmt_probe has succeeded.
qemu supports GET_VERSION but not the RPC protocol so the probe succeeds
but the attach fails, resulting in "vmt0: failed to open backdoor RPC
channel (TCLO protocol)". All known versions of vmware support GET_SPEED
and no known qemu versions do, so this prevents it from attempting to
attach (and failing) on qemu while still working on vmware.
with & ok jmatthew@ dlg@
|
|
|
|
for vmt to attach after vmt_probe succeeds. this prevents vmt from
appearing at other attach points hanging off mainbus.
found by phessler@ and debugged gently by claudio@
|
|
to the host on resume.
from jonathan matthew
reviewed and ok matthew@
|
|
vmt(4) will now:
- initiate shutdown by signalling init with SIGUSR2 when requested by
the host.
- initiate a reboot by signalling init with SIGINT when requested by
the host.
- report the guests hostname to the host
- report the guests first non-loopback IP address to the host
- report the guests uptime to the host
- update the guests timedelta sensor using the 64bit rpc
vmt(4) now does the majority of what people actually need.
this has been tested on vmware server 2.0.2 with linux as the host,
vmware esx 4.0, and vmware esx 4.1
testing by jonathan matthew and myself. previous versions of the changes
were also tested by johan allard and srebrenko sehic.
code reviewed by and ok matthew@
thanks moch and johan :)
|
|
|
|
commented out in GENERIC. it needs more love.
diff by david cranshaw a long time ago. sorry it has taken so long
for me to look at it.
|
|
since autoconf(9) allocates softc with M_ZERO; ok deraadt
|
|
ok dlg
|
|
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
|
ok dlg
|
|
it only provides the hosts machines clock as a timedelta sensor so far.
getting it into the tree so people can work on it as suggested by fgsch@
|