qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v10 4/9] KVM: Add KVM_EXIT_MEMORY_FAULT exit


From: Sean Christopherson
Subject: Re: [PATCH v10 4/9] KVM: Add KVM_EXIT_MEMORY_FAULT exit
Date: Fri, 13 Jan 2023 23:13:44 +0000

On Fri, Dec 02, 2022, Chao Peng wrote:
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 99352170c130..d9edb14ce30b 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -6634,6 +6634,28 @@ array field represents return values. The userspace 
> should update the return
>  values of SBI call before resuming the VCPU. For more details on RISC-V SBI
>  spec refer, https://github.com/riscv/riscv-sbi-doc.
>  
> +::
> +
> +             /* KVM_EXIT_MEMORY_FAULT */
> +             struct {
> +  #define KVM_MEMORY_EXIT_FLAG_PRIVATE       (1ULL << 0)

Unless there's a reason not to, we should use bit 3 to match the attributes.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]