diff options
author | sephe <sephe@FreeBSD.org> | 2017-01-05 08:41:29 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2017-01-05 08:41:29 +0000 |
commit | 18ab98d448c78c261d8edbcdbe009968e24d71dd (patch) | |
tree | eeaa014a58bb1b2a76608d3c528e25f419f8d789 /sys/dev/hyperv/utilities/vmbus_icreg.h | |
parent | a2e9956d4f1eccab856ba1bb1334eb095e54962b (diff) | |
download | FreeBSD-src-18ab98d448c78c261d8edbcdbe009968e24d71dd.zip FreeBSD-src-18ab98d448c78c261d8edbcdbe009968e24d71dd.tar.gz |
MFC 310462,310465
310462
hyperv/ic: Fix version4 timesync message format.
It is not compat w/ the old timesync message format, which the message
type stays the same as the old timesync message.
Sponsored by: Microsoft
310465
hyperv/ic: Allow applying the samples from hypervisor unconditionally.
Sponsored by: Microsoft
Diffstat (limited to 'sys/dev/hyperv/utilities/vmbus_icreg.h')
-rw-r--r-- | sys/dev/hyperv/utilities/vmbus_icreg.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/hyperv/utilities/vmbus_icreg.h b/sys/dev/hyperv/utilities/vmbus_icreg.h index fea74f0..e962102 100644 --- a/sys/dev/hyperv/utilities/vmbus_icreg.h +++ b/sys/dev/hyperv/utilities/vmbus_icreg.h @@ -114,8 +114,17 @@ struct vmbus_icmsg_timesync { struct vmbus_icmsg_hdr ic_hdr; uint64_t ic_hvtime; uint64_t ic_vmtime; + uint64_t ic_rtt; + uint8_t ic_tsflags; /* VMBUS_ICMSG_TS_FLAG_ */ +} __packed; + +/* VMBUS_ICMSG_TYPE_TIMESYNC, MSGVER4 */ +struct vmbus_icmsg_timesync4 { + struct vmbus_icmsg_hdr ic_hdr; + uint64_t ic_hvtime; uint64_t ic_sent_tc; uint8_t ic_tsflags; /* VMBUS_ICMSG_TS_FLAG_ */ + uint8_t ic_rsvd[5]; } __packed; #define VMBUS_ICMSG_TS_FLAG_SYNC 0x01 |