Re: [PATCH v3 2/9] context_tracking: Move guest exit vtime accounting to separate helpers

2021-04-20 Thread Christian Borntraeger
On 16.04.21 00:20, Sean Christopherson wrote: From: Wanpeng Li Provide separate vtime accounting functions for guest exit instead of open coding the logic within the context tracking code. This will allow KVM x86 to handle vtime accounting slightly differently when using tick-based

[PATCH v3 2/9] context_tracking: Move guest exit vtime accounting to separate helpers

2021-04-15 Thread Sean Christopherson
From: Wanpeng Li Provide separate vtime accounting functions for guest exit instead of open coding the logic within the context tracking code. This will allow KVM x86 to handle vtime accounting slightly differently when using tick-based accounting. Suggested-by: Thomas Gleixner Cc: Thomas