0dafa5cd4b
The new RTC emulation supports all interrupt modes: periodic, update ended and alarm. It is also capable of maintaining the date/time and NVRAM contents across virtual machine reset. Also, the date/time fields can now be modified by the guest. Since bhyve now emulates both the PIT and the RTC there is no need for "Legacy Replacement Routing" in the HPET so get rid of it. The RTC device state can be inspected via bhyvectl as follows: bhyvectl --vm=vm --get-rtc-time bhyvectl --vm=vm --set-rtc-time=<unix_time_secs> bhyvectl --vm=vm --rtc-nvram-offset=<offset> --get-rtc-nvram bhyvectl --vm=vm --rtc-nvram-offset=<offset> --set-rtc-nvram=<value> Reviewed by: tychon Discussed with: grehan Differential Revision: https://reviews.freebsd.org/D1385 MFC after: 2 weeks |
||
---|---|---|
.. | ||
acpi.c | ||
acpi.h | ||
ahci.h | ||
atkbdc.c | ||
bhyve.8 | ||
bhyverun.c | ||
bhyverun.h | ||
block_if.c | ||
block_if.h | ||
consport.c | ||
dbgport.c | ||
dbgport.h | ||
inout.c | ||
inout.h | ||
ioapic.c | ||
ioapic.h | ||
Makefile | ||
mem.c | ||
mem.h | ||
mevent_test.c | ||
mevent.c | ||
mevent.h | ||
mptbl.c | ||
mptbl.h | ||
pci_ahci.c | ||
pci_emul.c | ||
pci_emul.h | ||
pci_hostbridge.c | ||
pci_irq.c | ||
pci_irq.h | ||
pci_lpc.c | ||
pci_lpc.h | ||
pci_passthru.c | ||
pci_uart.c | ||
pci_virtio_block.c | ||
pci_virtio_net.c | ||
pci_virtio_rnd.c | ||
pm.c | ||
post.c | ||
rtc.c | ||
rtc.h | ||
smbiostbl.c | ||
smbiostbl.h | ||
spinup_ap.c | ||
spinup_ap.h | ||
task_switch.c | ||
uart_emul.c | ||
uart_emul.h | ||
virtio.c | ||
virtio.h | ||
xmsr.c | ||
xmsr.h |