سؤال

في Linux، أنا ألقي تخمين VM وتحميل مثيل آخر من Linux.يتم طرد VM من خلال KVM / libvirt / qemu.ينظر إلى Guest VM كعملية من قبل Kernel المضيف.دعونا نقول لسبب ما لا يتم جدولة عملية VM qemu الضيف في وقت ما .. كيف يحافظ النواة في VM الوقت؟دعنا نقول أن لدي توقيت في طلبي في ضيف VM.إذا لم تحصل عملية VM Qemu الخاصة بالضيف، فستؤثر على انتهاء صلاحيته الموقت؟

هل كانت مفيدة؟

المحلول

Some virtualization solutions have the VM clock(s) hooked to some host clock(s), so that the VM clock does not tick independently. In other cases, no such thing may occur (relying on an emulated interrupt clock for example), which then does lead to clock skew. The wall clock skew you can attempt to combat with ntpd, but for things like CLOCK_MONOTONIC, you will probably have to live with it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top