lkml.org 
[lkml]   [2019]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 04/15] kvm: x86: Add per-VM APICv state debugfs
From
Date


On 15.08.19 18:25, Suthikulpanit, Suravee wrote:
> Currently, there is no way to tell whether APICv is active
> on a particular VM. This often cause confusion since APICv
> can be deactivated at runtime.
>
> Introduce a debugfs entry to report APICv state of a VM.
> This creates a read-only file:
>
> /sys/kernel/debug/kvm/70860-14/apicv-state
>
> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>

Shouldn't this first and foremost be a VM ioctl so that user space can
inquire its own state?


Alex

\
 
 \ /
  Last update: 2019-08-19 11:58    [W:0.719 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site