Virtual machine time synchronization method and device and storage medium
The invention discloses a virtual machine time synchronization method and device and a storage medium. The invention provides a virtual machine time synchronization method. The method comprises the steps that a computing node obtains kernel time from a kernel of a virtual machine through a virtualiz...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a virtual machine time synchronization method and device and a storage medium. The invention provides a virtual machine time synchronization method. The method comprises the steps that a computing node obtains kernel time from a kernel of a virtual machine through a virtualization component QEMU on the computing node; the computing node judges whether the virtual machine needs time proofreading or not based on the kernel time; and the computing node sends a kernel time proofreading instruction to a kernel of the virtual machine under the condition that the virtual machine needs time proofreading.
本申请公开了一种虚拟机时间同步方法、设备及存储介质。本申请提供了一种虚拟机时间同步方法,该方法包括:计算节点通过其上的虚拟化组件QEMU从虚拟机的内核获取内核时间;所述计算节点基于所述内核时间,判定所述虚拟机是否需要时间校对;所述计算节点在所述虚拟机需要时间校对的情况下,向所述虚拟机的内核发送内核时间校对指令。 |
---|