HardenedBSD/usr.sbin/bhyve
Neel Natu 0dafa5cd4b Replace bhyve's minimal RTC emulation with a fully featured one in vmm.ko.
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
2014-12-30 22:19:34 +00:00
..
acpi.c iasl(8) expects integer fields in data tables to be specified as hexadecimal 2014-10-09 19:02:32 +00:00
acpi.h
ahci.h
atkbdc.c
bhyve.8 Fix improper .Fx macro usage. 2014-11-19 18:19:21 +00:00
bhyverun.c IFC r271888. 2014-09-20 21:46:31 +00:00
bhyverun.h
block_if.c To allow a request to be submitted from within the callback routine of 2014-11-09 21:08:52 +00:00
block_if.h
consport.c
dbgport.c
dbgport.h
inout.c
inout.h
ioapic.c
ioapic.h
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mem.c
mem.h
mevent_test.c
mevent.c
mevent.h
mptbl.c
mptbl.h
pci_ahci.c If the start bit, PxCMD.ST, is cleared and nothing is in-flight then 2014-11-03 12:55:31 +00:00
pci_emul.c
pci_emul.h
pci_hostbridge.c
pci_irq.c Minor cleanup: 2014-08-13 00:14:26 +00:00
pci_irq.h
pci_lpc.c
pci_lpc.h
pci_passthru.c
pci_uart.c
pci_virtio_block.c Implement the FLUSH operation in the virtio-block emulation. 2014-10-07 17:08:53 +00:00
pci_virtio_net.c Allow vtnet operation without merged rx buffers. 2014-09-09 22:35:02 +00:00
pci_virtio_rnd.c Add a callback to be notified about negotiated features. 2014-09-09 04:11:54 +00:00
pm.c
post.c
rtc.c Replace bhyve's minimal RTC emulation with a fully featured one in vmm.ko. 2014-12-30 22:19:34 +00:00
rtc.h
smbiostbl.c Correct display of bhyve SMBIOS UUIDs with dmidecode by bumping the version. 2014-09-23 01:17:22 +00:00
smbiostbl.h
spinup_ap.c
spinup_ap.h
task_switch.c Set the 'inst_length' to '0' early on before any error conditions are detected 2014-08-30 18:35:16 +00:00
uart_emul.c
uart_emul.h
virtio.c Add a callback to be notified about negotiated features. 2014-09-09 04:11:54 +00:00
virtio.h Add a callback to be notified about negotiated features. 2014-09-09 04:11:54 +00:00
xmsr.c Don't advertise the "OS visible workarounds" feature in cpuid.80000001H:ECX. 2014-10-19 21:38:58 +00:00
xmsr.h Restructure the MSR handling so it is entirely handled by processor-specific 2014-09-20 02:35:21 +00:00