Thread (17 messages) 17 messages, 3 authors, 2018-07-19

[PATCH v8 2/4] arm64: KVM: export the capability to set guest SError syndrome

flat view

From: Peter Maydell <hidden>
Date: 2018-07-19 09:10:23
Also in: kvm, kvmarm

On 19 July 2018 at 09:54, gengdongjiu [off-list ref] wrote:
Hi peter,
  Thanks for the review.

On 2018/7/18 0:36, Peter Maydell wrote:
quoted
How does this capability interact with the KVM_CAP_VCPU_EVENTS
API in patch 1? Is it saying "you can specify the ESR via
that API", or talking about something else?
The user space will firstly check the  KVM_CAP_VCPU_EVENTS through kvm_has_vcpu_events() to know whether KVM can support get/set vcpu events,
If KVM supports get/set vcpu events, it will check KVM_CAP_ARM_SET_SERROR_ESR to know whether can set guest SError ESR, as shown the user space code in [1].
OK, so this capability affects the behaviour of
KVM_SET_VCPU_EVENTS. Can you make sure the documentation
of KVM_SET_VCPU_EVENTS clearly explains what happens
and the effect of whether this capability is present,
please? People trying to understand the behaviour of
that ioctl are not going to know that they need to
look here as well.

thanks
-- PMM
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help