€•Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ /translations/zh_CN/virt/kvm/api”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/zh_TW/virt/kvm/api”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/it_IT/virt/kvm/api”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/ja_JP/virt/kvm/api”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/ko_KR/virt/kvm/api”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/pt_BR/virt/kvm/api”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ /translations/sp_SP/virt/kvm/api”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)�”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…”�”}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³Œ:/var/lib/git/docbuild/linux/Documentation/virt/kvm/api.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒCThe Definitive KVM (Kernel-based Virtual Machine) API Documentation”h]”hŒCThe Definitive KVM (Kernel-based Virtual Machine) API Documentation”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ1. General description”h]”hŒ1. General description”…”�”}”(hhàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÝh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hXôThe kvm API is centered around different kinds of file descriptors and ioctls that can be issued to these file descriptors. An initial open("/dev/kvm") obtains a handle to the kvm subsystem; this handle can be used to issue system ioctls. A KVM_CREATE_VM ioctl on this handle will create a VM file descriptor which can be used to issue VM ioctls. A KVM_CREATE_VCPU or KVM_CREATE_DEVICE ioctl on a VM fd will create a virtual cpu or device and return a file descriptor pointing to the new resource.”h]”hXøThe kvm API is centered around different kinds of file descriptors and ioctls that can be issued to these file descriptors. An initial open(“/dev/kvmâ€�) obtains a handle to the kvm subsystem; this handle can be used to issue system ioctls. A KVM_CREATE_VM ioctl on this handle will create a VM file descriptor which can be used to issue VM ioctls. A KVM_CREATE_VCPU or KVM_CREATE_DEVICE ioctl on a VM fd will create a virtual cpu or device and return a file descriptor pointing to the new resource.”…”�”}”(hhðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K hhÝh²hubhï)�”}”(hŒûIn other words, the kvm API is a set of ioctls that are issued to different kinds of file descriptor in order to control various aspects of a virtual machine. Depending on the file descriptor that accepts them, ioctls belong to the following classes:”h]”hŒûIn other words, the kvm API is a set of ioctls that are issued to different kinds of file descriptor in order to control various aspects of a virtual machine. Depending on the file descriptor that accepts them, ioctls belong to the following classes:”…”�”}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhhÝh²hubhŒ block_quote”“”)�”}”(hXõ- System ioctls: These query and set global attributes which affect the whole kvm subsystem. In addition a system ioctl is used to create virtual machines. - VM ioctls: These query and set attributes that affect an entire virtual machine, for example memory layout. In addition a VM ioctl is used to create virtual cpus (vcpus) and devices. VM ioctls must be issued from the same process (address space) that was used to create the VM. - vcpu ioctls: These query and set attributes that control the operation of a single virtual cpu. vcpu ioctls should be issued from the same thread that was used to create the vcpu, except for asynchronous vcpu ioctl that are marked as such in the documentation. Otherwise, the first ioctl after switching threads could see a performance impact. - device ioctls: These query and set attributes that control the operation of a single device. device ioctls must be issued from the same process (address space) that was used to create the VM. ”h]”hŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒ›System ioctls: These query and set global attributes which affect the whole kvm subsystem. In addition a system ioctl is used to create virtual machines. ”h]”hï)�”}”(hŒšSystem ioctls: These query and set global attributes which affect the whole kvm subsystem. In addition a system ioctl is used to create virtual machines.”h]”hŒšSystem ioctls: These query and set global attributes which affect the whole kvm subsystem. In addition a system ioctl is used to create virtual machines.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hXVM ioctls: These query and set attributes that affect an entire virtual machine, for example memory layout. In addition a VM ioctl is used to create virtual cpus (vcpus) and devices. VM ioctls must be issued from the same process (address space) that was used to create the VM. ”h]”(hï)�”}”(hŒ·VM ioctls: These query and set attributes that affect an entire virtual machine, for example memory layout. In addition a VM ioctl is used to create virtual cpus (vcpus) and devices.”h]”hŒ·VM ioctls: These query and set attributes that affect an entire virtual machine, for example memory layout. In addition a VM ioctl is used to create virtual cpus (vcpus) and devices.”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khj1ubhï)�”}”(hŒ^VM ioctls must be issued from the same process (address space) that was used to create the VM.”h]”hŒ^VM ioctls must be issued from the same process (address space) that was used to create the VM.”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K hj1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hXZvcpu ioctls: These query and set attributes that control the operation of a single virtual cpu. vcpu ioctls should be issued from the same thread that was used to create the vcpu, except for asynchronous vcpu ioctl that are marked as such in the documentation. Otherwise, the first ioctl after switching threads could see a performance impact. ”h]”(hï)�”}”(hŒ_vcpu ioctls: These query and set attributes that control the operation of a single virtual cpu.”h]”hŒ_vcpu ioctls: These query and set attributes that control the operation of a single virtual cpu.”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K#hjWubhï)�”}”(hŒøvcpu ioctls should be issued from the same thread that was used to create the vcpu, except for asynchronous vcpu ioctl that are marked as such in the documentation. Otherwise, the first ioctl after switching threads could see a performance impact.”h]”hŒøvcpu ioctls should be issued from the same thread that was used to create the vcpu, except for asynchronous vcpu ioctl that are marked as such in the documentation. Otherwise, the first ioctl after switching threads could see a performance impact.”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K&hjWubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒÁdevice ioctls: These query and set attributes that control the operation of a single device. device ioctls must be issued from the same process (address space) that was used to create the VM. ”h]”(hï)�”}”(hŒ\device ioctls: These query and set attributes that control the operation of a single device.”h]”hŒ\device ioctls: These query and set attributes that control the operation of a single device.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K+hj}ubhï)�”}”(hŒbdevice ioctls must be issued from the same process (address space) that was used to create the VM.”h]”hŒbdevice ioctls must be issued from the same process (address space) that was used to create the VM.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K.hj}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KhhÝh²hubhï)�”}”(hŒ~While most ioctls are specific to one kind of file descriptor, in some cases the same ioctl can belong to more than one class.”h]”hŒ~While most ioctls are specific to one kind of file descriptor, in some cases the same ioctl can belong to more than one class.”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K1hhÝh²hubhï)�”}”(hX¯The KVM API grew over time. For this reason, KVM defines many constants of the form ``KVM_CAP_*``, each corresponding to a set of functionality provided by one or more ioctls. Availability of these "capabilities" can be checked with :ref:`KVM_CHECK_EXTENSION `. Some capabilities also need to be enabled for VMs or VCPUs where their functionality is desired (see :ref:`cap_enable` and :ref:`cap_enable_vm`).”h]”(hŒUThe KVM API grew over time. For this reason, KVM defines many constants of the form ”…”�”}”(hj¿h²hh³Nh´NubhŒliteral”“”)�”}”(hŒ ``KVM_CAP_*``”h]”hŒ KVM_CAP_*”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¿ubhŒ�, each corresponding to a set of functionality provided by one or more ioctls. Availability of these “capabilitiesâ€� can be checked with ”…”�”}”(hj¿h²hh³Nh´Nubh)�”}”(hŒ0:ref:`KVM_CHECK_EXTENSION `”h]”hŒinline”“”)�”}”(hjÝh]”hŒKVM_CHECK_EXTENSION”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhjÛubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ virt/kvm/api”Œ refdomain”jìŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œkvm_check_extension”uh1hh³hÇh´K4hj¿ubhŒh. Some capabilities also need to be enabled for VMs or VCPUs where their functionality is desired (see ”…”�”}”(hj¿h²hh³Nh´Nubh)�”}”(hŒ:ref:`cap_enable`”h]”jà)�”}”(hjh]”hŒ cap_enable”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”jŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjþŒ cap_enable”uh1hh³hÇh´K4hj¿ubhŒ and ”…”�”}”(hj¿h²hh³Nh´Nubh)�”}”(hŒ:ref:`cap_enable_vm`”h]”jà)�”}”(hj*h]”hŒ cap_enable_vm”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhj(ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”j6Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjþŒ cap_enable_vm”uh1hh³hÇh´K4hj¿ubhŒ).”…”�”}”(hj¿h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K4hhÝh²hubeh}”(h]”Œgeneral-description”ah ]”h"]”Œ1. general description”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ2. Restrictions”h]”hŒ2. Restrictions”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjZh²hh³hÇh´K=ubhï)�”}”(hXxIn general file descriptors can be migrated among processes by means of fork() and the SCM_RIGHTS facility of unix domain socket. These kinds of tricks are explicitly not supported by kvm. While they will not cause harm to the host, their actual behavior is not guaranteed by the API. See "General description" for details on the ioctl usage model that is supported by KVM.”h]”hX|In general file descriptors can be migrated among processes by means of fork() and the SCM_RIGHTS facility of unix domain socket. These kinds of tricks are explicitly not supported by kvm. While they will not cause harm to the host, their actual behavior is not guaranteed by the API. See “General descriptionâ€� for details on the ioctl usage model that is supported by KVM.”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K?hjZh²hubhï)�”}”(hX+It is important to note that although VM ioctls may only be issued from the process that created the VM, a VM's lifecycle is associated with its file descriptor, not its creator (process). In other words, the VM and its resources, *including the associated address space*, are not freed until the last reference to the VM's file descriptor has been released. For example, if fork() is issued after ioctl(KVM_CREATE_VM), the VM will not be freed until both the parent (original) process and its child have put their references to the VM's file descriptor.”h]”(hŒêIt is important to note that although VM ioctls may only be issued from the process that created the VM, a VM’s lifecycle is associated with its file descriptor, not its creator (process). In other words, the VM and its resources, ”…”�”}”(hjyh²hh³Nh´NubhŒemphasis”“”)�”}”(hŒ(*including the associated address space*”h]”hŒ&including the associated address space”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjyubhX, are not freed until the last reference to the VM’s file descriptor has been released. For example, if fork() is issued after ioctl(KVM_CREATE_VM), the VM will not be freed until both the parent (original) process and its child have put their references to the VM’s file descriptor.”…”�”}”(hjyh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KFhjZh²hubhï)�”}”(hXpBecause a VM's resources are not freed until the last reference to its file descriptor is released, creating additional references to a VM via fork(), dup(), etc... without careful consideration is strongly discouraged and may have unwanted side effects, e.g. memory allocated by and on behalf of the VM's process may not be freed/unaccounted when the VM is shut down.”h]”hXtBecause a VM’s resources are not freed until the last reference to its file descriptor is released, creating additional references to a VM via fork(), dup(), etc... without careful consideration is strongly discouraged and may have unwanted side effects, e.g. memory allocated by and on behalf of the VM’s process may not be freed/unaccounted when the VM is shut down.”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KOhjZh²hubeh}”(h]”Œ restrictions”ah ]”h"]”Œ2. restrictions”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K=ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ 3. Extensions”h]”hŒ 3. Extensions”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj±h²hh³hÇh´KXubhï)�”}”(hŒØAs of Linux 2.6.22, the KVM ABI has been stabilized: no backward incompatible change are allowed. However, there is an extension facility that allows backward-compatible extensions to the API to be queried and used.”h]”hŒØAs of Linux 2.6.22, the KVM ABI has been stabilized: no backward incompatible change are allowed. However, there is an extension facility that allows backward-compatible extensions to the API to be queried and used.”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KZhj±h²hubhï)�”}”(hŒùThe extension mechanism is not based on the Linux version number. Instead, kvm defines extension identifiers and a facility to query whether a particular extension identifier is available. If it is, a set of ioctls is available for application use.”h]”hŒùThe extension mechanism is not based on the Linux version number. Instead, kvm defines extension identifiers and a facility to query whether a particular extension identifier is available. If it is, a set of ioctls is available for application use.”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K_hj±h²hubeh}”(h]”Œ extensions”ah ]”h"]”Œ 3. extensions”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KXubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4. API description”h]”hŒ4. API description”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjæh²hh³hÇh´Kfubhï)�”}”(hŒ•This section describes ioctls that can be used to control kvm guests. For each ioctl, the following information is provided along with a description:”h]”hŒ•This section describes ioctls that can be used to control kvm guests. For each ioctl, the following information is provided along with a description:”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khhjæh²hubj )�”}”(hX£Capability: which KVM extension provides this ioctl. Can be 'basic', which means that is will be provided by any kernel that supports API version 12 (see :ref:`KVM_GET_API_VERSION `), or a KVM_CAP_xyz constant that can be checked with :ref:`KVM_CHECK_EXTENSION `. Architectures: which instruction set architectures provide this ioctl. x86 includes both i386 and x86_64. Type: system, vm, or vcpu. Parameters: what parameters are accepted by the ioctl. Returns: the return value. General error numbers (EBADF, ENOMEM, EINVAL) are not detailed, but errors with specific meanings are. ”h]”hŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hX3Capability: which KVM extension provides this ioctl. Can be 'basic', which means that is will be provided by any kernel that supports API version 12 (see :ref:`KVM_GET_API_VERSION `), or a KVM_CAP_xyz constant that can be checked with :ref:`KVM_CHECK_EXTENSION `. ”h]”(hŒterm”“”)�”}”(hŒ Capability:”h]”hŒ Capability:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´KqhjubhŒ definition”“”)�”}”(hhh]”hï)�”}”(hX&which KVM extension provides this ioctl. Can be 'basic', which means that is will be provided by any kernel that supports API version 12 (see :ref:`KVM_GET_API_VERSION `), or a KVM_CAP_xyz constant that can be checked with :ref:`KVM_CHECK_EXTENSION `.”h]”(hŒ“which KVM extension provides this ioctl. Can be ‘basic’, which means that is will be provided by any kernel that supports API version 12 (see ”…”�”}”(hj)h²hh³Nh´Nubh)�”}”(hŒ0:ref:`KVM_GET_API_VERSION `”h]”jà)�”}”(hj3h]”hŒKVM_GET_API_VERSION”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhj1ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”j?Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjþŒkvm_get_api_version”uh1hh³hÇh´Kmhj)ubhŒ6), or a KVM_CAP_xyz constant that can be checked with ”…”�”}”(hj)h²hh³Nh´Nubh)�”}”(hŒ0:ref:`KVM_CHECK_EXTENSION `”h]”jà)�”}”(hjWh]”hŒKVM_CHECK_EXTENSION”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhjUubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”jcŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjþŒkvm_check_extension”uh1hh³hÇh´Kmhj)ubhŒ.”…”�”}”(hj)h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kmhj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Kqhj ubj)�”}”(hŒjArchitectures: which instruction set architectures provide this ioctl. x86 includes both i386 and x86_64. ”h]”(j)�”}”(hŒArchitectures:”h]”hŒArchitectures:”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Kuhj‹ubj%)�”}”(hhh]”hï)�”}”(hŒZwhich instruction set architectures provide this ioctl. x86 includes both i386 and x86_64.”h]”hŒZwhich instruction set architectures provide this ioctl. x86 includes both i386 and x86_64.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kthj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Kuhj ubj)�”}”(hŒType: system, vm, or vcpu. ”h]”(j)�”}”(hŒType:”h]”hŒType:”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Kxhjºubj%)�”}”(hhh]”hï)�”}”(hŒsystem, vm, or vcpu.”h]”hŒsystem, vm, or vcpu.”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KxhjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjºubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Kxhj ubj)�”}”(hŒ7Parameters: what parameters are accepted by the ioctl. ”h]”(j)�”}”(hŒ Parameters:”h]”hŒ Parameters:”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´K{hjéubj%)�”}”(hhh]”hï)�”}”(hŒ*what parameters are accepted by the ioctl.”h]”hŒ*what parameters are accepted by the ioctl.”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K{hjûubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´K{hj ubj)�”}”(hŒ„Returns: the return value. General error numbers (EBADF, ENOMEM, EINVAL) are not detailed, but errors with specific meanings are. ”h]”(j)�”}”(hŒReturns:”h]”hŒReturns:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´K€hjubj%)�”}”(hhh]”hï)�”}”(hŒythe return value. General error numbers (EBADF, ENOMEM, EINVAL) are not detailed, but errors with specific meanings are.”h]”hŒythe return value. General error numbers (EBADF, ENOMEM, EINVAL) are not detailed, but errors with specific meanings are.”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K~hj*ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´K€hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Klhjæh²hubhŒtarget”“”)�”}”(hŒ.. _KVM_GET_API_VERSION:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œkvm-get-api-version”uh1jSh´K‚hjæh²hh³hÇubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.1 KVM_GET_API_VERSION”h]”hŒ4.1 KVM_GET_API_VERSION”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjah²hh³hÇh´K…ubhŒ field_list”“”)�”}”(hhh]”(hŒfield”“”)�”}”(hhh]”(hŒ field_name”“”)�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyh³hÇh´KubhŒ field_body”“”)�”}”(hŒbasic”h]”hï)�”}”(hj�h]”hŒbasic”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K‡hjŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´K‡hjth²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj«h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj¾h]”hŒall”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kˆhj¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Kˆhjth²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÙh³hÇh´Kubj�)�”}”(hŒ system ioctl”h]”hï)�”}”(hjìh]”hŒ system ioctl”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K‰hjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÙubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´K‰hjth²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjh]”hŒnone”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KŠhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´KŠhjth²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj5h³hÇh´Kubj�)�”}”(hŒ#the constant KVM_API_VERSION (=12) ”h]”hï)�”}”(hŒ"the constant KVM_API_VERSION (=12)”h]”hŒ"the constant KVM_API_VERSION (=12)”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K‹hjFubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´K‹hjth²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjah²hh³hÇh´K‡ubhï)�”}”(hXqThis identifies the API version as the stable kvm API. It is not expected that this number will change. However, Linux 2.6.20 and 2.6.21 report earlier versions; these are not documented and not supported. Applications should refuse to run if KVM_GET_API_VERSION returns a value other than 12. If this check passes, all ioctls described as 'basic' will be available.”h]”hXuThis identifies the API version as the stable kvm API. It is not expected that this number will change. However, Linux 2.6.20 and 2.6.21 report earlier versions; these are not documented and not supported. Applications should refuse to run if KVM_GET_API_VERSION returns a value other than 12. If this check passes, all ioctls described as ‘basic’ will be available.”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K�hjah²hubeh}”(h]”(j`Œid1”eh ]”h"]”(Œ4.1 kvm_get_api_version”Œkvm_get_api_version”eh$]”h&]”uh1hÈhjæh²hh³hÇh´K…Œexpect_referenced_by_name”}”j~jUsŒexpect_referenced_by_id”}”j`jUsubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.2 KVM_CREATE_VM”h]”hŒ4.2 KVM_CREATE_VM”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj…h²hh³hÇh´K–ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj™h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj¬h]”hŒbasic”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K˜hjªubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj™ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´K˜hj–h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÇh³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hjÚh]”hŒall”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K™hjØubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÇubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´K™hj–h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjõh³hÇh´Kubj�)�”}”(hŒ system ioctl”h]”hï)�”}”(hjh]”hŒ system ioctl”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kšhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjõubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Kšhj–h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj#h³hÇh´Kubj�)�”}”(hŒ"machine type identifier (KVM_VM_*)”h]”hï)�”}”(hj6h]”hŒ"machine type identifier (KVM_VM_*)”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K›hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´K›hj–h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjQh³hÇh´Kubj�)�”}”(hŒ=a VM fd that can be used to control the new virtual machine. ”h]”hï)�”}”(hŒe.g, to configure a guest to use 48bit physical address size::”h]”hŒ=e.g, to configure a guest to use 48bit physical address size:”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÀhj h²hubhŒ literal_block”“”)�”}”(hŒCvm_fd = ioctl(dev_fd, KVM_CREATE_VM, KVM_VM_TYPE_ARM_IPA_SIZE(48));”h]”hŒCvm_fd = ioctl(dev_fd, KVM_CREATE_VM, KVM_VM_TYPE_ARM_IPA_SIZE(48));”…”�”}”hj9sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´KÂhj h²hubhï)�”}”(hŒ&The requested size (IPA_Bits) must be:”h]”hŒ&The requested size (IPA_Bits) must be:”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÄhj h²hubj )�”}”(hX== ========================================================= 0 Implies default size, 40bits (for backward compatibility) N Implies N bits, where N is a positive integer such that, 32 <= N <= Host_IPA_Limit == ========================================================= ”h]”hŒtable”“”)�”}”(hhh]”hŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj`ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K9uh1jchj`ubhŒtbody”“”)�”}”(hhh]”(hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(hhh]”hï)�”}”(hŒ0”h]”hŒ0”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÇhj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj€ubj„)�”}”(hhh]”hï)�”}”(hŒ9Implies default size, 40bits (for backward compatibility)”h]”hŒ9Implies default size, 40bits (for backward compatibility)”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÇhjœubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj{ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒN”h]”hŒN”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÈhj¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹ubj„)�”}”(hhh]”hï)�”}”(hŒRImplies N bits, where N is a positive integer such that, 32 <= N <= Host_IPA_Limit”h]”hŒRImplies N bits, where N is a positive integer such that, 32 <= N <= Host_IPA_Limit”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÈhjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj{ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj`ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjUubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KÆhj h²hubhï)�”}”(hŒóHost_IPA_Limit is the maximum possible value for IPA_Bits on the host and is dependent on the CPU capability and the kernel configuration. The limit can be retrieved using KVM_CAP_ARM_VM_IPA_SIZE of the KVM_CHECK_EXTENSION ioctl() at run-time.”h]”hŒóHost_IPA_Limit is the maximum possible value for IPA_Bits on the host and is dependent on the CPU capability and the kernel configuration. The limit can be retrieved using KVM_CAP_ARM_VM_IPA_SIZE of the KVM_CHECK_EXTENSION ioctl() at run-time.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÌhj h²hubhï)�”}”(hŒwCreation of the VM will fail if the requested IPA size (whether it is implicit or explicit) is unsupported on the host.”h]”hŒwCreation of the VM will fail if the requested IPA size (whether it is implicit or explicit) is unsupported on the host.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÑhj h²hubhï)�”}”(hŒûPlease note that configuring the IPA size does not affect the capability exposed by the guest CPUs in ID_AA64MMFR0_EL1[PARange]. It only affects size of the address translated by the stage2 level (guest physical to host physical address translations).”h]”hŒûPlease note that configuring the IPA size does not affect the capability exposed by the guest CPUs in ID_AA64MMFR0_EL1[PARange]. It only affects size of the address translated by the stage2 level (guest physical to host physical address translations).”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÔhj h²hubeh}”(h]”Œarm64”ah ]”h"]”h$]”Œarm64:”ah&]”uh1hÈhj…h²hh³hÇh´K¶j»Kubeh}”(h]”Œ kvm-create-vm”ah ]”h"]”Œ4.2 kvm_create_vm”ah$]”h&]”uh1hÈhjæh²hh³hÇh´K–ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ:4.3 KVM_GET_MSR_INDEX_LIST, KVM_GET_MSR_FEATURE_INDEX_LIST”h]”hŒ:4.3 KVM_GET_MSR_INDEX_LIST, KVM_GET_MSR_FEATURE_INDEX_LIST”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjCh²hh³hÇh´KÛubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjWh³hÇh´Kubj�)�”}”(hŒBbasic, KVM_CAP_GET_MSR_FEATURES for KVM_GET_MSR_FEATURE_INDEX_LIST”h]”hï)�”}”(hjjh]”hŒBbasic, KVM_CAP_GET_MSR_FEATURES for KVM_GET_MSR_FEATURE_INDEX_LIST”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÝhjhubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjWubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´KÝhjTh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj…h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj˜h]”hŒx86”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÞhj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´KÞhjTh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj³h³hÇh´Kubj�)�”}”(hŒ system ioctl”h]”hï)�”}”(hjÆh]”hŒ system ioctl”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KßhjÄubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´KßhjTh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjáh³hÇh´Kubj�)�”}”(hŒstruct kvm_msr_list (in/out)”h]”hï)�”}”(hjôh]”hŒstruct kvm_msr_list (in/out)”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kàhjòubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjáubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´KàhjTh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj$ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Káhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´KáhjTh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjCh²hh³hÇh´KÝubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hjD h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KãhjCh²hubj )�”}”(hX/====== ============================================================ EFAULT the msr index list cannot be read from or written to E2BIG the msr index list is too big to fit in the array specified by the user. ====== ============================================================ ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjY ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K>uh1jchjY ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEFAULT”h]”hŒEFAULT”…”�”}”(hjy h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kæhjv ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjs ubj„)�”}”(hhh]”hï)�”}”(hŒ4the msr index list cannot be read from or written to”h]”hŒ4the msr index list cannot be read from or written to”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kæhj� ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjs ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjp ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒE2BIG”h]”hŒE2BIG”…”�”}”(hj° h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kçhj­ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjª ubj„)�”}”(hhh]”hï)�”}”(hŒHthe msr index list is too big to fit in the array specified by the user.”h]”hŒHthe msr index list is too big to fit in the array specified by the user.”…”�”}”(hjÇ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KçhjÄ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjª ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjp ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjY ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjV ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjR ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KåhjCh²hubj8)�”}”(hŒcstruct kvm_msr_list { __u32 nmsrs; /* number of msrs in entries */ __u32 indices[0]; };”h]”hŒcstruct kvm_msr_list { __u32 nmsrs; /* number of msrs in entries */ __u32 indices[0]; };”…”�”}”hjú sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´KíhjCh²hubhï)�”}”(hŒ±The user fills in the size of the indices array in nmsrs, and in return kvm adjusts nmsrs to reflect the actual number of msrs and fills in the indices array with their numbers.”h]”hŒ±The user fills in the size of the indices array in nmsrs, and in return kvm adjusts nmsrs to reflect the actual number of msrs and fills in the indices array with their numbers.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KòhjCh²hubhï)�”}”(hŒ”KVM_GET_MSR_INDEX_LIST returns the guest msrs that are supported. The list varies by kvm version and host processor, but does not change otherwise.”h]”hŒ”KVM_GET_MSR_INDEX_LIST returns the guest msrs that are supported. The list varies by kvm version and host processor, but does not change otherwise.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KöhjCh²hubhï)�”}”(hŒÌNote: if kvm indicates supports MCE (KVM_CAP_MCE), then the MCE bank MSRs are not returned in the MSR list, as different vcpus can have a different number of banks, as set via the KVM_X86_SETUP_MCE ioctl.”h]”hŒÌNote: if kvm indicates supports MCE (KVM_CAP_MCE), then the MCE bank MSRs are not returned in the MSR list, as different vcpus can have a different number of banks, as set via the KVM_X86_SETUP_MCE ioctl.”…”�”}”(hj$ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KùhjCh²hubhï)�”}”(hX<KVM_GET_MSR_FEATURE_INDEX_LIST returns the list of MSRs that can be passed to the KVM_GET_MSRS system ioctl. This lets userspace probe host capabilities and processor features that are exposed via MSRs (e.g., VMX capabilities). This list also varies by kvm version and host processor, but does not change otherwise.”h]”hX<KVM_GET_MSR_FEATURE_INDEX_LIST returns the list of MSRs that can be passed to the KVM_GET_MSRS system ioctl. This lets userspace probe host capabilities and processor features that are exposed via MSRs (e.g., VMX capabilities). This list also varies by kvm version and host processor, but does not change otherwise.”…”�”}”(hj2 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KýhjCh²hubjT)�”}”(hŒ.. _KVM_CHECK_EXTENSION:”h]”h}”(h]”h ]”h"]”h$]”h&]”j_Œkvm-check-extension”uh1jSh´MhjCh²hh³hÇubeh}”(h]”Œ5kvm-get-msr-index-list-kvm-get-msr-feature-index-list”ah ]”h"]”Œ:4.3 kvm_get_msr_index_list, kvm_get_msr_feature_index_list”ah$]”h&]”uh1hÈhjæh²hh³hÇh´KÛubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.4 KVM_CHECK_EXTENSION”h]”hŒ4.4 KVM_CHECK_EXTENSION”…”�”}”(hjV h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjS h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjg h³hÇh´Kubj�)�”}”(hŒ.basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl”h]”hï)�”}”(hjz h]”hŒ.basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl”…”�”}”(hj| h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjx ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjg ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjd h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj˜ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj• h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj¨ h]”hŒall”…”�”}”(hjª h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¦ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj• ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjd h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÆ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjà h³hÇh´Kubj�)�”}”(hŒsystem ioctl, vm ioctl”h]”hï)�”}”(hjÖ h]”hŒsystem ioctl, vm ioctl”…”�”}”(hjØ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÔ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjà ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjd h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjô h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjñ h³hÇh´Kubj�)�”}”(hŒ extension identifier (KVM_CAP_*)”h]”hï)�”}”(hj h]”hŒ extension identifier (KVM_CAP_*)”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjñ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjd h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj" h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒB0 if unsupported; 1 (or some other positive integer) if supported ”h]”hï)�”}”(hŒA0 if unsupported; 1 (or some other positive integer) if supported”h]”hŒA0 if unsupported; 1 (or some other positive integer) if supported”…”�”}”(hj4 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj0 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjd h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjS h²hh³hÇh´M ubhï)�”}”(hX@The API allows the application to query about extensions to the core kvm API. Userspace passes an extension identifier (an integer) and receives an integer that describes the extension availability. Generally 0 means no and 1 means yes, but some extensions may report additional information in the integer return value.”h]”hX@The API allows the application to query about extensions to the core kvm API. Userspace passes an extension identifier (an integer) and receives an integer that describes the extension availability. Generally 0 means no and 1 means yes, but some extensions may report additional information in the integer return value.”…”�”}”(hjT h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjS h²hubhï)�”}”(hŒÉBased on their initialization different VMs may have different capabilities. It is thus encouraged to use the vm ioctl to query for capabilities (available with KVM_CAP_CHECK_EXTENSION_VM on the vm fd)”h]”hŒÉBased on their initialization different VMs may have different capabilities. It is thus encouraged to use the vm ioctl to query for capabilities (available with KVM_CAP_CHECK_EXTENSION_VM on the vm fd)”…”�”}”(hjb h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjS h²hubeh}”(h]”(jJ Œid2”eh ]”h"]”(Œ4.4 kvm_check_extension”Œkvm_check_extension”eh$]”h&]”uh1hÈhjæh²hh³hÇh´Mj�}”jv j@ sjƒ}”jJ j@ subhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.5 KVM_GET_VCPU_MMAP_SIZE”h]”hŒ4.5 KVM_GET_VCPU_MMAP_SIZE”…”�”}”(hj~ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj{ h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj’ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj� h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj¢ h]”hŒbasic”…”�”}”(hj¤ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj  ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj� ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjŒ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÀ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj½ h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hjÐ h]”hŒall”…”�”}”(hjÒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÎ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj½ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjŒ h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjî h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjë h³hÇh´Kubj�)�”}”(hŒ system ioctl”h]”hï)�”}”(hjþ h]”hŒ system ioctl”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjü ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjë ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjŒ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hj, h]”hŒnone”…”�”}”(hj. h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj* ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjŒ h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjJ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjG h³hÇh´Kubj�)�”}”(hŒ!size of vcpu mmap area, in bytes ”h]”hï)�”}”(hŒ size of vcpu mmap area, in bytes”h]”hŒ size of vcpu mmap area, in bytes”…”�”}”(hj\ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjX ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjG ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjŒ h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj{ h²hh³hÇh´Mubhï)�”}”(hŒ¨The KVM_RUN ioctl (cf.) communicates with userspace via a shared memory region. This ioctl returns the size of that region. See the KVM_RUN documentation for details.”h]”hŒ¨The KVM_RUN ioctl (cf.) communicates with userspace via a shared memory region. This ioctl returns the size of that region. See the KVM_RUN documentation for details.”…”�”}”(hj| h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hj{ h²hubhï)�”}”(hŒxBesides the size of the KVM_RUN communication region, other areas of the VCPU file descriptor can be mmap-ed, including:”h]”hŒxBesides the size of the KVM_RUN communication region, other areas of the VCPU file descriptor can be mmap-ed, including:”…”�”}”(hjŠ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&hj{ h²hubj)�”}”(hhh]”(j)�”}”(hŒãif KVM_CAP_COALESCED_MMIO is available, a page at KVM_COALESCED_MMIO_PAGE_OFFSET * PAGE_SIZE; for historical reasons, this page is included in the result of KVM_GET_VCPU_MMAP_SIZE. KVM_CAP_COALESCED_MMIO is not documented yet. ”h]”hï)�”}”(hŒâif KVM_CAP_COALESCED_MMIO is available, a page at KVM_COALESCED_MMIO_PAGE_OFFSET * PAGE_SIZE; for historical reasons, this page is included in the result of KVM_GET_VCPU_MMAP_SIZE. KVM_CAP_COALESCED_MMIO is not documented yet.”h]”hŒâif KVM_CAP_COALESCED_MMIO is available, a page at KVM_COALESCED_MMIO_PAGE_OFFSET * PAGE_SIZE; for historical reasons, this page is included in the result of KVM_GET_VCPU_MMAP_SIZE. KVM_CAP_COALESCED_MMIO is not documented yet.”…”�”}”(hjŸ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hj› ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj˜ h²hh³hÇh´Nubj)�”}”(hŒ¹if KVM_CAP_DIRTY_LOG_RING is available, a number of pages at KVM_DIRTY_LOG_PAGE_OFFSET * PAGE_SIZE. For more information on KVM_CAP_DIRTY_LOG_RING, see :ref:`KVM_CAP_DIRTY_LOG_RING`. ”h]”hï)�”}”(hŒ·if KVM_CAP_DIRTY_LOG_RING is available, a number of pages at KVM_DIRTY_LOG_PAGE_OFFSET * PAGE_SIZE. For more information on KVM_CAP_DIRTY_LOG_RING, see :ref:`KVM_CAP_DIRTY_LOG_RING`.”h]”(hŒ™if KVM_CAP_DIRTY_LOG_RING is available, a number of pages at KVM_DIRTY_LOG_PAGE_OFFSET * PAGE_SIZE. For more information on KVM_CAP_DIRTY_LOG_RING, see ”…”�”}”(hj· h²hh³Nh´Nubh)�”}”(hŒ:ref:`KVM_CAP_DIRTY_LOG_RING`”h]”jà)�”}”(hjÁ h]”hŒKVM_CAP_DIRTY_LOG_RING”…”�”}”(hjà h²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhj¿ ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”jÍ Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjþŒkvm_cap_dirty_log_ring”uh1hh³hÇh´M.hj· ubhŒ.”…”�”}”(hj· h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M.hj³ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj˜ h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M)hj{ h²hubeh}”(h]”Œkvm-get-vcpu-mmap-size”ah ]”h"]”Œ4.5 kvm_get_vcpu_mmap_size”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.7 KVM_CREATE_VCPU”h]”hŒ4.7 KVM_CREATE_VCPU”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjý h²hh³hÇh´M4ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj$ h]”hŒbasic”…”�”}”(hj& h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hj" ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M6hj h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjB h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj? h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hjR h]”hŒall”…”�”}”(hjT h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M7hjP ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj? ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M7hj h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjp h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjm h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj€ h]”hŒvm ioctl”…”�”}”(hj‚ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M8hj~ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjm ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M8hj h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjž h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj› h³hÇh´Kubj�)�”}”(hŒvcpu id (apic id on x86)”h]”hï)�”}”(hj® h]”hŒvcpu id (apic id on x86)”…”�”}”(hj° h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hj¬ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj› ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M9hj h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÌ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÉ h³hÇh´Kubj�)�”}”(hŒ vcpu fd on success, -1 on error ”h]”hï)�”}”(hŒvcpu fd on success, -1 on error”h]”hŒvcpu fd on success, -1 on error”…”�”}”(hjÞ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:hjÚ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÉ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M:hj h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjý h²hh³hÇh´M6ubhï)�”}”(hŒˆThis API adds a vcpu to a virtual machine. No more than max_vcpus may be added. The vcpu id is an integer in the range [0, max_vcpu_id).”h]”hŒˆThis API adds a vcpu to a virtual machine. No more than max_vcpus may be added. The vcpu id is an integer in the range [0, max_vcpu_id).”…”�”}”(hjþ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hjý h²hubhï)�”}”(hXThe recommended max_vcpus value can be retrieved using the KVM_CAP_NR_VCPUS of the KVM_CHECK_EXTENSION ioctl() at run-time. The maximum possible value for max_vcpus can be retrieved using the KVM_CAP_MAX_VCPUS of the KVM_CHECK_EXTENSION ioctl() at run-time.”h]”hXThe recommended max_vcpus value can be retrieved using the KVM_CAP_NR_VCPUS of the KVM_CHECK_EXTENSION ioctl() at run-time. The maximum possible value for max_vcpus can be retrieved using the KVM_CAP_MAX_VCPUS of the KVM_CHECK_EXTENSION ioctl() at run-time.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hjý h²hubhï)�”}”(hŒÖIf the KVM_CAP_NR_VCPUS does not exist, you should assume that max_vcpus is 4 cpus max. If the KVM_CAP_MAX_VCPUS does not exist, you should assume that max_vcpus is same as the value returned from KVM_CAP_NR_VCPUS.”h]”hŒÖIf the KVM_CAP_NR_VCPUS does not exist, you should assume that max_vcpus is 4 cpus max. If the KVM_CAP_MAX_VCPUS does not exist, you should assume that max_vcpus is same as the value returned from KVM_CAP_NR_VCPUS.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MDhjý h²hubhï)�”}”(hŒ‰The maximum possible value for max_vcpu_id can be retrieved using the KVM_CAP_MAX_VCPU_ID of the KVM_CHECK_EXTENSION ioctl() at run-time.”h]”hŒ‰The maximum possible value for max_vcpu_id can be retrieved using the KVM_CAP_MAX_VCPU_ID of the KVM_CHECK_EXTENSION ioctl() at run-time.”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MIhjý h²hubhï)�”}”(hŒ‡If the KVM_CAP_MAX_VCPU_ID does not exist, you should assume that max_vcpu_id is the same as the value returned from KVM_CAP_MAX_VCPUS.”h]”hŒ‡If the KVM_CAP_MAX_VCPU_ID does not exist, you should assume that max_vcpu_id is the same as the value returned from KVM_CAP_MAX_VCPUS.”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MLhjý h²hubhï)�”}”(hXOn powerpc using book3s_hv mode, the vcpus are mapped onto virtual threads in one or more virtual CPU cores. (This is because the hardware requires all the hardware threads in a CPU core to be in the same partition.) The KVM_CAP_PPC_SMT capability indicates the number of vcpus per virtual core (vcore). The vcore id is obtained by dividing the vcpu id by the number of vcpus per vcore. The vcpus in a given vcore will always be in the same physical core as each other (though that might be a different physical core from time to time). Userspace can control the threading (SMT) mode of the guest by its allocation of vcpu ids. For example, if userspace wants single-threaded guest vcpus, it should make all vcpu ids be a multiple of the number of vcpus per vcore.”h]”hXOn powerpc using book3s_hv mode, the vcpus are mapped onto virtual threads in one or more virtual CPU cores. (This is because the hardware requires all the hardware threads in a CPU core to be in the same partition.) The KVM_CAP_PPC_SMT capability indicates the number of vcpus per virtual core (vcore). The vcore id is obtained by dividing the vcpu id by the number of vcpus per vcore. The vcpus in a given vcore will always be in the same physical core as each other (though that might be a different physical core from time to time). Userspace can control the threading (SMT) mode of the guest by its allocation of vcpu ids. For example, if userspace wants single-threaded guest vcpus, it should make all vcpu ids be a multiple of the number of vcpus per vcore.”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MOhjý h²hubhï)�”}”(hŒóFor virtual cpus that have been created with S390 user controlled virtual machines, the resulting vcpu fd can be memory mapped at page offset KVM_S390_SIE_PAGE_OFFSET in order to obtain a memory map of the virtual cpu's hardware control block.”h]”hŒõFor virtual cpus that have been created with S390 user controlled virtual machines, the resulting vcpu fd can be memory mapped at page offset KVM_S390_SIE_PAGE_OFFSET in order to obtain a memory map of the virtual cpu’s hardware control block.”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\hjý h²hubeh}”(h]”Œkvm-create-vcpu”ah ]”h"]”Œ4.7 kvm_create_vcpu”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M4ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.8 KVM_GET_DIRTY_LOG”h]”hŒ4.8 KVM_GET_DIRTY_LOG”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjhh²hh³hÇh´Mcubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj|h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj�h]”hŒbasic”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mehj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj|ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mehjyh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjªh³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj½h]”hŒall”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mfhj»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjªubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mfhjyh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjØh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjëh]”hŒvm ioctl”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mghjéubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjØubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mghjyh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒstruct kvm_dirty_log (in/out)”h]”hï)�”}”(hjh]”hŒstruct kvm_dirty_log (in/out)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhhjyh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj4h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MihjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mihjyh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjhh²hh³hÇh´Meubj8)�”}”(hŒÐ/* for KVM_GET_DIRTY_LOG */ struct kvm_dirty_log { __u32 slot; __u32 padding; union { void __user *dirty_bitmap; /* one bit per page */ __u64 padding; }; };”h]”hŒÐ/* for KVM_GET_DIRTY_LOG */ struct kvm_dirty_log { __u32 slot; __u32 padding; union { void __user *dirty_bitmap; /* one bit per page */ __u64 padding; }; };”…”�”}”hjisbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mmhjhh²hubhï)�”}”(hŒÒGiven a memory slot, return a bitmap containing any pages dirtied since the last call to this ioctl. Bit 0 is the first page in the memory slot. Ensure the entire structure is cleared to avoid padding issues.”h]”hŒÒGiven a memory slot, return a bitmap containing any pages dirtied since the last call to this ioctl. Bit 0 is the first page in the memory slot. Ensure the entire structure is cleared to avoid padding issues.”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mwhjhh²hubhï)�”}”(hŒØIf KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of slot field specifies the address space for which you want to return the dirty bitmap. See KVM_SET_USER_MEMORY_REGION for details on the usage of slot field.”h]”hŒØIf KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of slot field specifies the address space for which you want to return the dirty bitmap. See KVM_SET_USER_MEMORY_REGION for details on the usage of slot field.”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|hjhh²hubhï)�”}”(hŒµThe bits in the dirty bitmap are cleared before the ioctl returns, unless KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 is enabled. For more information, see the description of the capability.”h]”hŒµThe bits in the dirty bitmap are cleared before the ioctl returns, unless KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 is enabled. For more information, see the description of the capability.”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M€hjhh²hubhï)�”}”(hŒ}Note that the Xen shared_info page, if configured, shall always be assumed to be dirty. KVM will not explicitly mark it such.”h]”hŒ}Note that the Xen shared_info page, if configured, shall always be assumed to be dirty. KVM will not explicitly mark it such.”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M„hjhh²hubeh}”(h]”Œkvm-get-dirty-log”ah ]”h"]”Œ4.8 kvm_get_dirty_log”ah$]”h&]”uh1hÈhjæh²hh³hÇh´McubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ 4.10 KVM_RUN”h]”hŒ 4.10 KVM_RUN”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj·h²hh³hÇh´M‰ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjËh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjÞh]”hŒbasic”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‹hjÜubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‹hjÈh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjùh³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj h]”hŒall”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjùubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŒhjÈh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj'h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj:h]”hŒ vcpu ioctl”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hjÈh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjUh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjhh]”hŒnone”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŽhjfubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŽhjÈh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjƒh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hjÈh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj·h²hh³hÇh´M‹ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘hj·h²hubj )�”}”(hXè======= ============================================================== EINTR an unmasked signal is pending ENOEXEC the vcpu hasn't been initialized or the guest tried to execute instructions from device memory (arm64) ENOSYS data abort outside memslots with no syndrome info and KVM_CAP_ARM_NISV_TO_USER not enabled (arm64) EPERM SVE feature set but not finalized (arm64) ======= ============================================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjÍubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K>uh1jchjÍubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINTR”h]”hŒEINTR”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M”hjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjçubj„)�”}”(hhh]”hï)�”}”(hŒan unmasked signal is pending”h]”hŒan unmasked signal is pending”…”�”}”(hjh²hh³Nh´Nubah}”(h• ]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M”hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjçubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjäubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENOEXEC”h]”hŒENOEXEC”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M•hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubj„)�”}”(hhh]”hï)�”}”(hŒfthe vcpu hasn't been initialized or the guest tried to execute instructions from device memory (arm64)”h]”hŒhthe vcpu hasn’t been initialized or the guest tried to execute instructions from device memory (arm64)”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M•hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjäubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENOSYS”h]”hŒENOSYS”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M—hjXubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjUubj„)�”}”(hhh]”hï)�”}”(hŒbdata abort outside memslots with no syndrome info and KVM_CAP_ARM_NISV_TO_USER not enabled (arm64)”h]”hŒbdata abort outside memslots with no syndrome info and KVM_CAP_ARM_NISV_TO_USER not enabled (arm64)”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M—hjoubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjUubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjäubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEPERM”h]”hŒEPERM”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M™hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŒubj„)�”}”(hhh]”hï)�”}”(hŒ)SVE feature set but not finalized (arm64)”h]”hŒ)SVE feature set but not finalized (arm64)”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M™hj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjÍubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M“hj·h²hubhï)�”}”(hX+This ioctl is used to run a guest virtual cpu. While there are no explicit parameters, there is an implicit parameter block that can be obtained by mmap()ing the vcpu fd at offset 0, with the size given by KVM_GET_VCPU_MMAP_SIZE. The parameter block is formatted as a 'struct kvm_run' (see below).”h]”hX/This ioctl is used to run a guest virtual cpu. While there are no explicit parameters, there is an implicit parameter block that can be obtained by mmap()ing the vcpu fd at offset 0, with the size given by KVM_GET_VCPU_MMAP_SIZE. The parameter block is formatted as a ‘struct kvm_run’ (see below).”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mœhj·h²hubeh}”(h]”Œkvm-run”ah ]”h"]”Œ 4.10 kvm_run”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M‰ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.11 KVM_GET_REGS”h]”hŒ4.11 KVM_GET_REGS”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjòh²hh³hÇh´M¤ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjh]”hŒbasic”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¦hjh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj4h³hÇh´Kubj�)�”}”(hŒall except arm64”h]”hï)�”}”(hjGh]”hŒall except arm64”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M§hjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M§hjh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjbh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjuh]”hŒ vcpu ioctl”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjbubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¨hjh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�h³hÇh´Kubj�)�”}”(hŒstruct kvm_regs (out)”h]”hï)�”}”(hj£h]”hŒstruct kvm_regs (out)”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M©hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M©hjh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MªhjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¾ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mªhjh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjòh²hh³hÇh´M¦ubhï)�”}”(hŒ2Reads the general purpose registers from the vcpu.”h]”hŒ2Reads the general purpose registers from the vcpu.”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬hjòh²hubj8)�”}”(hX/* x86 */ struct kvm_regs { /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ __u64 rax, rbx, rcx, rdx; __u64 rsi, rdi, rsp, rbp; __u64 r8, r9, r10, r11; __u64 r12, r13, r14, r15; __u64 rip, rflags; }; /* mips */ struct kvm_regs { /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ __u64 gpr[32]; __u64 hi; __u64 lo; __u64 pc; }; /* LoongArch */ struct kvm_regs { /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ unsigned long gpr[32]; unsigned long pc; };”h]”hX/* x86 */ struct kvm_regs { /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ __u64 rax, rbx, rcx, rdx; __u64 rsi, rdi, rsp, rbp; __u64 r8, r9, r10, r11; __u64 r12, r13, r14, r15; __u64 rip, rflags; }; /* mips */ struct kvm_regs { /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ __u64 gpr[32]; __u64 hi; __u64 lo; __u64 pc; }; /* LoongArch */ struct kvm_regs { /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ unsigned long gpr[32]; unsigned long pc; };”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M°hjòh²hubeh}”(h]”Œ kvm-get-regs”ah ]”h"]”Œ4.11 kvm_get_regs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M¤ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.12 KVM_SET_REGS”h]”hŒ4.12 KVM_SET_REGS”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´MÌubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj+h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj>h]”hŒbasic”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÎhj(h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjYh³hÇh´Kubj�)�”}”(hŒall except arm64”h]”hï)�”}”(hjlh]”hŒall except arm64”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏhjjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjYubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÏhj(h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‡h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjšh]”hŒ vcpu ioctl”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÐhj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÐhj(h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjµh³hÇh´Kubj�)�”}”(hŒstruct kvm_regs (in)”h]”hï)�”}”(hjÈh]”hŒstruct kvm_regs (in)”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjµubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÑhj(h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjãh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒhjôubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÒhj(h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjh²hh³hÇh´MÎubhï)�”}”(hŒ3Writes the general purpose registers into the vcpu.”h]”hŒ3Writes the general purpose registers into the vcpu.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔhjh²hubhï)�”}”(hŒ(See KVM_GET_REGS for the data structure.”h]”hŒ(See KVM_GET_REGS for the data structure.”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖhjh²hubeh}”(h]”Œ kvm-set-regs”ah ]”h"]”Œ4.12 kvm_set_regs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÌubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.13 KVM_GET_SREGS”h]”hŒ4.13 KVM_GET_SREGS”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj<h²hh³hÇh´MÚubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjPh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjch]”hŒbasic”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜhjaubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjPubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÜhjMh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj~h³hÇh´Kubj�)�”}”(hŒx86, ppc”h]”hï)�”}”(hj‘h]”hŒx86, ppc”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÝhjMh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¬h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj¿h]”hŒ vcpu ioctl”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞhj½ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÞhjMh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÚh³hÇh´Kubj�)�”}”(hŒstruct kvm_sregs (out)”h]”hï)�”}”(hjíh]”hŒstruct kvm_sregs (out)”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mßhjëubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÚubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MßhjMh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Màhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MàhjMh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj<h²hh³hÇh´MÜubhï)�”}”(hŒ&Reads special registers from the vcpu.”h]”hŒ&Reads special registers from the vcpu.”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mâhj<h²hubj8)�”}”(hXU/* x86 */ struct kvm_sregs { struct kvm_segment cs, ds, es, fs, gs, ss; struct kvm_segment tr, ldt; struct kvm_dtable gdt, idt; __u64 cr0, cr2, cr3, cr4, cr8; __u64 efer; __u64 apic_base; __u64 interrupt_bitmap[(KVM_NR_INTERRUPTS + 63) / 64]; }; /* ppc -- see arch/powerpc/include/uapi/asm/kvm.h */”h]”hXU/* x86 */ struct kvm_sregs { struct kvm_segment cs, ds, es, fs, gs, ss; struct kvm_segment tr, ldt; struct kvm_dtable gdt, idt; __u64 cr0, cr2, cr3, cr4, cr8; __u64 efer; __u64 apic_base; __u64 interrupt_bitmap[(KVM_NR_INTERRUPTS + 63) / 64]; }; /* ppc -- see arch/powerpc/include/uapi/asm/kvm.h */”…”�”}”hjKsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mæhj<h²hubhï)�”}”(hŒ³interrupt_bitmap is a bitmap of pending external interrupts. At most one bit may be set. This interrupt has been acknowledged by the APIC but not yet injected into the cpu core.”h]”hŒ³interrupt_bitmap is a bitmap of pending external interrupts. At most one bit may be set. This interrupt has been acknowledged by the APIC but not yet injected into the cpu core.”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Móhj<h²hubeh}”(h]”Œ kvm-get-sregs”ah ]”h"]”Œ4.13 kvm_get_sregs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÚubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.14 KVM_SET_SREGS”h]”hŒ4.14 KVM_SET_SREGS”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjoh²hh³hÇh´Mùubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjƒh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj–h]”hŒbasic”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mûhj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mûhj€h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj±h³hÇh´Kubj�)�”}”(hŒx86, ppc”h]”hï)�”}”(hjÄh]”hŒx86, ppc”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MühjÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mühj€h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjßh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjòh]”hŒ vcpu ioctl”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mýhjðubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjßubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mýhj€h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒstruct kvm_sregs (in)”h]”hï)�”}”(hj h]”hŒstruct kvm_sregs (in)”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mþhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mþhj€h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj;h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÿhjLubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mÿhj€h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjoh²hh³hÇh´Mûubhï)�”}”(hŒSWrites special registers into the vcpu. See KVM_GET_SREGS for the data structures.”h]”hŒSWrites special registers into the vcpu. See KVM_GET_SREGS for the data structures.”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjoh²hubeh}”(h]”Œ kvm-set-sregs”ah ]”h"]”Œ4.14 kvm_set_sregs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MùubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.15 KVM_TRANSLATE”h]”hŒ4.15 KVM_TRANSLATE”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj†h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjšh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj­h]”hŒbasic”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjšubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj—h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÈh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÛh]”hŒx86”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj—h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjöh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj h]”hŒ vcpu ioctl”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjöubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj—h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj$h³hÇh´Kubj�)�”}”(hŒstruct kvm_translation (in/out)”h]”hï)�”}”(hj7h]”hŒstruct kvm_translation (in/out)”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj—h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjRh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjcubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjRubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj—h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj†h²hh³hÇh´Mubhï)�”}”(hŒVTranslates a virtual address according to the vcpu's current address translation mode.”h]”hŒXTranslates a virtual address according to the vcpu’s current address translation mode.”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj†h²hubj8)�”}”(hŒÉstruct kvm_translation { /* in */ __u64 linear_address; /* out */ __u64 physical_address; __u8 valid; __u8 writeable; __u8 usermode; __u8 pad[5]; };”h]”hŒÉstruct kvm_translation { /* in */ __u64 linear_address; /* out */ __u64 physical_address; __u8 valid; __u8 writeable; __u8 usermode; __u8 pad[5]; };”…”�”}”hj•sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mhj†h²hubeh}”(h]”Œ kvm-translate”ah ]”h"]”Œ4.15 kvm_translate”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.16 KVM_INTERRUPT”h]”hŒ4.16 KVM_INTERRUPT”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj«h²hh³hÇh´M!ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¿h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjÒh]”hŒbasic”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¿ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M#hj¼h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjíh³hÇh´Kubj�)�”}”(hŒ x86, ppc, mips, riscv, loongarch”h]”hï)�”}”(hjh]”hŒ x86, ppc, mips, riscv, loongarch”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjíubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M$hj¼h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj.h]”hŒ vcpu ioctl”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M%hj¼h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjIh³hÇh´Kubj�)�”}”(hŒstruct kvm_interrupt (in)”h]”hï)�”}”(hj\h]”hŒstruct kvm_interrupt (in)”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&hjZubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjIubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M&hj¼h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjwh³hÇh´Kubj�)�”}”(hŒ#0 on success, negative on failure. ”h]”hï)�”}”(hŒ"0 on success, negative on failure.”h]”hŒ"0 on success, negative on failure.”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'hjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjwubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M'hj¼h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj«h²hh³hÇh´M#ubhï)�”}”(hŒ2Queues a hardware interrupt vector to be injected.”h]”hŒ2Queues a hardware interrupt vector to be injected.”…”�”}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hj«h²hubj8)�”}”(hŒQ/* for KVM_INTERRUPT */ struct kvm_interrupt { /* in */ __u32 irq; };”h]”hŒQ/* for KVM_INTERRUPT */ struct kvm_interrupt { /* in */ __u32 irq; };”…”�”}”hjºsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M-hj«h²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒX86:”h]”hŒX86:”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÈh²hh³hÇh´M4ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÜh³hÇh´Kubj�)�”}”(hX========= =================================== 0 on success, -EEXIST if an interrupt is already enqueued -EINVAL the irq number is invalid -ENXIO if the PIC is in the kernel -EFAULT if the pointer is invalid ========= =================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchjôubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K#uh1jchjôubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hjŠh]”hŒ0”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubj„)�”}”(hhh]”hï)�”}”(hŒ on success,”h]”hŒ on success,”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ-EEXIST”h]”hŒ-EEXIST”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:hjGubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjDubj„)�”}”(hhh]”hï)�”}”(hŒ#if an interrupt is already enqueued”h]”hŒ#if an interrupt is already enqueued”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:hj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjDubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ-EINVAL”h]”hŒ-EINVAL”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj{ubj„)�”}”(hhh]”hï)�”}”(hŒthe irq number is invalid”h]”hŒthe irq number is invalid”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj{ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ-ENXIO”h]”hŒ-ENXIO”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hjµubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj²ubj„)�”}”(hhh]”hï)�”}”(hŒif the PIC is in the kernel”h]”hŒif the PIC is in the kernel”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ-EFAULT”h]”hŒ-EFAULT”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M=hjìubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjéubj„)�”}”(hhh]”hï)�”}”(hŒif the pointer is invalid”h]”hŒif the pointer is invalid”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M=hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjôubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjñubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjíubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M6hjÙh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÈh²hh³hÇh´M6ubhï)�”}”(hŒwNote 'irq' is an interrupt vector, not an interrupt pin or line. This ioctl is useful if the in-kernel PIC is not used.”h]”hŒ{Note ‘irq’ is an interrupt vector, not an interrupt pin or line. This ioctl is useful if the in-kernel PIC is not used.”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@hjÈh²hubeh}”(h]”Œid3”ah ]”h"]”h$]”j¹ah&]”uh1hÈhj«h²hh³hÇh´M4j»KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒPPC:”h]”hŒPPC:”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjZh²hh³hÇh´MDubhï)�”}”(hŒbQueues an external interrupt to be injected. This ioctl is overloaded with 3 different irq values:”h]”hŒbQueues an external interrupt to be injected. This ioctl is overloaded with 3 different irq values:”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhjZh²hubhŒenumerated_list”“”)�”}”(hhh]”(j)�”}”(hŒœKVM_INTERRUPT_SET This injects an edge type external interrupt into the guest once it's ready to receive interrupts. When injected, the interrupt is done. ”h]”(hï)�”}”(hŒKVM_INTERRUPT_SET”h]”hŒKVM_INTERRUPT_SET”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MIhj~ubhï)�”}”(hŒˆThis injects an edge type external interrupt into the guest once it's ready to receive interrupts. When injected, the interrupt is done.”h]”hŒŠThis injects an edge type external interrupt into the guest once it’s ready to receive interrupts. When injected, the interrupt is done.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MKhj~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj{h²hh³hÇh´Nubj)�”}”(hŒdKVM_INTERRUPT_UNSET This unsets any pending interrupt. Only available with KVM_CAP_PPC_UNSET_IRQ. ”h]”(hï)�”}”(hŒKVM_INTERRUPT_UNSET”h]”hŒKVM_INTERRUPT_UNSET”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhj¤ubhï)�”}”(hŒ"This unsets any pending interrupt.”h]”hŒ"This unsets any pending interrupt.”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MPhj¤ubhï)�”}”(hŒ*Only available with KVM_CAP_PPC_UNSET_IRQ.”h]”hŒ*Only available with KVM_CAP_PPC_UNSET_IRQ.”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MRhj¤ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj{h²hh³hÇh´Nubj)�”}”(hŒäKVM_INTERRUPT_SET_LEVEL This injects a level type external interrupt into the guest context. The interrupt stays pending until a specific ioctl with KVM_INTERRUPT_UNSET is triggered. Only available with KVM_CAP_PPC_IRQ_LEVEL. ”h]”(hï)�”}”(hŒKVM_INTERRUPT_SET_LEVEL”h]”hŒKVM_INTERRUPT_SET_LEVEL”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MThjØubhï)�”}”(hŒžThis injects a level type external interrupt into the guest context. The interrupt stays pending until a specific ioctl with KVM_INTERRUPT_UNSET is triggered.”h]”hŒžThis injects a level type external interrupt into the guest context. The interrupt stays pending until a specific ioctl with KVM_INTERRUPT_UNSET is triggered.”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MVhjØubhï)�”}”(hŒ*Only available with KVM_CAP_PPC_IRQ_LEVEL.”h]”hŒ*Only available with KVM_CAP_PPC_IRQ_LEVEL.”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MZhjØubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj{h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œ loweralpha”Œprefix”hŒsuffix”Œ)”uh1jyhjZh²hh³hÇh´MIubhï)�”}”(hŒiNote that any value for 'irq' other than the ones stated above is invalid and incurs unexpected behavior.”h]”hŒmNote that any value for ‘irq’ other than the ones stated above is invalid and incurs unexpected behavior.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\hjZh²hubhï)�”}”(hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”h]”hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M_hjZh²hubeh}”(h]”Œppc”ah ]”h"]”Œppc:”ah$]”h&]”uh1hÈhj«h²hh³hÇh´MDubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒMIPS:”h]”hŒMIPS:”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj;h²hh³hÇh´Mbubhï)�”}”(hŒuQueues an external interrupt to be injected into the virtual CPU. A negative interrupt number dequeues the interrupt.”h]”hŒuQueues an external interrupt to be injected into the virtual CPU. A negative interrupt number dequeues the interrupt.”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mdhj;h²hubhï)�”}”(hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”h]”hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mghj;h²hubeh}”(h]”Œid4”ah ]”h"]”h$]”jah&]”uh1hÈhj«h²hh³hÇh´Mbj»KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒRISC-V:”h]”hŒRISC-V:”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjoh²hh³hÇh´Mjubhï)�”}”(hŒwQueues an external interrupt to be injected into the virtual CPU. This ioctl is overloaded with 2 different irq values:”h]”hŒwQueues an external interrupt to be injected into the virtual CPU. This ioctl is overloaded with 2 different irq values:”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mlhjoh²hubjz)�”}”(hhh]”(j)�”}”(hŒhKVM_INTERRUPT_SET This sets external interrupt for a virtual CPU and it will receive once it is ready. ”h]”(hï)�”}”(hŒKVM_INTERRUPT_SET”h]”hŒKVM_INTERRUPT_SET”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mohj‘ubhï)�”}”(hŒTThis sets external interrupt for a virtual CPU and it will receive once it is ready.”h]”hŒTThis sets external interrupt for a virtual CPU and it will receive once it is ready.”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mqhj‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjŽh²hh³hÇh´Nubj)�”}”(hŒOKVM_INTERRUPT_UNSET This clears pending external interrupt for a virtual CPU. ”h]”(hï)�”}”(hŒKVM_INTERRUPT_UNSET”h]”hŒKVM_INTERRUPT_UNSET”…”�”}”(hj»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mthj·ubhï)�”}”(hŒ9This clears pending external interrupt for a virtual CPU.”h]”hŒ9This clears pending external interrupt for a virtual CPU.”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mvhj·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjŽh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jjjhjjuh1jyhjoh²hh³hÇh´Moubhï)�”}”(hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”h]”hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mxhjoh²hubeh}”(h]”Œrisc-v”ah ]”h"]”Œrisc-v:”ah$]”h&]”uh1hÈhj«h²hh³hÇh´MjubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ LOONGARCH:”h]”hŒ LOONGARCH:”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjùh²hh³hÇh´M{ubhï)�”}”(hŒuQueues an external interrupt to be injected into the virtual CPU. A negative interrupt number dequeues the interrupt.”h]”hŒuQueues an external interrupt to be injected into the virtual CPU. A negative interrupt number dequeues the interrupt.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M}hjùh²hubhï)�”}”(hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”h]”hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M€hjùh²hubeh}”(h]”Œ loongarch”ah ]”h"]”Œ loongarch:”ah$]”h&]”uh1hÈhj«h²hh³hÇh´M{ubeh}”(h]”Œ kvm-interrupt”ah ]”h"]”Œ4.16 kvm_interrupt”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M!ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.18 KVM_GET_MSRS”h]”hŒ4.18 KVM_GET_MSRS”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj6h²hh³hÇh´M„ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJh³hÇh´Kubj�)�”}”(hŒ/basic (vcpu), KVM_CAP_GET_MSR_FEATURES (system)”h]”hï)�”}”(hj]h]”hŒ/basic (vcpu), KVM_CAP_GET_MSR_FEATURES (system)”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M†hj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M†hjGh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjxh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj‹h]”hŒx86”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‡hj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjxubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‡hjGh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¦h³hÇh´Kubj�)�”}”(hŒsystem ioctl, vcpu ioctl”h]”hï)�”}”(hj¹h]”hŒsystem ioctl, vcpu ioctl”…”�”}”(hj»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mˆhj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¦ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MˆhjGh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔh³hÇh´Kubj�)�”}”(hŒstruct kvm_msrs (in/out)”h]”hï)�”}”(hjçh]”hŒstruct kvm_msrs (in/out)”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‰hjåubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‰hjGh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ2number of msrs successfully returned; -1 on error ”h]”hï)�”}”(hŒ1number of msrs successfully returned; -1 on error”h]”hŒ1number of msrs successfully returned; -1 on error”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŠhjGh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj6h²hh³hÇh´M†ubhï)�”}”(hXWhen used as a system ioctl: Reads the values of MSR-based features that are available for the VM. This is similar to KVM_GET_SUPPORTED_CPUID, but it returns MSR indices and values. The list of msr-based features can be obtained using KVM_GET_MSR_FEATURE_INDEX_LIST in a system ioctl.”h]”hXWhen used as a system ioctl: Reads the values of MSR-based features that are available for the VM. This is similar to KVM_GET_SUPPORTED_CPUID, but it returns MSR indices and values. The list of msr-based features can be obtained using KVM_GET_MSR_FEATURE_INDEX_LIST in a system ioctl.”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj6h²hubhï)�”}”(hŒŸWhen used as a vcpu ioctl: Reads model-specific registers from the vcpu. Supported msr indices can be obtained using KVM_GET_MSR_INDEX_LIST in a system ioctl.”h]”hŒŸWhen used as a vcpu ioctl: Reads model-specific registers from the vcpu. Supported msr indices can be obtained using KVM_GET_MSR_INDEX_LIST in a system ioctl.”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“hj6h²hubj8)�”}”(hŒÖstruct kvm_msrs { __u32 nmsrs; /* number of msrs in entries */ __u32 pad; struct kvm_msr_entry entries[0]; }; struct kvm_msr_entry { __u32 index; __u32 reserved; __u64 data; };”h]”hŒÖstruct kvm_msrs { __u32 nmsrs; /* number of msrs in entries */ __u32 pad; struct kvm_msr_entry entries[0]; }; struct kvm_msr_entry { __u32 index; __u32 reserved; __u64 data; };”…”�”}”hjSsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M™hj6h²hubhï)�”}”(hŒ®Application code should set the 'nmsrs' member (which indicates the size of the entries array) and the 'index' member of each array entry. kvm will fill in the 'data' member.”h]”hŒºApplication code should set the ‘nmsrs’ member (which indicates the size of the entries array) and the ‘index’ member of each array entry. kvm will fill in the ‘data’ member.”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦hj6h²hubeh}”(h]”Œ kvm-get-msrs”ah ]”h"]”Œ4.18 kvm_get_msrs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M„ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.19 KVM_SET_MSRS”h]”hŒ4.19 KVM_SET_MSRS”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjwh²hh³hÇh´M¬ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‹h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjžh]”hŒbasic”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M®hjœubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M®hjˆh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¹h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÌh]”hŒx86”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯hjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¯hjˆh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjçh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjúh]”hŒ vcpu ioctl”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M°hjøubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjçubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M°hjˆh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒstruct kvm_msrs (in)”h]”hï)�”}”(hj(h]”hŒstruct kvm_msrs (in)”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M±hj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M±hjˆh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjCh³hÇh´Kubj�)�”}”(hŒ9number of msrs successfully set (see below), -1 on error ”h]”hï)�”}”(hŒ8number of msrs successfully set (see below), -1 on error”h]”hŒ8number of msrs successfully set (see below), -1 on error”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M²hjTubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M²hjˆh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjwh²hh³hÇh´M®ubhï)�”}”(hŒWWrites model-specific registers to the vcpu. See KVM_GET_MSRS for the data structures.”h]”hŒWWrites model-specific registers to the vcpu. See KVM_GET_MSRS for the data structures.”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´hjwh²hubhï)�”}”(hŒ—Application code should set the 'nmsrs' member (which indicates the size of the entries array), and the 'index' and 'data' members of each array entry.”h]”hŒ£Application code should set the ‘nmsrs’ member (which indicates the size of the entries array), and the ‘index’ and ‘data’ members of each array entry.”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M·hjwh²hubhï)�”}”(hXIt tries to set the MSRs in array entries[] one by one. If setting an MSR fails, e.g., due to setting reserved bits, the MSR isn't supported/emulated by KVM, etc..., it stops processing the MSR list and returns the number of MSRs that have been set successfully.”h]”hXIt tries to set the MSRs in array entries[] one by one. If setting an MSR fails, e.g., due to setting reserved bits, the MSR isn’t supported/emulated by KVM, etc..., it stops processing the MSR list and returns the number of MSRs that have been set successfully.”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M»hjwh²hubeh}”(h]”Œ kvm-set-msrs”ah ]”h"]”Œ4.19 kvm_set_msrs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M¬ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.20 KVM_SET_CPUID”h]”hŒ4.20 KVM_SET_CPUID”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjªh²hh³hÇh´MÂubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjÑh]”hŒbasic”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄhjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¾ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÄhj»h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjìh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÿh]”hŒx86”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅhjýubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjìubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÅhj»h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj-h]”hŒ vcpu ioctl”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆhj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÆhj»h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjHh³hÇh´Kubj�)�”}”(hŒstruct kvm_cpuid (in)”h]”hï)�”}”(hj[h]”hŒstruct kvm_cpuid (in)”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÇhj»h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjvh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈhj‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjvubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÈhj»h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjªh²hh³hÇh´MÄubhï)�”}”(hŒtDefines the vcpu responses to the cpuid instruction. Applications should use the KVM_SET_CPUID2 ioctl if available.”h]”hŒtDefines the vcpu responses to the cpuid instruction. Applications should use the KVM_SET_CPUID2 ioctl if available.”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊhjªh²hubj )�”}”(hhh]”j)�”}”(hXÙCaveat emptor: - If this IOCTL fails, KVM gives no guarantees that previous valid CPUID configuration (if there is) is not corrupted. Userspace can get a copy of the resulting CPUID configuration through KVM_GET_CPUID2 in case. - Using KVM_SET_CPUID{,2} after KVM_RUN, i.e. changing the guest vCPU model after running the guest, may cause guest instability. - Using heterogeneous CPUID configurations, modulo APIC IDs, topology, etc... may cause guest instability. ”h]”(j)�”}”(hŒCaveat emptor:”h]”hŒCaveat emptor:”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÔhj¼ubj%)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hŒÒIf this IOCTL fails, KVM gives no guarantees that previous valid CPUID configuration (if there is) is not corrupted. Userspace can get a copy of the resulting CPUID configuration through KVM_GET_CPUID2 in case.”h]”hï)�”}”(hŒÒIf this IOCTL fails, KVM gives no guarantees that previous valid CPUID configuration (if there is) is not corrupted. Userspace can get a copy of the resulting CPUID configuration through KVM_GET_CPUID2 in case.”h]”hŒÒIf this IOCTL fails, KVM gives no guarantees that previous valid CPUID configuration (if there is) is not corrupted. Userspace can get a copy of the resulting CPUID configuration through KVM_GET_CPUID2 in case.”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÑubj)�”}”(hŒUsing KVM_SET_CPUID{,2} after KVM_RUN, i.e. changing the guest vCPU model after running the guest, may cause guest instability.”h]”hï)�”}”(hŒUsing KVM_SET_CPUID{,2} after KVM_RUN, i.e. changing the guest vCPU model after running the guest, may cause guest instability.”h]”hŒUsing KVM_SET_CPUID{,2} after KVM_RUN, i.e. changing the guest vCPU model after running the guest, may cause guest instability.”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhjìubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÑubj)�”}”(hŒiUsing heterogeneous CPUID configurations, modulo APIC IDs, topology, etc... may cause guest instability. ”h]”hï)�”}”(hŒhUsing heterogeneous CPUID configurations, modulo APIC IDs, topology, etc... may cause guest instability.”h]”hŒhUsing heterogeneous CPUID configurations, modulo APIC IDs, topology, etc... may cause guest instability.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÑubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MÎhjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj¼ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÔhj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjªh²hh³Nh´Nubj8)�”}”(hX struct kvm_cpuid_entry { __u32 function; __u32 eax; __u32 ebx; __u32 ecx; __u32 edx; __u32 padding; }; /* for KVM_SET_CPUID */ struct kvm_cpuid { __u32 nent; __u32 padding; struct kvm_cpuid_entry entries[0]; };”h]”hX struct kvm_cpuid_entry { __u32 function; __u32 eax; __u32 ebx; __u32 ecx; __u32 edx; __u32 padding; }; /* for KVM_SET_CPUID */ struct kvm_cpuid { __u32 nent; __u32 padding; struct kvm_cpuid_entry entries[0]; };”…”�”}”hj4 sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MØhjªh²hubeh}”(h]”Œ kvm-set-cpuid”ah ]”h"]”Œ4.20 kvm_set_cpuid”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÂubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.21 KVM_SET_SIGNAL_MASK”h]”hŒ4.21 KVM_SET_SIGNAL_MASK”…”�”}”(hjM h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjJ h²hh³hÇh´Mêubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hja h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj^ h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjq h]”hŒbasic”…”�”}”(hjs h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mìhjo ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj^ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mìhj[ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŒ h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hjŸ h]”hŒall”…”�”}”(hj¡ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Míhj� ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŒ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Míhj[ h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj½ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjº h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjÍ h]”hŒ vcpu ioctl”…”�”}”(hjÏ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MîhjË ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjº ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mîhj[ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjë h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjè h³hÇh´Kubj�)�”}”(hŒstruct kvm_signal_mask (in)”h]”hï)�”}”(hjû h]”hŒstruct kvm_signal_mask (in)”…”�”}”(hjý h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mïhjù ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjè ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mïhj[ h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj!h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj+!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mðhj'!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mðhj[ h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjJ h²hh³hÇh´Mìubhï)�”}”(hXDefines which signals are blocked during execution of KVM_RUN. This signal mask temporarily overrides the threads signal mask. Any unblocked signal received (except SIGKILL and SIGSTOP, which retain their traditional behaviour) will cause KVM_RUN to return with -EINTR.”h]”hXDefines which signals are blocked during execution of KVM_RUN. This signal mask temporarily overrides the threads signal mask. Any unblocked signal received (except SIGKILL and SIGSTOP, which retain their traditional behaviour) will cause KVM_RUN to return with -EINTR.”…”�”}”(hjK!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MòhjJ h²hubhï)�”}”(hŒRNote the signal will only be delivered if not blocked by the original signal mask.”h]”hŒRNote the signal will only be delivered if not blocked by the original signal mask.”…”�”}”(hjY!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷hjJ h²hubj8)�”}”(hŒa/* for KVM_SET_SIGNAL_MASK */ struct kvm_signal_mask { __u32 len; __u8 sigset[0]; };”h]”hŒa/* for KVM_SET_SIGNAL_MASK */ struct kvm_signal_mask { __u32 len; __u8 sigset[0]; };”…”�”}”hjg!sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MühjJ h²hubeh}”(h]”Œkvm-set-signal-mask”ah ]”h"]”Œ4.21 kvm_set_signal_mask”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MêubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.22 KVM_GET_FPU”h]”hŒ4.22 KVM_GET_FPU”…”�”}”(hj€!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj}!h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj”!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‘!h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj¤!h]”hŒbasic”…”�”}”(hj¦!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj¢!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‘!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjŽ!h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÂ!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¿!h³hÇh´Kubj�)�”}”(hŒx86, loongarch”h]”hï)�”}”(hjÒ!h]”hŒx86, loongarch”…”�”}”(hjÔ!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÐ!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¿!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjŽ!h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjð!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjí!h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj"h]”hŒ vcpu ioctl”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjþ!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjí!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjŽ!h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj"h³hÇh´Kubj�)�”}”(hŒstruct kvm_fpu (out)”h]”hï)�”}”(hj."h]”hŒstruct kvm_fpu (out)”…”�”}”(hj0"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj,"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjŽ!h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjL"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjI"h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj^"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjZ"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjI"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjŽ!h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj}!h²hh³hÇh´Mubhï)�”}”(hŒ-Reads the floating point state from the vcpu.”h]”hŒ-Reads the floating point state from the vcpu.”…”�”}”(hj~"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj}!h²hubj8)�”}”(hXæ/* x86: for KVM_GET_FPU and KVM_SET_FPU */ struct kvm_fpu { __u8 fpr[8][16]; __u16 fcw; __u16 fsw; __u8 ftwx; /* in fxsave format */ __u8 pad1; __u16 last_opcode; __u64 last_ip; __u64 last_dp; __u8 xmm[16][16]; __u32 mxcsr; __u32 pad2; }; /* LoongArch: for KVM_GET_FPU and KVM_SET_FPU */ struct kvm_fpu { __u32 fcsr; __u64 fcc; struct kvm_fpureg { __u64 val64[4]; }fpr[32]; };”h]”hXæ/* x86: for KVM_GET_FPU and KVM_SET_FPU */ struct kvm_fpu { __u8 fpr[8][16]; __u16 fcw; __u16 fsw; __u8 ftwx; /* in fxsave format */ __u8 pad1; __u16 last_opcode; __u64 last_ip; __u64 last_dp; __u8 xmm[16][16]; __u32 mxcsr; __u32 pad2; }; /* LoongArch: for KVM_GET_FPU and KVM_SET_FPU */ struct kvm_fpu { __u32 fcsr; __u64 fcc; struct kvm_fpureg { __u64 val64[4]; }fpr[32]; };”…”�”}”hjŒ"sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mhj}!h²hubeh}”(h]”Œ kvm-get-fpu”ah ]”h"]”Œ4.22 kvm_get_fpu”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.23 KVM_SET_FPU”h]”hŒ4.23 KVM_SET_FPU”…”�”}”(hj¥"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¢"h²hh³hÇh´M*ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj¹"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¶"h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjÉ"h]”hŒbasic”…”�”}”(hjË"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,hjÇ"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¶"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M,hj³"h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjç"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjä"h³hÇh´Kubj�)�”}”(hŒx86, loongarch”h]”hï)�”}”(hj÷"h]”hŒx86, loongarch”…”�”}”(hjù"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hjõ"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjä"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M-hj³"h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj#h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj%#h]”hŒ vcpu ioctl”…”�”}”(hj'#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M.hj##ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M.hj³"h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjC#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj@#h³hÇh´Kubj�)�”}”(hŒstruct kvm_fpu (in)”h]”hï)�”}”(hjS#h]”hŒstruct kvm_fpu (in)”…”�”}”(hjU#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/hjQ#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj@#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M/hj³"h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjq#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjn#h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjƒ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0hj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjn#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M0hj³"h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¢"h²hh³hÇh´M,ubhï)�”}”(hŒ,Writes the floating point state to the vcpu.”h]”hŒ,Writes the floating point state to the vcpu.”…”�”}”(hj£#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2hj¢"h²hubj8)�”}”(hXæ/* x86: for KVM_GET_FPU and KVM_SET_FPU */ struct kvm_fpu { __u8 fpr[8][16]; __u16 fcw; __u16 fsw; __u8 ftwx; /* in fxsave format */ __u8 pad1; __u16 last_opcode; __u64 last_ip; __u64 last_dp; __u8 xmm[16][16]; __u32 mxcsr; __u32 pad2; }; /* LoongArch: for KVM_GET_FPU and KVM_SET_FPU */ struct kvm_fpu { __u32 fcsr; __u64 fcc; struct kvm_fpureg { __u64 val64[4]; }fpr[32]; };”h]”hXæ/* x86: for KVM_GET_FPU and KVM_SET_FPU */ struct kvm_fpu { __u8 fpr[8][16]; __u16 fcw; __u16 fsw; __u8 ftwx; /* in fxsave format */ __u8 pad1; __u16 last_opcode; __u64 last_ip; __u64 last_dp; __u8 xmm[16][16]; __u32 mxcsr; __u32 pad2; }; /* LoongArch: for KVM_GET_FPU and KVM_SET_FPU */ struct kvm_fpu { __u32 fcsr; __u64 fcc; struct kvm_fpureg { __u64 val64[4]; }fpr[32]; };”…”�”}”hj±#sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M6hj¢"h²hubeh}”(h]”Œ kvm-set-fpu”ah ]”h"]”Œ4.23 kvm_set_fpu”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M*ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.24 KVM_CREATE_IRQCHIP”h]”hŒ4.24 KVM_CREATE_IRQCHIP”…”�”}”(hjÊ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÇ#h²hh³hÇh´MPubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÞ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÛ#h³hÇh´Kubj�)�”}”(hŒ,KVM_CAP_IRQCHIP, KVM_CAP_S390_IRQCHIP (s390)”h]”hï)�”}”(hjî#h]”hŒ,KVM_CAP_IRQCHIP, KVM_CAP_S390_IRQCHIP (s390)”…”�”}”(hjð#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MRhjì#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÛ#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MRhjØ#h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj $h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj $h³hÇh´Kubj�)�”}”(hŒx86, arm64, s390”h]”hï)�”}”(hj$h]”hŒx86, arm64, s390”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MShj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj $ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MShjØ#h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj:$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj7$h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjJ$h]”hŒvm ioctl”…”�”}”(hjL$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MThjH$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj7$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MThjØ#h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjh$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hje$h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjx$h]”hŒnone”…”�”}”(hjz$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MUhjv$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhje$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MUhjØ#h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj–$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj“$h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj¨$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MVhj¤$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj“$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MVhjØ#h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÇ#h²hh³hÇh´MRubhï)�”}”(hX7Creates an interrupt controller model in the kernel. On x86, creates a virtual ioapic, a virtual PIC (two PICs, nested), and sets up future vcpus to have a local APIC. IRQ routing for GSIs 0-15 is set to both PIC and IOAPIC; GSI 16-23 only go to the IOAPIC. This ioctl can only be called before creating any vcpus. On arm64, a GICv2 is created. Any other GIC versions require the usage of KVM_CREATE_DEVICE, which also supports creating a GICv2. Using KVM_CREATE_DEVICE is preferred over KVM_CREATE_IRQCHIP for GICv2. On s390, a dummy irq routing table is created.”h]”hX7Creates an interrupt controller model in the kernel. On x86, creates a virtual ioapic, a virtual PIC (two PICs, nested), and sets up future vcpus to have a local APIC. IRQ routing for GSIs 0-15 is set to both PIC and IOAPIC; GSI 16-23 only go to the IOAPIC. This ioctl can only be called before creating any vcpus. On arm64, a GICv2 is created. Any other GIC versions require the usage of KVM_CREATE_DEVICE, which also supports creating a GICv2. Using KVM_CREATE_DEVICE is preferred over KVM_CREATE_IRQCHIP for GICv2. On s390, a dummy irq routing table is created.”…”�”}”(hjÈ$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhjÇ#h²hubhï)�”}”(hXéOn x86, subsequent vcpu creation may install a private 4 KiB memory slot at the default APIC base address (0xfee00000). User memory regions must not overlap this address; doing so will cause vcpu creation to fail with ``EEXIST``, or the memory region to be rejected if created after the vcpu. This occurs when APIC access acceleration is enabled (APICv on Intel, AVIC on AMD), which is the default on supported hardware. The same constraint applies when using ``KVM_CAP_SPLIT_IRQCHIP``.”h]”(hŒÛOn x86, subsequent vcpu creation may install a private 4 KiB memory slot at the default APIC base address (0xfee00000). User memory regions must not overlap this address; doing so will cause vcpu creation to fail with ”…”�”}”(hjÖ$h²hh³Nh´NubjÈ)�”}”(hŒ ``EEXIST``”h]”hŒEEXIST”…”�”}”(hjÞ$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÖ$ubhŒê, or the memory region to be rejected if created after the vcpu. This occurs when APIC access acceleration is enabled (APICv on Intel, AVIC on AMD), which is the default on supported hardware. The same constraint applies when using ”…”�”}”(hjÖ$h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_CAP_SPLIT_IRQCHIP``”h]”hŒKVM_CAP_SPLIT_IRQCHIP”…”�”}”(hjð$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÖ$ubhŒ.”…”�”}”(hjÖ$h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MbhjÇ#h²hubhï)�”}”(hŒsNote that on s390 the KVM_CAP_S390_IRQCHIP vm capability needs to be enabled before KVM_CREATE_IRQCHIP can be used.”h]”hŒsNote that on s390 the KVM_CAP_S390_IRQCHIP vm capability needs to be enabled before KVM_CREATE_IRQCHIP can be used.”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MjhjÇ#h²hubeh}”(h]”Œkvm-create-irqchip”ah ]”h"]”Œ4.24 kvm_create_irqchip”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MPubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.25 KVM_IRQ_LINE”h]”hŒ4.25 KVM_IRQ_LINE”…”�”}”(hj!%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj%h²hh³hÇh´Moubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj5%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj2%h³hÇh´Kubj�)�”}”(hŒKVM_CAP_IRQCHIP”h]”hï)�”}”(hjE%h]”hŒKVM_CAP_IRQCHIP”…”�”}”(hjG%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MqhjC%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj2%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mqhj/%h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjc%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj`%h³hÇh´Kubj�)�”}”(hŒ x86, arm64”h]”hï)�”}”(hjs%h]”hŒ x86, arm64”…”�”}”(hju%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mrhjq%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj`%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mrhj/%h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj‘%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŽ%h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj¡%h]”hŒvm ioctl”…”�”}”(hj£%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MshjŸ%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŽ%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mshj/%h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj¿%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¼%h³hÇh´Kubj�)�”}”(hŒstruct kvm_irq_level”h]”hï)�”}”(hjÏ%h]”hŒstruct kvm_irq_level”…”�”}”(hjÑ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MthjÍ%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¼%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mthj/%h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjí%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjê%h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjÿ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Muhjû%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjê%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Muhj/%h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj%h²hh³hÇh´Mqubhï)�”}”(hX%Sets the level of a GSI input to the interrupt controller model in the kernel. On some architectures it is required that an interrupt controller model has been previously created with KVM_CREATE_IRQCHIP. Note that edge-triggered interrupts require the level to be set to 1 and then back to 0.”h]”hX%Sets the level of a GSI input to the interrupt controller model in the kernel. On some architectures it is required that an interrupt controller model has been previously created with KVM_CREATE_IRQCHIP. Note that edge-triggered interrupts require the level to be set to 1 and then back to 0.”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mwhj%h²hubhï)�”}”(hŒÆOn real hardware, interrupt pins can be active-low or active-high. This does not matter for the level field of struct kvm_irq_level: 1 always means active (asserted), 0 means inactive (deasserted).”h]”hŒÆOn real hardware, interrupt pins can be active-low or active-high. This does not matter for the level field of struct kvm_irq_level: 1 always means active (asserted), 0 means inactive (deasserted).”…”�”}”(hj-&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|hj%h²hubhï)�”}”(hXîx86 allows the operating system to program the interrupt polarity (active-low/active-high) for level-triggered interrupts, and KVM used to consider the polarity. However, due to bitrot in the handling of active-low interrupts, the above convention is now valid on x86 too. This is signaled by KVM_CAP_X86_IOAPIC_POLARITY_IGNORED. Userspace should not present interrupts to the guest as active-low unless this capability is present (or unless it is not using the in-kernel irqchip, of course).”•Ch]”hXîx86 allows the operating system to program the interrupt polarity (active-low/active-high) for level-triggered interrupts, and KVM used to consider the polarity. However, due to bitrot in the handling of active-low interrupts, the above convention is now valid on x86 too. This is signaled by KVM_CAP_X86_IOAPIC_POLARITY_IGNORED. Userspace should not present interrupts to the guest as active-low unless this capability is present (or unless it is not using the in-kernel irqchip, of course).”…”�”}”(hj;&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M€hj%h²hubhï)�”}”(hŒØarm64 can signal an interrupt either at the CPU level, or at the in-kernel irqchip (GIC), and for in-kernel irqchip can tell the GIC to use PPIs designated for specific cpus. The irq field is interpreted like this::”h]”hŒ×arm64 can signal an interrupt either at the CPU level, or at the in-kernel irqchip (GIC), and for in-kernel irqchip can tell the GIC to use PPIs designated for specific cpus. The irq field is interpreted like this:”…”�”}”(hjI&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhj%h²hubj8)�”}”(hŒubits: | 31 ... 28 | 27 ... 24 | 23 ... 16 | 15 ... 0 | field: | vcpu2_index | irq_type | vcpu_index | irq_id |”h]”hŒubits: | 31 ... 28 | 27 ... 24 | 23 ... 16 | 15 ... 0 | field: | vcpu2_index | irq_type | vcpu_index | irq_id |”…”�”}”hjW&sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M�hj%h²hubhï)�”}”(hŒ,The irq_type field has the following values:”h]”hŒ,The irq_type field has the following values:”…”�”}”(hje&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M’hj%h²hubj)�”}”(hhh]”(j)�”}”(hŒVKVM_ARM_IRQ_TYPE_CPU: out-of-kernel GIC: irq_id 0 is IRQ, irq_id 1 is FIQ”h]”j )�”}”(hhh]”j)�”}”(hŒIKVM_ARM_IRQ_TYPE_CPU: out-of-kernel GIC: irq_id 0 is IRQ, irq_id 1 is FIQ”h]”(j)�”}”(hŒKVM_ARM_IRQ_TYPE_CPU:”h]”hŒKVM_ARM_IRQ_TYPE_CPU:”…”�”}”(hj�&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M”hj}&ubj%)�”}”(hhh]”hï)�”}”(hŒ3out-of-kernel GIC: irq_id 0 is IRQ, irq_id 1 is FIQ”h]”hŒ3out-of-kernel GIC: irq_id 0 is IRQ, irq_id 1 is FIQ”…”�”}”(hj’&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M•hj�&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj}&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M”hjz&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjv&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjs&h²hh³Nh´Nubj)�”}”(hŒÖKVM_ARM_IRQ_TYPE_SPI: in-kernel GICv2/GICv3: SPI, irq_id between 32 and 1019 (incl.) (the vcpu_index field is ignored) in-kernel GICv5: SPI, irq_id between 0 and 65535 (incl.)”h]”j )�”}”(hhh]”j)�”}”(hŒ¯KVM_ARM_IRQ_TYPE_SPI: in-kernel GICv2/GICv3: SPI, irq_id between 32 and 1019 (incl.) (the vcpu_index field is ignored) in-kernel GICv5: SPI, irq_id between 0 and 65535 (incl.)”h]”(j)�”}”(hŒKVM_ARM_IRQ_TYPE_SPI:”h]”hŒKVM_ARM_IRQ_TYPE_SPI:”…”�”}”(hjÃ&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M˜hj¿&ubj%)�”}”(hhh]”hï)�”}”(hŒ™in-kernel GICv2/GICv3: SPI, irq_id between 32 and 1019 (incl.) (the vcpu_index field is ignored) in-kernel GICv5: SPI, irq_id between 0 and 65535 (incl.)”h]”hŒ™in-kernel GICv2/GICv3: SPI, irq_id between 32 and 1019 (incl.) (the vcpu_index field is ignored) in-kernel GICv5: SPI, irq_id between 0 and 65535 (incl.)”…”�”}”(hjÔ&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M—hjÑ&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj¿&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M˜hj¼&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj¸&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjs&h²hh³Nh´Nubj)�”}”(hŒ¤KVM_ARM_IRQ_TYPE_PPI: in-kernel GICv2/GICv3: PPI, irq_id between 16 and 31 (incl.) in-kernel GICv5: PPI, irq_id between 0 and 127 (incl.) ”h]”j )�”}”(hhh]”j)�”}”(hŒŠKVM_ARM_IRQ_TYPE_PPI: in-kernel GICv2/GICv3: PPI, irq_id between 16 and 31 (incl.) in-kernel GICv5: PPI, irq_id between 0 and 127 (incl.) ”h]”(j)�”}”(hŒKVM_ARM_IRQ_TYPE_PPI:”h]”hŒKVM_ARM_IRQ_TYPE_PPI:”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mœhj'ubj%)�”}”(hhh]”hï)�”}”(hŒsin-kernel GICv2/GICv3: PPI, irq_id between 16 and 31 (incl.) in-kernel GICv5: PPI, irq_id between 0 and 127 (incl.)”h]”hŒsin-kernel GICv2/GICv3: PPI, irq_id between 16 and 31 (incl.) in-kernel GICv5: PPI, irq_id between 0 and 127 (incl.)”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M›hj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mœhjþ&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjú&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjs&h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M”hj%h²hubhï)�”}”(hŒM(The irq_id field thus corresponds nicely to the IRQ ID in the ARM GIC specs)”h]”hŒM(The irq_id field thus corresponds nicely to the IRQ ID in the ARM GIC specs)”…”�”}”(hjB'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mžhj%h²hubhï)�”}”(hŒ9In both cases, level is used to assert/deassert the line.”h]”hŒ9In both cases, level is used to assert/deassert the line.”…”�”}”(hjP'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj%h²hubhï)�”}”(hŒ˜When KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 is supported, the target vcpu is identified as (256 * vcpu2_index + vcpu_index). Otherwise, vcpu2_index must be zero.”h]”hŒ˜When KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 is supported, the target vcpu is identified as (256 * vcpu2_index + vcpu_index). Otherwise, vcpu2_index must be zero.”…”�”}”(hj^'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢hj%h²hubhï)�”}”(hŒ»Note that on arm64, the KVM_CAP_IRQCHIP capability only conditions injection of interrupts for the in-kernel irqchip. KVM_IRQ_LINE can always be used for a userspace interrupt controller.”h]”hŒ»Note that on arm64, the KVM_CAP_IRQCHIP capability only conditions injection of interrupts for the in-kernel irqchip. KVM_IRQ_LINE can always be used for a userspace interrupt controller.”…”�”}”(hjl'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦hj%h²hubj8)�”}”(hŒ¿struct kvm_irq_level { union { __u32 irq; /* GSI */ __s32 status; /* not used for KVM_IRQ_LEVEL */ }; __u32 level; /* 0 or 1 */ };”h]”hŒ¿struct kvm_irq_level { union { __u32 irq; /* GSI */ __s32 status; /* not used for KVM_IRQ_LEVEL */ }; __u32 level; /* 0 or 1 */ };”…”�”}”hjz'sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M¬hj%h²hubeh}”(h]”Œ kvm-irq-line”ah ]”h"]”Œ4.25 kvm_irq_line”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MoubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.26 KVM_GET_IRQCHIP”h]”hŒ4.26 KVM_GET_IRQCHIP”…”�”}”(hj“'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj�'h²hh³hÇh´M¶ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj§'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¤'h³hÇh´Kubj�)�”}”(hŒKVM_CAP_IRQCHIP”h]”hï)�”}”(hj·'h]”hŒKVM_CAP_IRQCHIP”…”�”}”(hj¹'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸hjµ'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¤'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¸hj¡'h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÕ'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÒ'h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjå'h]”hŒx86”…”�”}”(hjç'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¹hjã'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÒ'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¹hj¡'h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj(h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj(h]”hŒvm ioctl”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mºhj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mºhj¡'h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj1(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj.(h³hÇh´Kubj�)�”}”(hŒstruct kvm_irqchip (in/out)”h]”hï)�”}”(hjA(h]”hŒstruct kvm_irqchip (in/out)”…”�”}”(hjC(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M»hj?(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj.(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M»hj¡'h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj_(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj\(h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjq(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼hjm(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj\(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¼hj¡'h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj�'h²hh³hÇh´M¸ubhï)�”}”(hŒvReads the state of a kernel interrupt controller created with KVM_CREATE_IRQCHIP into a buffer provided by the caller.”h]”hŒvReads the state of a kernel interrupt controller created with KVM_CREATE_IRQCHIP into a buffer provided by the caller.”…”�”}”(hj‘(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾hj�'h²hubj8)�”}”(hX struct kvm_irqchip { __u32 chip_id; /* 0 = PIC1, 1 = PIC2, 2 = IOAPIC */ __u32 pad; union { char dummy[512]; /* reserving space */ struct kvm_pic_state pic; struct kvm_ioapic_state ioapic; } chip; };”h]”hX struct kvm_irqchip { __u32 chip_id; /* 0 = PIC1, 1 = PIC2, 2 = IOAPIC */ __u32 pad; union { char dummy[512]; /* reserving space */ struct kvm_pic_state pic; struct kvm_ioapic_state ioapic; } chip; };”…”�”}”hjŸ(sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÃhj�'h²hubeh}”(h]”Œkvm-get-irqchip”ah ]”h"]”Œ4.26 kvm_get_irqchip”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M¶ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.27 KVM_SET_IRQCHIP”h]”hŒ4.27 KVM_SET_IRQCHIP”…”�”}”(hj¸(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjµ(h²hh³hÇh´MÏubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÌ(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÉ(h³hÇh´Kubj�)�”}”(hŒKVM_CAP_IRQCHIP”h]”hï)�”}”(hjÜ(h]”hŒKVM_CAP_IRQCHIP”…”�”}”(hjÞ(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhjÚ(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÉ(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÑhjÆ(h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjú(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj÷(h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj )h]”hŒx86”…”�”}”(hj )h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒhj)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj÷(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÒhjÆ(h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj()h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj%)h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj8)h]”hŒvm ioctl”…”�”}”(hj:)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓhj6)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj%)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÓhjÆ(h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjV)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjS)h³hÇh´Kubj�)�”}”(hŒstruct kvm_irqchip (in)”h]”hï)�”}”(hjf)h]”hŒstruct kvm_irqchip (in)”…”�”}”(hjh)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔhjd)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjS)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÔhjÆ(h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj„)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�)h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj–)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕhj’)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÕhjÆ(h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjµ(h²hh³hÇh´MÑubhï)�”}”(hŒuSets the state of a kernel interrupt controller created with KVM_CREATE_IRQCHIP from a buffer provided by the caller.”h]”hŒuSets the state of a kernel interrupt controller created with KVM_CREATE_IRQCHIP from a buffer provided by the caller.”…”�”}”(hj¶)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M×hjµ(h²hubj8)�”}”(hX struct kvm_irqchip { __u32 chip_id; /* 0 = PIC1, 1 = PIC2, 2 = IOAPIC */ __u32 pad; union { char dummy[512]; /* reserving space */ struct kvm_pic_state pic; struct kvm_ioapic_state ioapic; } chip; };”h]”hX struct kvm_irqchip { __u32 chip_id; /* 0 = PIC1, 1 = PIC2, 2 = IOAPIC */ __u32 pad; union { char dummy[512]; /* reserving space */ struct kvm_pic_state pic; struct kvm_ioapic_state ioapic; } chip; };”…”�”}”hjÄ)sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÜhjµ(h²hubeh}”(h]”Œkvm-set-irqchip”ah ]”h"]”Œ4.27 kvm_set_irqchip”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÏubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.28 KVM_XEN_HVM_CONFIG”h]”hŒ4.28 KVM_XEN_HVM_CONFIG”…”�”}”(hjÝ)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÚ)h²hh³hÇh´Mèubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjñ)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjî)h³hÇh´Kubj�)�”}”(hŒKVM_CAP_XEN_HVM”h]”hï)�”}”(hj*h]”hŒKVM_CAP_XEN_HVM”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mêhjÿ)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjî)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mêhjë)h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj*h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj/*h]”hŒx86”…”�”}”(hj1*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mëhj-*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mëhjë)h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjM*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJ*h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj]*h]”hŒvm ioctl”…”�”}”(hj_*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mìhj[*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJ*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mìhjë)h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj{*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjx*h³hÇh´Kubj�)�”}”(hŒstruct kvm_xen_hvm_config (in)”h]”hï)�”}”(hj‹*h]”hŒstruct kvm_xen_hvm_config (in)”…”�”}”(hj�*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Míhj‰*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjx*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Míhjë)h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj©*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¦*h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj»*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mîhj·*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¦*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mîhjë)h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÚ)h²hh³hÇh´Mêubhï)�”}”(hXSets the MSR that the Xen HVM guest uses to initialize its hypercall page, and provides the starting address and size of the hypercall blobs in userspace. When the guest writes the MSR, kvm copies one page of a blob (32- or 64-bit, depending on the vcpu mode) to guest memory.”h]”hXSets the MSR that the Xen HVM guest uses to initialize its hypercall page, and provides the starting address and size of the hypercall blobs in userspace. When the guest writes the MSR, kvm copies one page of a blob (32- or 64-bit, depending on the vcpu mode) to guest memory.”…”�”}”(hjÛ*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MðhjÚ)h²hubhï)�”}”(hŒèThe MSR index must be in the range [0x40000000, 0x4fffffff], i.e. must reside in the range that is unofficially reserved for use by hypervisors. The min/max values are enumerated via KVM_XEN_MSR_MIN_INDEX and KVM_XEN_MSR_MAX_INDEX.”h]”hŒèThe MSR index must be in the range [0x40000000, 0x4fffffff], i.e. must reside in the range that is unofficially reserved for use by hypervisors. The min/max values are enumerated via KVM_XEN_MSR_MIN_INDEX and KVM_XEN_MSR_MAX_INDEX.”…”�”}”(hjé*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MöhjÚ)h²hubj8)�”}”(hŒ½struct kvm_xen_hvm_config { __u32 flags; __u32 msr; __u64 blob_addr_32; __u64 blob_addr_64; __u8 blob_size_32; __u8 blob_size_64; __u8 pad2[30]; };”h]”hŒ½struct kvm_xen_hvm_config { __u32 flags; __u32 msr; __u64 blob_addr_32; __u64 blob_addr_64; __u8 blob_size_32; __u8 blob_size_64; __u8 pad2[30]; };”…”�”}”hj÷*sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MühjÚ)h²hubhï)�”}”(hŒoIf certain flags are returned from the KVM_CAP_XEN_HVM check, they may be set in the flags field of this ioctl:”h]”hŒoIf certain flags are returned from the KVM_CAP_XEN_HVM check, they may be set in the flags field of this ioctl:”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÚ)h²hubhï)�”}”(hXThe KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL flag requests KVM to generate the contents of the hypercall page automatically; hypercalls will be intercepted and passed to userspace through KVM_EXIT_XEN. In this case, all of the blob size and address fields must be zero.”h]”hXThe KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL flag requests KVM to generate the contents of the hypercall page automatically; hypercalls will be intercepted and passed to userspace through KVM_EXIT_XEN. In this case, all of the blob size and address fields must be zero.”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÚ)h²hubhï)�”}”(hX The KVM_XEN_HVM_CONFIG_EVTCHN_SEND flag indicates to KVM that userspace will always use the KVM_XEN_HVM_EVTCHN_SEND ioctl to deliver event channel interrupts rather than manipulating the guest's shared_info structures directly. This, in turn, may allow KVM to enable features such as intercepting the SCHEDOP_poll hypercall to accelerate PV spinlock operation for the guest. Userspace may still use the ioctl to deliver events if it was advertised, even if userspace does not send this indication that it will always do so”h]”hX The KVM_XEN_HVM_CONFIG_EVTCHN_SEND flag indicates to KVM that userspace will always use the KVM_XEN_HVM_EVTCHN_SEND ioctl to deliver event channel interrupts rather than manipulating the guest’s shared_info structures directly. This, in turn, may allow KVM to enable features such as intercepting the SCHEDOP_poll hypercall to accelerate PV spinlock operation for the guest. Userspace may still use the ioctl to deliver events if it was advertised, even if userspace does not send this indication that it will always do so”…”�”}”(hj!+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÚ)h²hubhï)�”}”(hŒDNo other flags are currently valid in the struct kvm_xen_hvm_config.”h]”hŒDNo other flags are currently valid in the struct kvm_xen_hvm_config.”…”�”}”(hj/+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÚ)h²hubeh}”(h]”Œkvm-xen-hvm-config”ah ]”h"]”Œ4.28 kvm_xen_hvm_config”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MèubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.29 KVM_GET_CLOCK”h]”hŒ4.29 KVM_GET_CLOCK”…”�”}”(hjH+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjE+h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj\+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjY+h³hÇh´Kubj�)�”}”(hŒKVM_CAP_ADJUST_CLOCK”h]”hï)�”}”(hjl+h]”hŒKVM_CAP_ADJUST_CLOCK”…”�”}”(hjn+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjY+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjV+h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjŠ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‡+h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjš+h]”hŒx86”…”�”}”(hjœ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj˜+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‡+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjV+h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¸+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjµ+h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjÈ+h]”hŒvm ioctl”…”�”}”(hjÊ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÆ+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjµ+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjV+h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjæ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjã+h³hÇh´Kubj�)�”}”(hŒstruct kvm_clock_data (out)”h]”hï)�”}”(hjö+h]”hŒstruct kvm_clock_data (out)”…”�”}”(hjø+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjô+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjã+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjV+h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj,h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj&,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj",ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjV+h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjE+h²hh³hÇh´Mubhï)�”}”(hŒ©Gets the current timestamp of kvmclock as seen by the current guest. In conjunction with KVM_SET_CLOCK, it is used to ensure monotonicity on scenarios such as migration.”h]”hŒ©Gets the current timestamp of kvmclock as seen by the current guest. In conjunction with KVM_SET_CLOCK, it is used to ensure monotonicity on scenarios such as migration.”…”�”}”(hjF,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hjE+h²hubhï)�”}”(hŒ’When KVM_CAP_ADJUST_CLOCK is passed to KVM_CHECK_EXTENSION, it returns the set of bits that KVM can return in struct kvm_clock_data's flag member.”h]”hŒ”When KVM_CAP_ADJUST_CLOCK is passed to KVM_CHECK_EXTENSION, it returns the set of bits that KVM can return in struct kvm_clock_data’s flag member.”…”�”}”(hjT,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&hjE+h²hubhï)�”}”(hŒ The following flags are defined:”h]”hŒ The following flags are defined:”…”�”}”(hjb,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hjE+h²hubj )�”}”(hhh]”(j)�”}”(hX•KVM_CLOCK_TSC_STABLE If set, the returned value is the exact kvmclock value seen by all VCPUs at the instant when KVM_GET_CLOCK was called. If clear, the returned value is simply CLOCK_MONOTONIC plus a constant offset; the offset can be modified with KVM_SET_CLOCK. KVM will try to make all VCPUs follow this clock, but the exact value read by each VCPU could differ, because the host TSC is not stable. ”h]”(j)�”}”(hŒKVM_CLOCK_TSC_STABLE”h]”hŒKVM_CLOCK_TSC_STABLE”…”�”}”(hjw,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M1hjs,ubj%)�”}”(hhh]”hï)�”}”(hXIf set, the returned value is the exact kvmclock value seen by all VCPUs at the instant when KVM_GET_CLOCK was called. If clear, the returned value is simply CLOCK_MONOTONIC plus a constant offset; the offset can be modified with KVM_SET_CLOCK. KVM will try to make all VCPUs follow this clock, but the exact value read by each VCPU could differ, because the host TSC is not stable.”h]”hXIf set, the returned value is the exact kvmclock value seen by all VCPUs at the instant when KVM_GET_CLOCK was called. If clear, the returned value is simply CLOCK_MONOTONIC plus a constant offset; the offset can be modified with KVM_SET_CLOCK. KVM will try to make all VCPUs follow this clock, but the exact value read by each VCPU could differ, because the host TSC is not stable.”…”�”}”(hjˆ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,hj…,ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjs,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M1hjp,ubj)�”}”(hŒ÷KVM_CLOCK_REALTIME If set, the `realtime` field in the kvm_clock_data structure is populated with the value of the host's real time clocksource at the instant when KVM_GET_CLOCK was called. If clear, the `realtime` field does not contain a value. ”h]”(j)�”}”(hŒKVM_CLOCK_REALTIME”h]”hŒKVM_CLOCK_REALTIME”…”�”}”(hj¦,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M7hj¢,ubj%)�”}”(hhh]”hï)�”}”(hŒãIf set, the `realtime` field in the kvm_clock_data structure is populated with the value of the host's real time clocksource at the instant when KVM_GET_CLOCK was called. If clear, the `realtime` field does not contain a value.”h]”(hŒ If set, the ”…”�”}”(hj·,h²hh³Nh´NubhŒtitle_reference”“”)�”}”(hŒ `realtime`”h]”hŒrealtime”…”�”}”(hjÁ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj·,ubhŒ¥ field in the kvm_clock_data structure is populated with the value of the host’s real time clocksource at the instant when KVM_GET_CLOCK was called. If clear, the ”…”�”}”(hj·,h²hh³Nh´NubjÀ,)�”}”(hŒ `realtime`”h]”hŒrealtime”…”�”}”(hjÓ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj·,ubhŒ field does not contain a value.”…”�”}”(hj·,h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4hj´,ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj¢,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M7hjp,h²hubj)�”}”(hŒùKVM_CLOCK_HOST_TSC If set, the `host_tsc` field in the kvm_clock_data structure is populated with the value of the host's timestamp counter (TSC) at the instant when KVM_GET_CLOCK was called. If clear, the `host_tsc` field does not contain a value. ”h]”(j)�”}”(hŒKVM_CLOCK_HOST_TSC”h]”hŒKVM_CLOCK_HOST_TSC”…”�”}”(hjû,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M=hj÷,ubj%)�”}”(hhh]”hï)�”}”(hŒåIf set, the `host_tsc` field in the kvm_clock_data structure is populated with the value of the host's timestamp counter (TSC) at the instant when KVM_GET_CLOCK was called. If clear, the `host_tsc` field does not contain a value.”h]”(hŒ If set, the ”…”�”}”(hj -h²hh³Nh´NubjÀ,)�”}”(hŒ `host_tsc`”h]”hŒhost_tsc”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj -ubhŒ§ field in the kvm_clock_data structure is populated with the value of the host’s timestamp counter (TSC) at the instant when KVM_GET_CLOCK was called. If clear, the ”…”�”}”(hj -h²hh³Nh´NubjÀ,)�”}”(hŒ `host_tsc`”h]”hŒhost_tsc”…”�”}”(hj&-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj -ubhŒ field does not contain a value.”…”�”}”(hj -h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:hj -ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj÷,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M=hjp,h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjE+h²hh³hÇh´Nubj8)�”}”(hŒ°struct kvm_clock_data { __u64 clock; /* kvmclock current value */ __u32 flags; __u32 pad0; __u64 realtime; __u64 host_tsc; __u32 pad[4]; };”h]”hŒ°struct kvm_clock_data { __u64 clock; /* kvmclock current value */ __u32 flags; __u32 pad0; __u64 realtime; __u64 host_tsc; __u32 pad[4]; };”…”�”}”hjP-sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MAhjE+h²hubeh}”(h]”Œ kvm-get-clock”ah ]”h"]”Œ4.29 kvm_get_clock”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.30 KVM_SET_CLOCK”h]”hŒ4.30 KVM_SET_CLOCK”…”�”}”(hji-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjf-h²hh³hÇh´MLubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj}-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjz-h³hÇh´Kubj�)�”}”(hŒKVM_CAP_ADJUST_CLOCK”h]”hï)�”}”(hj�-h]”hŒKVM_CAP_ADJUST_CLOCK”…”�”}”(hj�-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhj‹-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjz-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MNhjw-h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj«-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¨-h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj»-h]”hŒx86”…”�”}”(hj½-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MOhj¹-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¨-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MOhjw-h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÙ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÖ-h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjé-h]”hŒvm ioctl”…”�”}”(hjë-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MPhjç-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÖ-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MPhjw-h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj.h³hÇh´Kubj�)�”}”(hŒstruct kvm_clock_data (in)”h]”hï)�”}”(hj.h]”hŒstruct kvm_clock_data (in)”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQhj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MQhjw-h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj5.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj2.h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjG.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MRhjC.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj2.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MRhjw-h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjf-h²hh³hÇh´MNubhï)�”}”(hŒ´Sets the current timestamp of kvmclock to the value specified in its parameter. In conjunction with KVM_GET_CLOCK, it is used to ensure monotonicity on scenarios such as migration.”h]”hŒ´Sets the current timestamp of kvmclock to the value specified in its parameter. In conjunction with KVM_GET_CLOCK, it is used to ensure monotonicity on scenarios such as migration.”…”�”}”(hjg.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MThjf-h²hubhï)�”}”(hŒ"The following flags can be passed:”h]”hŒ"The following flags can be passed:”…”�”}”(hju.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhjf-h²hubj )�”}”(hhh]”j)�”}”(hXKVM_CLOCK_REALTIME If set, KVM will compare the value of the `realtime` field with the value of the host's real time clocksource at the instant when KVM_SET_CLOCK was called. The difference in elapsed time is added to the final kvmclock value that will be provided to guests. ”h]”(j)�”}”(hŒKVM_CLOCK_REALTIME”h]”hŒKVM_CLOCK_REALTIME”…”�”}”(hjŠ.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M^hj†.ubj%)�”}”(hhh]”hï)�”}”(hXIf set, KVM will compare the value of the `realtime` field with the value of the host's real time clocksource at the instant when KVM_SET_CLOCK was called. The difference in elapsed time is added to the final kvmclock value that will be provided to guests.”h]”(hŒ*If set, KVM will compare the value of the ”…”�”}”(hj›.h²hh³Nh´NubjÀ,)�”}”(hŒ `realtime`”h]”hŒrealtime”…”�”}”(hj£.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj›.ubhŒÎ field with the value of the host’s real time clocksource at the instant when KVM_SET_CLOCK was called. The difference in elapsed time is added to the final kvmclock value that will be provided to guests.”…”�”}”(hj›.h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hj˜.ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj†.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M^hjƒ.ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjf-h²hh³hÇh´Nubhï)�”}”(hŒCOther flags returned by ``KVM_GET_CLOCK`` are accepted but ignored.”h]”(hŒOther flags returned by ”…”�”}”(hjÍ.h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_GET_CLOCK``”h]”hŒ KVM_GET_CLOCK”…”�”}”(hjÕ.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÍ.ubhŒ are accepted but ignored.”…”�”}”(hjÍ.h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M`hjf-h²hubj8)�”}”(hŒ°struct kvm_clock_data { __u64 clock; /* kvmclock current value */ __u32 flags; __u32 pad0; __u64 realtime; __u64 host_tsc; __u32 pad[4]; };”h]”hŒ°struct kvm_clock_data { __u64 clock; /* kvmclock current value */ __u32 flags; __u32 pad0; __u64 realtime; __u64 host_tsc; __u32 pad[4]; };”…”�”}”hjí.sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mdhjf-h²hubeh}”(h]”Œ kvm-set-clock”ah ]”h"]”Œ4.30 kvm_set_clock”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MLubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.31 KVM_GET_VCPU_EVENTS”h]”hŒ4.31 KVM_GET_VCPU_EVENTS”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj/h²hh³hÇh´Moubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj/h³hÇh´Kubj�)�”}”(hŒKVM_CAP_VCPU_EVENTS”h]”hï)�”}”(hj*/h]”hŒKVM_CAP_VCPU_EVENTS”…”�”}”(hj,/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mqhj(/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mqhj/h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Extended by”h]”hŒ Extended by”…”�”}”(hjH/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjE/h³hÇh´Kubj�)�”}”(hŒKVM_CAP_INTR_SHADOW”h]”hï)�”}”(hjX/h]”hŒKVM_CAP_INTR_SHADOW”…”�”}”(hjZ/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MrhjV/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjE/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mrhj/h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjv/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjs/h³hÇh´Kubj�)�”}”(hŒ x86, arm64”h]”hï)�”}”(hj†/h]”hŒ x86, arm64”…”�”}”(hjˆ/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mshj„/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjs/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mshj/h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¤/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¡/h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj´/h]”hŒ vcpu ioctl”…”�”}”(hj¶/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mthj²/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¡/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mthj/h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÒ/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÏ/h³hÇh´Kubj�)�”}”(hŒstruct kvm_vcpu_events (out)”h]”hï)�”}”(hjâ/h]”hŒstruct kvm_vcpu_events (out)”…”�”}”(hjä/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Muhjà/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÏ/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Muhj/h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjý/h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mvhj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjý/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mvhj/h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj/h²hh³hÇh´MqubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒX86:”h]”hŒX86:”…”�”}”(hj50h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj20h²hh³hÇh´Myubhï)�”}”(hŒ^Gets currently pending exceptions, interrupts, and NMIs as well as related states of the vcpu.”h]”hŒ^Gets currently pending exceptions, interrupts, and NMIs as well as related states of the vcpu.”…”�”}”(hjC0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M{hj20h²hubj8)�”}”(hXüstruct kvm_vcpu_events { struct { __u8 injected; __u8 nr; __u8 has_error_code; __u8 pending; __u32 error_code; } exception; struct { __u8 injected; __u8 nr; __u8 soft; __u8 shadow; } interrupt; struct { __u8 injected; __u8 pending; __u8 masked; __u8 pad; } nmi; __u32 sipi_vector; __u32 flags; struct { __u8 smm; __u8 pending; __u8 smm_inside_nmi; __u8 latched_init; } smi; __u8 reserved[27]; __u8 exception_has_payload; __u64 exception_payload; };”h]”hXüstruct kvm_vcpu_events { struct { __u8 injected; __u8 nr; __u8 has_error_code; __u8 pending; __u32 error_code; } exception; struct { __u8 injected; __u8 nr; __u8 soft; __u8 shadow; } interrupt; struct { __u8 injected; __u8 pending; __u8 masked; __u8 pad; } nmi; __u32 sipi_vector; __u32 flags; struct { __u8 smm; __u8 pending; __u8 smm_inside_nmi; __u8 latched_init; } smi; __u8 reserved[27]; __u8 exception_has_payload; __u64 exception_payload; };”…”�”}”hjQ0sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M€hj20h²hubhï)�”}”(hŒ2The following bits are defined in the flags field:”h]”hŒ2The following bits are defined in the flags field:”…”�”}”(hj_0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hj20h²hubj)�”}”(hhh]”(j)�”}”(hŒ^KVM_VCPUEVENT_VALID_SHADOW may be set to signal that interrupt.shadow contains a valid state. ”h]”hï)�”}”(hŒ]KVM_VCPUEVENT_VALID_SHADOW may be set to signal that interrupt.shadow contains a valid state.”h]”hŒ]KVM_VCPUEVENT_VALID_SHADOW may be set to signal that interrupt.shadow contains a valid state.”…”�”}”(hjt0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hjp0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjm0h²hh³hÇh´Nubj)�”}”(hŒNKVM_VCPUEVENT_VALID_SMM may be set to signal that smi contains a valid state. ”h]”hï)�”}”(hŒMKVM_VCPUEVENT_VALID_SMM may be set to signal that smi contains a valid state.”h]”hŒMKVM_VCPUEVENT_VALID_SMM may be set to signal that smi contains a valid state.”…”�”}”(hjŒ0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦hjˆ0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjm0h²hh³hÇh´Nubj)�”}”(hŒÜKVM_VCPUEVENT_VALID_PAYLOAD may be set to signal that the exception_has_payload, exception_payload, and exception.pending fields contain a valid state. This bit will be set whenever KVM_CAP_EXCEPTION_PAYLOAD is enabled. ”h]”hï)�”}”(hŒÛKVM_VCPUEVENT_VALID_PAYLOAD may be set to signal that the exception_has_payload, exception_payload, and exception.pending fields contain a valid state. This bit will be set whenever KVM_CAP_EXCEPTION_PAYLOAD is enabled.”h]”hŒÛKVM_VCPUEVENT_VALID_PAYLOAD may be set to signal that the exception_has_payload, exception_payload, and exception.pending fields contain a valid state. This bit will be set whenever KVM_CAP_EXCEPTION_PAYLOAD is enabled.”…”�”}”(hj¤0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M©hj 0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjm0h²hh³hÇh´Nubj)�”}”(hŒ»KVM_VCPUEVENT_VALID_TRIPLE_FAULT may be set to signal that the triple_fault_pending field contains a valid state. This bit will be set whenever KVM_CAP_X86_TRIPLE_FAULT_EVENT is enabled. ”h]”hï)�”}”(hŒºKVM_VCPUEVENT_VALID_TRIPLE_FAULT may be set to signal that the triple_fault_pending field contains a valid state. This bit will be set whenever KVM_CAP_X86_TRIPLE_FAULT_EVENT is enabled.”h]”hŒºKVM_VCPUEVENT_VALID_TRIPLE_FAULT may be set to signal that the triple_fault_pending field contains a valid state. This bit will be set whenever KVM_CAP_X86_TRIPLE_FAULT_EVENT is enabled.”…”�”}”(hj¼0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M®hj¸0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjm0h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M£hj20h²hubeh}”(h]”Œid5”ah ]”h"]”h$]”Œx86:”ah&]”uh1hÈhj/h²hh³hÇh´Myj»KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒARM64:”h]”hŒARM64:”…”�”}”(hjá0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÞ0h²hh³hÇh´M³ubhï)�”}”(hX'If the guest accesses a device that is being emulated by the host kernel in such a way that a real device would generate a physical SError, KVM may make a virtual SError pending for that VCPU. This system error interrupt remains pending until the guest takes the exception by unmasking PSTATE.A.”h]”hX'If the guest accesses a device that is being emulated by the host kernel in such a way that a real device would generate a physical SError, KVM may make a virtual SError pending for that VCPU. This system error interrupt remains pending until the guest takes the exception by unmasking PSTATE.A.”…”�”}”(hjï0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MµhjÞ0h²hubhï)�”}”(hŒ·Running the VCPU may cause it to take a pending SError, or make an access that causes an SError to become pending. The event's description is only valid while the VPCU is not running.”h]”hŒ¹Running the VCPU may cause it to take a pending SError, or make an access that causes an SError to become pending. The event’s description is only valid while the VPCU is not running.”…”�”}”(hjý0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MºhjÞ0h²hubhï)�”}”(hXNThis API provides a way to read and write the pending 'event' state that is not visible to the guest. To save, restore or migrate a VCPU the struct representing the state can be read then written using this GET/SET API, along with the other guest-visible registers. It is not possible to 'cancel' an SError that has been made pending.”h]”hXVThis API provides a way to read and write the pending ‘event’ state that is not visible to the guest. To save, restore or migrate a VCPU the struct representing the state can be read then written using this GET/SET API, along with the other guest-visible registers. It is not possible to ‘cancel’ an SError that has been made pending.”…”�”}”(hj 1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾hjÞ0h²hubhï)�”}”(hX¥A device being emulated in user-space may also wish to generate an SError. To do this the events structure can be populated by user-space. The current state should be read first, to ensure no existing SError is pending. If an existing SError is pending, the architecture's 'Multiple SError interrupts' rules should be followed. (2.5.3 of DDI0587.a "ARM Reliability, Availability, and Serviceability (RAS) Specification").”h]”hX¯A device being emulated in user-space may also wish to generate an SError. To do this the events structure can be populated by user-space. The current state should be read first, to ensure no existing SError is pending. If an existing SError is pending, the architecture’s ‘Multiple SError interrupts’ rules should be followed. (2.5.3 of DDI0587.a “ARM Reliability, Availability, and Serviceability (RAS) Specificationâ€�).”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄhjÞ0h²hubhï)�”}”(hXSError exceptions always have an ESR value. Some CPUs have the ability to specify what the virtual SError's ESR value should be. These systems will advertise KVM_CAP_ARM_INJECT_SERROR_ESR. In this case exception.has_esr will always have a non-zero value when read, and the agent making an SError pending should specify the ISS field in the lower 24 bits of exception.serror_esr. If the system supports KVM_CAP_ARM_INJECT_SERROR_ESR, but user-space sets the events with exception.has_esr as zero, KVM will choose an ESR.”h]”hX SError exceptions always have an ESR value. Some CPUs have the ability to specify what the virtual SError’s ESR value should be. These systems will advertise KVM_CAP_ARM_INJECT_SERROR_ESR. In this case exception.has_esr will always have a non-zero value when read, and the agent making an SError pending should specify the ISS field in the lower 24 bits of exception.serror_esr. If the system supports KVM_CAP_ARM_INJECT_SERROR_ESR, but user-space sets the events with exception.has_esr as zero, KVM will choose an ESR.”…”�”}”(hj'1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MËhjÞ0h²hubhï)�”}”(hŒ°Specifying exception.has_esr on a system that does not support it will return -EINVAL. Setting anything other than the lower 24bits of exception.serror_esr will return -EINVAL.”h]”hŒ°Specifying exception.has_esr on a system that does not support it will return -EINVAL. Setting anything other than the lower 24bits of exception.serror_esr will return -EINVAL.”…”�”}”(hj51h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓhjÞ0h²hubhï)�”}”(hŒ´It is not possible to read back a pending external abort (injected via KVM_SET_VCPU_EVENTS or otherwise) because such an exception is always delivered directly to the virtual CPU).”h]”hŒ´It is not possible to read back a pending external abort (injected via KVM_SET_VCPU_EVENTS or otherwise) because such an exception is always delivered directly to the virtual CPU).”…”�”}”(hjC1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M×hjÞ0h²hubhï)�”}”(hŒOCalling this ioctl on a vCPU that hasn't been initialized will return -ENOEXEC.”h]”hŒQCalling this ioctl on a vCPU that hasn’t been initialized will return -ENOEXEC.”…”�”}”(hjQ1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛhjÞ0h²hubj8)�”}”(hX%struct kvm_vcpu_events { struct { __u8 serror_pending; __u8 serror_has_esr; __u8 ext_dabt_pending; /* Align it to 8 bytes */ __u8 pad[5]; __u64 serror_esr; } exception; __u32 reserved[12]; };”h]”hX%struct kvm_vcpu_events { struct { __u8 serror_pending; __u8 serror_has_esr; __u8 ext_dabt_pending; /* Align it to 8 bytes */ __u8 pad[5]; __u64 serror_esr; } exception; __u32 reserved[12]; };”…”�”}”hj_1sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MàhjÞ0h²hubeh}”(h]”Œid6”ah ]”h"]”h$]”j9ah&]”uh1hÈhj/h²hh³hÇh´M³j»Kubeh}”(h]”Œkvm-get-vcpu-events”ah ]”h"]”Œ4.31 kvm_get_vcpu_events”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MoubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.32 KVM_SET_VCPU_EVENTS”h]”hŒ4.32 KVM_SET_VCPU_EVENTS”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj|1h²hh³hÇh´Míubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj“1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�1h³hÇh´Kubj�)�”}”(hŒKVM_CAP_VCPU_EVENTS”h]”hï)�”}”(hj£1h]”hŒKVM_CAP_VCPU_EVENTS”…”�”}”(hj¥1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mïhj¡1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mïhj�1h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Extended by”h]”hŒ Extended by”…”�”}”(hjÁ1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾1h³hÇh´Kubj�)�”}”(hŒKVM_CAP_INTR_SHADOW”h]”hï)�”}”(hjÑ1h]”hŒKVM_CAP_INTR_SHADOW”…”�”}”(hjÓ1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MðhjÏ1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¾1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mðhj�1h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjï1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjì1h³hÇh´Kubj�)�”}”(hŒ x86, arm64”h]”hï)�”}”(hjÿ1h]”hŒ x86, arm64”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñhjý1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjì1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mñhj�1h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj2h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj-2h]”hŒ vcpu ioctl”…”�”}”(hj/2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mòhj+2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mòhj�1h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjK2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjH2h³hÇh´Kubj�)�”}”(hŒstruct kvm_vcpu_events (in)”h]”hï)�”}”(hj[2h]”hŒstruct kvm_vcpu_events (in)”…”�”}”(hj]2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MóhjY2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjH2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Móhj�1h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjy2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjv2h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj‹2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Môhj‡2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjv2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Môhj�1h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj|1h²hh³hÇh´MïubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒX86:”h]”hŒX86:”…”�”}”(hj®2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj«2h²hh³hÇh´M÷ubhï)�”}”(hŒSSet pending exceptions, interrupts, and NMIs as well as related states of the vcpu.”h]”hŒSSet pending exceptions, interrupts, and NMIs as well as related states of the vcpu.”…”�”}”(hj¼2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mùhj«2h²hubhï)�”}”(hŒ/See KVM_GET_VCPU_EVENTS for the data structure.”h]”hŒ/See KVM_GET_VCPU_EVENTS for the data structure.”…”�”}”(hjÊ2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mühj«2h²hubhï)�”}”(hXFields that may be modified asynchronously by running VCPUs can be excluded from the update. These fields are nmi.pending, sipi_vector, smi.smm, smi.pending. Keep the corresponding bits in the flags field cleared to suppress overwriting the current in-kernel state. The bits are:”h]”hXFields that may be modified asynchronously by running VCPUs can be excluded from the update. These fields are nmi.pending, sipi_vector, smi.smm, smi.pending. Keep the corresponding bits in the flags field cleared to suppress overwriting the current in-kernel state. The bits are:”…”�”}”(hjØ2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mþhj«2h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjé2ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K"uh1jchjé2ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_VCPUEVENT_VALID_NMI_PENDING”h]”hŒKVM_VCPUEVENT_VALID_NMI_PENDING”…”�”}”(hj 3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj3ubj„)�”}”(hhh]”hï)�”}”(hŒ"transfer nmi.pending to the kernel”h]”hŒ"transfer nmi.pending to the kernel”…”�”}”(hj 3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj3ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_VCPUEVENT_VALID_SIPI_VECTOR”h]”hŒKVM_VCPUEVENT_VALID_SIPI_VECTOR”…”�”}”(hj@3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj=3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj:3ubj„)�”}”(hhh]”hï)�”}”(hŒtransfer sipi_vector”h]”hŒtransfer sipi_vector”…”�”}”(hjW3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjT3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj:3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj3ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_VCPUEVENT_VALID_SMM”h]”hŒKVM_VCPUEVENT_VALID_SMM”…”�”}”(hjw3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjt3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq3ubj„)�”}”(hhh]”hï)�”}”(hŒtransfer the smi sub-struct.”h]”hŒtransfer the smi sub-struct.”…”�”}”(hjŽ3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj‹3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjé2ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjæ2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj«2h²hh³hÇh´Nubhï)�”}”(hŒ¸If KVM_CAP_INTR_SHADOW is available, KVM_VCPUEVENT_VALID_SHADOW can be set in the flags field to signal that interrupt.shadow contains a valid state and shall be written into the VCPU.”h]”hŒ¸If KVM_CAP_INTR_SHADOW is available, KVM_VCPUEVENT_VALID_SHADOW can be set in the flags field to signal that interrupt.shadow contains a valid state and shall be written into the VCPU.”…”�”}”(hj»3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj«2h²hubhï)�”}”(hŒHKVM_VCPUEVENT_VALID_SMM can only be set if KVM_CAP_X86_SMM is available.”h]”hŒHKVM_VCPUEVENT_VALID_SMM can only be set if KVM_CAP_X86_SMM is available.”…”�”}”(hjÉ3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj«2h²hubhï)�”}”(hŒöIf KVM_CAP_EXCEPTION_PAYLOAD is enabled, KVM_VCPUEVENT_VALID_PAYLOAD can be set in the flags field to signal that the exception_has_payload, exception_payload, and exception.pending fields contain a valid state and shall be written into the VCPU.”h]”hŒöIf KVM_CAP_EXCEPTION_PAYLOAD is enabled, KVM_VCPUEVENT_VALID_PAYLOAD can be set in the flags field to signal that the exception_has_payload, exception_payload, and exception.pending fields contain a valid state and shall be written into the VCPU.”…”�”}”(hj×3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj«2h²hubhï)�”}”(hŒÉIf KVM_CAP_X86_TRIPLE_FAULT_EVENT is enabled, KVM_VCPUEVENT_VALID_TRIPLE_FAULT can be set in flags field to signal that the triple_fault field contains a valid state and shall be written into the VCPU.”h]”hŒÉIf KVM_CAP_X86_TRIPLE_FAULT_EVENT is enabled, KVM_VCPUEVENT_VALID_TRIPLE_FAULT can be set in flags field to signal that the triple_fault field contains a valid state and shall be written into the VCPU.”…”�”}”(hjå3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj«2h²hubeh}”(h]”Œid7”ah ]”h"]”h$]”Œx86:”ah&]”uh1hÈhj|1h²hh³hÇh´M÷j»KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒARM64:”h]”hŒARM64:”…”�”}”(hjþ3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjû3h²hh³hÇh´Mubhï)�”}”(hŒCUser space may need to inject several types of events to the guest.”h]”hŒCUser space may need to inject several types of events to the guest.”…”�”}”(hj 4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjû3h²hubhï)�”}”(hŒzSet the pending SError exception state for this VCPU. It is not possible to 'cancel' an Serror that has been made pending.”h]”hŒ~Set the pending SError exception state for this VCPU. It is not possible to ‘cancel’ an Serror that has been made pending.”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjû3h²hubhï)�”}”(hXIIf the guest performed an access to I/O memory which could not be handled by userspace, for example because of missing instruction syndrome decode information or because there is no device mapped at the accessed IPA, then userspace can ask the kernel to inject an external abort using the address from the exiting fault on the VCPU. It is a programming error to set ext_dabt_pending after an exit which was not either KVM_EXIT_MMIO, KVM_EXIT_ARM_NISV, or KVM_EXIT_ARM_LDST64B. This feature is only available if the system supports KVM_CAP_ARM_INJECT_EXT_DABT. This is a helper which provides commonality in how userspace reports accesses for the above cases to guests, across different userspace implementations. Nevertheless, userspace can still emulate all Arm exceptions by manipulating individual registers using the KVM_SET_ONE_REG API.”h]”hXIIf the guest performed an access to I/O memory which could not be handled by userspace, for example because of missing instruction syndrome decode information or because there is no device mapped at the accessed IPA, then userspace can ask the kernel to inject an external abort using the address from the exiting fault on the VCPU. It is a programming error to set ext_dabt_pending after an exit which was not either KVM_EXIT_MMIO, KVM_EXIT_ARM_NISV, or KVM_EXIT_ARM_LDST64B. This feature is only available if the system supports KVM_CAP_ARM_INJECT_EXT_DABT. This is a helper which provides commonality in how userspace reports accesses for the above cases to guests, across different userspace implementations. Nevertheless, userspace can still emulate all Arm exceptions by manipulating individual registers using the KVM_SET_ONE_REG API.”…”�”}”(hj(4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjû3h²hubhï)�”}”(hŒ/See KVM_GET_VCPU_EVENTS for the data structure.”h]”hŒ/See KVM_GET_VCPU_EVENTS for the data structure.”…”�”}”(hj64h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hjû3h²hubhï)�”}”(hŒOCalling this ioctl on a vCPU that hasn't been initialized will return -ENOEXEC.”h]”hŒQCalling this ioctl on a vCPU that hasn’t been initialized will return -ENOEXEC.”…”�”}”(hjD4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/hjû3h²hubeh}”(h]”Œid8”ah ]”h"]”h$]”Œarm64:”ah&]”uh1hÈhj|1h²hh³hÇh´Mj»Kubeh}”(h]”Œkvm-set-vcpu-events”ah ]”h"]”Œ4.32 kvm_set_vcpu_events”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MíubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.33 KVM_GET_DEBUGREGS”h]”hŒ4.33 KVM_GET_DEBUGREGS”…”�”}”(hje4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjb4h²hh³hÇh´M3ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjy4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjv4h³hÇh´Kubj�)�”}”(hŒKVM_CAP_DEBUGREGS”h]”hï)�”}”(hj‰4h]”hŒKVM_CAP_DEBUGREGS”…”�”}”(hj‹4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hj‡4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjv4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M5hjs4h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj§4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¤4h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj·4h]”hŒx86”…”�”}”(hj¹4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hjµ4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¤4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M6hjs4h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÕ4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÒ4h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjå4h]”hŒ vcpu ioctl”…”�”}”(hjç4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M7hjã4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÒ4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M7hjs4h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj5h³hÇh´Kubj�)�”}”(hŒstruct kvm_debugregs (out)”h]”hï)�”}”(hj5h]”hŒstruct kvm_debugregs (out)”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M8hj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M8hjs4h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj15h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj.5h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjC5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hj?5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj.5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M9hjs4h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjb4h²hh³hÇh´M5ubhï)�”}”(hŒ$Reads debug registers from the vcpu.”h]”hŒ$Reads debug registers from the vcpu.”…”�”}”(hjc5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hjb4h²hubj8)�”}”(hŒzstruct kvm_debugregs { __u64 db[4]; __u64 dr6; __u64 dr7; __u64 flags; __u64 reserved[9]; };”h]”hŒzstruct kvm_debugregs { __u64 db[4]; __u64 dr6; __u64 dr7; __u64 flags; __u64 reserved[9]; };”…”�”}”hjq5sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M?hjb4h²hubeh}”(h]”Œkvm-get-debugregs”ah ]”h"]”Œ4.33 kvm_get_debugregs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M3ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.34 KVM_SET_DEBUGREGS”h]”hŒ4.34 KVM_SET_DEBUGREGS”…”�”}”(hjŠ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj‡5h²hh³hÇh´MIubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjž5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj›5h³hÇh´Kubj�)�”}”(hŒKVM_CAP_DEBUGREGS”h]”hï)�”}”(hj®5h]”hŒKVM_CAP_DEBUGREGS”…”�”}”(hj°5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MKhj¬5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj›5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MKhj˜5h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÌ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÉ5h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÜ5h]”hŒx86”…”�”}”(hjÞ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MLhjÚ5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÉ5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MLhj˜5h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjú5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj÷5h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj 6h]”hŒ vcpu ioctl”…”�”}”(hj 6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj÷5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MMhj˜5h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj(6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj%6h³hÇh´Kubj�)�”}”(hŒstruct kvm_debugregs (in)”h]”hï)�”}”(hj86h]”hŒstruct kvm_debugregs (in)”…”�”}”(hj:6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhj66ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj%6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MNhj˜5h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjV6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjS6h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjh6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MOhjd6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjS6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MOhj˜5h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj‡5h²hh³hÇh´MKubhï)�”}”(hŒ%Writes debug registers into the vcpu.”h]”hŒ%Writes debug registers into the vcpu.”…”�”}”(hjˆ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQhj‡5h²hubhï)�”}”(hŒiSee KVM_GET_DEBUGREGS for the data structure. The flags field is unused yet and must be cleared on entry.”h]”hŒiSee KVM_GET_DEBUGREGS for the data structure. The flags field is unused yet and must be cleared on entry.”…”�”}”(hj–6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MShj‡5h²hubeh}”(h]”Œkvm-set-debugregs”ah ]”h"]”Œ4.34 kvm_set_debugregs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MIubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.35 KVM_SET_USER_MEMORY_REGION”h]”hŒ4.35 KVM_SET_USER_MEMORY_REGION”…”�”}”(hj¯6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¬6h²hh³hÇh´MXubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÃ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀ6h³hÇh´Kubj�)�”}”(hŒKVM_CAP_USER_MEMORY”h]”hï)�”}”(hjÓ6h]”hŒKVM_CAP_USER_MEMORY”…”�”}”(hjÕ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MZhjÑ6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀ6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MZhj½6h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjñ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjî6h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj7h]”hŒall”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hjÿ6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjî6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M[hj½6h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj7h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj/7h]”hŒvm ioctl”…”�”}”(hj17h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\hj-7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M\hj½6h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjM7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJ7h³hÇh´Kubj�)�”}”(hŒ'struct kvm_userspace_memory_region (in)”h]”hï)�”}”(hj]7h]”hŒ'struct kvm_userspace_memory_region (in)”…”�”}”(hj_7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]hj[7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJ7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M]hj½6h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj{7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjx7h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj�7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^hj‰7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjx7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M^hj½6h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¬6h²hh³hÇh´MZubj8)�”}”(hX`struct kvm_userspace_memory_region { __u32 slot; __u32 flags; __u64 guest_phys_addr; __u64 memory_size; /* bytes */ __u64 userspace_addr; /* start of the userspace allocated memory */ }; /* for kvm_userspace_memory_region::flags */ #define KVM_MEM_LOG_DIRTY_PAGES (1UL << 0) #define KVM_MEM_READONLY (1UL << 1)”h]”hX`struct kvm_userspace_memory_region { __u32 slot; __u32 flags; __u64 guest_phys_addr; __u64 memory_size; /* bytes */ __u64 userspace_addr; /* start of the userspace allocated memory */ }; /* for kvm_userspace_memory_region::flags */ #define KVM_MEM_LOG_DIRTY_PAGES (1UL << 0) #define KVM_MEM_READONLY (1UL << 1)”…”�”•}”hj­7sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mbhj¬6h²hubhï)�”}”(hXVThis ioctl allows the user to create, modify or delete a guest physical memory slot. Bits 0-15 of "slot" specify the slot id and this value should be less than the maximum number of user memory slots supported per VM. The maximum allowed slots can be queried using KVM_CAP_NR_MEMSLOTS. Slots may not overlap in guest physical address space.”h]”hXZThis ioctl allows the user to create, modify or delete a guest physical memory slot. Bits 0-15 of “slotâ€� specify the slot id and this value should be less than the maximum number of user memory slots supported per VM. The maximum allowed slots can be queried using KVM_CAP_NR_MEMSLOTS. Slots may not overlap in guest physical address space.”…”�”}”(hj»7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mnhj¬6h²hubhï)�”}”(hXgIf KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of "slot" specifies the address space which is being modified. They must be less than the value that KVM_CHECK_EXTENSION returns for the KVM_CAP_MULTI_ADDRESS_SPACE capability. Slots in separate address spaces are unrelated; the restriction on overlapping slots only applies within each address space.”h]”hXkIf KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of “slotâ€� specifies the address space which is being modified. They must be less than the value that KVM_CHECK_EXTENSION returns for the KVM_CAP_MULTI_ADDRESS_SPACE capability. Slots in separate address spaces are unrelated; the restriction on overlapping slots only applies within each address space.”…”�”}”(hjÉ7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mthj¬6h²hubhï)�”}”(hŒÆDeleting a slot is done by passing zero for memory_size. When changing an existing slot, it may be moved in the guest physical memory space, or its flags may be modified, but it may not be resized.”h]”hŒÆDeleting a slot is done by passing zero for memory_size. When changing an existing slot, it may be moved in the guest physical memory space, or its flags may be modified, but it may not be resized.”…”�”}”(hj×7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M{hj¬6h²hubhï)�”}”(hX×Memory for the region is taken starting at the address denoted by the field userspace_addr, which must point at user addressable memory for the entire memory slot size. Any object may back this memory, including anonymous memory, ordinary files, and hugetlbfs. Changes in the backing of the memory region are automatically reflected into the guest. For example, an mmap() that affects the region will be made visible immediately. Another example is madvise(MADV_DROP).”h]”hX×Memory for the region is taken starting at the address denoted by the field userspace_addr, which must point at user addressable memory for the entire memory slot size. Any object may back this memory, including anonymous memory, ordinary files, and hugetlbfs. Changes in the backing of the memory region are automatically reflected into the guest. For example, an mmap() that affects the region will be made visible immediately. Another example is madvise(MADV_DROP).”…”�”}”(hjå7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj¬6h²hubhï)�”}”(hŒdOn architectures that support a form of address tagging, userspace_addr must be an untagged address.”h]”hŒdOn architectures that support a form of address tagging, userspace_addr must be an untagged address.”…”�”}”(hjó7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‡hj¬6h²hubhï)�”}”(hŒ«It is recommended that the lower 21 bits of guest_phys_addr and userspace_addr be identical. This allows large pages in the guest to be backed by large pages in the host.”h]”hŒ«It is recommended that the lower 21 bits of guest_phys_addr and userspace_addr be identical. This allows large pages in the guest to be backed by large pages in the host.”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhj¬6h²hubhï)�”}”(hXœThe flags field supports two flags: KVM_MEM_LOG_DIRTY_PAGES and KVM_MEM_READONLY. The former can be set to instruct KVM to keep track of writes to memory within the slot. See KVM_GET_DIRTY_LOG ioctl to know how to use it. The latter can be set, if KVM_CAP_READONLY_MEM capability allows it, to make a new slot read-only. In this case, writes to this memory will be posted to userspace as KVM_EXIT_MMIO exits.”h]”hXœThe flags field supports two flags: KVM_MEM_LOG_DIRTY_PAGES and KVM_MEM_READONLY. The former can be set to instruct KVM to keep track of writes to memory within the slot. See KVM_GET_DIRTY_LOG ioctl to know how to use it. The latter can be set, if KVM_CAP_READONLY_MEM capability allows it, to make a new slot read-only. In this case, writes to this memory will be posted to userspace as KVM_EXIT_MMIO exits.”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŽhj¬6h²hubhï)�”}”(hŒ‡For TDX guest, deleting/moving memory region loses guest memory contents. Read only region isn't supported. Only as-id 0 is supported.”h]”hŒ‰For TDX guest, deleting/moving memory region loses guest memory contents. Read only region isn’t supported. Only as-id 0 is supported.”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M•hj¬6h²hubhï)�”}”(hXðNote: On arm64, a write generated by the page-table walker (to update the Access and Dirty flags, for example) never results in a KVM_EXIT_MMIO exit when the slot has the KVM_MEM_READONLY flag. This is because KVM cannot provide the data that would be written by the page-table walker, making it impossible to emulate the access. Instead, an abort (data abort if the cause of the page-table update was a load or a store, instruction abort if it was an instruction fetch) is injected in the guest.”h]”hXðNote: On arm64, a write generated by the page-table walker (to update the Access and Dirty flags, for example) never results in a KVM_EXIT_MMIO exit when the slot has the KVM_MEM_READONLY flag. This is because KVM cannot provide the data that would be written by the page-table walker, making it impossible to emulate the access. Instead, an abort (data abort if the cause of the page-table update was a load or a store, instruction abort if it was an instruction fetch) is injected in the guest.”…”�”}”(hj+8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜hj¬6h²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒS390:”h]”hŒS390:”…”�”}”(hj<8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj98h²hh³hÇh´M¢ubhï)�”}”(hŒxReturns -EINVAL or -EEXIST if the VM has the KVM_VM_S390_UCONTROL flag set. Returns -EINVAL if called on a protected VM.”h]”hŒxReturns -EINVAL or -EEXIST if the VM has the KVM_VM_S390_UCONTROL flag set. Returns -EINVAL if called on a protected VM.”…”�”}”(hjJ8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¤hj98h²hubeh}”(h]”Œid9”ah ]”h"]”h$]”jáah&]”uh1hÈhj¬6h²hh³hÇh´M¢j»Kubeh}”(h]”Œkvm-set-user-memory-region”ah ]”h"]”Œ4.35 kvm_set_user_memory_region”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MXubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.36 KVM_SET_TSS_ADDR”h]”hŒ4.36 KVM_SET_TSS_ADDR”…”�”}”(hjj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjg8h²hh³hÇh´M¨ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj~8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj{8h³hÇh´Kubj�)�”}”(hŒKVM_CAP_SET_TSS_ADDR”h]”hï)�”}”(hjŽ8h]”hŒKVM_CAP_SET_TSS_ADDR”…”�”}”(hj�8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MªhjŒ8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj{8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mªhjx8h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¬8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj©8h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj¼8h]”hŒx86”…”�”}”(hj¾8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M«hjº8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj©8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M«hjx8h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÚ8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj×8h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjê8h]”hŒvm ioctl”…”�”}”(hjì8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬hjè8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj×8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¬hjx8h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj9h³hÇh´Kubj�)�”}”(hŒunsigned long tss_address (in)”h]”hï)�”}”(hj9h]”hŒunsigned long tss_address (in)”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M­hj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M­hjx8h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj69h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj39h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjH9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M®hjD9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj39ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M®hjx8h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjg8h²hh³hÇh´Mªubhï)�”}”(hX.This ioctl defines the physical address of a three-page region in the guest physical address space. The region must be within the first 4GB of the guest physical address space and must not conflict with any memory slot or any mmio address. The guest may malfunction if it accesses this memory region.”h]”hX.This ioctl defines the physical address of a three-page region in the guest physical address space. The region must be within the first 4GB of the guest physical address space and must not conflict with any memory slot or any mmio address. The guest may malfunction if it accesses this memory region.”…”�”}”(hjh9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M°hjg8h²hubhï)�”}”(hŒÅThis ioctl is required on Intel-based hosts. This is needed on Intel hardware because of a quirk in the virtualization implementation (see the internals documentation when it pops into existence).”h]”hŒÅThis ioctl is required on Intel-based hosts. This is needed on Intel hardware because of a quirk in the virtualization implementation (see the internals documentation when it pops into existence).”…”�”}”(hjv9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶hjg8h²hubjT)�”}”(hŒ.. _KVM_ENABLE_CAP:”h]”h}”(h]”h ]”h"]”h$]”h&]”j_Œkvm-enable-cap”uh1jSh´M»hjg8h²hh³hÇubeh}”(h]”Œkvm-set-tss-addr”ah ]”h"]”Œ4.36 kvm_set_tss_addr”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M¨ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.37 KVM_ENABLE_CAP”h]”hŒ4.37 KVM_ENABLE_CAP”…”�”}”(hjš9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj—9h²hh³hÇh´M¾ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj®9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj«9h³hÇh´Kubj�)�”}”(hŒKVM_CAP_ENABLE_CAP”h]”hï)�”}”(hj¾9h]”hŒKVM_CAP_ENABLE_CAP”…”�”}”(hjÀ9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀhj¼9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj«9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÀhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÜ9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÙ9h³hÇh´Kubj�)�”}”(hŒmips, ppc, s390, x86, loongarch”h]”hï)�”}”(hjì9h]”hŒmips, ppc, s390, x86, loongarch”…”�”}”(hjî9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁhjê9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÙ9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÁhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj :h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj:h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj:h]”hŒ vcpu ioctl”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÂhj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÂhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj8:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj5:h³hÇh´Kubj�)�”}”(hŒstruct kvm_enable_cap (in)”h]”hï)�”}”(hjH:h]”hŒstruct kvm_enable_cap (in)”…”�”}”(hjJ:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÃhjF:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj5:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÃhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjf:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjc:h³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hjx:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄhjt:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjc:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÄhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj•:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj’:h³hÇh´Kubj�)�”}”(hŒKVM_CAP_ENABLE_CAP_VM”h]”hï)�”}”(hj¥:h]”hŒKVM_CAP_ENABLE_CAP_VM”…”�”}”(hj§:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆhj£:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj’:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÆhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÃ:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀ:h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hjÓ:h]”hŒall”…”�”}”(hjÕ:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇhjÑ:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀ:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÇhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjñ:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjî:h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj;h]”hŒvm ioctl”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈhjÿ:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjî:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÈhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj;h³hÇh´Kubj�)�”}”(hŒstruct kvm_enable_cap (in)”h]”hï)�”}”(hj/;h]”hŒstruct kvm_enable_cap (in)”…”�”}”(hj1;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÉhj-;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÉhj¨9h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjM;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJ;h³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj_;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊhj[;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJ;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÊhj¨9h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj—9h²hh³hÇh´MÀubhŒnote”“”)�”}”(hŒ†Not all extensions are enabled by default. Using this ioctl the application can enable an extension, making it available to the guest.”h]”hï)�”}”(hŒ†Not all extensions are enabled by default. Using this ioctl the application can enable an extension, making it available to the guest.”h]”hŒ†Not all extensions are enabled by default. Using this ioctl the application can enable an extension, making it available to the guest.”…”�”}”(hj…;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhj�;ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hj—9h²hh³hÇh´Nubhï)�”}”(hŒšOn systems that do not support this ioctl, it always fails. On systems that do support it, it only works for extensions that are supported for enablement.”h]”hŒšOn systems that do not support this ioctl, it always fails. On systems that do support it, it only works for extensions that are supported for enablement.”…”�”}”(hj™;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhj—9h²hubhï)�”}”(hŒVTo check if a capability can be enabled, the KVM_CHECK_EXTENSION ioctl should be used.”h]”hŒVTo check if a capability can be enabled, the KVM_CHECK_EXTENSION ioctl should be used.”…”�”}”(hj§;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔhj—9h²hubj8)�”}”(hŒ5struct kvm_enable_cap { /* in */ __u32 cap;”h]”hŒ5struct kvm_enable_cap { /* in */ __u32 cap;”…”�”}”hjµ;sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÙhj—9h²hubhï)�”}”(hŒ/The capability that is supposed to get enabled.”h]”hŒ/The capability that is supposed to get enabled.”…”�”}”(hjÃ;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝhj—9h²hubj8)�”}”(hŒ __u32 flags;”h]”hŒ __u32 flags;”…”�”}”hjÑ;sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Máhj—9h²hubhï)�”}”(hŒ?A bitfield indicating future enhancements. Has to be 0 for now.”h]”hŒ?A bitfield indicating future enhancements. Has to be 0 for now.”…”�”}”(hjß;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mãhj—9h²hubj8)�”}”(hŒ__u64 args[4];”h]”hŒ__u64 args[4];”…”�”}”hjí;sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mçhj—9h²hubhï)�”}”(hŒxArguments for enabling a feature. If a feature needs initial values to function properly, this is the place to put them.”h]”hŒxArguments for enabling a feature. If a feature needs initial values to function properly, this is the place to put them.”…”�”}”(hjû;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Méhj—9h²hubj8)�”}”(hŒ __u8 pad[64]; };”h]”hŒ __u8 pad[64]; };”…”�”}”hj <sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mîhj—9h²hubhï)�”}”(hŒdThe vcpu ioctl should be used for vcpu-specific capabilities, the vm ioctl for vm-wide capabilities.”h]”hŒdThe vcpu ioctl should be used for vcpu-specific capabilities, the vm ioctl for vm-wide capabilities.”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñhj—9h²hubeh}”(h]”(jŽ9Œid10”eh ]”h"]”(Œ4.37 kvm_enable_cap”Œkvm_enable_cap”eh$]”h&]”uh1hÈhjæh²hh³hÇh´M¾j�}”j+<j„9sjƒ}”jŽ9j„9subhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.38 KVM_GET_MP_STATE”h]”hŒ4.38 KVM_GET_MP_STATE”…”�”}”(hj3<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj0<h²hh³hÇh´Mõubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjG<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjD<h³hÇh´Kubj�)�”}”(hŒKVM_CAP_MP_STATE”h]”hï)�”}”(hjW<h]”hŒKVM_CAP_MP_STATE”…”�”}”(hjY<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷hjU<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjD<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M÷hjA<h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hju<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjr<h³hÇh´Kubj�)�”}”(hŒ"x86, s390, arm64, riscv, loongarch”h]”hï)�”}”(hj…<h]”hŒ"x86, s390, arm64, riscv, loongarch”…”�”}”(hj‡<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Møhjƒ<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjr<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MøhjA<h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj£<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj <h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj³<h]”hŒ vcpu ioctl”…”�”}”(hjµ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mùhj±<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj <ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MùhjA<h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÑ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÎ<h³hÇh´Kubj�)�”}”(hŒstruct kvm_mp_state (out)”h]”hï)�”}”(hjá<h]”hŒstruct kvm_mp_state (out)”…”�”}”(hjã<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Múhjß<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÎ<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MúhjA<h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÿ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjü<h³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mûhj =ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjü<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MûhjA<h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj0<h²hh³hÇh´M÷ubj8)�”}”(hŒ.struct kvm_mp_state { __u32 mp_state; };”h]”hŒ.struct kvm_mp_state { __u32 mp_state; };”…”�”}”hj1=sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mÿhj0<h²hubhï)�”}”(hŒ^Returns the vcpu's current "multiprocessing state" (though also valid on uniprocessor guests).”h]”hŒdReturns the vcpu’s current “multiprocessing stateâ€� (though also valid on uniprocessor guests).”…”�”}”(hj?=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj0<h²hubhï)�”}”(hŒPossible values are:”h]”hŒPossible values are:”…”�”}”(hjM=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj0<h²hubj )�”}”(hX6========================== =============================================== KVM_MP_STATE_RUNNABLE the vcpu is currently running [x86,arm64,riscv,loongarch] KVM_MP_STATE_UNINITIALIZED the vcpu is an application processor (AP) which has not yet received an INIT signal [x86] KVM_MP_STATE_INIT_RECEIVED the vcpu has received an INIT signal, and is now ready for a SIPI [x86] KVM_MP_STATE_HALTED the vcpu has executed a HLT instruction and is waiting for an interrupt [x86] KVM_MP_STATE_SIPI_RECEIVED the vcpu has just received a SIPI (vector accessible via KVM_GET_VCPU_EVENTS) [x86] KVM_MP_STATE_STOPPED the vcpu is stopped [s390,arm64,riscv] KVM_MP_STATE_CHECK_STOP the vcpu is in a special error state [s390] KVM_MP_STATE_OPERATING the vcpu is operating (running or halted) [s390] KVM_MP_STATE_LOAD the vcpu is in a special load/startup state [s390] KVM_MP_STATE_SUSPENDED the vcpu is in a suspend state and is waiting for a wakeup event [arm64] ========================== =============================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjb=ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K/uh1jchjb=ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_RUNNABLE”h]”hŒKVM_MP_STATE_RUNNABLE”…”�”}”(hj‚=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj|=ubj„)�”}”(hhh]”hï)�”}”(hŒ9the vcpu is currently running [x86,arm64,riscv,loongarch]”h]”hŒ9the vcpu is currently running [x86,arm64,riscv,loongarch]”…”�”}”(hj™=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj–=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj|=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_UNINITIALIZED”h]”hŒKVM_MP_STATE_UNINITIALIZED”…”�”}”(hj¹=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¶=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³=ubj„)�”}”(hhh]”hï)�”}”(hŒYthe vcpu is an application processor (AP) which has not yet received an INIT signal [x86]”h]”hŒYthe vcpu is an application processor (AP) which has not yet received an INIT signal [x86]”…”�”}”(hjÐ=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÍ=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_INIT_RECEIVED”h]”hŒKVM_MP_STATE_INIT_RECEIVED”…”�”}”(hjð=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjí=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjê=ubj„)�”}”(hhh]”hï)�”}”(hŒGthe vcpu has received an INIT signal, and is now ready for a SIPI [x86]”h]”hŒGthe vcpu has received an INIT signal, and is now ready for a SIPI [x86]”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjê=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_HALTED”h]”hŒKVM_MP_STATE_HALTED”…”�”}”(hj'>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj$>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!>ubj„)�”}”(hhh]”hï)�”}”(hŒMthe vcpu has executed a HLT instruction and is waiting for an interrupt [x86]”h]”hŒMthe vcpu has executed a HLT instruction and is waiting for an interrupt [x86]”…”�”}”(hj>>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj;>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_SIPI_RECEIVED”h]”hŒKVM_MP_STATE_SIPI_RECEIVED”…”�”}”(hj^>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj[>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjX>ubj„)�”}”(hhh]”hï)�”}”(hŒSthe vcpu has just received a SIPI (vector accessible via KVM_GET_VCPU_EVENTS) [x86]”h]”hŒSthe vcpu has just received a SIPI (vector accessible via KVM_GET_VCPU_EVENTS) [x86]”…”�”}”(hju>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjr>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjX>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_STOPPED”h]”hŒKVM_MP_STATE_STOPPED”…”�”}”(hj•>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj’>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�>ubj„)�”}”(hhh]”hï)�”}”(hŒ&the vcpu is stopped [s390,arm64,riscv]”h]”hŒ&the vcpu is stopped [s390,arm64,riscv]”…”�”}”(hj¬>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj©>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_CHECK_STOP”h]”hŒKVM_MP_STATE_CHECK_STOP”…”�”}”(hjÌ>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÉ>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÆ>ubj„)�”}”(hhh]”hï)�”}”(hŒ+the vcpu is in a special error state [s390]”h]”hŒ+the vcpu is in a special error state [s390]”…”�”}”(hjã>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjà>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÆ>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_OPERATING”h]”hŒKVM_MP_STATE_OPERATING”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjý>ubj„)�”}”(hhh]”hï)�”}”(hŒ0the vcpu is operating (running or halted) [s390]”h]”hŒ0the vcpu is operating (running or halted) [s390]”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjý>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_LOAD”h]”hŒKVM_MP_STATE_LOAD”…”�”}”(hj:?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj7?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj4?ubj„)�”}”(hhh]”hï)�”}”(hŒ2the vcpu is in a special load/startup state [s390]”h]”hŒ2the vcpu is in a special load/startup state [s390]”…”�”}”(hjQ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjN?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj4?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MP_STATE_SUSPENDED”h]”hŒKVM_MP_STATE_SUSPENDED”…”�”}”(hjq?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjn?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjk?ubj„)�”}”(hhh]”hï)�”}”(hŒHthe vcpu is in a suspend state and is waiting for a wakeup event [arm64]”h]”hŒHthe vcpu is in a suspend state and is waiting for a wakeup event [arm64]”…”�”}”(hjˆ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj…?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjk?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjy=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjb=ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj_=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj[=ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhj0<h²hubhï)�”}”(hŒ«On x86, this ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel irqchip, the multiprocessing state must be maintained by userspace on these architectures.”h]”hŒ«On x86, this ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel irqchip, the multiprocessing state must be maintained by userspace on these architectures.”…”�”}”(hj»?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj0<h²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ For arm64:”h]”hŒ For arm64:”…”�”}”(hjÌ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÉ?h²hh³hÇh´M"ubhï)�”}”(hŒtIf a vCPU is in the KVM_MP_STATE_SUSPENDED state, KVM will emulate the architectural execution of a WFI instruction.”h]”hŒtIf a vCPU is in the KVM_MP_STATE_SUSPENDED state, KVM will emulate the architectural execution of a WFI instruction.”…”�”}”(hjÚ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hjÉ?h²hubhï)�”}”(hXFIf a wakeup event is recognized, KVM will exit to userspace with a KVM_SYSTEM_EVENT exit, where the event type is KVM_SYSTEM_EVENT_WAKEUP. If userspace wants to honor the wakeup, it must set the vCPU's MP state to KVM_MP_STATE_RUNNABLE. If it does not, KVM will continue to await a wakeup event in subsequent calls to KVM_RUN.”h]”hXHIf a wakeup event is recognized, KVM will exit to userspace with a KVM_SYSTEM_EVENT exit, where the event type is KVM_SYSTEM_EVENT_WAKEUP. If userspace wants to honor the wakeup, it must set the vCPU’s MP state to KVM_MP_STATE_RUNNABLE. If it does not, KVM will continue to await a wakeup event in subsequent calls to KVM_RUN.”…”�”}”(hjè?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'hjÉ?h²hubhŒwarning”“”)�”}”(hX„If userspace intends to keep the vCPU in a SUSPENDED state, it is strongly recommended that userspace take action to suppress the wakeup event (such as masking an interrupt). Otherwise, subsequent calls to KVM_RUN will immediately exit with a KVM_SYSTEM_EVENT_WAKEUP event and inadvertently waste CPU cycles. Additionally, if userspace takes action to suppress a wakeup event, it is strongly recommended that it also restores the vCPU to its original state when the vCPU is made RUNNABLE again. For example, if userspace masked a pending interrupt to suppress the wakeup, the interrupt should be unmasked before returning control to the guest.”h]”(hï)�”}”(hX4If userspace intends to keep the vCPU in a SUSPENDED state, it is strongly recommended that userspace take action to suppress the wakeup event (such as masking an interrupt). Otherwise, subsequent calls to KVM_RUN will immediately exit with a KVM_SYSTEM_EVENT_WAKEUP event and inadvertently waste CPU cycles.”h]”hX4If userspace intends to keep the vCPU in a SUSPENDED state, it is strongly recommended that userspace take action to suppress the wakeup event (such as masking an interrupt). Otherwise, subsequent calls to KVM_RUN will immediately exit with a KVM_SYSTEM_EVENT_WAKEUP event and inadvertently waste CPU cycles.”…”�”}”(hjü?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/hjø?ubhï)�”}”(hXNAdditionally, if userspace takes action to suppress a wakeup event, it is strongly recommended that it also restores the vCPU to its original state when the vCPU is made RUNNABLE again. For example, if userspace masked a pending interrupt to suppress the wakeup, the interrupt should be unmasked before returning control to the guest.”h]”hXNAdditionally, if userspace takes action to suppress a wakeup event, it is strongly recommended that it also restores the vCPU to its original state when the vCPU is made RUNNABLE again. For example, if userspace masked a pending interrupt to suppress the wakeup, the interrupt should be unmasked before returning control to the guest.”…”�”}”(hj @h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hjø?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jö?hjÉ?h²hh³hÇh´Nubeh}”(h]”Œ for-arm64”ah ]”h"]”h$]”Œ for arm64:”ah&]”uh1hÈhj0<h²hh³hÇh´M"j»KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ For riscv:”h]”hŒ For riscv:”…”�”}”(hj)@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj&@h²hh³hÇh´M=ubhï)�”}”(hŒ}The only states that are valid are KVM_MP_STATE_STOPPED and KVM_MP_STATE_RUNNABLE which reflect if the vcpu is paused or not.”h]”hŒ}The only states that are valid are KVM_MP_STATE_STOPPED and KVM_MP_STATE_RUNNABLE which reflect if the vcpu is paused or not.”…”�”}”(hj7@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hj&@h²hubhï)�”}”(hŒcOn LoongArch, only the KVM_MP_STATE_RUNNABLE state is used to reflect whether the vcpu is runnable.”h]”hŒcOn LoongArch, only the KVM_MP_STATE_RUNNABLE state is used to reflect whether the vcpu is runnable.”…”�”}”(hjE@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MBhj&@h²hubeh}”(h]”Œ for-riscv”ah ]”h"]”Œ for riscv:”ah$]”h&]”uh1hÈhj0<h²hh³hÇh´M=ubeh}”(h]”Œkvm-get-mp-state”ah ]”h"]”Œ4.38 kvm_get_mp_state”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MõubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.39 KVM_SET_MP_STATE”h]”hŒ4.39 KVM_SET_MP_STATE”…”�”}”(hjf@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjc@h²hh³hÇh´MFubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjz@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjw@h³hÇh´Kubj�)�”}”(hŒKVM_CAP_MP_STATE”h]”hï)�”}”(hjŠ@h]”hŒKVM_CAP_MP_STATE”…”�”}”(hjŒ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MHhjˆ@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjw@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MHhjt@h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¨@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¥@h³hÇh´Kubj�)�”}”(hŒ"x86, s390, arm64, riscv, loongarch”h]”hï)�”}”(hj¸@h]”hŒ"x86, s390, arm64, riscv, loongarch”…”�”}”(hjº@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MIhj¶@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¥@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MIhjt@h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÖ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÓ@h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjæ@h]”hŒ vcpu ioctl”…”�”}”(hjè@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJhjä@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÓ@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MJhjt@h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjAh³hÇh´Kubj�)�”}”(hŒstruct kvm_mp_state (in)”h]”hï)�”}”(hjAh]”hŒstruct kvm_mp_state (in)”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MKhjAubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MKhjt@h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj2Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj/Ah³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hjDAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MLhj@Aubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj/Aubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MLhjt@h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjc@h²hh³hÇh´MHubhï)�”}”(hŒTSets the vcpu's current "multiprocessing state"; see KVM_GET_MP_STATE for arguments.”h]”hŒZSets the vcpu’s current “multiprocessing stateâ€�; see KVM_GET_MP_STATE for arguments.”…”�”}”(hjdAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhjc@h²hubhï)�”}”(hŒ«On x86, this ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel irqchip, the multiprocessing state must be maintained by userspace on these architectures.”h]”hŒ«On x86, this ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel irqchip, the multiprocessing state must be maintained by userspace on these architectures.”…”�”}”(hjrAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQhjc@h²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒFor arm64/riscv:”h]”hŒFor arm64/riscv:”…”�”}”(hjƒAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj€Ah²hh³hÇh´MVubhï)�”}”(hŒ„The only states that are valid are KVM_MP_STATE_STOPPED and KVM_MP_STATE_RUNNABLE which reflect if the vcpu should be paused or not.”h]”hŒ„The only states that are valid are KVM_MP_STATE_STOPPED and KVM_MP_STATE_RUNNABLE which reflect if the vcpu should be paused or not.”…”�”}”(hj‘Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhj€Ah²hubhï)�”}”(hŒcOn LoongArch, only the KVM_MP_STATE_RUNNABLE state is used to reflect whether the vcpu is runnable.”h]”hŒcOn LoongArch, only the KVM_MP_STATE_RUNNABLE state is used to reflect whether the vcpu is runnable.”…”�”}”(hjŸAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hj€Ah²hubeh}”(h]”Œfor-arm64-riscv”ah ]”h"]”Œfor arm64/riscv:”ah$]”h&]”uh1hÈhjc@h²hh³hÇh´MVubeh}”(h]”Œkvm-set-mp-state”ah ]”h"]”Œ4.39 kvm_set_mp_state”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MFubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.40 KVM_SET_IDENTITY_MAP_ADDR”h]”hŒ4.40 KVM_SET_IDENTITY_MAP_ADDR”…”�”}”(hjÀAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj½Ah²hh³hÇh´M_ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÔAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÑAh³hÇh´Kubj�)�”}”(hŒKVM_CAP_SET_IDENTITY_MAP_ADDR”h]”hï)�”}”(hjäAh]”hŒKVM_CAP_SET_IDENTITY_MAP_ADDR”…”�”}”(hjæAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MahjâAubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÑAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MahjÎAh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÿAh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjBh]”hŒx86”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MbhjBubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÿAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MbhjÎAh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj0Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj-Bh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj@Bh]”hŒvm ioctl”…”�”}”(hjBBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mchj>Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj-Bubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MchjÎAh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj^Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj[Bh³hÇh´Kubj�)�”}”(hŒunsigned long identity (in)”h]”hï)�”}”(hjnBh]”hŒunsigned long identity (in)”…”�”}”(hjpBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MdhjlBubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj[Bubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MdhjÎAh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjŒBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‰Bh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjžBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MehjšBubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‰Bubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MehjÎAh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj½Ah²hh³hÇh´Maubhï)�”}”(hX,This ioctl defines the physical address of a one-page region in the guest physical address space. The region must be within the first 4GB of the guest physical address space and must not conflict with any memory slot or any mmio address. The guest may malfunction if it accesses this memory region.”h]”hX,This ioctl defines the physical address of a one-page region in the guest physical address space. The region must be within the first 4GB of the guest physical address space and must not conflict with any memory slot or any mmio address. The guest may malfunction if it accesses this memory region.”…”�”}”(hj¾Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mghj½Ah²hubhï)�”}”(hŒZSetting the address to 0 will result in resetting the address to its default (0xfffbc000).”h]”hŒZSetting the address to 0 will result in resetting the address to its default (0xfffbc000).”…”�”}”(hjÌBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mmhj½Ah²hubhï)�”}”(hŒÅThis ioctl is required on Intel-based hosts. This is needed on Intel hardware because of a quirk in the virtualization implementation (see the internals documentation when it pops into existence).”h]”hŒÅThis ioctl is required on Intel-based hosts. This is needed on Intel hardware because of a quirk in the virtualization implementation (see the internals documentation when it pops into existence).”…”�”}”(hjÚBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mphj½Ah²hubhï)�”}”(hŒ+Fails if any VCPU has already been created.”h]”hŒ+Fails if any VCPU has already been created.”…”�”}”(hjèBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mthj½Ah²hubeh}”(h]”Œkvm-set-identity-map-addr”ah ]”h"]”Œ4.40 kvm_set_identity_map_addr”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M_ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.41 KVM_SET_BOOT_CPU_ID”h]”hŒ4.41 KVM_SET_BOOT_CPU_ID”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjþBh²hh³hÇh´Mwubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjCh³hÇh´Kubj�)�”}”(hŒKVM_CAP_SET_BOOT_CPU_ID”h]”hï)�”}”(hj%Ch]”hŒKVM_CAP_SET_BOOT_CPU_ID”…”�”}”(hj'Ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Myhj#Cubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MyhjCh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjCCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj@Ch³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjSCh]”hŒx86”…”�”}”(hjUCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MzhjQCubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj@Cubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MzhjCh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjqCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjnCh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj�Ch]”hŒvm ioctl”…”�”}”(hjƒCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M{hjCubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjnCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M{hjCh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjŸCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjœCh³hÇh´Kubj�)�”}”(hŒunsigned long vcpu_id”h]”hï)�”}”(hj¯Ch]”hŒunsigned long vcpu_id”…”�”}”(hj±Ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|hj­Cubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjœCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M|hjCh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÍCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÊCh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjßCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M}hjÛCubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÊCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M}hjCh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjþBh²hh³hÇh´Myubhï)�”}”(hŒøDefine which vcpu is the Bootstrap Processor (BSP). Values are the same as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default is vcpu 0. This ioctl has to be called before vcpu creation, otherwise it will return EBUSY error.”h]”hŒøDefine which vcpu is the Bootstrap Processor (BSP). Values are the same as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default is vcpu 0. This ioctl has to be called before vcpu creation, otherwise it will return EBUSY error.”…”�”}”(hjÿCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjþBh²hubeh}”(h]”Œkvm-set-boot-cpu-id”ah ]”h"]”Œ4.41 kvm_set_boot_cpu_id”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MwubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.42 KVM_GET_XSAVE”h]”hŒ4.42 KVM_GET_XSAVE”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjDh²hh³hÇh´M†ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj,Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj)Dh³hÇh´Kubj�)�”}”(hŒ KVM_CAP_XSAVE”h]”hï)�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mˆhj:Dubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj)Dubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mˆhj&Dh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjZDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjWDh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjjDh]”hŒx86”…”�”}”(hjlDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‰hjhDubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjWDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‰hj&Dh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjˆDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj…Dh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj˜Dh]”hŒ vcpu ioctl”…”�”}”(hjšDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhj–Dubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj…Dubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŠhj&Dh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj¶Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj³Dh³hÇh´Kubj�)�”}”(hŒstruct kvm_xsave (out)”h]”hï)�”}”(hjÆDh]”hŒstruct kvm_xsave (out)”…”�”}”(hjÈDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‹hjÄDubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj³Dubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‹hj&Dh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjäDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjáDh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjöDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒhjòDubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjáDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŒhj&Dh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjDh²hh³hÇh´Mˆubj8)�”}”(hŒEstruct kvm_xsave { __u32 region[1024]; __u32 extra[0]; };”h]”hŒEstruct kvm_xsave { __u32 region[1024]; __u32 extra[0]; };”…”�”}”hjEsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M‘hjDh²hubhï)�”}”(hŒCThis ioctl would copy current vcpu's xsave struct to the userspace.”h]”hŒEThis ioctl would copy current vcpu’s xsave struct to the userspace.”…”�”}”(hj$Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M–hjDh²hubeh}”(h]”Œ kvm-get-xsave”ah ]”h"]”Œ4.42 kvm_get_xsave”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M†ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.43 KVM_SET_XSAVE”h]”hŒ4.43 KVM_SET_XSAVE”…”�”}”(hj=Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj:Eh²hh³hÇh´Mšubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjQEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjNEh³hÇh´Kubj�)�”}”(hŒ KVM_CAP_XSAVE and KVM_CAP_XSAVE2”h]”hï)�”}”(hjaEh]”hŒ KVM_CAP_XSAVE and KVM_CAP_XSAVE2”…”�”}”(hjcEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mœhj_Eubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjNEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MœhjKEh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj|Eh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj�Eh]”hŒx86”…”�”}”(hj‘Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj�Eubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj|Eubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hjKEh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj­Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjªEh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj½Eh]”hŒ vcpu ioctl”…”�”}”(hj¿Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mžhj»Eubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjªEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MžhjKEh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÛEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjØEh³hÇh´Kubj�)�”}”(hŒstruct kvm_xsave (in)”h]”hï)�”}”(hjëEh]”hŒstruct kvm_xsave (in)”…”�”}”(hjíEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸhjéEubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjØEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŸhjKEh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjFh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjFubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjKEh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj:Eh²hh³hÇh´Mœubj8)�”}”(hŒEstruct kvm_xsave { __u32 region[1024]; __u32 extra[0]; };”h]”hŒEstruct kvm_xsave { __u32 region[1024]; __u32 extra[0]; };”…”�”}”hj;Fsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M¥hj:Eh²hubhï)�”}”(hXšThis ioctl would copy userspace's xsave struct to the kernel. It copies as many bytes as are returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2), when invoked on the vm file descriptor. The size value returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) will always be at least 4096. Currently, it is only greater than 4096 if a dynamic feature has been enabled with ``arch_prctl()``, but this may change in the future.”h]”(hXhThis ioctl would copy userspace’s xsave struct to the kernel. It copies as many bytes as are returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2), when invoked on the vm file descriptor. The size value returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) will always be at least 4096. Currently, it is only greater than 4096 if a dynamic feature has been enabled with ”…”�”}”(hjIFh²hh³Nh´NubjÈ)�”}”(hŒ``arch_prctl()``”h]”hŒ arch_prctl()”…”�”}”(hjQFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjIFubhŒ$, but this may change in the future.”…”�”}”(hjIFh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mªhj:Eh²hubhï)�”}”(hŒjThe offsets of the state save areas in struct kvm_xsave follow the contents of CPUID leaf 0xD on the host.”h]”hŒjThe offsets of the state save areas in struct kvm_xsave follow the contents of CPUID leaf 0xD on the host.”…”�”}”(hjiFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M±hj:Eh²hubeh}”(h]”Œ kvm-set-xsave”ah ]”h"]”Œ4.43 kvm_set_xsave”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MšubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.44 KVM_GET_XCRS”h]”hŒ4.44 KVM_GET_XCRS”…”�”}”(hj‚Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjFh²hh³hÇh´M¶ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj–Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj“Fh³hÇh´Kubj�)�”}”(hŒ KVM_CAP_XCRS”h]”hï)�”}”(hj¦Fh]”hŒ KVM_CAP_XCRS”…”�”}”(hj¨Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸hj¤Fubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj“Fubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¸hj�Fh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÄFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÁFh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÔFh]”hŒx86”…”�”}”(hjÖFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¹hjÒFubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÁFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¹hj�Fh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjòFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjïFh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjGh]”hŒ vcpu ioctl”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MºhjGubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjïFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mºhj�Fh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjGh³hÇh´Kubj�)�”}”(hŒstruct kvm_xcrs (out)”h]”hï)�”}”(hj0Gh]”hŒstruct kvm_xcrs (out)”…”�”}”(hj2Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M»hj.Gubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M»hj�Fh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjNGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjKGh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj`Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼hj\Gubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjKGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¼hj�Fh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjFh²hh³hÇh´M¸ubj8)�”}”(hŒÍstruct kvm_xcr { __u32 xcr; __u32 reserved; __u64 value; }; struct kvm_xcrs { __u32 nr_xcrs; __u32 flags; struct kvm_xcr xcrs[KVM_MAX_XCRS]; __u64 padding[16]; };”h]”hŒÍstruct kvm_xcr { __u32 xcr; __u32 reserved; __u64 value; }; struct kvm_xcrs { __u32 nr_xcrs; __u32 flags; struct kvm_xcr xcrs[KVM_MAX_XCRS]; __u64 padding[16]; };”…”�”}”hj€Gsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÀhjFh²hubhï)�”}”(hŒ;This ioctl would copy current vcpu's xcrs to the userspace.”h]”hŒ=This ioctl would copy current vcpu’s xcrs to the userspace.”…”�”}”(hjŽGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍhjFh²hubeh}”(h]”Œ kvm-get-xcrs”ah ]”h"]”Œ4.44 kvm_get_xcrs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M¶ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.45 KVM_SET_XCRS”h]”hŒ4.45 KVM_SET_XCRS”…”�”}”(hj§Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¤Gh²hh³hÇh´MÑubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj»Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¸Gh³hÇh´Kubj�)�”}”(hŒ KVM_CAP_XCRS”h]”hï)�”}”(hjËGh]”hŒ KVM_CAP_XCRS”…”�”}”(hjÍGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓhjÉGubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¸Gubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÓhjµGh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjéGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjæGh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjùGh]”hŒx86”…”�”}”(hjûGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔhj÷Gubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjæGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÔhjµGh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjHh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj'Hh]”hŒ vcpu ioctl”…”�”}”(hj)Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕhj%Hubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÕhjµGh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjEHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjBHh³hÇh´Kubj�)�”}”(hŒstruct kvm_xcrs (in)”h]”hï)�”}”(hjUHh]”hŒstruct kvm_xcrs (in)”…”�”}”(hjWHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖhjSHubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjBHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÖhjµGh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjsHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjpHh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj…Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M×hj�Hubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjpHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M×hjµGh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¤Gh²hh³hÇh´MÓubj8)�”}”(hŒÍstruct kvm_xcr { __u32 xcr; __u32 reserved; __u64 value; }; struct kvm_xcrs { __u32 nr_xcrs; __u32 flags; struct kvm_xcr xcrs[KVM_MAX_XCRS]; __u64 padding[16]; };”h]”hŒÍstruct kvm_xcr { __u32 xcr; __u32 reserved; __u64 value; }; struct kvm_xcrs { __u32 nr_xcrs; __u32 flags; struct kvm_xcr xcrs[KVM_MAX_XCRS]; __u64 padding[16]; };”…”�”}”hj¥Hsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÛhj¤Gh²hubhï)�”}”(hŒAThis ioctl would set vcpu's xcr to the value userspace specified.”h]”hŒCThis ioctl would set vcpu’s xcr to the value userspace specified.”…”�”}”(hj³Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mèhj¤Gh²hubeh}”(h]”Œ kvm-set-xcrs”ah ]”h"]”Œ4.45 kvm_set_xcrs”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÑubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.46 KVM_GET_SUPPORTED_CPUID”h]”hŒ4.46 KVM_GET_SUPPORTED_CPUID”…”�”}”(hjÌHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÉHh²hh³hÇh´Mìubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjàHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÝHh³hÇh´Kubj�)�”}”(hŒKVM_CAP_EXT_CPUID”h]”hï)�”}”(hjðHh]”hŒKVM_CAP_EXT_CPUID”…”�”}”(hjòHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MîhjîHubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÝHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MîhjÚHh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Ih³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjIh]”hŒx86”…”�”}”(hj Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MïhjIubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Iubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MïhjÚHh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjhjÉHh²hubhï)�”}”(hŒ”if that returns true and you use KVM_CREATE_IRQCHIP, or if you emulate the feature in userspace, then you can enable the feature for KVM_SET_CPUID2.”h]”hŒ”if that returns true and you use KVM_CREATE_IRQCHIP, or if you emulate the feature in userspace, then you can enable the feature for KVM_SET_CPUID2.”…”�”}”(hjpKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@hjÉHh²hubhï)�”}”(hŒºEnabling x2APIC in KVM_SET_CPUID2 requires KVM_CREATE_IRQCHIP as KVM doesn't support forwarding x2APIC MSR accesses to userspace, i.e. KVM does not support emulating x2APIC in userspace.”h]”hŒ¼Enabling x2APIC in KVM_SET_CPUID2 requires KVM_CREATE_IRQCHIP as KVM doesn’t support forwarding x2APIC MSR accesses to userspace, i.e. KVM does not support emulating x2APIC in userspace.”…”�”}”(hj~Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MChjÉHh²hubeh}”(h]”Œkvm-get-supported-cpuid”ah ]”h"]”Œ4.46 kvm_get_supported_cpuid”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MìubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.47 KVM_PPC_GET_PVINFO”h]”hŒ4.47 KVM_PPC_GET_PVINFO”…”�”}”(hj—Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj”Kh²hh³hÇh´MHubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj«Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¨Kh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PPC_GET_PVINFO”h]”hï)�”}”(hj»Kh]”hŒKVM_CAP_PPC_GET_PVINFO”…”�”}”(hj½Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJhj¹Kubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¨Kubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MJhj¥Kh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÙKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÖKh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hjéKh]”hŒppc”…”�”}”(hjëKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MKhjçKubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÖKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MKhj¥Kh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjLh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjLh]”hŒvm ioctl”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MLhjLubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MLhj¥Kh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj5Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj2Lh³hÇh´Kubj�)�”}”(hŒstruct kvm_ppc_pvinfo (out)”h]”hï)�”}”(hjELh]”hŒstruct kvm_ppc_pvinfo (out)”…”�”}”(hjGLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhjCLubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj2Lubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MMhj¥Kh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjcLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj`Lh³hÇh´Kubj�)�”}”(hŒ0 on success, !0 on error ”h]”hï)�”}”(hŒ0 on success, !0 on error”h]”hŒ0 on success, !0 on error”…”�”}”(hjuLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhjqLubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj`Lubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MNhj¥Kh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj”Kh²hh³hÇh´MJubj8)�”}”(hŒYstruct kvm_ppc_pvinfo { __u32 flags; __u32 hcall[4]; __u8 pad[108]; };”h]”hŒYstruct kvm_ppc_pvinfo { __u32 flags; __u32 hcall[4]; __u8 pad[108]; };”…”�”}”hj•Lsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MRhj”Kh²hubhï)�”}”(hŒ„This ioctl fetches PV specific information that need to be passed to the guest using the device tree or other means from vm context.”h]”hŒ„This ioctl fetches PV specific information that need to be passed to the guest using the device tree or other means from vm context.”…”�”}”(hj£Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhj”Kh²hubhï)�”}”(hŒ@The hcall array defines 4 instructions that make up a hypercall.”h]”hŒ@The hcall array defines 4 instructions that make up a hypercall.”…”�”}”(hj±Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hj”Kh²hubhï)�”}”(hŒŽIf any additional field gets added to this structure later on, a bit for that additional piece of information will be set in the flags bitmap.”h]”hŒŽIf any additional field gets added to this structure later on, a bit for that additional piece of information will be set in the flags bitmap.”…”�”}”(hj¿Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]hj”Kh²hubhï)�”}”(hŒ The flags bitmap is defined as::”h]”hŒThe flags bitmap is defined as:”…”�”}”(hjÍLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M`hj”Kh²hubj8)�”}”(hŒW/* the host supports the ePAPR idle hcall #define KVM_PPC_PVINFO_FLAGS_EV_IDLE (1<<0)”h]”hŒW/* the host supports the ePAPR idle hcall #define KVM_PPC_PVINFO_FLAGS_EV_IDLE (1<<0)”…”�”}”hjÛLsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mbhj”Kh²hubeh}”(h]”Œkvm-ppc-get-pvinfo”ah ]”h"]”Œ4.47 kvm_ppc_get_pvinfo”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MHubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.52 KVM_SET_GSI_ROUTING”h]”hŒ4.52 KVM_SET_GSI_ROUTING”…”�”}”(hjôLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjñLh²hh³hÇh´Mfubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjMh³hÇh´Kubj�)�”}”(hŒKVM_CAP_IRQ_ROUTING”h]”hï)�”}”(hjMh]”hŒKVM_CAP_IRQ_ROUTING”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhhjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjMubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhhjMh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj6Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj3Mh³hÇh´Kubj�)�”}”(hŒx86 s390 arm64”h]”hï)�”}”(hjFMh]”hŒx86 s390 arm64”…”�”}”(hjHMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MihjDMubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj3Mubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MihjMh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjdMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjaMh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjtMh]”hŒvm ioctl”…”�”}”(hjvMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MjhjrMubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjaMubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MjhjMh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj’Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�Mh³hÇh´Kubj�)�”}”(hŒstruct kvm_irq_routing (in)”h]”hï)�”}”(hj¢Mh]”hŒstruct kvm_irq_routing (in)”…”�”}”(hj¤Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mkhj Mubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�Mubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MkhjMh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÀMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj½Mh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjÒMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MlhjÎMubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj½Mubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MlhjMh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjñLh²hh³hÇh´Mhubhï)�”}”(hŒKSets the GSI routing table entries, overwriting any previously set entries.”h]”hŒKSets the GSI routing table entries, overwriting any previously set entries.”…”�”}”(hjòMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MnhjñLh²hubhï)�”}”(hŒ3On arm64, GSI routing has the following limitation:”h]”hŒ3On arm64, GSI routing has the following limitation:”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MphjñLh²hubj)�”}”(hhh]”j)�”}”(hŒBGSI routing does not apply to KVM_IRQ_LINE but only to KVM_IRQFD. ”h]”hï)�”}”(hŒAGSI routing does not apply to KVM_IRQ_LINE but only to KVM_IRQFD.”h]”hŒAGSI routing does not apply to KVM_IRQ_LINE but only to KVM_IRQFD.”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MrhjNubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjNh²hh³hÇh´Nubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MrhjñLh²hubj8)�”}”(hŒmstruct kvm_irq_routing { __u32 nr; __u32 flags; struct kvm_irq_routing_entry entries[0]; };”h]”hŒmstruct kvm_irq_routing { __u32 nr; __u32 flags; struct kvm_irq_routing_entry entries[0]; };”…”�”}”hj/Nsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MvhjñLh²hubhï)�”}”(hŒKNo flags are specified so far, the corresponding field must be set to zero.”h]”hŒKNo flags are specified so far, the corresponding field must be set to zero.”…”�”}”(hj=Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|hjñLh²hubj8)�”}”(hX{struct kvm_irq_routing_entry { __u32 gsi; __u32 type; __u32 flags; __u32 pad; union { struct kvm_irq_routing_irqchip irqchip; struct kvm_irq_routing_msi msi; struct kvm_irq_routing_s390_adapter adapter; struct kvm_irq_routing_hv_sint hv_sint; struct kvm_irq_routing_xen_evtchn xen_evtchn; __u32 pad[8]; } u; }; /* gsi routing entry types */ #define KVM_IRQ_ROUTING_IRQCHIP 1 #define KVM_IRQ_ROUTING_MSI 2 #define KVM_IRQ_ROUTING_S390_ADAPTER 3 #define KVM_IRQ_ROUTING_HV_SINT 4 #define KVM_IRQ_ROUTING_XEN_EVTCHN 5”h]”hX{struct kvm_irq_routing_entry { __u32 gsi; __u32 type; __u32 flags; __u32 pad; union { struct kvm_irq_routing_irqchip irqchip; struct kvm_irq_routing_msi msi; struct kvm_irq_routing_s390_adapter adapter; struct kvm_irq_routing_hv_sint hv_sint; struct kvm_irq_routing_xen_evtchn xen_evtchn; __u32 pad[8]; } u; }; /* gsi routing entry types */ #define KVM_IRQ_ROUTING_IRQCHIP 1 #define KVM_IRQ_ROUTING_MSI 2 #define KVM_IRQ_ROUTING_S390_ADAPTER 3 #define KVM_IRQ_ROUTING_HV_SINT 4 #define KVM_IRQ_ROUTING_XEN_EVTCHN 5”…”�”}”hjKNsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M€hjñLh²hubhï)�”}”(hŒ^On s390, adding a KVM_IRQ_ROUTING_S390_ADAPTER is rejected on ucontrol VMs with error -EINVAL.”h]”hŒ^On s390, adding a KVM_IRQ_ROUTING_S390_ADAPTER is rejected on ucontrol VMs with error -EINVAL.”…”�”}”(hjYNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M–hjñLh²hubhï)�”}”(hŒflags:”h]”hŒflags:”…”�”}”(hjgNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M™hjñLh²hubj)�”}”(hhh]”(j)�”}”(hXXKVM_MSI_VALID_DEVID: used along with KVM_IRQ_ROUTING_MSI routing entry type, specifies that the devid field contains a valid value. The per-VM KVM_CAP_MSI_DEVID capability advertises the requirement to provide the device ID. If this capability is not available, userspace should never set the KVM_MSI_VALID_DEVID flag as the ioctl might fail.”h]”hï)�”}”(hXXKVM_MSI_VALID_DEVID: used along with KVM_IRQ_ROUTING_MSI routing entry type, specifies that the devid field contains a valid value. The per-VM KVM_CAP_MSI_DEVID capability advertises the requirement to provide the device ID. If this capability is not available, userspace should never set the KVM_MSI_VALID_DEVID flag as the ioctl might fail.”h]”hXXKVM_MSI_VALID_DEVID: used along with KVM_IRQ_ROUTING_MSI routing entry type, specifies that the devid field contains a valid value. The per-VM KVM_CAP_MSI_DEVID capability advertises the requirement to provide the device ID. If this capability is not available, userspace should never set the KVM_MSI_VALID_DEVID flag as the ioctl might fail.”…”�”}”(hj|Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M›hjxNubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjuNh²hh³hÇh´Nubj)�”}”(hŒzero otherwise ”h]”hï)�”}”(hŒzero otherwise”h]”hŒzero otherwise”…”�”}”(hj”Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj�Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjuNh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M›hjñLh²hubj8)�”}”(hŒ÷struct kvm_irq_routing_irqchip { __u32 irqchip; __u32 pin; }; struct kvm_irq_routing_msi { __u32 address_lo; __u32 address_hi; __u32 data; union { __u32 pad; __u32 devid; }; };”h]”hŒ÷struct kvm_irq_routing_irqchip { __u32 irqchip; __u32 pin; }; struct kvm_irq_routing_msi { __u32 address_lo; __u32 address_hi; __u32 data; union { __u32 pad; __u32 devid; }; };”…”�”}”hj®Nsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M¤hjñLh²hubhï)�”}”(hŒ´If KVM_MSI_VALID_DEVID is set, devid contains a unique device identifier for the device that wrote the MSI message. For PCI, this is usually a BDF identifier in the lower 16 bits.”h]”hŒ´If KVM_MSI_VALID_DEVID is set, devid contains a unique device identifier for the device that wrote the MSI message. For PCI, this is usually a BDF identifier in the lower 16 bits.”…”�”}”(hj¼Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³hjñLh²hubhï)�”}”(hŒñOn x86, address_hi is ignored unless the KVM_X2APIC_API_USE_32BIT_IDS feature of KVM_CAP_X2APIC_API capability is enabled. If it is enabled, address_hi bits 31-8 provide bits 31-8 of the destination id. Bits 7-0 of address_hi must be zero.”h]”hŒñOn x86, address_hi is ignored unless the KVM_X2APIC_API_USE_32BIT_IDS feature of KVM_CAP_X2APIC_API capability is enabled. If it is enabled, address_hi bits 31-8 provide bits 31-8 of the destination id. Bits 7-0 of address_hi must be zero.”…”�”}”(hjÊNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M·hjñLh²hubj8)�”}”(hXOstruct kvm_irq_routing_s390_adapter { __u64 ind_addr; __u64 summary_addr; __u64 ind_offset; __u32 summary_offset; __u32 adapter_id; }; struct kvm_irq_routing_hv_sint { __u32 vcpu; __u32 sint; }; struct kvm_irq_routing_xen_evtchn { __u32 port; __u32 vcpu; __u32 priority; };”h]”hXOstruct kvm_irq_routing_s390_adapter { __u64 ind_addr; __u64 summary_addr; __u64 ind_offset; __u32 summary_offset; __u32 adapter_id; }; struct kvm_irq_routing_hv_sint { __u32 vcpu; __u32 sint; }; struct kvm_irq_routing_xen_evtchn { __u32 port; __u32 vcpu; __u32 priority; };”…”�”}”hjØNsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M¾hjñLh²hubhï)�”}”(hXhWhen KVM_CAP_XEN_HVM includes the KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL bit in its indication of supported features, routing to Xen event channels is supported. Although the priority field is present, only the value KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL is supported, which means delivery by 2 level event channels. FIFO event channel support may be added in the future.”h]”hXhWhen KVM_CAP_XEN_HVM includes the KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL bit in its indication of supported features, routing to Xen event channels is supported. Although the priority field is present, only the value KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL is supported, which means delivery by 2 level event channels. FIFO event channel support may be added in the future.”…”�”}”(hjæNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒhjñLh²hubeh}”(h]”Œkvm-set-gsi-routing”ah ]”h"]”Œ4.52 kvm_set_gsi_routing”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MfubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.55 KVM_SET_TSC_KHZ”h]”hŒ4.55 KVM_SET_TSC_KHZ”…”�”}”(hjÿNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjüNh²hh³hÇh´MÛubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjOh³hÇh´Kubj�)�”}”(hŒ,KVM_CAP_TSC_CONTROL / KVM_CAP_VM_TSC_CONTROL”h]”hï)�”}”(hj#Oh]”hŒ,KVM_CAP_TSC_CONTROL / KVM_CAP_VM_TSC_CONTROL”…”�”}”(hj%Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝhj!Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÝhj Oh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjAOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj>Oh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjQOh]”hŒx86”…”�”}”(hjSOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞhjOOubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj>Oubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÞhj Oh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjoOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjlOh³hÇh´Kubj�)�”}”(hŒvcpu ioctl / vm ioctl”h]”hï)�”}”(hjOh]”hŒvcpu ioctl / vm ioctl”…”�”}”(hj�Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mßhj}Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjlOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mßhj Oh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj�Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjšOh³hÇh´Kubj�)�”}”(hŒvirtual tsc_khz”h]”hï)�”}”(hj­Oh]”hŒvirtual tsc_khz”…”�”}”(hj¯Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Màhj«Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjšOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Màhj Oh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjËOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÈOh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjÝOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MáhjÙOubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÈOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Máhj Oh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjüNh²hh³hÇh´MÝubhï)�”}”(hŒVSpecifies the tsc frequency for the virtual machine. The unit of the frequency is KHz.”h]”hŒVSpecifies the tsc frequency for the virtual machine. The unit of the frequency is KHz.”…”�”}”(hjýOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MãhjüNh²hubhï)�”}”(hŒØIf the KVM_CAP_VM_TSC_CONTROL capability is advertised, this can also be used as a vm ioctl to set the initial tsc frequency of subsequently created vCPUs. Note, the vm ioctl is only allowed prior to creating vCPUs.”h]”hŒØIf the KVM_CAP_VM_TSC_CONTROL capability is advertised, this can also be used as a vm ioctl to set the initial tsc frequency of subsequently created vCPUs. Note, the vm ioctl is only allowed prior to creating vCPUs.”…”�”}”(hj Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MæhjüNh²hubhï)�”}”(hŒòFor TSC protected Confidential Computing (CoCo) VMs where TSC frequency is configured once at VM scope and remains unchanged during VM's lifetime, the vm ioctl should be used to configure the TSC frequency and the vcpu ioctl is not supported.”h]”hŒôFor TSC protected Confidential Computing (CoCo) VMs where TSC frequency is configured once at VM scope and remains unchanged during VM’s lifetime, the vm ioctl should be used to configure the TSC frequency and the vcpu ioctl is not supported.”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MêhjüNh²hubhï)�”}”(hŒ%Example of such CoCo VMs: TDX guests.”h]”hŒ%Example of such CoCo VMs: TDX guests.”…”�”}”(hj'Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MïhjüNh²hubeh}”(h]”Œkvm-set-tsc-khz”ah ]”h"]”Œ4.55 kvm_set_tsc_khz”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÛubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.56 KVM_GET_TSC_KHZ”h]”hŒ4.56 KVM_GET_TSC_KHZ”…”�”}”(hj@Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj=Ph²hh³hÇh´Mòubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjTPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjQPh³hÇh´Kubj�)�”}”(hŒ,KVM_CAP_GET_TSC_KHZ / KVM_CAP_VM_TSC_CONTROL”h]”hï)�”}”(hjdPh]”hŒ,KVM_CAP_GET_TSC_KHZ / KVM_CAP_VM_TSC_CONTROL”…”�”}”(hjfPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MôhjbPubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjQPubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MôhjNPh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj‚Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjPh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj’Ph]”hŒx86”…”�”}”(hj”Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mõhj�Pubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjPubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MõhjNPh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj°Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj­Ph³hÇh´Kubj�)�”}”(hŒvcpu ioctl / vm ioctl”h]”hï)�”}”(hjÀPh]”hŒvcpu ioctl / vm ioctl”…”�”}”(hjÂPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Möhj¾Pubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj­Pubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MöhjNPh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÞPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÛPh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjîPh]”hŒnone”…”�”}”(hjðPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷hjìPubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÛPubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M÷hjNPh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Qh³hÇh´Kubj�)�”}”(hŒ4virtual tsc-khz on success, negative value on error ”h]”hï)�”}”(hŒ3virtual tsc-khz on success, negative value on error”h]”hŒ3virtual tsc-khz on success, negative value on error”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MøhjQubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Qubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MøhjNPh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj=Ph²hh³hÇh´Môubhï)�”}”(hŒ–Returns the tsc frequency of the guest. The unit of the return value is KHz. If the host has unstable tsc this ioctl returns -EIO instead as an error.”h]”hŒ–Returns the tsc frequency of the guest. The unit of the return value is KHz. If the host has unstable tsc this ioctl returns -EIO instead as an error.”…”�”}”(hj>Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Múhj=Ph²hubeh}”(h]”Œkvm-get-tsc-khz”ah ]”h"]”Œ4.56 kvm_get_tsc_khz”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MòubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.57 KVM_GET_LAPIC”h]”hŒ4.57 KVM_GET_LAPIC”…”�”}”(hjWQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjTQh²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjkQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjhQh³hÇh´Kubj�)�”}”(hŒKVM_CAP_IRQCHIP”h]”hï)�”}”(hj{Qh]”hŒKVM_CAP_IRQCHIP”…”�”}”(hj}Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjyQubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjhQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjeQh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj™Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj–Qh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj©Qh]”hŒx86”…”�”}”(hj«Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj§Qubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj–Qubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjeQh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÇQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÄQh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj×Qh]”hŒ vcpu ioctl”…”�”}”(hjÙQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÕQubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÄQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjeQh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjõQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjòQh³hÇh´Kubj�)�”}”(hŒstruct kvm_lapic_state (out)”h]”hï)�”}”(hjRh]”hŒstruct kvm_lapic_state (out)”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjRubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjòQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjeQh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj#Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Rh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj5Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj1Rubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Rubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjeQh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjTQh²hh³hÇh´Mubj8)�”}”(hŒ_#define KVM_APIC_REG_SIZE 0x400 struct kvm_lapic_state { char regs[KVM_APIC_REG_SIZE]; };”h]”hŒ_#define KVM_APIC_REG_SIZE 0x400 struct kvm_lapic_state { char regs[KVM_APIC_REG_SIZE]; };”…”�”}”hjURsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hjTQh²hubhï)�”}”(hŒšReads the Local APIC registers and copies them into the input argument. The data format and layout are the same as documented in the architecture manual.”h]”hŒšReads the Local APIC registers and copies them into the input argument. The data format and layout are the same as documented in the architecture manual.”…”�”}”(hjcRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjTQh²hubhï)�”}”(hXæIf KVM_X2APIC_API_USE_32BIT_IDS feature of KVM_CAP_X2APIC_API is enabled, then the format of APIC_ID register depends on the APIC mode (reported by MSR_IA32_APICBASE) of its VCPU. x2APIC stores APIC ID in the APIC_ID register (bytes 32-35). xAPIC only allows an 8-bit APIC ID which is stored in bits 31-24 of the APIC register, or equivalently in byte 35 of struct kvm_lapic_state's regs field. KVM_GET_LAPIC must then be called after MSR_IA32_APICBASE has been set with KVM_SET_MSR.”h]”hXèIf KVM_X2APIC_API_USE_32BIT_IDS feature of KVM_CAP_X2APIC_API is enabled, then the format of APIC_ID register depends on the APIC mode (reported by MSR_IA32_APICBASE) of its VCPU. x2APIC stores APIC ID in the APIC_ID register (bytes 32-35). xAPIC only allows an 8-bit APIC ID which is stored in bits 31-24 of the APIC register, or equivalently in byte 35 of struct kvm_lapic_state’s regs field. KVM_GET_LAPIC must then be called after MSR_IA32_APICBASE has been set with KVM_SET_MSR.”…”�”}”(hjqRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjTQh²hubhï)�”}”(hŒeIf KVM_X2APIC_API_USE_32BIT_IDS feature is disabled, struct kvm_lapic_state always uses xAPIC format.”h]”hŒeIf KVM_X2APIC_API_USE_32BIT_IDS feature is disabled, struct kvm_lapic_state always uses xAPIC format.”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjTQh²hubeh}”(h]”Œ kvm-get-lapic”ah ]”h"]”Œ4.57 kvm_get_lapic”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.58 KVM_SET_LAPIC”h]”hŒ4.58 KVM_SET_LAPIC”…”�”}”(hj˜Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj•Rh²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj¬Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj©Rh³hÇh´Kubj�)�”}”(hŒKVM_CAP_IRQCHIP”h]”hï)�”}”(hj¼Rh]”hŒKVM_CAP_IRQCHIP”…”�”}”(hj¾Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hjºRubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj©Rubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M!hj¦Rh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÚRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj×Rh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjêRh]”hŒx86”…”�”}”(hjìRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hjèRubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj×Rubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M"hj¦Rh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjSh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjSh]”hŒ vcpu ioctl”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjSubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M#hj¦Rh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj6Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj3Sh³hÇh´Kubj�)�”}”(hŒstruct kvm_lapic_state (in)”h]”hï)�”}”(hjFSh]”hŒstruct kvm_lapic_state (in)”…”�”}”(hjHSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hjDSubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj3Subeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M$hj¦Rh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjdSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjaSh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjvSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hjrSubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjaSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M%hj¦Rh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj•Rh²hh³hÇh´M!ubj8)�”}”(hŒ_#define KVM_APIC_REG_SIZE 0x400 struct kvm_lapic_state { char regs[KVM_APIC_REG_SIZE]; };”h]”hŒ_#define KVM_APIC_REG_SIZE 0x400 struct kvm_lapic_state { char regs[KVM_APIC_REG_SIZE]; };”…”�”}”hj–Ssbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M)hj•Rh²hubhï)�”}”(hŒ‹Copies the input argument into the Local APIC registers. The data format and layout are the same as documented in the architecture manual.”h]”hŒ‹Copies the input argument into the Local APIC registers. The data format and layout are the same as documented in the architecture manual.”…”�”}”(hj¤Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M.hj•Rh²hubhï)�”}”(hŒ±The format of the APIC ID register (bytes 32-35 of struct kvm_lapic_state's regs field) depends on the state of the KVM_CAP_X2APIC_API capability. See the note in KVM_GET_LAPIC.”h]”hŒ³The format of the APIC ID register (bytes 32-35 of struct kvm_lapic_state’s regs field) depends on the state of the KVM_CAP_X2APIC_API capability. See the note in KVM_GET_LAPIC.”…”�”}”(hj²Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1hj•Rh²hubeh}”(h]”Œ kvm-set-lapic”ah ]”h"]”Œ4.58 kvm_set_lapic”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.59 KVM_IOEVENTFD”h]”hŒ4.59 KVM_IOEVENTFD”…”�”}”(hjËSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÈSh²hh³hÇh´M7ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjßSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÜSh³hÇh´Kubj�)�”}”(hŒKVM_CAP_IOEVENTFD”h]”hï)�”}”(hjïSh]”hŒKVM_CAP_IOEVENTFD”…”�”}”(hjñSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hjíSubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÜSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M9hjÙSh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Th³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hjTh]”hŒall”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:hjTubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Tubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M:hjÙSh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj;Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj8Th³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjKTh]”hŒvm ioctl”…”�”}”(hjMTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hjITubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj8Tubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M;hjÙSh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjiTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjfTh³hÇh´Kubj�)�”}”(hŒstruct kvm_ioeventfd (in)”h]”hï)�”}”(hjyTh]”hŒstruct kvm_ioeventfd (in)”…”�”}”(hj{Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hjwTubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjfTubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M<hjÙSh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj—Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj”Th³hÇh´Kubj�)�”}”(hŒ0 on success, !0 on error ”h]”hï)�”}”(hŒ0 on success, !0 on error”h]”hŒ0 on success, !0 on error”…”�”}”(hj©Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M=hj¥Tubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj”Tubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M=hjÙSh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÈSh²hh³hÇh´M9ubhï)�”}”(hŒÁThis ioctl attaches or detaches an ioeventfd to a legal pio/mmio address within the guest. A guest write in the registered address will signal the provided event instead of triggering an exit.”h]”hŒÁThis ioctl attaches or detaches an ioeventfd to a legal pio/mmio address within the guest. A guest write in the registered address will signal the provided event instead of triggering an exit.”…”�”}”(hjÉTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hjÈSh²hubj8)�”}”(hŒ×struct kvm_ioeventfd { __u64 datamatch; __u64 addr; /* legal pio/mmio address */ __u32 len; /* 0, 1, 2, 4, or 8 bytes */ __s32 fd; __u32 flags; __u8 pad[36]; };”h]”hŒ×struct kvm_ioeventfd { __u64 datamatch; __u64 addr; /* legal pio/mmio address */ __u32 len; /* 0, 1, 2, 4, or 8 bytes */ __s32 fd; __u32 flags; __u8 pad[36]; };”…”�”}”hj×Tsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MEhjÈSh²hubhï)�”}”(hŒsFor the special case of virtio-ccw devices on s390, the ioevent is matched to a subchannel/virtqueue tuple instead.”h]”hŒsFor the special case of virtio-ccw devices on s390, the ioevent is matched to a subchannel/virtqueue tuple instead.”…”�”}”(hjåTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhjÈSh²hubhï)�”}”(hŒ!The following flags are defined::”h]”hŒ The following flags are defined:”…”�”}”(hjóTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQhjÈSh²hubj8)�”}”(hX@#define KVM_IOEVENTFD_FLAG_DATAMATCH (1 << kvm_ioeventfd_flag_nr_datamatch) #define KVM_IOEVENTFD_FLAG_PIO (1 << kvm_ioeventfd_flag_nr_pio) #define KVM_IOEVENTFD_FLAG_DEASSIGN (1 << kvm_ioeventfd_flag_nr_deassign) #define KVM_IOEVENTFD_FLAG_VIRTIO_CCW_NOTIFY \ (1 << kvm_ioeventfd_flag_nr_virtio_ccw_notify)”h]”hX@#define KVM_IOEVENTFD_FLAG_DATAMATCH (1 << kvm_ioeventfd_flag_nr_datamatch) #define KVM_IOEVENTFD_FLAG_PIO (1 << kvm_ioeventfd_flag_nr_pio) #define KVM_IOEVENTFD_FLAG_DEASSIGN (1 << kvm_ioeventfd_flag_nr_deassign) #define KVM_IOEVENTFD_FLAG_VIRTIO_CCW_NOTIFY \ (1 << kvm_ioeventfd_flag_nr_virtio_ccw_notify)”…”�”}”hjUsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MShjÈSh²hubhï)�”}”(hŒ—If datamatch flag is set, the event will be signaled only if the written value to the registered address is equal to datamatch in struct kvm_ioeventfd.”h]”hŒ—If datamatch flag is set, the event will be signaled only if the written value to the registered address is equal to datamatch in struct kvm_ioeventfd.”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MYhjÈSh²hubhï)�”}”(hŒZFor virtio-ccw devices, addr contains the subchannel id and datamatch the virtqueue index.”h]”hŒZFor virtio-ccw devices, addr contains the subchannel id and datamatch the virtqueue index.”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\hjÈSh²hubhï)�”}”(hŒòWith KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and the kernel will ignore the length of guest write and may get a faster vmexit. The speedup may only apply to specific architectures, but the ioeventfd will work anyway.”h]”hŒòWith KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and the kernel will ignore the length of guest write and may get a faster vmexit. The speedup may only apply to specific architectures, but the ioeventfd will work anyway.”…”�”}”(hj+Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M_hjÈSh²hubeh}”(h]”Œ kvm-ioeventfd”ah ]”h"]”Œ4.59 kvm_ioeventfd”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M7ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.60 KVM_DIRTY_TLB”h]”hŒ4.60 KVM_DIRTY_TLB”…”�”}”(hjDUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjAUh²hh³hÇh´Meubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjXUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjUUh³hÇh´Kubj�)�”}”(hŒKVM_CAP_SW_TLB”h]”hï)�”}”(hjhUh]”hŒKVM_CAP_SW_TLB”…”�”}”(hjjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MghjfUubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjUUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MghjRUh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj†Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjƒUh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hj–Uh]”hŒppc”…”�”}”(hj˜Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhhj”Uubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjƒUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhhjRUh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj´Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj±Uh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjÄUh]”hŒ vcpu ioctl”…”�”}”(hjÆUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MihjÂUubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj±Uubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MihjRUh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjâUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjßUh³hÇh´Kubj�)�”}”(hŒstruct kvm_dirty_tlb (in)”h]”hï)�”}”(hjòUh]”hŒstruct kvm_dirty_tlb (in)”…”�”}”(hjôUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MjhjðUubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjßUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MjhjRUh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Vh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj"Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MkhjVubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Vubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MkhjRUh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjAUh²hh³hÇh´Mgubj8)�”}”(hŒDstruct kvm_dirty_tlb { __u64 bitmap; __u32 num_dirty; };”h]”hŒDstruct kvm_dirty_tlb { __u64 bitmap; __u32 num_dirty; };”…”�”}”hjBVsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MohjAUh²hubhï)�”}”(hŒThis must be called whenever userspace has changed an entry in the shared TLB, prior to calling KVM_RUN on the associated vcpu.”h]”hŒThis must be called whenever userspace has changed an entry in the shared TLB, prior to calling KVM_RUN on the associated vcpu.”…”�”}”(hjPVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MthjAUh²hubhï)�”}”(hXThe "bitmap" field is the userspace address of an array. This array consists of a number of bits, equal to the total number of TLB entries as determined by the last successful call to ``KVM_ENABLE_CAP(KVM_CAP_SW_TLB)``, rounded up to the nearest multiple of 64.”h]”(hŒ½The “bitmapâ€� field is the userspace address of an array. This array consists of a number of bits, equal to the total number of TLB entries as determined by the last successful call to ”…”�”}”(hj^Vh²hh³Nh´NubjÈ)�”}”(hŒ"``KVM_ENABLE_CAP(KVM_CAP_SW_TLB)``”h]”hŒKVM_ENABLE_CAP(KVM_CAP_SW_TLB)”…”�”}”(hjfVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj^VubhŒ+, rounded up to the nearest multiple of 64.”…”�”}”(hj^Vh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MwhjAUh²hubhï)�”}”(hŒSEach bit corresponds to one TLB entry, ordered the same as in the shared TLB array.”h]”hŒSEach bit corresponds to one TLB entry, ordered the same as in the shared TLB array.”…”�”}”(hj~Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|hjAUh²hubhï)�”}”(hŒÊThe array is little-endian: the bit 0 is the least significant bit of the first byte, bit 8 is the least significant bit of the second byte, etc. This avoids any complications with differing word sizes.”h]”hŒÊThe array is little-endian: the bit 0 is the least significant bit of the first byte, bit 8 is the least significant bit of the second byte, etc. This avoids any complications with differing word sizes.”…”�”}”(hjŒVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjAUh²hubhï)�”}”(hŒÆThe "num_dirty" field is a performance hint for KVM to determine whether it should skip processing the bitmap and just invalidate everything. It must be set to the number of set bits in the bitmap.”h]”hŒÊThe “num_dirtyâ€� field is a performance hint for KVM to determine whether it should skip processing the bitmap and just invalidate everything. It must be set to the number of set bits in the bitmap.”…”�”}”(hjšVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MƒhjAUh²hubeh}”(h]”Œ kvm-dirty-tlb”ah ]”h"]”Œ4.60 kvm_dirty_tlb”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MeubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.62 KVM_CREATE_SPAPR_TCE”h]”hŒ4.62 KVM_CREATE_SPAPR_TCE”…”�”}”(hj³Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj°Vh²hh³hÇh´M‰ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÇVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÄVh³hÇh´Kubj�)�”}”(hŒKVM_CAP_SPAPR_TCE”h]”hï)�”}”(hj×Vh]”hŒKVM_CAP_SPAPR_TCE”…”�”}”(hjÙVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‹hjÕVubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÄVubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‹hjÁVh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjõVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjòVh³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hjWh]”hŒpowerpc”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒhjWubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjòVubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŒhjÁVh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj#Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Wh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj3Wh]”hŒvm ioctl”…”�”}”(hj5Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj1Wubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Wubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hjÁVh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjQWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjNWh³hÇh´Kubj�)�”}”(hŒ struct kvm_create_spapr_tce (in)”h]”hï)�”}”(hjaWh]”hŒ struct kvm_create_spapr_tce (in)”…”�”}”(hjcWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŽhj_Wubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjNWubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŽhjÁVh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj|Wh³hÇh´Kubj�)�”}”(hŒ7file descriptor for manipulating the created TCE table ”h]”hï)�”}”(hŒ6file descriptor for manipulating the created TCE table”h]”hŒ6file descriptor for manipulating the created TCE table”…”�”}”(hj‘Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj�Wubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj|Wubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hjÁVh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj°Vh²hh³hÇh´M‹ubhï)�”}”(hXThis creates a virtual TCE (translation control entry) table, which is an IOMMU for PAPR-style virtual I/O. It is used to translate logical addresses used in virtual I/O into guest physical addresses, and provides a scatter/gather capability for PAPR virtual I/O.”h]”hXThis creates a virtual TCE (translation control entry) table, which is an IOMMU for PAPR-style virtual I/O. It is used to translate logical addresses used in virtual I/O into guest physical addresses, and provides a scatter/gather capability for PAPR virtual I/O.”…”�”}”(hj±Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘hj°Vh²hubj8)�”}”(hŒh/* for KVM_CAP_SPAPR_TCE */ struct kvm_create_spapr_tce { __u64 liobn; __u32 window_size; };”h]”hŒh/* for KVM_CAP_SPAPR_TCE */ struct kvm_create_spapr_tce { __u64 liobn; __u32 window_size; };”…”�”}”hj¿Wsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M˜hj°Vh²hubhï)�”}”(hXThe liobn field gives the logical IO bus number for which to create a TCE table. The window_size field specifies the size of the DMA window which this TCE table will translate - the table will contain one 64 bit TCE entry for every 4kiB of the DMA window.”h]”hXThe liobn field gives the logical IO bus number for which to create a TCE table. The window_size field specifies the size of the DMA window which this TCE table will translate - the table will contain one 64 bit TCE entry for every 4kiB of the DMA window.”…”�”}”(hjÍWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mžhj°Vh²hubhï)�”}”(hXWhen the guest issues an H_PUT_TCE hcall on a liobn for which a TCE table has been created using this ioctl(), the kernel will handle it in real mode, updating the TCE table. H_PUT_TCE calls for other liobns will cause a vm exit and must be handled by userspace.”h]”hXWhen the guest issues an H_PUT_TCE hcall on a liobn for which a TCE table has been created using this ioctl(), the kernel will handle it in real mode, updating the TCE table. H_PUT_TCE calls for other liobns will cause a vm exit and must be handled by userspace.”…”�”}”(hjÛWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hj°Vh²hubhï)�”}”(hXThe return value is a file descriptor which can be passed to mmap(2) to map the created TCE table into userspace. This lets userspace read the entries written by kernel-handled H_PUT_TCE calls, and also lets userspace update the TCE table directly which is useful in some circumstances.”h]”hXThe return value is a file descriptor which can be passed to mmap(2) to map the created TCE table into userspace. This lets userspace read the entries written by kernel-handled H_PUT_TCE calls, and also lets userspace update the TCE table directly which is useful in some circumstances.”…”�”}”(hjéWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨hj°Vh²hubeh}”(h]”Œkvm-create-spapr-tce”ah ]”h"]”Œ4.62 kvm_create_spapr_tce”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M‰ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ 4.64 KVM_NMI”h]”hŒ 4.64 KVM_NMI”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÿWh²hh³hÇh´M°ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjXh³hÇh´Kubj�)�”}”(hŒKVM_CAP_USER_NMI”h]”hï)�”}”(hj&Xh]”hŒKVM_CAP_USER_NMI”…”�”}”(hj(Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M²hj$Xubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjXubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M²hjXh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjDXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjAXh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjTXh]”hŒx86”…”�”}”(hjVXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³hjRXubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjAXubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M³hjXh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjrXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjoXh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj‚Xh]”hŒ vcpu ioctl”…”�”}”(hj„Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´hj€Xubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjoXubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M´hjXh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�Xh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hj°Xh]”hŒnone”…”�”}”(hj²Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mµhj®Xubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�Xubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MµhjXh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÎXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjËXh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjàXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶hjÜXubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjËXubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¶hjXh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÿWh²hh³hÇh´M²ubhï)�”}”(hX$Queues an NMI on the thread's vcpu. Note this is well defined only when KVM_CREATE_IRQCHIP has not been called, since this is an interface between the virtual cpu core and virtual local APIC. After KVM_CREATE_IRQCHIP has been called, this interface is completely emulated within the kernel.”h]”hX&Queues an NMI on the thread’s vcpu. Note this is well defined only when KVM_CREATE_IRQCHIP has not been called, since this is an interface between the virtual cpu core and virtual local APIC. After KVM_CREATE_IRQCHIP has been called, this interface is completely emulated within the kernel.”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸hjÿWh²hubhï)�”}”(hŒ\To use this to emulate the LINT1 input with KVM_CREATE_IRQCHIP, use the following algorithm:”h]”hŒ\To use this to emulate the LINT1 input with KVM_CREATE_IRQCHIP, use the following algorithm:”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½hjÿWh²hubj )�”}”(hŒ·- pause the vcpu - read the local APIC's state (KVM_GET_LAPIC) - check whether changing LINT1 will queue an NMI (see the LVT entry for LINT1) - if so, issue KVM_NMI - resume the vcpu ”h]”j)�”}”(hhh]”(j)�”}”(hŒpause the vcpu”h]”hï)�”}”(hj%Yh]”hŒpause the vcpu”…”�”}”(hj'Yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀhj#Yubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj Yubj)�”}”(hŒ+read the local APIC's state (KVM_GET_LAPIC)”h]”hï)�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁhj:Yubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj Yubj)�”}”(hŒLcheck whether changing LINT1 will queue an NMI (see the LVT entry for LINT1)”h]”hï)�”}”(hjSYh]”hŒLcheck whether changing LINT1 will queue an NMI (see the LVT entry for LINT1)”…”�”}”(hjUYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÂhjQYubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj Yubj)�”}”(hŒif so, issue KVM_NMI”h]”hï)�”}”(hjjYh]”hŒif so, issue KVM_NMI”…”�”}”(hjlYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÃhjhYubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj Yubj)�”}”(hŒresume the vcpu ”h]”hï)�”}”(hŒresume the vcpu”h]”hŒresume the vcpu”…”�”}”(hjƒYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj Yubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MÀhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MÀhjÿWh²hubhï)�”}”(hŒPSome guests configure the LINT1 NMI input to cause a panic, aiding in debugging.”h]”hŒPSome guests configure the LINT1 NMI input to cause a panic, aiding in debugging.”…”�”}”(hj£Yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆhjÿWh²hubeh}”(h]”Œkvm-nmi”ah ]”h"]”Œ 4.64 kvm_nmi”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M°ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.65 KVM_S390_UCAS_MAP”h]”hŒ4.65 KVM_S390_UCAS_MAP”…”�”}”(hj¼Yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¹Yh²hh³hÇh´MËubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÐYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÍYh³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_UCONTROL”h]”hï)�”}”(hjàYh]”hŒKVM_CAP_S390_UCONTROL”…”�”}”(hjâYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍhjÞYubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÍYubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÍhjÊYh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjþYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjûYh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjZh]”hŒs390”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhj Zubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjûYubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÎhjÊYh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj,Zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj)Zh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏhj:Zubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj)Zubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÏhjÊYh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjZZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjWZh³hÇh´Kubj�)�”}”(hŒ!struct kvm_s390_ucas_mapping (in)”h]”hï)�”}”(hjjZh]”hŒ!struct kvm_s390_ucas_mapping (in)”…”�”}”(hjlZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÐhjhZubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjWZubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÐhjÊYh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjˆZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj…Zh³hÇh´Kubj�)�”}”(hŒ0 in case of success ”h]”hï)�”}”(hŒ0 in case of success”h]”hŒ0 in case of success”…”�”}”(hjšZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhj–Zubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj…Zubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÑhjÊYh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¹Yh²hh³hÇh´MÍubhï)�”}”(hŒ$The parameter is defined like this::”h]”hŒ#The parameter is defined like this:”…”�”}”(hjºZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓhj¹Yh²hubj8)�”}”(hŒistruct kvm_s390_ucas_mapping { __u64 user_addr; __u64 vcpu_addr; __u64 length; };”h]”hŒistruct kvm_s390_ucas_mapping { __u64 user_addr; __u64 vcpu_addr; __u64 length; };”…”�”}”hjÈZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÕhj¹Yh²hubhï)�”}”(hŒ¨This ioctl maps the memory at "user_addr" with the length "length" to the vcpu's address space starting at "vcpu_addr". All parameters need to be aligned by 1 megabyte.”h]”hŒ¶This ioctl maps the memory at “user_addrâ€� with the length “lengthâ€� to the vcpu’s address space starting at “vcpu_addrâ€�. All parameters need to be aligned by 1 megabyte.”…”�”}”(hjÖZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛhj¹Yh²hubeh}”(h]”Œkvm-s390-ucas-map”ah ]”h"]”Œ4.65 kvm_s390_ucas_map”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MËubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.66 KVM_S390_UCAS_UNMAP”h]”hŒ4.66 KVM_S390_UCAS_UNMAP”…”�”}”(hjïZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjìZh²hh³hÇh´Máubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj[h³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_UCONTROL”h]”hï)�”}”(hj[h]”hŒKVM_CAP_S390_UCONTROL”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mãhj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MãhjýZh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj1[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj.[h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjA[h]”hŒs390”…”�”}”(hjC[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mähj?[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj.[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MähjýZh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj_[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj\[h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjo[h]”hŒ vcpu ioctl”…”�”}”(hjq[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Måhjm[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj\[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MåhjýZh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj�[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŠ[h³hÇh´Kubj�)�”}”(hŒ!struct kvm_s390_ucas_mapping (in)”h]”hï)�”}”(hj�[h]”hŒ!struct kvm_s390_ucas_mapping (in)”…”�”}”(hjŸ[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mæhj›[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŠ[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MæhjýZh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj»[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¸[h³hÇh´Kubj�)�”}”(hŒ0 in case of success ”h]”hï)�”}”(hŒ0 in case of success”h]”hŒ0 in case of success”…”�”}”(hjÍ[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MçhjÉ[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¸[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MçhjýZh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjìZh²hh³hÇh´Mãubhï)�”}”(hŒ$The parameter is defined like this::”h]”hŒ#The parameter is defined like this:”…”�”}”(hjí[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MéhjìZh²hubj8)�”}”(hŒistruct kvm_s390_ucas_mapping { __u64 user_addr; __u64 vcpu_addr; __u64 length; };”h]”hŒistruct kvm_s390_ucas_mapping { __u64 user_addr; __u64 vcpu_addr; __u64 length; };”…”�”}”hjû[sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MëhjìZh²hubhï)�”}”(hŒ½This ioctl unmaps the memory in the vcpu's address space starting at "vcpu_addr" with the length "length". The field "user_addr" is ignored. All parameters need to be aligned by 1 megabyte.”h]”hŒËThis ioctl unmaps the memory in the vcpu’s address space starting at “vcpu_addrâ€� with the length “lengthâ€�. The field “user_addrâ€� is ignored. All parameters need to be aligned by 1 megabyte.”…”�”}”(hj \h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MñhjìZh²hubeh}”(h]”Œkvm-s390-ucas-unmap”ah ]”h"]”Œ4.66 kvm_s390_ucas_unmap”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MáubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.67 KVM_S390_VCPU_FAULT”h]”hŒ4.67 KVM_S390_VCPU_FAULT”…”�”}”(hj"\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj\h²hh³hÇh´M÷ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj6\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj3\h³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_UCONTROL”h]”hï)�”}”(hjF\h]”hŒKVM_CAP_S390_UCONTROL”…”�”}”(hjH\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MùhjD\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj3\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mùhj0\h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjd\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hja\h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjt\h]”hŒs390”…”�”}”(hjv\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Múhjr\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhja\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Múhj0\h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj’\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�\h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj¢\h]”hŒ vcpu ioctl”…”�”}”(hj¤\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mûhj \ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mûhj0\h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÀ\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj½\h³hÇh´Kubj�)�”}”(hŒvcpu absolute address (in)”h]”hï)�”}”(hjÐ\h]”hŒvcpu absolute address (in)”…”�”}”(hjÒ\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MühjÎ\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj½\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mühj0\h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjî\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjë\h³hÇh´Kubj�)�”}”(hŒ0 in case of success ”h]”hï)�”}”(hŒ0 in case of success”h]”hŒ0 in case of success”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mýhjü\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjë\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mýhj0\h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj\h²hh³hÇh´Mùubhï)�”}”(hXÎThis call creates a page table entry on the virtual cpu's address space (for user controlled virtual machines) or the virtual machine's address space (for regular virtual machines). This only works for minor faults, thus it's recommended to access subject memory page via the user page table upfront. This is useful to handle validity intercepts for user controlled virtual machines to fault in the virtual cpu's lowcore pages prior to calling the KVM_RUN ioctl.”h]”hXÖThis call creates a page table entry on the virtual cpu’s address space (for user controlled virtual machines) or the virtual machine’s address space (for regular virtual machines). This only works for minor faults, thus it’s recommended to access subject memory page via the user page table upfront. This is useful to handle validity intercepts for user controlled virtual machines to fault in the virtual cpu’s lowcore pages prior to calling the KVM_RUN ioctl.”…”�”}”(hj ]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿhj\h²hubeh}”(h]”Œkvm-s390-vcpu-fault”ah ]”h"]”Œ4.67 kvm_s390_vcpu_fault”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M÷ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.68 KVM_SET_ONE_REG”h]”hŒ4.68 KVM_SET_ONE_REG”…”�”}”(hj9]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj6]h²hh³hÇh´M ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjM]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJ]h³hÇh´Kubj�)�”}”(hŒKVM_CAP_ONE_REG”h]”hï)�”}”(hj]]h]”hŒKVM_CAP_ONE_REG”…”�”}”(hj_]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj[]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJ]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjG]h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj{]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjx]h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj‹]h]”hŒall”…”�”}”(hj�]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj‰]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjx]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjG]h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj©]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¦]h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj¹]h]”hŒ vcpu ioctl”…”�”}”(hj»]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj·]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¦]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjG]h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj×]h²hh³Nh´Nubah}”(h]”h ]”h"]”•h$]”h&]”uh1j|hjÔ]h³hÇh´Kubj�)�”}”(hŒstruct kvm_one_reg (in)”h]”hï)�”}”(hjç]h]”hŒstruct kvm_one_reg (in)”…”�”}”(hjé]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjå]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÔ]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjG]h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj^h³hÇh´Kubj�)�”}”(hŒ(0 on success, negative value on failure ”h]”hï)�”}”(hŒ'0 on success, negative value on failure”h]”hŒ'0 on success, negative value on failure”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj^ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjG]h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj6]h²hh³hÇh´M ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj7^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubj )�”}”(hXÄ====== ============================================================ ENOENT no such register EINVAL invalid register ID, or no such register or used with VMs in protected virtualization mode on s390 EPERM (arm64) register access not allowed before vcpu finalization EBUSY (riscv) changing register value not allowed after the vcpu has run at least once ====== ============================================================ ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjL^ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K hjdubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÿcubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_AMR”h]”hŒKVM_REG_PPC_AMR”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M> hjdubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÿcubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj3dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M> hj0dubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÿcubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjSdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M? hjPdubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjMdubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_UAMOR”h]”hŒKVM_REG_PPC_UAMOR”…”�”}”(hjjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M? hjgdubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjMdubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj�dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M? hj~dubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjMdubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj¡dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@ hjždubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj›dubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_MMCR0”h]”hŒKVM_REG_PPC_MMCR0”…”�”}”(hj¸dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@ hjµdubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj›dubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÏdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@ hjÌdubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj›dubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjïdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MA hjìdubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjédubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_MMCR1”h]”hŒKVM_REG_PPC_MMCR1”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MA hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjédubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MA hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjédubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj=eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MB hj:eubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj7eubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_MMCRA”h]”hŒKVM_REG_PPC_MMCRA”…”�”}”(hjTeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MB hjQeubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj7eubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjkeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MB hjheubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj7eubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj‹eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MC hjˆeubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj…eubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_MMCR2”h]”hŒKVM_REG_PPC_MMCR2”…”�”}”(hj¢eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MC hjŸeubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj…eubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj¹eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MC hj¶eubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj…eubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjÙeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MD hjÖeubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÓeubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_MMCRS”h]”hŒKVM_REG_PPC_MMCRS”…”�”}”(hjðeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MD hjíeubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÓeubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MD hjfubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÓeubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj'fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ME hj$fubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!fubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_MMCR3”h]”hŒKVM_REG_PPC_MMCR3”…”�”}”(hj>fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ME hj;fubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!fubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjUfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ME hjRfubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!fubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjufh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MF hjrfubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjofubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_SIAR”h]”hŒKVM_REG_PPC_SIAR”…”�”}”(hjŒfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MF hj‰fubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjofubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj£fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MF hj fubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjofubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjÃfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MG hjÀfubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½fubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_SDAR”h]”hŒKVM_REG_PPC_SDAR”…”�”}”(hjÚfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MG hj×fubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½fubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjñfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MG hjîfubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½fubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH hjgubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj gubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_SIER”h]”hŒKVM_REG_PPC_SIER”…”�”}”(hj(gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH hj%gubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj gubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj?gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‹ hj;{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!{ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjU{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‹ hjR{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!{ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hju{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒ hjr{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjo{ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_CSIGR”h]”hŒKVM_REG_PPC_CSIGR”…”�”}”(hjŒ{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒ hj‰{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjo{ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj£{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒ hj {ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjo{ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjÃ{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjÀ{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½{ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TACR”h]”hŒKVM_REG_PPC_TACR”…”�”}”(hjÚ{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hj×{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½{ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjñ{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjî{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½{ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŽ hj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj |ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TCSCR”h]”hŒKVM_REG_PPC_TCSCR”…”�”}”(hj(|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŽ hj%|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj |ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj?|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŽ hj<|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj |ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj_|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hj\|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjY|ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_PID”h]”hŒKVM_REG_PPC_PID”…”�”}”(hjv|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjs|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjY|ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj�|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjŠ|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjY|ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj­|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjª|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§|ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_ACOP”h]”hŒKVM_REG_PPC_ACOP”…”�”}”(hjÄ|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjÁ|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§|ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÛ|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjØ|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§|ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjû|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘ hjø|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ|ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_VRSAVE”h]”hŒKVM_REG_PPC_VRSAVE”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘ hj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ|ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj)}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘ hj&}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ|ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjI}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M’ hjF}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC}ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_LPCR”h]”hŒKVM_REG_PPC_LPCR”…”�”}”(hj`}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M’ hj]}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC}ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjw}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M’ hjt}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj—}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“ hj”}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘}ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_LPCR_64”h]”hŒKVM_REG_PPC_LPCR_64”…”�”}”(hj®}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“ hj«}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘}ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÅ}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“ hjÂ}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjå}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M” hjâ}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjß}ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_PPR”h]”hŒKVM_REG_PPC_PPR”…”�”}”(hjü}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M” hjù}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjß}ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M” hj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjß}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj3~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M• hj0~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj-~ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_ARCH_COMPAT”h]”hŒKVM_REG_PPC_ARCH_COMPAT”…”�”}”(hjJ~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M• hjG~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj-~ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hja~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M• hj^~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj-~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj�~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M– hj~~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj{~ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_DABRX”h]”hŒKVM_REG_PPC_DABRX”…”�”}”(hj˜~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M– hj•~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj{~ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj¯~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M– hj¬~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj{~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjÏ~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M— hjÌ~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÉ~ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_WORT”h]”hŒKVM_REG_PPC_WORT”…”�”}”(hjæ~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M— hjã~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÉ~ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjý~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M— hjú~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÉ~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜ hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_SPRG9”h]”hŒKVM_REG_PPC_SPRG9”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜ hj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜ hjHubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M™ hjhubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjeubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_DBSR”h]”hŒKVM_REG_PPC_DBSR”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M™ hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjeubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M™ hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjeubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mš hj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TIDR”h]”hŒKVM_REG_PPC_TIDR”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mš hjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mš hjäubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M› hj€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj€ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_PSSCR”h]”hŒKVM_REG_PPC_PSSCR”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M› hj€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj€ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj5€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M› hj2€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjU€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mœ hjR€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO€ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_DEC_EXPIRY”h]”hŒKVM_REG_PPC_DEC_EXPIRY”…”�”}”(hjl€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mœ hji€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO€ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjƒ€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mœ hj€€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj£€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hj €ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�€ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_PTCR”h]”hŒKVM_REG_PPC_PTCR”…”�”}”(hjº€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hj·€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�€ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÑ€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hj΀ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjñ€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž hjî€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë€ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_HASHKEYR”h]”hŒKVM_REG_PPC_HASHKEYR”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë€ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj?�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸ hj<�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_HASHPKEYR”h]”hŒKVM_REG_PPC_HASHPKEYR”…”�”}”(hjV�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸ hjS�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9�ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjm�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸ hjj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj��h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M  hjŠ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_DAWR1”h]”hŒKVM_REG_PPC_DAWR1”…”�”}”(hj¤�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M  hj¡�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡�ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj»�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M  hj¸�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjÛ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡ hjØ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕ�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_DAWRX1”h]”hŒKVM_REG_PPC_DAWRX1”…”�”}”(hjò�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡ hjï�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕ�ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj ‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡ hj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj)‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢ hj&‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#‚ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_DEXCR”h]”hŒKVM_REG_PPC_DEXCR”…”�”}”(hj@‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢ hj=‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#‚ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjW‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢ hjT‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjw‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£ hjt‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq‚ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_GPR0”h]”hŒKVM_REG_PPC_TM_GPR0”…”�”}”(hjŽ‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£ hj‹‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq‚ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj¥‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£ hj¢‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ...”h]”hŒ...”…”�”}”(hjÅ‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¤ hj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿‚ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿‚ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj÷‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥ hjô‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñ‚ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_GPR31”h]”hŒKVM_REG_PPC_TM_GPR31”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥ hj ƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñ‚ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj%ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥ hj"ƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñ‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjEƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦ hjBƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj?ƒubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_VSR0”h]”hŒKVM_REG_PPC_TM_VSR0”…”�”}”(hj\ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦ hjYƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj?ƒubj„)�”}”(hhh]”hï)�”}”(hŒ128”h]”hŒ128”…”�”}”(hjsƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦ hjpƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj?ƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ...”h]”hŒ...”…”�”}”(hj“ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M§ hj�ƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�ƒubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�ƒubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�ƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjŃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨ hjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿ƒubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_VSR63”h]”hŒKVM_REG_PPC_TM_VSR63”…”�”}”(hj܃h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨ hjÙƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿ƒubj„)�”}”(hhh]”hï)�”}”(hŒ128”h]”hŒ128”…”�”}”(hjóƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨ hjðƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿ƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M© hj„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj „ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_CR”h]”hŒKVM_REG_PPC_TM_CR”…”�”}”(hj*„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M© hj'„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj „ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjA„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M© hj>„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj „ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hja„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mª hj^„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[„ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_LR”h]”hŒKVM_REG_PPC_TM_LR”…”�”}”(hjx„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mª hju„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[„ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj�„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mª hjŒ„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj¯„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M« hj¬„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©„ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_CTR”h]”hŒKVM_REG_PPC_TM_CTR”…”�”}”(hjÆ„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M« hjÄubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©„ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÝ„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M« hjÚ„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjý„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬ hjú„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷„ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_FPSCR”h]”hŒKVM_REG_PPC_TM_FPSCR”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬ hj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷„ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj+…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬ hj(…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjK…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M­ hjH…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE…ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_AMR”h]”hŒKVM_REG_PPC_TM_AMR”…”�”}”(hjb…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M­ hj_…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE…ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjy…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M­ hjv…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj™…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M® hj–…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“…ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_PPR”h]”hŒKVM_REG_PPC_TM_PPR”…”�”}”(hj°…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M® hj­…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“…ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÇ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M® hjÄ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjç…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯ hjä…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá…ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_VRSAVE”h]”hŒKVM_REG_PPC_TM_VRSAVE”…”�”}”(hjþ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯ hjû…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá…ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯ hj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj5†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M° hj2†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj/†ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_VSCR”h]”hŒKVM_REG_PPC_TM_VSCR”…”�”}”(hjL†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M° hjI†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj/†ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjc†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M° hj`†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj/†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjƒ†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M± hj€†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj}†ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_DSCR”h]”hŒKVM_REG_PPC_TM_DSCR”…”�”}”(hjš†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M± hj—†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj}†ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj±†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M± hj®†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj}†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hjцh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M² hjΆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjˆubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_TAR”h]”hŒKVM_REG_PPC_TM_TAR”…”�”}”(hjè†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M² hjå†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjˆubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÿ†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M² hjü†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒPPC”h]”hŒPPC”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³ hj‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_PPC_TM_XER”h]”hŒKVM_REG_PPC_TM_XER”…”�”}”(hj6‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³ hj3‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjM‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³ hjJ‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjm‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mµ hjj‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjg‡ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_R0”h]”hŒKVM_REG_MIPS_R0”…”�”}”(hj„‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mµ hj�‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjg‡ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj›‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mµ hj˜‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjg‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ...”h]”hŒ...”…”�”}”(hj»‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶ hj¸‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµ‡ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµ‡ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµ‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjí‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M· hjê‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjç‡ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_R31”h]”hŒKVM_REG_MIPS_R31”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M· hjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjç‡ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M· hjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjç‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj;ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸ hj8ˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj5ˆubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_HI”h]”hŒKVM_REG_MIPS_HI”…”�”}”(hjRˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸ hjOˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj5ˆubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjiˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸ hjfˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj5ˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj‰ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¹ hj†ˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒˆubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_LO”h]”hŒKVM_REG_MIPS_LO”…”�”}”(hj ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¹ hj�ˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒˆubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj·ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¹ hj´ˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj׈h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mº hjÔˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjшubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_PC”h]”hŒKVM_REG_MIPS_PC”…”�”}”(hjîˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mº hjëˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjшubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mº hj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjшubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj%‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M» hj"‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‰ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_INDEX”h]”hŒKVM_REG_MIPS_CP0_INDEX”…”�”}”(hj<‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M» hj9‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‰ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjS‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M» hjP‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjs‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼ hjp‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjm‰ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_ENTRYLO0”h]”hŒKVM_REG_MIPS_CP0_ENTRYLO0”…”�”}”(hjЉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼ hj‡‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjm‰ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj¡‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼ hjž‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjm‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjÁ‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½ hj¾‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj»‰ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_ENTRYLO1”h]”hŒKVM_REG_MIPS_CP0_ENTRYLO1”…”�”}”(hj؉h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½ hjÕ‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj»‰ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjï‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½ hjì‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj»‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾ hj Šubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj Šubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONTEXT”h]”hŒKVM_REG_MIPS_CP0_CONTEXT”…”�”}”(hj&Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾ hj#Šubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj Šubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj=Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾ hj:Šubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj Šubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj]Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¿ hjZŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjWŠubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONTEXTCONFIG”h]”hŒKVM_REG_MIPS_CP0_CONTEXTCONFIG”…”�”}”(hjtŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¿ hjqŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjWŠubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj‹Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¿ hjˆŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjWŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj«Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀ hj¨Šubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¥Šubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_USERLOCAL”h]”hŒKVM_REG_MIPS_CP0_USERLOCAL”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀ hj¿Šubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¥Šubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÙŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀ hjÖŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¥Šubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjùŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁ hjöŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjóŠubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_XCONTEXTCONFIG”h]”hŒKVM_REG_MIPS_CP0_XCONTEXTCONFIG”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁ hj ‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjóŠubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj'‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁ hj$‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjóŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjG‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjD‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjA‹ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_PAGEMASK”h]”hŒKVM_REG_MIPS_CP0_PAGEMASK”…”�”}”(hj^‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj[‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjA‹ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hju‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjr‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjA‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj•‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hj’‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�‹ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_PAGEGRAIN”h]”hŒKVM_REG_MIPS_CP0_PAGEGRAIN”…”�”}”(hj¬‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hj©‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�‹ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hjÀ‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjã‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄ hjà‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÝ‹ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_SEGCTL0”h]”hŒKVM_REG_MIPS_CP0_SEGCTL0”…”�”}”(hjú‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄ hj÷‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÝ‹ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄ hjŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÝ‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj1Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅ hj.Œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj+Œubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_SEGCTL1”h]”hŒKVM_REG_MIPS_CP0_SEGCTL1”…”�”}”(hjHŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅ hjEŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj+Œubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj_Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅ hj\Œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj+Œubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆ hj|Œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjyŒubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_SEGCTL2”h]”hŒKVM_REG_MIPS_CP0_SEGCTL2”…”�”}”(hj–Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆ hj“Œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjyŒubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj­Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆ hjªŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjyŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjÍŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇ hjÊŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÇŒubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_PWBASE”h]”hŒKVM_REG_MIPS_CP0_PWBASE”…”�”}”(hjäŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇ hjáŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÇŒubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjûŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇ hjøŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÇŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈ hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_PWFIELD”h]”hŒKVM_REG_MIPS_CP0_PWFIELD”…”�”}”(hj2�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈ hj/�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjI�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈ hjF�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hji�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÉ hjf�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjc�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_PWSIZE”h]”hŒKVM_REG_MIPS_CP0_PWSIZE”…”�”}”(hj€�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÉ hj}�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjc�ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj—�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÉ hj”�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjc�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj·�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊ hj´�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj±�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_WIRED”h]”hŒKVM_REG_MIPS_CP0_WIRED”…”�”}”(hjÎ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊ hjË�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj±�ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjå�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊ hjâ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj±�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MË hjŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÿ�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_PWCTL”h]”hŒKVM_REG_MIPS_CP0_PWCTL”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MË hjŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÿ�ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj3Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MË hj0Žubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÿ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjSŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÌ hjPŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjMŽubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_HWRENA”h]”hŒKVM_REG_MIPS_CP0_HWRENA”…”�”}”(hjjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÌ hjgŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjMŽubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj�Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÌ hj~Žubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjMŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj¡Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍ hjžŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj›Žubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_BADVADDR”h]”hŒKVM_REG_MIPS_CP0_BADVADDR”…”�”}”(hj¸Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍ hjµŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj›Žubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÏŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍ hjÌŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj›Žubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjïŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎ hjìŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjéŽubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_BADINSTR”h]”hŒKVM_REG_MIPS_CP0_BADINSTR”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎ hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjéŽubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎ hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjéŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj=�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏ hj:�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj7�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_BADINSTRP”h]”hŒKVM_REG_MIPS_CP0_BADINSTRP”…”�”}”(hjT�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏ hjQ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj7�ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjk�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏ hjh�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj7�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj‹�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÐ hjˆ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj…�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_COUNT”h]”hŒKVM_REG_MIPS_CP0_COUNT”…”�”}”(hj¢�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÐ hjŸ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj…�ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj¹�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÐ hj¶�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj…�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjÙ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑ hjÖ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÓ�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_ENTRYHI”h]”hŒKVM_REG_MIPS_CP0_ENTRYHI”…”�”}”(hjð�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑ hjí�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÓ�ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑ hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÓ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj'�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒ hj$�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_COMPARE”h]”hŒKVM_REG_MIPS_CP0_COMPARE”…”�”}”(hj>�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒ hj;�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!�ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjU�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒ hjR�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj!�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hju�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓ hjr�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjo�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_STATUS”h]”hŒKVM_REG_MIPS_CP0_STATUS”…”�”}”(hjŒ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓ hj‰�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjo�ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj£�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓ hj �ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjo�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjÃ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔ hjÀ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½�ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_INTCTL”h]”hŒKVM_REG_MIPS_CP0_INTCTL”…”�”}”(hjÚ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔ hj×�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½�ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjñ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔ hjî�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj½�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕ hj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ‘ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CAUSE”h]”hŒKVM_REG_MIPS_CP0_CAUSE”…”�”}”(hj(‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕ hj%‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ‘ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj?‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕ hj<‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj_‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖ hj\‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjY‘ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_EPC”h]”hŒKVM_REG_MIPS_CP0_EPC”…”�”}”(hjv‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖ hjs‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjY‘ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj�‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖ hjŠ‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjY‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj­‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M× hjª‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§‘ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_PRID”h]”hŒKVM_REG_MIPS_CP0_PRID”…”�”}”(hjÄ‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M× hjÁ‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§‘ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjÛ‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M× hjØ‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjû‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØ hjø‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ‘ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_EBASE”h]”hŒKVM_REG_MIPS_CP0_EBASE”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØ hj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ‘ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj)’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØ hj&’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjI’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÙ hjF’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC’ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONFIG”h]”hŒKVM_REG_MIPS_CP0_CONFIG”…”�”}”(hj`’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÙ hj]’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC’ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjw’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÙ hjt’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC’ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj—’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚ hj”’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘’ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONFIG1”h]”hŒKVM_REG_MIPS_CP0_CONFIG1”…”�”}”(hj®’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚ hj«’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘’ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjÅ’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚ hjÂ’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘’ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjå’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛ hjâ’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjß’ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONFIG2”h]”hŒKVM_REG_MIPS_CP0_CONFIG2”…”�”}”(hjü’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛ hjù’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjß’ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛ hj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjß’ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj3“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜ hj0“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj-“ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONFIG3”h]”hŒKVM_REG_MIPS_CP0_CONFIG3”…”�”}”(hjJ“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜ hjG“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj-“ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hja“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜ hj^“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj-“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj�“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝ hj~“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj{“ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONFIG4”h]”hŒKVM_REG_MIPS_CP0_CONFIG4”…”�”}”(hj˜“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝ hj•“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj{“ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj¯“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝ hj¬“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj{“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjÏ“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞ hjÌ“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÉ“ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONFIG5”h]”hŒKVM_REG_MIPS_CP0_CONFIG5”…”�”}”(hjæ“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞ hjã“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÉ“ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjý“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞ hjú“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÉ“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mß hj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj”ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_CONFIG7”h]”hŒKVM_REG_MIPS_CP0_CONFIG7”…”�”}”(hj4”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mß hj1”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj”ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjK”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mß hjH”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjk”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hjh”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhje”ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_XCONTEXT”h]”hŒKVM_REG_MIPS_CP0_XCONTEXT”…”�”}”(hj‚”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhje”ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj™”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hj–”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhje”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj¹”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Má hj¶”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³”ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_ERROREPC”h]”hŒKVM_REG_MIPS_CP0_ERROREPC”…”�”}”(hjДh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Má hjÍ”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³”ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjç”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Má hjä”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mâ hj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj•ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_KSCRATCH1”h]”hŒKVM_REG_MIPS_CP0_KSCRATCH1”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mâ hj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj•ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj5•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mâ hj2•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj•ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjU•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã hjR•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO•ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_KSCRATCH2”h]”hŒKVM_REG_MIPS_CP0_KSCRATCH2”…”�”}”(hjl•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã hji•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO•ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjƒ•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã hj€•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO•ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj£•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mä hj •ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�•ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_KSCRATCH3”h]”hŒKVM_REG_MIPS_CP0_KSCRATCH3”…”�”}”(hjº•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mä hj·•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�•ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjÑ•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mä hjΕubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�•ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjñ•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Må hjî•ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë•ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_KSCRATCH4”h]”hŒKVM_REG_MIPS_CP0_KSCRATCH4”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Må hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë•ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Må hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë•ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj?–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mæ hj<–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9–ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_KSCRATCH5”h]”hŒKVM_REG_MIPS_CP0_KSCRATCH5”…”�”}”(hjV–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mæ hjS–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9–ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjm–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mæ hjj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9–ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj�–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mç hjŠ–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡–ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_KSCRATCH6”h]”hŒKVM_REG_MIPS_CP0_KSCRATCH6”…”�”}”(hj¤–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mç hj¡–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡–ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj»–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mç hj¸–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡–ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjÛ–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mè hjØ–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕ–ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_CP0_MAAR(0..63)”h]”hŒKVM_REG_MIPS_CP0_MAAR(0..63)”…”�”}”(hjò–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mè hjï–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕ–ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj —h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mè hj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕ–ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj)—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mé hj&—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#—ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_COUNT_CTL”h]”hŒKVM_REG_MIPS_COUNT_CTL”…”�”}”(hj@—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mé hj=—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#—ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjW—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mé hjT—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjw—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mê hjt—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq—ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_COUNT_RESUME”h]”hŒKVM_REG_MIPS_COUNT_RESUME”…”�”}”(hjŽ—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mê hj‹—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq—ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj¥—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mê hj¢—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjÅ—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Më hj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿—ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_COUNT_HZ”h]”hŒKVM_REG_MIPS_COUNT_HZ”…”�”}”(hjÜ—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Më hjÙ—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿—ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjó—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Më hjð—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mì hj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ˜ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_FPR_32(0..31)”h]”hŒKVM_REG_MIPS_FPR_32(0..31)”…”�”}”(hj*˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mì hj'˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ˜ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjA˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mì hj>˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hja˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mí hj^˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[˜ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_FPR_64(0..31)”h]”hŒKVM_REG_MIPS_FPR_64(0..31)”…”�”}”(hjx˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mí hju˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[˜ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj�˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mí hjŒ˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj¯˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mî hj¬˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©˜ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_VEC_128(0..31)”h]”hŒKVM_REG_MIPS_VEC_128(0..31)”…”�”}”(hjƘh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mî hjØubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©˜ubj„)�”}”(hhh]”hï)�”}”(hŒ128”h]”hŒ128”…”�”}”(hjݘh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mî hjÚ˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjý˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mï hjú˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷˜ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_FCR_IR”h]”hŒKVM_REG_MIPS_FCR_IR”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mï hj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷˜ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj+™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mï hj(™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjK™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mð hjH™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE™ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_FCR_CSR”h]”hŒKVM_REG_MIPS_FCR_CSR”…”�”}”(hjb™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mð hj_™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE™ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjy™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mð hjv™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE™ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hj™™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñ hj–™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“™ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_MSA_IR”h]”hŒKVM_REG_MIPS_MSA_IR”…”�”}”(hj°™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñ hj­™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“™ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjÇ™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñ hjÄ™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“™ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒMIPS”h]”hŒMIPS”…”�”}”(hjç™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mò hjä™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá™ubj„)�”}”(hhh]”hï)�”}”(hŒKVM_REG_MIPS_MSA_CSR”h]”hŒKVM_REG_MIPS_MSA_CSR”…”�”}”(hjþ™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mò hjû™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá™ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mò hjšubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá™ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjŒ_ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj‰_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj…_ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M. hj6]h²hubhï)�”}”(hŒzARM registers are mapped using the lower 32 bits. The upper 16 of that is the register group type, or coprocessor number:”h]”hŒzARM registers are mapped using the lower 32 bits. The upper 16 of that is the register group type, or coprocessor number:”…”�”}”(hjHšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mõ hj6]h²hubhï)�”}”(hŒ7ARM core registers have the following id bit patterns::”h]”hŒ6ARM core registers have the following id bit patterns:”…”�”}”(hjVšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mø hj6]h²hubj8)�”}”(hŒ40x4020 0000 0010 ”h]”hŒ40x4020 0000 0010 ”…”�”}”hjdšsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mú hj6]h²hubhï)�”}”(hŒ>ARM 32-bit CP15 registers have the following id bit patterns::”h]”hŒ=ARM 32-bit CP15 registers have the following id bit patterns:”…”�”}”(hjršh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü hj6]h²hubj8)�”}”(hŒ;0x4020 0000 000F ”h]”hŒ;0x4020 0000 000F ”…”�”}”hj€šsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mþ hj6]h²hubhï)�”}”(hŒ>ARM 64-bit CP15 registers have the following id bit patterns::”h]”hŒ=ARM 64-bit CP15 registers have the following id bit patterns:”…”�”}”(hjŽšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubj8)�”}”(hŒ<0x4030 0000 000F ”h]”hŒ<0x4030 0000 000F ”…”�”}”hjœšsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hj6]h²hubhï)�”}”(hŒ8ARM CCSIDR registers are demultiplexed by CSSELR value::”h]”hŒ7ARM CCSIDR registers are demultiplexed by CSSELR value:”…”�”}”(hjªšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubj8)�”}”(hŒ0x4020 0000 0011 00 ”h]”hŒ0x4020 0000 0011 00 ”…”�”}”hj¸šsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hj6]h²hubhï)�”}”(hŒEARM 32-bit VFP control registers have the following id bit patterns::”h]”hŒDARM 32-bit VFP control registers have the following id bit patterns:”…”�”}”(hjÆšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubj8)�”}”(hŒ0x4020 0000 0012 1 ”h]”hŒ0x4020 0000 0012 1 ”…”�”}”hjÔšsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hj6]h²hubhï)�”}”(hŒ”h]”hŒ0x4030 0000 0012 0 ”…”�”}”hjðšsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hj6]h²hubhï)�”}”(hŒ>ARM firmware pseudo-registers have the following bit pattern::”h]”hŒ=ARM firmware pseudo-registers have the following bit pattern:”…”�”}”(hjþšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubj8)�”}”(hŒ0x4030 0000 0014 ”h]”hŒ0x4030 0000 0014 ”…”�”}”hj ›sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hj6]h²hubhï)�”}”(hŒ{arm64 registers are mapped using the lower 32 bits. The upper 16 of that is the register group type, or coprocessor number:”h]”hŒ{arm64 registers are mapped using the lower 32 bits. The upper 16 of that is the register group type, or coprocessor number:”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubhï)�”}”(hXarm64 core/FP-SIMD registers have the following id bit patterns. Note that the size of the access is variable, as the kvm_regs structure contains elements ranging from 32 to 128 bits. The index is a 32bit value in the kvm_regs structure seen as a 32bit array::”h]”hXarm64 core/FP-SIMD registers have the following id bit patterns. Note that the size of the access is variable, as the kvm_regs structure contains elements ranging from 32 to 128 bits. The index is a 32bit value in the kvm_regs structure seen as a 32bit array:”…”�”•}”(hj(›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubj8)�”}”(hŒ40x60x0 0000 0010 ”h]”hŒ40x60x0 0000 0010 ”…”�”}”hj6›sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hj6]h²hubhï)�”}”(hŒ Specifically:”h]”hŒ Specifically:”…”�”}”(hjD›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjU›ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchjU›ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjU›ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K'uh1jchjU›ubj®_)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEncoding”h]”hŒEncoding”…”�”}”(hj‰›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M" hj†›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒ›ubj„)�”}”(hhh]”hï)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hj ›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M" hj�›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒ›ubj„)�”}”(hhh]”hï)�”}”(hŒBits”h]”hŒBits”…”�”}”(hj·›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M" hj´›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒ›ubj„)�”}”(hhh]”hï)�”}”(hŒkvm_regs member”h]”hŒkvm_regs member”…”�”}”(hjΛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M" hjË›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒ›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj€›ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­_hjU›ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 0000”h]”hŒ0x6030 0000 0010 0000”…”�”}”(hj÷›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$ hjô›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñ›ubj„)�”}”(hhh]”hï)�”}”(hŒX0”h]”hŒX0”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$ hj œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñ›ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj%œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$ hj"œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñ›ubj„)�”}”(hhh]”hï)�”}”(hŒ regs.regs[0]”h]”hŒ regs.regs[0]”…”�”}”(hj<œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$ hj9œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñ›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 0002”h]”hŒ0x6030 0000 0010 0002”…”�”}”(hj\œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hjYœubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjVœubj„)�”}”(hhh]”hï)�”}”(hŒX1”h]”hŒX1”…”�”}”(hjsœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hjpœubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjVœubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjŠœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hj‡œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjVœubj„)�”}”(hhh]”hï)�”}”(hŒ regs.regs[1]”h]”hŒ regs.regs[1]”…”�”}”(hj¡œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hjžœubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjVœubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ...”h]”hŒ...”…”�”}”(hjÁœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M& hj¾œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj»œubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj»œubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj»œubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj»œubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 003c”h]”hŒ0x6030 0000 0010 003c”…”�”}”(hjüœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M' hjùœubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjöœubj„)�”}”(hhh]”hï)�”}”(hŒX30”h]”hŒX30”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M' hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjöœubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj*�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M' hj'�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjöœubj„)�”}”(hhh]”hï)�”}”(hŒ regs.regs[30]”h]”hŒ regs.regs[30]”…”�”}”(hjA�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M' hj>�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjöœubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 003e”h]”hŒ0x6030 0000 0010 003e”…”�”}”(hja�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hj^�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[�ubj„)�”}”(hhh]”hï)�”}”(hŒSP”h]”hŒSP”…”�”}”(hjx�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hju�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[�ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj��h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hjŒ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[�ubj„)�”}”(hhh]”hï)�”}”(hŒregs.sp”h]”hŒregs.sp”…”�”}”(hj¦�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hj£�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 0040”h]”hŒ0x6030 0000 0010 0040”…”�”}”(hjÆ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M) hjÃ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÀ�ubj„)�”}”(hhh]”hï)�”}”(hŒPC”h]”hŒPC”…”�”}”(hjÝ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M) hjÚ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÀ�ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjô�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M) hjñ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÀ�ubj„)�”}”(hhh]”hï)�”}”(hŒregs.pc”h]”hŒregs.pc”…”�”}”(hj žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M) hjžubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÀ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 0042”h]”hŒ0x6030 0000 0010 0042”…”�”}”(hj+žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M* hj(žubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%žubj„)�”}”(hhh]”hï)�”}”(hŒPSTATE”h]”hŒPSTATE”…”�”}”(hjBžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M* hj?žubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%žubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjYžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M* hjVžubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%žubj„)�”}”(hhh]”hï)�”}”(hŒ regs.pstate”h]”hŒ regs.pstate”…”�”}”(hjpžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M* hjmžubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%žubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 0044”h]”hŒ0x6030 0000 0010 0044”…”�”}”(hj�žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+ hj�žubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŠžubj„)�”}”(hhh]”hï)�”}”(hŒSP_EL1”h]”hŒSP_EL1”…”�”}”(hj§žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+ hj¤žubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŠžubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj¾žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+ hj»žubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŠžubj„)�”}”(hhh]”hï)�”}”(hŒsp_el1”h]”hŒsp_el1”…”�”}”(hjÕžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+ hjÒžubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŠžubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 0046”h]”hŒ0x6030 0000 0010 0046”…”�”}”(hjõžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M, hjòžubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjïžubj„)�”}”(hhh]”hï)�”}”(hŒELR_EL1”h]”hŒELR_EL1”…”�”}”(hj Ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M, hj Ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjïžubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj#Ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M, hj Ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjïžubj„)�”}”(hhh]”hï)�”}”(hŒelr_el1”h]”hŒelr_el1”…”�”}”(hj:Ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M, hj7Ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjïžubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 0048”h]”hŒ0x6030 0000 0010 0048”…”�”}”(hjZŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M- hjWŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjTŸubj„)�”}”(hhh]”hï)�”}”(hŒSPSR_EL1”h]”hŒSPSR_EL1”…”�”}”(hjqŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M- hjnŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjTŸubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjˆŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M- hj…Ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjTŸubj„)�”}”(hhh]”hï)�”}”(hŒ#spsr[KVM_SPSR_EL1] (alias SPSR_SVC)”h]”hŒ#spsr[KVM_SPSR_EL1] (alias SPSR_SVC)”…”�”}”(hjŸŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M- hjœŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjTŸubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 004a”h]”hŒ0x6030 0000 0010 004a”…”�”}”(hj¿Ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M. hj¼Ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹Ÿubj„)�”}”(hhh]”hï)�”}”(hŒSPSR_ABT”h]”hŒSPSR_ABT”…”�”}”(hjÖŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M. hjÓŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹Ÿubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjíŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M. hjêŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹Ÿubj„)�”}”(hhh]”hï)�”}”(hŒspsr[KVM_SPSR_ABT]”h]”hŒspsr[KVM_SPSR_ABT]”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M. hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹Ÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 004c”h]”hŒ0x6030 0000 0010 004c”…”�”}”(hj$ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/ hj! ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ubj„)�”}”(hhh]”hï)�”}”(hŒSPSR_UND”h]”hŒSPSR_UND”…”�”}”(hj; h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/ hj8 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hjR h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/ hjO ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ubj„)�”}”(hhh]”hï)�”}”(hŒspsr[KVM_SPSR_UND]”h]”hŒspsr[KVM_SPSR_UND]”…”�”}”(hji h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/ hjf ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 004e”h]”hŒ0x6030 0000 0010 004e”…”�”}”(hj‰ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0 hj† ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒ ubj„)�”}”(hhh]”hï)�”}”(hŒSPSR_IRQ”h]”hŒSPSR_IRQ”…”�”}”(hj  h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0 hj� ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒ ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj· h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0 hj´ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒ ubj„)�”}”(hhh]”hï)�”}”(hŒspsr[KVM_SPSR_IRQ]”h]”hŒspsr[KVM_SPSR_IRQ]”…”�”}”(hjΠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0 hjË ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjƒ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6030 0000 0010 0050”h]”hŒ0x6030 0000 0010 0050”…”�”}”(hjî h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1 hjë ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjè ubj„)�”}”(hhh]”hï)�”}”(hŒSPSR_FIQ”h]”hŒSPSR_FIQ”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1 hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjè ubj„)�”}”(hhh]”hï)�”}”(hŒ64”h]”hŒ64”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1 hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjè ubj„)�”}”(hhh]”hï)�”}”(hŒspsr[KVM_SPSR_FIQ]”h]”hŒspsr[KVM_SPSR_FIQ]”…”�”}”(hj3¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1 hj0¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjè ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6040 0000 0010 0054”h]”hŒ0x6040 0000 0010 0054”…”�”}”(hjS¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2 hjP¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjM¡ubj„)�”}”(hhh]”hï)�”}”(hŒV0”h]”hŒV0”…”�”}”(hjj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2 hjg¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjM¡ubj„)�”}”(hhh]”hï)�”}”(hŒ128”h]”hŒ128”…”�”}”(hj�¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2 hj~¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjM¡ubj„)�”}”(hhh]”hï)�”}”(hŒfp_regs.vregs[0] [1]_”h]”(hŒfp_regs.vregs[0] ”…”�”}”(hj˜¡h²hh³Nh´NubhŒfootnote_reference”“”)�”}”(hŒ[1]_”h]”hŒ1”…”�”}”(hj¢¡h²hh³Nh´Nubah}”(h]”Œid11”ah ]”h"]”h$]”h&]”j_Œid14”Œdocname”jøuh1j ¡hj˜¡Œresolved”Kubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2 hj•¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjM¡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6040 0000 0010 0058”h]”hŒ0x6040 0000 0010 0058”…”�”}”(hjÌ¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3 hjÉ¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÆ¡ubj„)�”}”(hhh]”hï)�”}”(hŒV1”h]”hŒV1”…”�”}”(hjã¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3 hjà¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÆ¡ubj„)�”}”(hhh]”hï)�”}”(hŒ128”h]”hŒ128”…”�”}”(hjú¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3 hj÷¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÆ¡ubj„)�”}”(hhh]”hï)�”}”(hŒfp_regs.vregs[1] [1]_”h]”(hŒfp_regs.vregs[1] ”…”�”}”(hj¢h²hh³Nh´Nubj¡¡)�”}”(hŒ[1]_”h]”hŒ1”…”�”}”(hj¢h²hh³Nh´Nubah}”(h]”Œid12”ah ]”h"]”h$]”h&]”j_j±¡j²¡jøuh1j ¡hj¢j³¡Kubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3 hj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÆ¡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ...”h]”hŒ...”…”�”}”(hj@¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4 hj=¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj:¢ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj:¢ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj:¢ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj:¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6040 0000 0010 00d0”h]”hŒ0x6040 0000 0010 00d0”…”�”}”(hj{¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5 hjx¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhju¢ubj„)�”}”(hhh]”hï)�”}”(hŒV31”h]”hŒV31”…”�”}”(hj’¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5 hj�¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhju¢ubj„)�”}”(hhh]”hï)�”}”(hŒ128”h]”hŒ128”…”�”}”(hj©¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5 hj¦¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhju¢ubj„)�”}”(hhh]”hï)�”}”(hŒfp_regs.vregs[31] [1]_”h]”(hŒfp_regs.vregs[31] ”…”�”}”(hjÀ¢h²hh³Nh´Nubj¡¡)�”}”(hŒ[1]_”h]”hŒ1”…”�”}”(hjÈ¢h²hh³Nh´Nubah}”(h]”Œid13”ah ]”h"]”h$]”h&]”j_j±¡j²¡jøuh1j ¡hjÀ¢j³¡Kubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5 hj½¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhju¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6020 0000 0010 00d4”h]”hŒ0x6020 0000 0010 00d4”…”�”}”(hjï¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6 hjì¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjé¢ubj„)�”}”(hhh]”hï)�”}”(hŒFPSR”h]”hŒFPSR”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6 hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjé¢ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6 hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjé¢ubj„)�”}”(hhh]”hï)�”}”(hŒ fp_regs.fpsr”h]”hŒ fp_regs.fpsr”…”�”}”(hj4£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6 hj1£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjé¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x6020 0000 0010 00d5”h]”hŒ0x6020 0000 0010 00d5”…”�”}”(hjT£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M7 hjQ£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjN£ubj„)�”}”(hhh]”hï)�”}”(hŒFPCR”h]”hŒFPCR”…”�”}”(hjk£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M7 hjh£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjN£ubj„)�”}”(hhh]”hï)�”}”(hŒ32”h]”hŒ32”…”�”}”(hj‚£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M7 hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjN£ubj„)�”}”(hhh]”hï)�”}”(hŒ fp_regs.fpcr”h]”hŒ fp_regs.fpcr”…”�”}”(hj™£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M7 hj–£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjN£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjî›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjU›ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjR›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj6]h²hh³hÇh´NubhŒfootnote”“”)�”}”(hŒôThese encodings are not accepted for SVE-enabled vcpus. See :ref:`KVM_ARM_VCPU_INIT`. The equivalent register content can be accessed via bits [127:0] of the corresponding SVE Zn registers instead for vcpus that have SVE enabled (see below). ”h]”(hŒlabel”“”)�”}”(hŒ1”h]”hŒ1”…”�”}”(hjΣh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÌ£hjÈ£ubhï)�”}”(hŒVThese encodings are not accepted for SVE-enabled vcpus. See :ref:`KVM_ARM_VCPU_INIT`.”h]”(hŒ=These encodings are not accepted for SVE-enabled vcpus. See ”…”�”}”(hjÜ£h²hh³Nh´Nubh)�”}”(hŒ:ref:`KVM_ARM_VCPU_INIT`”h]”jà)�”}”(hjæ£h]”hŒKVM_ARM_VCPU_INIT”…”�”}”(hjè£h²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhjä£ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”jò£Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjþŒkvm_arm_vcpu_init”uh1hh³hÇh´M: hjÜ£ubhŒ.”…”�”}”(hjÜ£h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M: hjÈ£ubhï)�”}”(hŒ›The equivalent register content can be accessed via bits [127:0] of the corresponding SVE Zn registers instead for vcpus that have SVE enabled (see below).”h]”hŒ›The equivalent register content can be accessed via bits [127:0] of the corresponding SVE Zn registers instead for vcpus that have SVE enabled (see below).”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M= hjÈ£ubeh}”(h]”j±¡ah ]”h"]”Œ1”ah$]”h&]”(j¬¡j#¢jÒ¢ej²¡jøuh1jÆ£h³hÇh´M: hj6]h²hj³¡Kubhï)�”}”(hŒ:arm64 CCSIDR registers are demultiplexed by CSSELR value::”h]”hŒ9arm64 CCSIDR registers are demultiplexed by CSSELR value:”…”�”}”(hj#¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MA hj6]h²hubj8)�”}”(hŒ0x6020 0000 0011 00 ”h]”hŒ0x6020 0000 0011 00 ”…”�”}”hj1¤sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MC hj6]h²hubhï)�”}”(hŒ;arm64 system registers have the following id bit patterns::”h]”hŒ:arm64 system registers have the following id bit patterns:”…”�”}”(hj?¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ME hj6]h²hubj8)�”}”(hŒ80x6030 0000 0013 ”h]”hŒ80x6030 0000 0013 ”…”�”}”hjM¤sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MG hj6]h²hubj÷?)�”}”(hX±Two system register IDs do not follow the specified pattern. These are KVM_REG_ARM_TIMER_CVAL and KVM_REG_ARM_TIMER_CNT, which map to system registers CNTV_CVAL_EL0 and CNTVCT_EL0 respectively. These two had their values accidentally swapped, which means TIMER_CVAL is derived from the register encoding for CNTVCT_EL0 and TIMER_CNT is derived from the register encoding for CNTV_CVAL_EL0. As this is API, it must remain this way.”h]”hï)�”}”(hX±Two system register IDs do not follow the specified pattern. These are KVM_REG_ARM_TIMER_CVAL and KVM_REG_ARM_TIMER_CNT, which map to system registers CNTV_CVAL_EL0 and CNTVCT_EL0 respectively. These two had their values accidentally swapped, which means TIMER_CVAL is derived from the register encoding for CNTVCT_EL0 and TIMER_CNT is derived from the register encoding for CNTV_CVAL_EL0. As this is API, it must remain this way.”h]”hX±Two system register IDs do not follow the specified pattern. These are KVM_REG_ARM_TIMER_CVAL and KVM_REG_ARM_TIMER_CNT, which map to system registers CNTV_CVAL_EL0 and CNTVCT_EL0 respectively. These two had their values accidentally swapped, which means TIMER_CVAL is derived from the register encoding for CNTVCT_EL0 and TIMER_CNT is derived from the register encoding for CNTV_CVAL_EL0. As this is API, it must remain this way.”…”�”}”(hj_¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MK hj[¤ubah}”(h]”h ]”h"]”h$]”h&]”uh1jö?hj6]h²hh³hÇh´Nubhï)�”}”(hŒ@arm64 firmware pseudo-registers have the following bit pattern::”h]”hŒ?arm64 firmware pseudo-registers have the following bit pattern:”…”�”}”(hjs¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MS hj6]h²hubj8)�”}”(hŒ0x6030 0000 0014 ”h]”hŒ0x6030 0000 0014 ”…”�”}”hj�¤sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MU hj6]h²hubhï)�”}”(hŒ5arm64 SVE registers have the following bit patterns::”h]”hŒ4arm64 SVE registers have the following bit patterns:”…”�”}”(hj�¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MW hj6]h²hubj8)�”}”(hX00x6080 0000 0015 00 Zn bits[2048*slice + 2047 : 2048*slice] 0x6050 0000 0015 04 Pn bits[256*slice + 255 : 256*slice] 0x6050 0000 0015 060 FFR bits[256*slice + 255 : 256*slice] 0x6060 0000 0015 ffff KVM_REG_ARM64_SVE_VLS pseudo-register”h]”hX00x6080 0000 0015 00 Zn bits[2048*slice + 2047 : 2048*slice] 0x6050 0000 0015 04 Pn bits[256*slice + 255 : 256*slice] 0x6050 0000 0015 060 FFR bits[256*slice + 255 : 256*slice] 0x6060 0000 0015 ffff KVM_REG_ARM64_SVE_VLS pseudo-register”…”�”}”hj�¤sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MY hj6]h²hubhï)�”}”(hŒ¬Access to register IDs where 2048 * slice >= 128 * max_vq will fail with ENOENT. max_vq is the vcpu's maximum supported vector length in 128-bit quadwords: see [2]_ below.”h]”(hŒ£Access to register IDs where 2048 * slice >= 128 * max_vq will fail with ENOENT. max_vq is the vcpu’s maximum supported vector length in 128-bit quadwords: see ”…”�”}”(hj«¤h²hh³Nh´Nubj¡¡)�”}”(hŒ[2]_”h]”hŒ2”…”�”}”(hj³¤h²hh³Nh´Nubah}”(h]”Œid15”ah ]”h"]”h$]”h&]”j_Œid16”j²¡jøuh1j ¡hj«¤j³¡KubhŒ below.”…”�”}”(hj«¤h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^ hj6]h²hubhï)�”}”(hŒiThese registers are only accessible on vcpus for which SVE is enabled. See KVM_ARM_VCPU_INIT for details.”h]”hŒiThese registers are only accessible on vcpus for which SVE is enabled. See KVM_ARM_VCPU_INIT for details.”…”�”}”(hjͤh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mb hj6]h²hubhï)�”}”(hXIn addition, except for KVM_REG_ARM64_SVE_VLS, these registers are not accessible until the vcpu's SVE configuration has been finalized using KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE). See KVM_ARM_VCPU_INIT and KVM_ARM_VCPU_FINALIZE for more information about this procedure.”h]”hXIn addition, except for KVM_REG_ARM64_SVE_VLS, these registers are not accessible until the vcpu’s SVE configuration has been finalized using KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE). See KVM_ARM_VCPU_INIT and KVM_ARM_VCPU_FINALIZE for more information about this procedure.”…”�”}”(hjÛ¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Me hj6]h²hubhï)�”}”(hX^KVM_REG_ARM64_SVE_VLS is a pseudo-register that allows the set of vector lengths supported by the vcpu to be discovered and configured by userspace. When transferred to or from user memory via KVM_GET_ONE_REG or KVM_SET_ONE_REG, the value of this register is of type __u64[KVM_ARM64_SVE_VLS_WORDS], and encodes the set of vector lengths as follows::”h]”hX]KVM_REG_ARM64_SVE_VLS is a pseudo-register that allows the set of vector lengths supported by the vcpu to be discovered and configured by userspace. When transferred to or from user memory via KVM_GET_ONE_REG or KVM_SET_ONE_REG, the value of this register is of type __u64[KVM_ARM64_SVE_VLS_WORDS], and encodes the set of vector lengths as follows:”…”�”}”(hjé¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mj hj6]h²hubj8)�”}”(hX:__u64 vector_lengths[KVM_ARM64_SVE_VLS_WORDS]; if (vq >= SVE_VQ_MIN && vq <= SVE_VQ_MAX && ((vector_lengths[(vq - KVM_ARM64_SVE_VQ_MIN) / 64] >> ((vq - KVM_ARM64_SVE_VQ_MIN) % 64)) & 1)) /* Vector length vq * 16 bytes supported */ else /* Vector length vq * 16 bytes not supported */”h]”hX:__u64 vector_lengths[KVM_ARM64_SVE_VLS_WORDS]; if (vq >= SVE_VQ_MIN && vq <= SVE_VQ_MAX && ((vector_lengths[(vq - KVM_ARM64_SVE_VQ_MIN) / 64] >> ((vq - KVM_ARM64_SVE_VQ_MIN) % 64)) & 1)) /* Vector length vq * 16 bytes supported */ else /* Vector length vq * 16 bytes not supported */”…”�”}”hj÷¤sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mq hj6]h²hubjÇ£)�”}”(hŒÝThe maximum value vq for which the above condition is true is max_vq. This is the maximum vector length available to the guest on this vcpu, and determines which register slices are visible through this ioctl interface. ”h]”(jÍ£)�”}”(hŒ2”h]”hŒ2”…”�”}”(hj ¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÌ£hj¥ubhï)�”}”(hŒÜThe maximum value vq for which the above condition is true is max_vq. This is the maximum vector length available to the guest on this vcpu, and determines which register slices are visible through this ioctl interface.”h]”hŒÜThe maximum value vq for which the above condition is true is max_vq. This is the maximum vector length available to the guest on this vcpu, and determines which register slices are visible through this ioctl interface.”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mz hj¥ubeh}”(h]”j¤ah ]”h"]”Œ2”ah$]”h&]”j½¤aj²¡jøuh1jÆ£h³hÇh´Mz hj6]h²hj³¡Kubhï)�”}”(hŒS(See Documentation/arch/arm64/sve.rst for an explanation of the "vq" nomenclature.)”h]”hŒW(See Documentation/arch/arm64/sve.rst for an explanation of the “vqâ€� nomenclature.)”…”�”}”(hj,¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubhï)�”}”(hŒœKVM_REG_ARM64_SVE_VLS is only accessible after KVM_ARM_VCPU_INIT. KVM_ARM_VCPU_INIT initialises it to the best set of vector lengths that the host supports.”h]”hŒœKVM_REG_ARM64_SVE_VLS is only accessible after KVM_ARM_VCPU_INIT. KVM_ARM_VCPU_INIT initialises it to the best set of vector lengths that the host supports.”…”�”}”(hj:¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‚ hj6]h²hubhï)�”}”(hŒŽUserspace may subsequently modify it if desired until the vcpu's SVE configuration is finalized using KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE).”h]”hŒ�Userspace may subsequently modify it if desired until the vcpu’s SVE configuration is finalized using KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE).”…”�”}”(hjH¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M† hj6]h²hubhï)�”}”(hX"Apart from simply removing all vector lengths from the host set that exceed some value, support for arbitrarily chosen sets of vector lengths is hardware-dependent and may not be available. Attempting to configure an invalid set of vector lengths via KVM_SET_ONE_REG will fail with EINVAL.”h]”hX"Apart from simply removing all vector lengths from the host set that exceed some value, support for arbitrarily chosen sets of vector lengths is hardware-dependent and may not be available. Attempting to configure an invalid set of vector lengths via KVM_SET_ONE_REG will fail with EINVAL.”…”�”}”(hjV¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‰ hj6]h²hubhï)�”}”(hŒnAfter the vcpu's SVE configuration is finalized, further attempts to write this register will fail with EPERM.”h]”hŒpAfter the vcpu’s SVE configuration is finalized, further attempts to write this register will fail with EPERM.”…”�”}”(hjd¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hj6]h²hubhï)�”}”(hŒOarm64 bitmap feature firmware pseudo-registers have the following bit pattern::”h]”hŒNarm64 bitmap feature firmware pseudo-registers have the following bit pattern:”…”�”}”(hjr¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M’ hj6]h²hubj8)�”}”(hŒ0x6030 0000 0016 ”h]”hŒ0x6030 0000 0016 ”…”�”}”hj€¥sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M” hj6]h²hubhï)�”}”(hXÀThe bitmap feature firmware registers exposes the hypercall services that are available for userspace to configure. The set bits corresponds to the services that are available for the guests to access. By default, KVM sets all the supported bits during VM initialization. The userspace can discover the available services via KVM_GET_ONE_REG, and write back the bitmap corresponding to the features that it wishes guests to see via KVM_SET_ONE_REG.”h]”hXÀThe bitmap feature firmware registers exposes the hypercall services that are available for userspace to configure. The set bits corresponds to the services that are available for the guests to access. By default, KVM sets all the supported bits during VM initialization. The userspace can discover the available services via KVM_GET_ONE_REG, and write back the bitmap corresponding to the features that it wishes guests to see via KVM_SET_ONE_REG.”…”�”}”(hjŽ¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M– hj6]h²hubhï)�”}”(hŒ¢Note: These registers are immutable once any of the vCPUs of the VM has run at least once. A KVM_SET_ONE_REG in such a scenario will return a -EBUSY to userspace.”h]”hŒ¢Note: These registers are immutable once any of the vCPUs of the VM has run at least once. A KVM_SET_ONE_REG in such a scenario will return a -EBUSY to userspace.”…”�”}”(hjœ¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž hj6]h²hubhï)�”}”(hŒA(See Documentation/virt/kvm/arm/hypercalls.rst for more details.)”h]”hŒA(See Documentation/virt/kvm/arm/hypercalls.rst for more details.)”…”�”}”(hjª¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢ hj6]h²hubhï)�”}”(hŒdMIPS registers are mapped using the lower 32 bits. The upper 16 of that is the register group type:”h]”hŒdMIPS registers are mapped using the lower 32 bits. The upper 16 of that is the register group type:”…”�”}”(hj¸¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥ hj6]h²hubhï)�”}”(hŒDMIPS core registers (see above) have the following id bit patterns::”h]”hŒCMIPS core registers (see above) have the following id bit patterns:”…”�”}”(hjÆ¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨ hj6]h²hubj8)�”}”(hŒ0x7030 0000 0000 ”h]”hŒ0x7030 0000 0000 ”…”�”}”hjÔ¥sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mª hj6]h²hubhï)�”}”(hŒŽMIPS CP0 registers (see KVM_REG_MIPS_CP0_* above) have the following id bit patterns depending on whether they're 32-bit or 64-bit registers::”h]”hŒ�MIPS CP0 registers (see KVM_REG_MIPS_CP0_* above) have the following id bit patterns depending on whether they’re 32-bit or 64-bit registers:”…”�”}”(hjâ¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬ hj6]h²hubj8)�”}”(hŒ]0x7020 0000 0001 00 (32-bit) 0x7030 0000 0001 00 (64-bit)”h]”hŒ]0x7020 0000 0001 00 (32-bit) 0x7030 0000 0001 00 (64-bit)”…”�”}”hjð¥sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M¯ hj6]h²hubhï)�”}”(hXQNote: KVM_REG_MIPS_CP0_ENTRYLO0 and KVM_REG_MIPS_CP0_ENTRYLO1 are the MIPS64 versions of the EntryLo registers regardless of the word size of the host hardware, host kernel, guest, and whether XPA is present in the guest, i.e. with the RI and XI bits (if they exist) in bits 63 and 62 respectively, and the PFNX field starting at bit 30.”h]”hXQNote: KVM_REG_MIPS_CP0_ENTRYLO0 and KVM_REG_MIPS_CP0_ENTRYLO1 are the MIPS64 versions of the EntryLo registers regardless of the word size of the host hardware, host kernel, guest, and whether XPA is present in the guest, i.e. with the RI and XI bits (if they exist) in bits 63 and 62 respectively, and the PFNX field starting at bit 30.”…”�”}”(hjþ¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M² hj6]h²hubhï)�”}”(hŒTMIPS MAARs (see KVM_REG_MIPS_CP0_MAAR(*) above) have the following id bit patterns::”h]”hŒSMIPS MAARs (see KVM_REG_MIPS_CP0_MAAR(*) above) have the following id bit patterns:”…”�”}”(hj ¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸ hj6]h²hubj8)�”}”(hŒ0x7030 0000 0001 01 ”h]”hŒ0x7030 0000 0001 01 ”…”�”}”hj¦sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M» hj6]h²hubhï)�”}”(hŒKMIPS KVM control registers (see above) have the following id bit patterns::”h]”hŒJMIPS KVM control registers (see above) have the following id bit patterns:”…”�”}”(hj(¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½ hj6]h²hubj8)�”}”(hŒ0x7030 0000 0002 ”h]”hŒ0x7030 0000 0002 ”…”�”}”hj6¦sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M¿ hj6]h²hubhï)�”}”(hXÝMIPS FPU registers (see KVM_REG_MIPS_FPR_{32,64}() above) have the following id bit patterns depending on the size of the register being accessed. They are always accessed according to the current guest FPU mode (Status.FR and Config5.FRE), i.e. as the guest would see them, and they become unpredictable if the guest FPU mode is changed. MIPS SIMD Architecture (MSA) vector registers (see KVM_REG_MIPS_VEC_128() above) have similar patterns as they overlap the FPU registers::”h]”hXÜMIPS FPU registers (see KVM_REG_MIPS_FPR_{32,64}() above) have the following id bit patterns depending on the size of the register being accessed. They are always accessed according to the current guest FPU mode (Status.FR and Config5.FRE), i.e. as the guest would see them, and they become unpredictable if the guest FPU mode is changed. MIPS SIMD Architecture (MSA) vector registers (see KVM_REG_MIPS_VEC_128() above) have similar patterns as they overlap the FPU registers:”…”�”}”(hjD¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁ hj6]h²hubj8)�”}”(hŒ²0x7020 0000 0003 00 <0:3> (32-bit FPU registers) 0x7030 0000 0003 00 <0:3> (64-bit FPU registers) 0x7040 0000 0003 00 <0:3> (128-bit MSA vector registers)”h]”hŒ²0x7020 0000 0003 00 <0:3> (32-bit FPU registers) 0x7030 0000 0003 00 <0:3> (64-bit FPU registers) 0x7040 0000 0003 00 <0:3> (128-bit MSA vector registers)”…”�”}”hjR¦sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÉ hj6]h²hubhï)�”}”(hŒeMIPS FPU control registers (see KVM_REG_MIPS_FCR_{IR,CSR} above) have the following id bit patterns::”h]”hŒdMIPS FPU control registers (see KVM_REG_MIPS_FCR_{IR,CSR} above) have the following id bit patterns:”…”�”}”(hj`¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍ hj6]h²hubj8)�”}”(hŒ!0x7020 0000 0003 01 <0:3> ”h]”hŒ!0x7020 0000 0003 01 <0:3> ”…”�”}”hjn¦sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÐ hj6]h²hubhï)�”}”(hŒeMIPS MSA control registers (see KVM_REG_MIPS_MSA_{IR,CSR} above) have the following id bit patterns::”h]”hŒdMIPS MSA control registers (see KVM_REG_MIPS_MSA_{IR,CSR} above) have the following id bit patterns:”…”�”}”(hj|¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒ hj6]h²hubj8)�”}”(hŒ!0x7020 0000 0003 02 <0:3> ”h]”hŒ!0x7020 0000 0003 02 <0:3> ”…”�”}”hjЦsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÕ hj6]h²hubhï)�”}”(hŒiRISC-V registers are mapped using the lower 32 bits. The upper 8 bits of that is the register group type.”h]”hŒiRISC-V registers are mapped using the lower 32 bits. The upper 8 bits of that is the register group type.”…”�”}”(hj˜¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M× hj6]h²hubhï)�”}”(hŒiRISC-V config registers are meant for configuring a Guest VCPU and it has the following id bit patterns::”h]”hŒhRISC-V config registers are meant for configuring a Guest VCPU and it has the following id bit patterns:”…”�”}”(hj¦¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚ hj6]h²hubj8)�”}”(hŒ�0x8020 0000 01 (32bit Host) 0x8030 0000 01 (64bit Host)”h]”hŒ�0x8020 0000 01 (32bit Host) 0x8030 0000 01 (64bit Host)”…”�”}”hj´¦sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÝ hj6]h²hubhï)�”}”(hŒ*Following are the RISC-V config registers:”h]”hŒ*Following are the RISC-V config registers:”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hj6]h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjÓ¦ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchjÓ¦ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K-uh1jchjÓ¦ubj®_)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEncoding”h]”hŒEncoding”…”�”}”(hjý¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã hjú¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷¦ubj„)�”}”(hhh]”hï)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã hj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷¦ubj„)�”}”(hhh]”hï)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hj+§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã hj(§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷¦ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjô¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­_hjÓ¦ubjz)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0100 0000”h]”hŒ0x80x0 0000 0100 0000”…”�”}”(hjT§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Må hjQ§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjN§ubj„)�”}”(hhh]”hï)�”}”(hŒisa”h]”hŒisa”…”�”}”(hjk§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Må hjh§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjN§ubj„)�”}”(hhh]”hï)�”}”(hŒ ISA feature bitmap of Guest VCPU”h]”hŒ ISA feature bitmap of Guest VCPU”…”�”}”(hj‚§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Må hj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjN§ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjK§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jyhjÓ¦ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjЦubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj6]h²hh³hÇh´Nubhï)�”}”(hŒ¤The isa config register can be read anytime but can only be written before a Guest VCPU runs. It will have ISA feature bits matching underlying host set by default.”h]”hŒ¤The isa config register can be read anytime but can only be written before a Guest VCPU runs. It will have ISA feature bits matching underlying host set by default.”…”�”}”(hj¯§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mè hj6]h²hubhï)�”}”(hŒvRISC-V core registers represent the general execution state of a Guest VCPU and it has the following id bit patterns::”h]”hŒuRISC-V core registers represent the general execution state of a Guest VCPU and it has the following id bit patterns:”…”�”}”(hj½§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mì hj6]h²hubj8)�”}”(hŒ‹0x8020 0000 02 (32bit Host) 0x8030 0000 02 (64bit Host)”h]”hŒ‹0x8020 0000 02 (32bit Host) 0x8030 0000 02 (64bit Host)”…”�”}”hj˧sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mï hj6]h²hubhï)�”}”(hŒ(Following are the RISC-V core registers:”h]”hŒ(Following are the RISC-V core registers:”…”�”}”(hjÙ§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mò hj6]h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjê§ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchjê§ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K-uh1jchjê§ubj®_)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEncoding”h]”hŒEncoding”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mõ hj¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¨ubj„)�”}”(hhh]”hï)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hj+¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mõ hj(¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¨ubj„)�”}”(hhh]”hï)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hjB¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mõ hj?¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj ¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­_hjê§ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0000”h]”hŒ0x80x0 0000 0200 0000”…”�”}”(hjk¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷ hjh¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhje¨ubj„)�”}”(hhh]”hï)�”}”(hŒregs.pc”h]”hŒregs.pc”…”�”}”(hj‚¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷ hj¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhje¨ubj„)�”}”(hhh]”hï)�”}”(hŒProgram counter”h]”hŒProgram counter”…”�”}”(hj™¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷ hj–¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhje¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0001”h]”hŒ0x80x0 0000 0200 0001”…”�”}”(hj¹¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mø hj¶¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³¨ubj„)�”}”(hhh]”hï)�”}”(hŒregs.ra”h]”hŒregs.ra”…”�”}”(hjШh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mø hjͨubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³¨ubj„)�”}”(hhh]”hï)�”}”(hŒReturn address”h]”hŒReturn address”…”�”}”(hjç¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mø hjä¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0002”h]”hŒ0x80x0 0000 0200 0002”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mù hj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©ubj„)�”}”(hhh]”hï)�”}”(hŒregs.sp”h]”hŒregs.sp”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mù hj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©ubj„)�”}”(hhh]”hï)�”}”(hŒ Stack pointer”h]”hŒ Stack pointer”…”�”}”(hj5©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mù hj2©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0003”h]”hŒ0x80x0 0000 0200 0003”…”�”}”(hjU©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú hjR©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO©ubj„)�”}”(hhh]”hï)�”}”(hŒregs.gp”h]”hŒregs.gp”…”�”}”(hjl©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú hji©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO©ubj„)�”}”(hhh]”hï)�”}”(hŒGlobal pointer”h]”hŒGlobal pointer”…”�”}”(hjƒ©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú hj€©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjO©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0004”h]”hŒ0x80x0 0000 0200 0004”…”�”}”(hj£©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mû hj ©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�©ubj„)�”}”(hhh]”hï)�”}”(hŒregs.tp”h]”hŒregs.tp”…”�”}”(hjº©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mû hj·©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�©ubj„)�”}”(hhh]”hï)�”}”(hŒ Task pointer”h]”hŒ Task pointer”…”�”}”(hjÑ©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mû hjΩubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0005”h]”hŒ0x80x0 0000 0200 0005”…”�”}”(hjñ©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü hjî©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë©ubj„)�”}”(hhh]”hï)�”}”(hŒregs.t0”h]”hŒregs.t0”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü hjªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë©ubj„)�”}”(hhh]”hï)�”}”(hŒCaller saved register 0”h]”hŒCaller saved register 0”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü hjªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjë©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0006”h]”hŒ0x80x0 0000 0200 0006”…”�”}”(hj?ªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mý hj<ªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9ªubj„)�”}”(hhh]”hï)�”}”(hŒregs.t1”h]”hŒregs.t1”…”�”}”(hjVªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mý hjSªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9ªubj„)�”}”(hhh]”hï)�”}”(hŒCaller saved register 1”h]”hŒCaller saved register 1”…”�”}”(hjmªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mý hjjªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj9ªubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0007”h]”hŒ0x80x0 0000 0200 0007”…”�”}”(hj�ªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mþ hjŠªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡ªubj„)�”}”(hhh]”hï)�”}”(hŒregs.t2”h]”hŒregs.t2”…”�”}”(hj¤ªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mþ hj¡ªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡ªubj„)�”}”(hhh]”hï)�”}”(hŒCaller saved register 2”h]”hŒCaller saved register 2”…”�”}”(hj»ªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mþ hj¸ªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‡ªubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0008”h]”hŒ0x80x0 0000 0200 0008”…”�”}”(hjÛªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿ hjتubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕªubj„)�”}”(hhh]”hï)�”}”(hŒregs.s0”h]”hŒregs.s0”…”�”}”(hjòªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿ hjïªubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕªubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 0”h]”hŒCallee saved register 0”…”�”}”(hj «h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿ hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÕªubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0009”h]”hŒ0x80x0 0000 0200 0009”…”�”}”(hj)«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj&«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#«ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s1”h]”hŒregs.s1”…”�”}”(hj@«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj=«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#«ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 1”h]”hŒCallee saved register 1”…”�”}”(hjW«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjT«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj#«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 000a”h]”hŒ0x80x0 0000 0200 000a”…”�”}”(hjw«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjt«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq«ubj„)�”}”(hhh]”hï)�”}”(hŒregs.a0”h]”hŒregs.a0”…”�”}”(hjŽ«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj‹«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq«ubj„)�”}”(hhh]”hï)�”}”(hŒ%Function argument (or return value) 0”h]”hŒ%Function argument (or return value) 0”…”�”}”(hj¥«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¢«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 000b”h]”hŒ0x80x0 0000 0200 000b”…”�”}”(hjÅ«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿«ubj„)�”}”(hhh]”hï)�”}”(hŒregs.a1”h]”hŒregs.a1”…”�”}”(hjÜ«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÙ«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿«ubj„)�”}”(hhh]”hï)�”}”(hŒ%Function argument (or return value) 1”h]”hŒ%Function argument (or return value) 1”…”�”}”(hjó«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjð«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 000c”h]”hŒ0x80x0 0000 0200 000c”…”�”}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ¬ubj„)�”}”(hhh]”hï)�”}”(hŒregs.a2”h]”hŒregs.a2”…”�”}”(hj*¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj'¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ¬ubj„)�”}”(hhh]”hï)�”}”(hŒFunction argument 2”h]”hŒFunction argument 2”…”�”}”(hjA¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj>¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj ¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 000d”h]”hŒ0x80x0 0000 0200 000d”…”�”}”(hja¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj^¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[¬ubj„)�”}”(hhh]”hï)�”}”(hŒregs.a3”h]”hŒregs.a3”…”�”}”(hjx¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hju¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[¬ubj„)�”}”(hhh]”hï)�”}”(hŒFunction argument 3”h]”hŒFunction argument 3”…”�”}”(hj�¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjŒ¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj[¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 000e”h]”hŒ0x80x0 0000 0200 000e”…”�”}”(hj¯¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¬¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©¬ubj„)�”}”(hhh]”hï)�”}”(hŒregs.a4”h]”hŒregs.a4”…”�”}”(hjƬh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjìubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©¬ubj„)�”}”(hhh]”hï)�”}”(hŒFunction argument 4”h]”hŒFunction argument 4”…”�”}”(hjݬh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÚ¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj©¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 000f”h]”hŒ0x80x0 0000 0200 000f”…”�”}”(hjý¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjú¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷¬ubj„)�”}”(hhh]”hï)�”}”(hŒregs.a5”h]”hŒregs.a5”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷¬ubj„)�”}”(hhh]”hï)�”}”(hŒFunction argument 5”h]”hŒFunction argument 5”…”�”}”(hj+­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj(­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj÷¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0010”h]”hŒ0x80x0 0000 0200 0010”…”�”}”(hjK­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjH­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE­ubj„)�”}”(hhh]”hï)�”}”(hŒregs.a6”h]”hŒregs.a6”…”�”}”(hjb­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj_­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE­ubj„)�”}”(hhh]”hï)�”}”(hŒFunction argument 6”h]”hŒFunction argument 6”…”�”}”(hjy­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjv­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjE­ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0011”h]”hŒ0x80x0 0000 0200 0011”…”�”}”(hj™­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj–­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“­ubj„)�”}”(hhh]”hï)�”}”(hŒregs.a7”h]”hŒregs.a7”…”�”}”(hj°­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj­­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“­ubj„)�”}”(hhh]”hï)�”}”(hŒFunction argument 7”h]”hŒFunction argument 7”…”�”}”(hjÇ­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÄ­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“­ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0012”h]”hŒ0x80x0 0000 0200 0012”…”�”}”(hjç­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjä­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá­ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s2”h]”hŒregs.s2”…”�”}”(hjþ­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjû­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá­ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 2”h]”hŒCallee saved register 2”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjá­ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0013”h]”hŒ0x80x0 0000 0200 0013”…”�”}”(hj5®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj2®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj/®ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s3”h]”hŒregs.s3”…”�”}”(hjL®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjI®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj/®ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 3”h]”hŒCallee saved register 3”…”�”}”(hjc®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj`®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj/®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0014”h]”hŒ0x80x0 0000 0200 0014”…”�”}”(hjƒ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj€®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj}®ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s4”h]”hŒregs.s4”…”�”}”(hjš®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj—®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj}®ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 4”h]”hŒCallee saved register 4”…”�”}”(hj±®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj®®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj}®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0015”h]”hŒ0x80x0 0000 0200 0015”…”�”}”(hjÑ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjήubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjË®ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s5”h]”hŒregs.s5”…”�”}”(hjè®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjå®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjË®ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 5”h]”hŒCallee saved register 5”…”�”}”(hjÿ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjü®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjË®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0016”h]”hŒ0x80x0 0000 0200 0016”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¯ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s6”h]”hŒregs.s6”…”�”}”(hj6¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj3¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¯ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 6”h]”hŒCallee saved register 6”…”�”}”(hjM¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjJ¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0017”h]”hŒ0x80x0 0000 0200 0017”…”�”}”(hjm¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjj¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjg¯ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s7”h]”hŒregs.s7”…”�”}”(hj„¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj�¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjg¯ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 7”h]”hŒCallee saved register 7”…”�”}”(hj›¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj˜¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjg¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0018”h]”hŒ0x80x0 0000 0200 0018”…”�”}”(hj»¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¸¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµ¯ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s8”h]”hŒregs.s8”…”�”}”(hjÒ¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjϯubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµ¯ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 8”h]”hŒCallee saved register 8”…”�”}”(hjé¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjæ¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµ¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0019”h]”hŒ0x80x0 0000 0200 0019”…”�”}”(hj °h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj°ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s9”h]”hŒregs.s9”…”�”}”(hj °h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj°ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 9”h]”hŒCallee saved register 9”…”�”}”(hj7°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj4°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 001a”h]”hŒ0x80x0 0000 0200 001a”…”�”}”(hjW°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjT°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjQ°ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s10”h]”hŒregs.s10”…”�”}”(hjn°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjk°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjQ°ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 10”h]”hŒCallee saved register 10”…”�”}”(hj…°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj‚°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjQ°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 001b”h]”hŒ0x80x0 0000 0200 001b”…”�”}”(hj¥°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¢°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŸ°ubj„)�”}”(hhh]”hï)�”}”(hŒregs.s11”h]”hŒregs.s11”…”�”}”(hj¼°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¹°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŸ°ubj„)�”}”(hhh]”hï)�”}”(hŒCallee saved register 11”h]”hŒCallee saved register 11”…”�”}”(hjÓ°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjаubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŸ°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 001c”h]”hŒ0x80x0 0000 0200 001c”…”�”}”(hjó°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjð°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjí°ubj„)�”}”(hhh]”hï)�”}”(hŒregs.t3”h]”hŒregs.t3”…”�”}”(hj ±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjí°ubj„)�”}”(hhh]”hï)�”}”(hŒCaller saved register 3”h]”hŒCaller saved register 3”…”�”}”(hj!±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjí°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 001d”h]”hŒ0x80x0 0000 0200 001d”…”�”}”(hjA±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj>±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj;±ubj„)�”}”(hhh]”hï)�”}”(hŒregs.t4”h]”hŒregs.t4”…”�”}”(hjX±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjU±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj;±ubj„)�”}”(hhh]”hï)�”}”(hŒCaller saved register 4”h]”hŒCaller saved register 4”…”�”}”(hjo±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjl±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj;±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 001e”h]”hŒ0x80x0 0000 0200 001e”…”�”}”(hj�±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjŒ±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‰±ubj„)�”}”(hhh]”hï)�”}”(hŒregs.t5”h]”hŒregs.t5”…”�”}”(hj¦±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj£±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‰±ubj„)�”}”(hhh]”hï)�”}”(hŒCaller saved register 5”h]”hŒCaller saved register 5”…”�”}”(hj½±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjº±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‰±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 001f”h]”hŒ0x80x0 0000 0200 001f”…”�”}”(hjݱh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÚ±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj×±ubj„)�”}”(hhh]”hï)�”}”(hŒregs.t6”h]”hŒregs.t6”…”�”}”(hjô±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjñ±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj×±ubj„)�”}”(hhh]”hï)�”}”(hŒCaller saved register 6”h]”hŒCaller saved register 6”…”�”}”(hj ²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj×±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0200 0020”h]”hŒ0x80x0 0000 0200 0020”…”�”}”(hj+²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj(²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%²ubj„)�”}”(hhh]”hï)�”}”(hŒmode”h]”hŒmode”…”�”}”(hjB²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj?²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%²ubj„)�”}”(hhh]”hï)�”}”(hŒ)Privilege mode (1 = S-mode or 0 = U-mode)”h]”hŒ)Privilege mode (1 = S-mode or 0 = U-mode)”…”�”}”(hjY²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjV²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjb¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjê§ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjç§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj6]h²hh³hÇh´Nubhï)�”}”(hŒ†RISC-V csr registers represent the supervisor mode control/status registers of a Guest VCPU and it has the following id bit patterns::”h]”hŒ…RISC-V csr registers represent the supervisor mode control/status registers of a Guest VCPU and it has the following id bit patterns:”…”�”}”(hj†²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubj8)�”}”(hŒ‰0x8020 0000 03 (32bit Host) 0x8030 0000 03 (64bit Host)”h]”hŒ‰0x8020 0000 03 (32bit Host) 0x8030 0000 03 (64bit Host)”…”�”}”hj”²sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hj6]h²hubhï)�”}”(hŒ'Following are the RISC-V csr registers:”h]”hŒ'Following are the RISC-V csr registers:”…”�”}”(hj¢²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj6]h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj³²ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchj³²ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K-uh1jchj³²ubj®_)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEncoding”h]”hŒEncoding”…”�”}”(hjݲh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M# hjÚ²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjײubj„)�”}”(hhh]”hï)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hjô²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M# hjñ²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjײubj„)�”}”(hhh]”hï)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hj ³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M# hj³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjײubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÔ²ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­_hj³²ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0000”h]”hŒ0x80x0 0000 0300 0000”…”�”}”(hj4³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hj1³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj.³ubj„)�”}”(hhh]”hï)�”}”(hŒsstatus”h]”hŒsstatus”…”�”}”(hjK³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hjH³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj.³ubj„)�”}”(hhh]”hï)�”}”(hŒSupervisor status”h]”hŒSupervisor status”…”�”}”(hjb³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hj_³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj.³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0001”h]”hŒ0x80x0 0000 0300 0001”…”�”}”(hj‚³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M& hj³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj|³ubj„)�”}”(hhh]”hï)�”}”(hŒsie”h]”hŒsie”…”�”}”(hj™³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M& hj–³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj|³ubj„)�”}”(hhh]”hï)�”}”(hŒSupervisor interrupt enable”h]”hŒSupervisor interrupt enable”…”�”}”(hj°³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M& hj­³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj|³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0002”h•Q]”hŒ0x80x0 0000 0300 0002”…”�”}”(hjгh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M' hjͳubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjʳubj„)�”}”(hhh]”hï)�”}”(hŒstvec”h]”hŒstvec”…”�”}”(hjç³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M' hjä³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjʳubj„)�”}”(hhh]”hï)�”}”(hŒSupervisor trap vector base”h]”hŒSupervisor trap vector base”…”�”}”(hjþ³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M' hjû³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjʳubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0003”h]”hŒ0x80x0 0000 0300 0003”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj´ubj„)�”}”(hhh]”hï)�”}”(hŒsscratch”h]”hŒsscratch”…”�”}”(hj5´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hj2´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj´ubj„)�”}”(hhh]”hï)�”}”(hŒSupervisor scratch register”h]”hŒSupervisor scratch register”…”�”}”(hjL´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hjI´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0004”h]”hŒ0x80x0 0000 0300 0004”…”�”}”(hjl´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M) hji´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjf´ubj„)�”}”(hhh]”hï)�”}”(hŒsepc”h]”hŒsepc”…”�”}”(hjƒ´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M) hj€´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjf´ubj„)�”}”(hhh]”hï)�”}”(hŒ$Supervisor exception program counter”h]”hŒ$Supervisor exception program counter”…”�”}”(hjš´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M) hj—´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjf´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0005”h]”hŒ0x80x0 0000 0300 0005”…”�”}”(hjº´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M* hj·´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj´´ubj„)�”}”(hhh]”hï)�”}”(hŒscause”h]”hŒscause”…”�”}”(hjÑ´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M* hjδubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj´´ubj„)�”}”(hhh]”hï)�”}”(hŒSupervisor trap cause”h]”hŒSupervisor trap cause”…”�”}”(hjè´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M* hjå´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj´´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0006”h]”hŒ0x80x0 0000 0300 0006”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+ hjµubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµubj„)�”}”(hhh]”hï)�”}”(hŒstval”h]”hŒstval”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+ hjµubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµubj„)�”}”(hhh]”hï)�”}”(hŒ%Supervisor bad address or instruction”h]”hŒ%Supervisor bad address or instruction”…”�”}”(hj6µh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+ hj3µubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjµubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0007”h]”hŒ0x80x0 0000 0300 0007”…”�”}”(hjVµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M, hjSµubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjPµubj„)�”}”(hhh]”hï)�”}”(hŒsip”h]”hŒsip”…”�”}”(hjmµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M, hjjµubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjPµubj„)�”}”(hhh]”hï)�”}”(hŒSupervisor interrupt pending”h]”hŒSupervisor interrupt pending”…”�”}”(hj„µh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M, hj�µubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjPµubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x80x0 0000 0300 0008”h]”hŒ0x80x0 0000 0300 0008”…”�”}”(hj¤µh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M- hj¡µubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjžµubj„)�”}”(hhh]”hï)�”}”(hŒsatp”h]”hŒsatp”…”�”}”(hj»µh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M- hj¸µubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjžµubj„)�”}”(hhh]”hï)�”}”(hŒ-Supervisor address translation and protection”h]”hŒ-Supervisor address translation and protection”…”�”}”(hjÒµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M- hjϵubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjžµubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj+³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj³²ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj°²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj6]h²hh³hÇh´Nubhï)�”}”(hŒkRISC-V timer registers represent the timer state of a Guest VCPU and it has the following id bit patterns::”h]”hŒjRISC-V timer registers represent the timer state of a Guest VCPU and it has the following id bit patterns:”…”�”}”(hjÿµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0 hj6]h²hubj8)�”}”(hŒ90x8030 0000 04 ”h]”hŒ90x8030 0000 04 ”…”�”}”hj ¶sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M3 hj6]h²hubhï)�”}”(hŒ)Following are the RISC-V timer registers:”h]”hŒ)Following are the RISC-V timer registers:”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5 hj6]h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj,¶ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchj,¶ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K-uh1jchj,¶ubj®_)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEncoding”h]”hŒEncoding”…”�”}”(hjV¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M8 hjS¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjP¶ubj„)�”}”(hhh]”hï)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hjm¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M8 hjj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjP¶ubj„)�”}”(hhh]”hï)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hj„¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M8 hj�¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjP¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjM¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­_hj,¶ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8030 0000 0400 0000”h]”hŒ0x8030 0000 0400 0000”…”�”}”(hj­¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M: hjª¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§¶ubj„)�”}”(hhh]”hï)�”}”(hŒ frequency”h]”hŒ frequency”…”�”}”(hjĶh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M: hjÁ¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§¶ubj„)�”}”(hhh]”hï)�”}”(hŒTime base frequency (read-only)”h]”hŒTime base frequency (read-only)”…”�”}”(hjÛ¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M: hjضubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¤¶ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8030 0000 0400 0001”h]”hŒ0x8030 0000 0400 0001”…”�”}”(hjû¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M; hjø¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ¶ubj„)�”}”(hhh]”hï)�”}”(hŒtime”h]”hŒtime”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M; hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ¶ubj„)�”}”(hhh]”hï)�”}”(hŒTime value visible to Guest”h]”hŒTime value visible to Guest”…”�”}”(hj)·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M; hj&·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjõ¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¤¶ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8030 0000 0400 0002”h]”hŒ0x8030 0000 0400 0002”…”�”}”(hjI·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M< hjF·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC·ubj„)�”}”(hhh]”hï)�”}”(hŒcompare”h]”hŒcompare”…”�”}”(hj`·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M< hj]·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC·ubj„)�”}”(hhh]”hï)�”}”(hŒ Time compare programmed by Guest”h]”hŒ Time compare programmed by Guest”…”�”}”(hjw·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M< hjt·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¤¶ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8030 0000 0400 0003”h]”hŒ0x8030 0000 0400 0003”…”�”}”(hj—·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M= hj”·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘·ubj„)�”}”(hhh]”hï)�”}”(hŒstate”h]”hŒstate”…”�”}”(hj®·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M= hj«·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘·ubj„)�”}”(hhh]”hï)�”}”(hŒ&Time compare state (1 = ON or 0 = OFF)”h]”hŒ&Time compare state (1 = ON or 0 = OFF)”…”�”}”(hjÅ·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M= hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj‘·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¤¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj,¶ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj)¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj6]h²hh³hÇh´Nubhï)�”}”(hŒ‹RISC-V F-extension registers represent the single precision floating point state of a Guest VCPU and it has the following id bit patterns::”h]”hŒŠRISC-V F-extension registers represent the single precision floating point state of a Guest VCPU and it has the following id bit patterns:”…”�”}”(hjò·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@ hj6]h²hubj8)�”}”(hŒ=0x8020 0000 05 ”h]”hŒ=0x8020 0000 05 ”…”�”}”hj¸sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MC hj6]h²hubhï)�”}”(hŒ/Following are the RISC-V F-extension registers:”h]”hŒ/Following are the RISC-V F-extension registers:”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ME hj6]h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj¸ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchj¸ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K-uh1jchj¸ubj®_)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEncoding”h]”hŒEncoding”…”�”}”(hjI¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH hjF¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC¸ubj„)�”}”(hhh]”hï)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hj`¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH hj]¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC¸ubj„)�”}”(hhh]”hï)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hjw¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH hjt¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjC¸ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj@¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­_hj¸ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8020 0000 0500 0000”h]”hŒ0x8020 0000 0500 0000”…”�”}”(hj ¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJ hj�¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjš¸ubj„)�”}”(hhh]”hï)�”}”(hŒf[0]”h]”hŒf[0]”…”�”}”(hj·¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJ hj´¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjš¸ubj„)�”}”(hhh]”hï)�”}”(hŒFloating point register 0”h]”hŒFloating point register 0”…”�”}”(hjθh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJ hj˸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjš¸ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj—¸ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ...”h]”hŒ...”…”�”}”(hjî¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MK hjë¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjè¸ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjè¸ubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjè¸ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj—¸ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8020 0000 0500 001f”h]”hŒ0x8020 0000 0500 001f”…”�”}”(hj ¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ML hj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹ubj„)�”}”(hhh]”hï)�”}”(hŒf[31]”h]”hŒf[31]”…”�”}”(hj7¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ML hj4¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹ubj„)�”}”(hhh]”hï)�”}”(hŒFloating point register 31”h]”hŒFloating point register 31”…”�”}”(hjN¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ML hjK¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj—¸ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8020 0000 0500 0020”h]”hŒ0x8020 0000 0500 0020”…”�”}”(hjn¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MM hjk¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjh¹ubj„)�”}”(hhh]”hï)�”}”(hŒfcsr”h]”hŒfcsr”…”�”}”(hj…¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MM hj‚¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjh¹ubj„)�”}”(hhh]”hï)�”}”(hŒ*Floating point control and status register”h]”hŒ*Floating point control and status register”…”�”}”(hjœ¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MM hj™¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjh¹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj—¸ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj¸ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj6]h²hh³hÇh´Nubhï)�”}”(hŒ‹RISC-V D-extension registers represent the double precision floating point state of a Guest VCPU and it has the following id bit patterns::”h]”hŒŠRISC-V D-extension registers represent the double precision floating point state of a Guest VCPU and it has the following id bit patterns:”…”�”}”(hjɹh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MP hj6]h²hubj8)�”}”(hŒ�0x8020 0000 06 (fcsr) 0x8030 0000 06 (non-fcsr)”h]”hŒ�0x8020 0000 06 (fcsr) 0x8030 0000 06 (non-fcsr)”…”�”}”hj×¹sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MS hj6]h²hubhï)�”}”(hŒ/Following are the RISC-V D-extension registers:”h]”hŒ/Following are the RISC-V D-extension registers:”…”�”}”(hjå¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MV hj6]h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjö¹ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchjö¹ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K-uh1jchjö¹ubj®_)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEncoding”h]”hŒEncoding”…”�”}”(hj ºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MY hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjºubj„)�”}”(hhh]”hï)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hj7ºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MY hj4ºubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjºubj„)�”}”(hhh]”hï)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hjNºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MY hjKºubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjºubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1j­_hjö¹ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8030 0000 0600 0000”h]”hŒ0x8030 0000 0600 0000”…”�”}”(hjwºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[ hjtºubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjqºubj„)�”}”(hhh]”hï)�”}”(hŒf[0]”h]”hŒf[0]”…”�”}”(hjŽºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[ hj‹ºubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjqºubj„)�”}”(hhh]”hï)�”}”(hŒFloating point register 0”h]”hŒFloating point register 0”…”�”}”(hj¥ºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[ hj¢ºubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjqºubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjnºubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ...”h]”hŒ...”…”�”}”(hjźh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\ hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿ºubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿ºubj„)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¿ºubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjnºubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8030 0000 0600 001f”h]”hŒ0x8030 0000 0600 001f”…”�”}”(hj÷ºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M] hjôºubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñºubj„)�”}”(hhh]”hï)�”}”(hŒf[31]”h]”hŒf[31]”…”�”}”(hj»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M] hj »ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñºubj„)�”}”(hhh]”hï)�”}”(hŒFloating point register 31”h]”hŒFloating point register 31”…”�”}”(hj%»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M] hj"»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjñºubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjnºubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x8020 0000 0600 0020”h]”hŒ0x8020 0000 0600 0020”…”�”}”(hjE»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^ hjB»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj?»ubj„)�”}”(hhh]”hï)�”}”(hŒfcsr”h]”hŒfcsr”…”�”}”(hj\»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^ hjY»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj?»ubj„)�”}”(hhh]”hï)�”}”(hŒ*Floating point control and status register”h]”hŒ*Floating point control and status register”…”�”}”(hjs»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^ hjp»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj?»ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjnºubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjö¹ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjó¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj6]h²hh³hÇh´Nubhï)�”}”(hŒmLoongArch registers are mapped using the lower 32 bits. The upper 16 bits of that is the register group type.”h]”hŒmLoongArch registers are mapped using the lower 32 bits. The upper 16 bits of that is the register group type.”…”�”}”(hj »h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Ma hj6]h²hubhï)�”}”(hŒLoongArch csr registers are used to control guest cpu or get status of guest cpu, and they have the following id bit patterns::”h]”hŒ~LoongArch csr registers are used to control guest cpu or get status of guest cpu, and they have the following id bit patterns:”…”�”}”(hj®»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Md hj6]h²hubj8)�”}”(hŒ.0x9030 0000 0001 00 (64-bit)”h]”hŒ.0x9030 0000 0001 00 (64-bit)”…”�”}”hj¼»sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mg hj6]h²hubhï)�”}”(hŒ¦LoongArch KVM control registers are used to implement some new defined functions such as set vcpu counter or reset vcpu, and they have the following id bit patterns::”h]”hŒ¥LoongArch KVM control registers are used to implement some new defined functions such as set vcpu counter or reset vcpu, and they have the following id bit patterns:”…”�”}”(hjÊ»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mi hj6]h²hubj8)�”}”(hŒ0x9030 0000 0002 ”h]”hŒ0x9030 0000 0002 ”…”�”}”hjØ»sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Ml hj6]h²hubj )�”}”(hhh]”j)�”}”(hŒSx86 MSR registers have the following id bit patterns:: 0x2030 0002 ”h]”(j)�”}”(hŒ6x86 MSR registers have the following id bit patterns::”h]”hŒ6x86 MSR registers have the following id bit patterns::”…”�”}”(hjí»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mo hjé»ubj%)�”}”(hhh]”hï)�”}”(hŒ0x2030 0002 ”h]”hŒ0x2030 0002 ”…”�”}”(hjþ»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mo hjû»ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjé»ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mo hjæ»ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj6]h²hh³hÇh´Nubhï)�”}”(hŒ0Following are the KVM-defined registers for x86:”h]”hŒ0Following are the KVM-defined registers for x86:”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mq hj6]h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj/¼ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchj/¼ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K-uh1jchj/¼ubj®_)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEncoding”h]”hŒEncoding”…”�”}”(hjY¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mt hjV¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjS¼ubj„)�”}”(hhh]”hï)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hjp¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mt hjm¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjS¼ubj„)�”}”(hhh]”hï)�”}”(hŒ Description”h]”hŒ Description”…”�”}”(hj‡¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mt hj„¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjS¼ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjP¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­_hj/¼ubjz)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ0x2030 0003 0000 0000”h]”hŒ0x2030 0003 0000 0000”…”�”}”(hj°¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mv hj­¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjª¼ubj„)�”}”(hhh]”hï)�”}”(hŒSSP”h]”hŒSSP”…”�”}”(hjǼh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mv hjļubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjª¼ubj„)�”}”(hhh]”hï)�”}”(hŒShadow Stack Pointer”h]”hŒShadow Stack Pointer”…”�”}”(hjÞ¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mv hjÛ¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjª¼ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj§¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jyhj/¼ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj,¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj6]h²hh³hÇh´Nubeh}”(h]”Œkvm-set-one-reg”ah ]”h"]”Œ4.68 kvm_set_one_reg”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.69 KVM_GET_ONE_REG”h]”hŒ4.69 KVM_GET_ONE_REG”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj½h²hh³hÇh´Mz ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj*½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj'½h³hÇh´Kubj�)�”}”(hŒKVM_CAP_ONE_REG”h]”hï)�”}”(hj:½h]”hŒKVM_CAP_ONE_REG”…”�”}”(hj<½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M| hj8½ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj'½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M| hj$½h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjX½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjU½h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hjh½h]”hŒall”…”�”}”(hjj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M} hjf½ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjU½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M} hj$½h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj†½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjƒ½h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj–½h]”hŒ vcpu ioctl”…”�”}”(hj˜½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M~ hj”½ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjƒ½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M~ hj$½h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj´½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj±½h³hÇh´Kubj�)�”}”(hŒstruct kvm_one_reg (in and out)”h]”hï)�”}”(hjĽh]”hŒstruct kvm_one_reg (in and out)”…”�”}”(hjƽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj½ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj±½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj$½h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjâ½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjß½h³hÇh´Kubj�)�”}”(hŒ(0 on success, negative value on failure ”h]”hï)�”}”(hŒ'0 on success, negative value on failure”h]”hŒ'0 on success, negative value on failure”…”�”}”(hjô½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M€ hjð½ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjß½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M€ hj$½h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj½h²hh³hÇh´M| ubhï)�”}”(hŒErrors include:”h]”hŒErrors include:”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‚ hj½h²hubj )�”}”(hXa======== ============================================================ ENOENT no such register EINVAL invalid register ID, or no such register or used with VMs in protected virtualization mode on s390 EPERM (arm64) register access not allowed before vcpu finalization ======== ============================================================ ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj)¾ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K0 on delivery, 0 if guest blocked the MSI, and -1 on error ”h]”hï)�”}”(hŒ;>0 on delivery, 0 if guest blocked the MSI, and -1 on error”h]”hŒ;>0 on delivery, 0 if guest blocked the MSI, and -1 on error”…”�”}”(hj9Áh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶ hj5Áubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj$Áubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¶ hjiÀh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjXÀh²hh³hÇh´M² ubhï)�”}”(hŒ[Directly inject a MSI message. Only valid with in-kernel irqchip that handles MSI messages.”h]”hŒ[Directly inject a MSI message. Only valid with in-kernel irqchip that handles MSI messages.”…”�”}”(hjYÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸ hjXÀh²hubj8)�”}”(hŒ�struct kvm_msi { __u32 address_lo; __u32 address_hi; __u32 data; __u32 flags; __u32 devid; __u8 pad[12]; };”h]”hŒ�struct kvm_msi { __u32 address_lo; __u32 address_hi; __u32 data; __u32 flags; __u32 devid; __u8 pad[12]; };”…”�”}”hjgÁsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M½ hjXÀh²hubj )�”}”(hhh]”j)�”}”(hXflags: KVM_MSI_VALID_DEVID: devid contains a valid value. The per-VM KVM_CAP_MSI_DEVID capability advertises the requirement to provide the device ID. If this capability is not available, userspace should never set the KVM_MSI_VALID_DEVID flag as the ioctl might fail. ”h]”(j)�”}”(hŒflags:”h]”hŒflags:”…”�”}”(hj|Áh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÊ hjxÁubj%)�”}”(hhh]”hï)�”}”(hXKVM_MSI_VALID_DEVID: devid contains a valid value. The per-VM KVM_CAP_MSI_DEVID capability advertises the requirement to provide the device ID. If this capability is not available, userspace should never set the KVM_MSI_VALID_DEVID flag as the ioctl might fail.”h]”hXKVM_MSI_VALID_DEVID: devid contains a valid value. The per-VM KVM_CAP_MSI_DEVID capability advertises the requirement to provide the device ID. If this capability is not available, userspace should never set the KVM_MSI_VALID_DEVID flag as the ioctl might fail.”…”�”}”(hj�Áh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇ hjŠÁubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjxÁubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÊ hjuÁubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjXÀh²hh³hÇh´Nubhï)�”}”(hŒ´If KVM_MSI_VALID_DEVID is set, devid contains a unique device identifier for the device that wrote the MSI message. For PCI, this is usually a BDF identifier in the lower 16 bits.”h]”hŒ´If KVM_MSI_VALID_DEVID is set, devid contains a unique device identifier for the device that wrote the MSI message. For PCI, this is usually a BDF identifier in the lower 16 bits.”…”�”}”(hj­Áh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÌ hjXÀh²hubhï)�”}”(hŒñOn x86, address_hi is ignored unless the KVM_X2APIC_API_USE_32BIT_IDS feature of KVM_CAP_X2APIC_API capability is enabled. If it is enabled, address_hi bits 31-8 provide bits 31-8 of the destination id. Bits 7-0 of address_hi must be zero.”h]”hŒñOn x86, address_hi is ignored unless the KVM_X2APIC_API_USE_32BIT_IDS feature of KVM_CAP_X2APIC_API capability is enabled. If it is enabled, address_hi bits 31-8 provide bits 31-8 of the destination id. Bits 7-0 of address_hi must be zero.”…”�”}”(hj»Áh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÐ hjXÀh²hubeh}”(h]”Œkvm-signal-msi”ah ]”h"]”Œ4.71 kvm_signal_msi”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M° ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.71 KVM_CREATE_PIT2”h]”hŒ4.71 KVM_CREATE_PIT2”…”�”}”(hjÔÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÑÁh²hh³hÇh´M× ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjèÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjåÁh³hÇh´Kubj�)�”}”(hŒ KVM_CAP_PIT2”h]”hï)�”}”(hjøÁh]”hŒ KVM_CAP_PIT2”…”�”}”(hjúÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÙ hjöÁubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjåÁubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÙ hjâÁh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÂh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj&Âh]”hŒx86”…”�”}”(hj(Âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚ hj$Âubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÂubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÚ hjâÁh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjDÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjAÂh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjTÂh]”hŒvm ioctl”…”�”}”(hjVÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛ hjRÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjAÂubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÛ hjâÁh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjrÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjoÂh³hÇh´Kubj�)�”}”(hŒstruct kvm_pit_config (in)”h]”hï)�”}”(hj‚Âh]”hŒstruct kvm_pit_config (in)”…”�”}”(hj„Âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜ hj€Âubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjoÂubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÜ hjâÁh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj Âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�Âh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj²Âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝ hj®Âubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�Âubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÝ hjâÁh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÑÁh²hh³hÇh´MÙ ubhï)�”}”(hŒºCreates an in-kernel device model for the i8254 PIT. This call is only valid after enabling in-kernel irqchip support via KVM_CREATE_IRQCHIP. The following parameters have to be passed::”h]”hŒ¹Creates an in-kernel device model for the i8254 PIT. This call is only valid after enabling in-kernel irqchip support via KVM_CREATE_IRQCHIP. The following parameters have to be passed:”…”�”}”(hjÒÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mß hjÑÁh²hubj8)�”}”(hŒBstruct kvm_pit_config { __u32 flags; __u32 pad[15]; };”h]”hŒBstruct kvm_pit_config { __u32 flags; __u32 pad[15]; };”…”�”}”hjàÂsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mã hjÑÁh²hubhï)�”}”(hŒValid flags are::”h]”hŒValid flags are:”…”�”}”(hjîÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mè hjÑÁh²hubj8)�”}”(hŒC#define KVM_PIT_SPEAKER_DUMMY 1 /* emulate speaker port stub */”h]”hŒC#define KVM_PIT_SPEAKER_DUMMY 1 /* emulate speaker port stub */”…”�”}”hjüÂsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mê hjÑÁh²hubhï)�”}”(hŒˆPIT timer interrupts may use a per-VM kernel thread for injection. If it exists, this thread will have a name of the following pattern::”h]”hŒ‡PIT timer interrupts may use a per-VM kernel thread for injection. If it exists, this thread will have a name of the following pattern:”…”�”}”(hj Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mì hjÑÁh²hubj8)�”}”(hŒkvm-pit/”h]”hŒkvm-pit/”…”�”}”hjÃsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mï hjÑÁh²hubhï)�”}”(hŒ|When running a guest with elevated priorities, the scheduling parameters of this thread may have to be adjusted accordingly.”h]”hŒ|When running a guest with elevated priorities, the scheduling parameters of this thread may have to be adjusted accordingly.”…”�”}”(hj&Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñ hjÑÁh²hubhï)�”}”(hŒ0This IOCTL replaces the obsolete KVM_CREATE_PIT.”h]”hŒ0This IOCTL replaces the obsolete KVM_CREATE_PIT.”…”�”}”(hj4Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mô hjÑÁh²hubeh}”(h]”Œkvm-create-pit2”ah ]”h"]”Œ4.71 kvm_create_pit2”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M× ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.72 KVM_GET_PIT2”h]”hŒ4.72 KVM_GET_PIT2”…”�”}”(hjMÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjJÃh²hh³hÇh´Mø ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjaÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj^Ãh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PIT_STATE2”h]”hï)�”}”(hjqÃh]”hŒKVM_CAP_PIT_STATE2”…”�”}”(hjsÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú hjoÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj^Ãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mú hj[Ãh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj�Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŒÃh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjŸÃh]”hŒx86”…”�”}”(hj¡Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mû hj�Ãubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŒÃubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mû hj[Ãh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj½Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjºÃh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjÍÃh]”hŒvm ioctl”…”�”}”(hjÏÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü hjËÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjºÃubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mü hj[Ãh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjëÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjèÃh³hÇh´Kubj�)�”}”(hŒstruct kvm_pit_state2 (out)”h]”hï)�”}”(hjûÃh]”hŒstruct kvm_pit_state2 (out)”…”�”}”(hjýÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mý hjùÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjèÃubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mý hj[Ãh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÄh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj+Äh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mþ hj'Äubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÄubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mþ hj[Ãh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjJÃh²hh³hÇh´Mú ubhï)�”}”(hŒ„Retrieves the state of the in-kernel PIT model. Only valid after KVM_CREATE_PIT2. The state is returned in the following structure::”h]”hŒƒRetrieves the state of the in-kernel PIT model. Only valid after KVM_CREATE_PIT2. The state is returned in the following structure:”…”�”}”(hjKÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjJÃh²hubj8)�”}”(hŒvstruct kvm_pit_state2 { struct kvm_pit_channel_state channels[3]; __u32 flags; __u32 reserved[9]; };”h]”hŒvstruct kvm_pit_state2 { struct kvm_pit_channel_state channels[3]; __u32 flags; __u32 reserved[9]; };”…”�”}”hjYÄsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hjJÃh²hubhï)�”}”(hŒValid flags are::”h]”hŒValid flags are:”…”�”}”(hjgÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjJÃh²hubj8)�”}”(hŒ«/* disable PIT in HPET legacy mode */ #define KVM_PIT_FLAGS_HPET_LEGACY 0x00000001 /* speaker port data bit enabled */ #define KVM_PIT_FLAGS_SPEAKER_DATA_ON 0x00000002”h]”hŒ«/* disable PIT in HPET legacy mode */ #define KVM_PIT_FLAGS_HPET_LEGACY 0x00000001 /* speaker port data bit enabled */ #define KVM_PIT_FLAGS_SPEAKER_DATA_ON 0x00000002”…”�”}”hjuÄsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hjJÃh²hubhï)�”}”(hŒ-This IOCTL replaces the obsolete KVM_GET_PIT.”h]”hŒ-This IOCTL replaces the obsolete KVM_GET_PIT.”…”�”}”(hjƒÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjJÃh²hubeh}”(h]”Œ kvm-get-pit2”ah ]”h"]”Œ4.72 kvm_get_pit2”ah$]”h&]”uh1hÈhjæh²hh³hÇh´Mø ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.73 KVM_SET_PIT2”h]”hŒ4.73 KVM_SET_PIT2”…”�”}”(hjœÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj™Äh²hh³hÇh´M ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj°Äh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj­Äh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PIT_STATE2”h]”hï)�”}”(hjÀÄh]”hŒKVM_CAP_PIT_STATE2”…”�”}”(hjÂÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¾Äubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj­Äubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjªÄh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÞÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÛÄh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjîÄh]”hŒx86”…”�”}”(hjðÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjìÄubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÛÄubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjªÄh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj Åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Åh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjÅh]”hŒvm ioctl”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÅubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Åubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjªÄh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj:Åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj7Åh³hÇh´Kubj�)�”}”(hŒstruct kvm_pit_state2 (in)”h]”hï)�”}”(hjJÅh]”hŒstruct kvm_pit_state2 (in)”…”�”}”(hjLÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjHÅubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj7Åubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjªÄh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjhÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjeÅh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjzÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjvÅubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjeÅubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjªÄh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj™Äh²hh³hÇh´M ubhï)�”}”(hŒƒSets the state of the in-kernel PIT model. Only valid after KVM_CREATE_PIT2. See KVM_GET_PIT2 for details on struct kvm_pit_state2.”h]”hŒƒSets the state of the in-kernel PIT model. Only valid after KVM_CREATE_PIT2. See KVM_GET_PIT2 for details on struct kvm_pit_state2.”…”�”}”(hjšÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj™Äh²hubhŒtip”“”)�”}”(hX8``KVM_SET_PIT2`` strictly adheres to the spec of Intel 8254 PIT. For example, a ``count`` value of 0 in ``struct kvm_pit_channel_state`` is interpreted as 65536, which is the maximum count value. Refer to `Intel 8254 programmable interval timer `_.”h]”hï)�”}”(hX8``KVM_SET_PIT2`` strictly adheres to the spec of Intel 8254 PIT. For example, a ``count`` value of 0 in ``struct kvm_pit_channel_state`` is interpreted as 65536, which is the maximum count value. Refer to `Intel 8254 programmable interval timer `_.”h]”(jÈ)�”}”(hŒ``KVM_SET_PIT2``”h]”hŒ KVM_SET_PIT2”…”�”}”(hj²Åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj®ÅubhŒA strictly adheres to the spec of Intel 8254 PIT. For example, a ”…”�”}”(hj®Åh²hh³Nh´NubjÈ)�”}”(hŒ ``count``”h]”hŒcount”…”�”}”(hjÄÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj®ÅubhŒ value of 0 in ”…”�”}”(hj®Åh²hh³Nh´NubjÈ)�”}”(hŒ ``struct kvm_pit_channel_state``”h]”hŒstruct kvm_pit_channel_state”…”�”}”(hjÖÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj®ÅubhŒE is interpreted as 65536, which is the maximum count value. Refer to ”…”�”}”(hj®Åh²hh³Nh´NubhŒ reference”“”)�”}”(hŒi`Intel 8254 programmable interval timer `_”h]”hŒ&Intel 8254 programmable interval timer”…”�”}”(hjêÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œname”Œ&Intel 8254 programmable interval timer”Œrefuri”Œ=https://www.scs.stanford.edu/10wi-cs140/pintos/specs/8254.pdf”uh1jèÅhj®ÅubjT)�”}”(hŒ@ ”h]”h}”(h]”Œ&intel-8254-programmable-interval-timer”ah ]”h"]”Œ&intel 8254 programmable interval timer”ah$]”h&]”Œrefuri”jûÅuh1jSj»Khj®ÅubhŒ.”…”�”}”(hj®Åh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjªÅubah}”(h]”h ]”h"]”h$]”h&]”uh1j¨Åhj™Äh²hh³hÇh´Nubhï)�”}”(hŒ-This IOCTL replaces the obsolete KVM_SET_PIT.”h]”hŒ-This IOCTL replaces the obsolete KVM_SET_PIT.”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hj™Äh²hubeh}”(h]”Œ kvm-set-pit2”ah ]”h"]”Œ4.73 kvm_set_pit2”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.74 KVM_PPC_GET_SMMU_INFO”h]”hŒ4.74 KVM_PPC_GET_SMMU_INFO”…”�”}”(hj2Æh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj/Æh²hh³hÇh´M) ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjFÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjCÆh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PPC_GET_SMMU_INFO”h]”hï)�”}”(hjVÆh]”hŒKVM_CAP_PPC_GET_SMMU_INFO”…”�”}”(hjXÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+ hjTÆubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjCÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M+ hj@Æh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjtÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjqÆh³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hj„Æh]”hŒpowerpc”…”�”}”(hj†Æh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M, hj‚Æubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjqÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M, hj@Æh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¢Æh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŸÆh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj²Æh]”hŒvm ioctl”…”�”}”(hj´Æh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M- hj°Æubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŸÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M- hj@Æh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÐÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÍÆh³hÇh´Kubj�)�”}”(hŒNone”h]”hï)�”}”(hjàÆh]”hŒNone”…”�”}”(hjâÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M. hjÞÆubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÍÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M. hj@Æh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjþÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjûÆh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/ hj Çubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjûÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M/ hj@Æh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj/Æh²hh³hÇh´M+ ubhï)�”}”(hŒíThis populates and returns a structure describing the features of the "Server" class MMU emulation supported by KVM. This can in turn be used by userspace to generate the appropriate device-tree properties for the guest operating system.”h]”hŒñThis populates and returns a structure describing the features of the “Serverâ€� class MMU emulation supported by KVM. This can in turn be used by userspace to generate the appropriate device-tree properties for the guest operating system.”…”�”}”(hj0Çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1 hj/Æh²hubhï)�”}”(hŒfThe structure contains some global information, followed by an array of supported segment page sizes::”h]”hŒeThe structure contains some global information, followed by an array of supported segment page sizes:”…”�”}”(hj>Çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6 hj/Æh²hubj8)�”}”(hŒ¢struct kvm_ppc_smmu_info { __u64 flags; __u32 slb_size; __u32 pad; struct kvm_ppc_one_seg_page_size sps[KVM_PPC_PAGE_SIZES_MAX_SZ]; };”h]”hŒ¢struct kvm_ppc_smmu_info { __u64 flags; __u32 slb_size; __u32 pad; struct kvm_ppc_one_seg_page_size sps[KVM_PPC_PAGE_SIZES_MAX_SZ]; };”…”�”}”hjLÇsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M9 hj/Æh²hubhï)�”}”(hŒThe supported flags are:”h]”hŒThe supported flags are:”…”�”}”(hjZÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@ hj/Æh²hubj )�”}”(hXÊ- KVM_PPC_PAGE_SIZES_REAL: When that flag is set, guest page sizes must "fit" the backing store page sizes. When not set, any page size in the list can be used regardless of how they are backed by userspace. - KVM_PPC_1T_SEGMENTS The emulated MMU supports 1T segments in addition to the standard 256M ones. - KVM_PPC_NO_HASH This flag indicates that HPT guests are not supported by KVM, thus all guests must use radix MMU mode. ”h]”j)�”}”(hhh]”(j)�”}”(hŒÔKVM_PPC_PAGE_SIZES_REAL: When that flag is set, guest page sizes must "fit" the backing store page sizes. When not set, any page size in the list can be used regardless of how they are backed by userspace. ”h]”j )�”}”(hhh]”j)�”}”(hŒÎKVM_PPC_PAGE_SIZES_REAL: When that flag is set, guest page sizes must "fit" the backing store page sizes. When not set, any page size in the list can be used regardless of how they are backed by userspace. ”h]”(j)�”}”(hŒKVM_PPC_PAGE_SIZES_REAL:”h]”hŒKVM_PPC_PAGE_SIZES_REAL:”…”�”}”(hjzÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´ME hjvÇubj%)�”}”(hhh]”hï)�”}”(hŒ´When that flag is set, guest page sizes must "fit" the backing store page sizes. When not set, any page size in the list can be used regardless of how they are backed by userspace.”h]”hŒ¸When that flag is set, guest page sizes must “fitâ€� the backing store page sizes. When not set, any page size in the list can be used regardless of how they are backed by userspace.”…”�”}”(hj‹Çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MC hjˆÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjvÇubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´ME hjsÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjoÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjlÇubj)�”}”(hŒeKVM_PPC_1T_SEGMENTS The emulated MMU supports 1T segments in addition to the standard 256M ones. ”h]”j )�”}”(hhh]”j)�”}”(hŒaKVM_PPC_1T_SEGMENTS The emulated MMU supports 1T segments in addition to the standard 256M ones. ”h]”(j)�”}”(hŒKVM_PPC_1T_SEGMENTS”h]”hŒKVM_PPC_1T_SEGMENTS”…”�”}”(hj¼Çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MI hj¸Çubj%)�”}”(hhh]”hï)�”}”(hŒLThe emulated MMU supports 1T segments in addition to the standard 256M ones.”h]”hŒLThe emulated MMU supports 1T segments in addition to the standard 256M ones.”…”�”}”(hjÍÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH hjÊÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj¸Çubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MI hjµÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj±Çubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjlÇubj)�”}”(hŒ{KVM_PPC_NO_HASH This flag indicates that HPT guests are not supported by KVM, thus all guests must use radix MMU mode. ”h]”j )�”}”(hhh]”j)�”}”(hŒwKVM_PPC_NO_HASH This flag indicates that HPT guests are not supported by KVM, thus all guests must use radix MMU mode. ”h]”(j)�”}”(hŒKVM_PPC_NO_HASH”h]”hŒKVM_PPC_NO_HASH”…”�”}”(hjþÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MM hjúÇubj%)�”}”(hhh]”hï)�”}”(hŒfThis flag indicates that HPT guests are not supported by KVM, thus all guests must use radix MMU mode.”h]”hŒfThis flag indicates that HPT guests are not supported by KVM, thus all guests must use radix MMU mode.”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´ML hj Èubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjúÇubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MM hj÷Çubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjóÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjlÇubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MB hjhÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MB hj/Æh²hubhï)�”}”(hŒAThe "slb_size" field indicates how many SLB entries are supported”h]”hŒEThe “slb_sizeâ€� field indicates how many SLB entries are supported”…”�”}”(hjAÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MO hj/Æh²hubhï)�”}”(hŒ�The "sps" array contains 8 entries indicating the supported base page sizes for a segment in increasing order. Each entry is defined as follow::”h]”hŒ“The “spsâ€� array contains 8 entries indicating the supported base page sizes for a segment in increasing order. Each entry is defined as follow:”…”�”}”(hjOÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQ hj/Æh²hubj8)�”}”(hŒæstruct kvm_ppc_one_seg_page_size { __u32 page_shift; /* Base page shift of segment (or 0) */ __u32 slb_enc; /* SLB encoding for BookS */ struct kvm_ppc_one_page_size enc[KVM_PPC_PAGE_SIZES_MAX_SZ]; };”h]”hŒæstruct kvm_ppc_one_seg_page_size { __u32 page_shift; /* Base page shift of segment (or 0) */ __u32 slb_enc; /* SLB encoding for BookS */ struct kvm_ppc_one_page_size enc[KVM_PPC_PAGE_SIZES_MAX_SZ]; };”…”�”}”hj]Èsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MU hj/Æh²hubhï)�”}”(hŒ“An entry with a "page_shift" of 0 is unused. Because the array is organized in increasing order, a lookup can stop when encountering such an entry.”h]”hŒ—An entry with a “page_shiftâ€� of 0 is unused. Because the array is organized in increasing order, a lookup can stop when encountering such an entry.”…”�”}”(hjkÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[ hj/Æh²hubhï)�”}”(hŒÄThe "slb_enc" field provides the encoding to use in the SLB for the page size. The bits are in positions such as the value can directly be OR'ed into the "vsid" argument of the slbmte instruction.”h]”hŒÎThe “slb_encâ€� field provides the encoding to use in the SLB for the page size. The bits are in positions such as the value can directly be OR’ed into the “vsidâ€� argument of the slbmte instruction.”…”�”}”(hjyÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M_ hj/Æh²hubhï)�”}”(hXkThe "enc" array is a list which for each of those segment base page size provides the list of supported actual page sizes (which can be only larger or equal to the base page size), along with the corresponding encoding in the hash PTE. Similarly, the array is 8 entries sorted by increasing sizes and an entry with a "0" shift is an empty entry and a terminator::”h]”hXrThe “encâ€� array is a list which for each of those segment base page size provides the list of supported actual page sizes (which can be only larger or equal to the base page size), along with the corresponding encoding in the hash PTE. Similarly, the array is 8 entries sorted by increasing sizes and an entry with a “0â€� shift is an empty entry and a terminator:”…”�”}”(hj‡Èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mc hj/Æh²hubj8)�”}”(hŒ•struct kvm_ppc_one_page_size { __u32 page_shift; /* Page shift (or 0) */ __u32 pte_enc; /* Encoding in the HPTE (>>12) */ };”h]”hŒ•struct kvm_ppc_one_page_size { __u32 page_shift; /* Page shift (or 0) */ __u32 pte_enc; /* Encoding in the HPTE (>>12) */ };”…”�”}”hj•Èsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mj hj/Æh²hubhï)�”}”(hŒ¨The "pte_enc" field provides a value that can OR'ed into the hash PTE's RPN field (ie, it needs to be shifted left by 12 to OR it into the hash PTE second double word).”h]”hŒ°The “pte_encâ€� field provides a value that can OR’ed into the hash PTE’s RPN field (ie, it needs to be shifted left by 12 to OR it into the hash PTE second double word).”…”�”}”(hj£Èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mo hj/Æh²hubeh}”(h]”Œkvm-ppc-get-smmu-info”ah ]”h"]”Œ4.74 kvm_ppc_get_smmu_info”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M) ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.75 KVM_IRQFD”h]”hŒ4.75 KVM_IRQFD”…”�”}”(hj¼Èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¹Èh²hh³hÇh´Mt ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÐÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÍÈh³hÇh´Kubj�)�”}”(hŒ KVM_CAP_IRQFD”h]”hï)�”}”(hjàÈh]”hŒ KVM_CAP_IRQFD”…”�”}”(hjâÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mv hjÞÈubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÍÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mv hjÊÈh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjþÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjûÈh³hÇh´Kubj�)�”}”(hŒx86 s390 arm64”h]”hï)�”}”(hjÉh]”hŒx86 s390 arm64”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mw hj Éubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjûÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mw hjÊÈh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj,Éh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj)Éh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj<Éh]”hŒvm ioctl”…”�”}”(hj>Éh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mx hj:Éubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj)Éubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mx hjÊÈh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjZÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjWÉh³hÇh´Kubj�)�”}”(hŒstruct kvm_irqfd (in)”h]”hï)�”}”(hjjÉh]”hŒstruct kvm_irqfd (in)”…”�”}”(hjlÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´My hjhÉubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjWÉubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´My hjÊÈh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjˆÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj…Éh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjšÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mz hj–Éubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj…Éubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mz hjÊÈh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¹Èh²hh³hÇh´Mv ubhï)�”}”(hX£Allows setting an eventfd to directly trigger a guest interrupt. kvm_irqfd.fd specifies the file descriptor to use as the eventfd and kvm_irqfd.gsi specifies the irqchip pin toggled by this event. When an event is triggered on the eventfd, an interrupt is injected into the guest using the specified gsi pin. The irqfd is removed using the KVM_IRQFD_FLAG_DEASSIGN flag, specifying both kvm_irqfd.fd and kvm_irqfd.gsi.”h]”hX£Allows setting an eventfd to directly trigger a guest interrupt. kvm_irqfd.fd specifies the file descriptor to use as the eventfd and kvm_irqfd.gsi specifies the irqchip pin toggled by this event. When an event is triggered on the eventfd, an interrupt is injected into the guest using the specified gsi pin. The irqfd is removed using the KVM_IRQFD_FLAG_DEASSIGN flag, specifying both kvm_irqfd.fd and kvm_irqfd.gsi.”…”�”}”(hjºÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M| hj¹Èh²hubhï)�”}”(hX&With KVM_CAP_IRQFD_RESAMPLE, KVM_IRQFD supports a de-assert and notify mechanism allowing emulation of level-triggered, irqfd-based interrupts. When KVM_IRQFD_FLAG_RESAMPLE is set the user must pass an additional eventfd in the kvm_irqfd.resamplefd field. When operating in resample mode, posting of an interrupt through kvm_irq.fd asserts the specified gsi in the irqchip. When the irqchip is resampled, such as from an EOI, the gsi is de-asserted and the user is notified via kvm_irqfd.resamplefd. It is the user's responsibility to re-queue the interrupt if the device making use of it still requires service. Note that closing the resamplefd is not sufficient to disable the irqfd. The KVM_IRQFD_FLAG_RESAMPLE is only necessary on assignment and need not be specified with KVM_IRQFD_FLAG_DEASSIGN.”•¼h]”hX(With KVM_CAP_IRQFD_RESAMPLE, KVM_IRQFD supports a de-assert and notify mechanism allowing emulation of level-triggered, irqfd-based interrupts. When KVM_IRQFD_FLAG_RESAMPLE is set the user must pass an additional eventfd in the kvm_irqfd.resamplefd field. When operating in resample mode, posting of an interrupt through kvm_irq.fd asserts the specified gsi in the irqchip. When the irqchip is resampled, such as from an EOI, the gsi is de-asserted and the user is notified via kvm_irqfd.resamplefd. It is the user’s responsibility to re-queue the interrupt if the device making use of it still requires service. Note that closing the resamplefd is not sufficient to disable the irqfd. The KVM_IRQFD_FLAG_RESAMPLE is only necessary on assignment and need not be specified with KVM_IRQFD_FLAG_DEASSIGN.”…”�”}”(hjÈÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M„ hj¹Èh²hubhï)�”}”(hŒ@On arm64, gsi routing being supported, the following can happen:”h]”hŒ@On arm64, gsi routing being supported, the following can happen:”…”�”}”(hjÖÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘ hj¹Èh²hubj)�”}”(hhh]”(j)�”}”(hŒCin case no routing entry is associated to this gsi, injection fails”h]”hï)�”}”(hjéÉh]”hŒCin case no routing entry is associated to this gsi, injection fails”…”�”}”(hjëÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“ hjçÉubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjäÉh²hh³hÇh´Nubj)�”}”(hŒoin case the gsi is associated to an irqchip routing entry, irqchip.pin + 32 corresponds to the injected SPI ID.”h]”hï)�”}”(hŒoin case the gsi is associated to an irqchip routing entry, irqchip.pin + 32 corresponds to the injected SPI ID.”h]”hŒoin case the gsi is associated to an irqchip routing entry, irqchip.pin + 32 corresponds to the injected SPI ID.”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M” hjþÉubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjäÉh²hh³hÇh´Nubj)�”}”(hŒ§in case the gsi is associated to an MSI routing entry, the MSI message and device ID are translated into an LPI (support restricted to GICv3 ITS in-kernel emulation). ”h]”hï)�”}”(hŒ¦in case the gsi is associated to an MSI routing entry, the MSI message and device ID are translated into an LPI (support restricted to GICv3 ITS in-kernel emulation).”h]”hŒ¦in case the gsi is associated to an MSI routing entry, the MSI message and device ID are translated into an LPI (support restricted to GICv3 ITS in-kernel emulation).”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M– hjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjäÉh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M“ hj¹Èh²hubeh}”(h]”Œ kvm-irqfd”ah ]”h"]”Œ4.75 kvm_irqfd”ah$]”h&]”uh1hÈhjæh²hh³hÇh´Mt ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.76 KVM_PPC_ALLOCATE_HTAB”h]”hŒ4.76 KVM_PPC_ALLOCATE_HTAB”…”�”}”(hj?Êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj<Êh²hh³hÇh´M› ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjSÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjPÊh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PPC_ALLOC_HTAB”h]”hï)�”}”(hjcÊh]”hŒKVM_CAP_PPC_ALLOC_HTAB”…”�”}”(hjeÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjaÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjPÊubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M� hjMÊh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj�Êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj~Êh³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hj‘Êh]”hŒpowerpc”…”�”}”(hj“Êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž hj�Êubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj~Êubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mž hjMÊh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¯Êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¬Êh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj¿Êh]”hŒvm ioctl”…”�”}”(hjÁÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸ hj½Êubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¬Êubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŸ hjMÊh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÝÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÚÊh³hÇh´Kubj�)�”}”(hŒ3Pointer to u32 containing hash table order (in/out)”h]”hï)�”}”(hjíÊh]”hŒ3Pointer to u32 containing hash table order (in/out)”…”�”}”(hjïÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M  hjëÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÚÊubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M  hjMÊh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj Ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjËh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡ hjËubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¡ hjMÊh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj<Êh²hh³hÇh´M� ubhï)�”}”(hXYThis requests the host kernel to allocate an MMU hash table for a guest using the PAPR paravirtualization interface. This only does anything if the kernel is configured to use the Book 3S HV style of virtualization. Otherwise the capability doesn't exist and the ioctl returns an ENOTTY error. The rest of this description assumes Book 3S HV.”h]”hX[This requests the host kernel to allocate an MMU hash table for a guest using the PAPR paravirtualization interface. This only does anything if the kernel is configured to use the Book 3S HV style of virtualization. Otherwise the capability doesn’t exist and the ioctl returns an ENOTTY error. The rest of this description assumes Book 3S HV.”…”�”}”(hj=Ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£ hj<Êh²hubhï)�”}”(hŒuThere must be no vcpus running when this ioctl is called; if there are, it will do nothing and return an EBUSY error.”h]”hŒuThere must be no vcpus running when this ioctl is called; if there are, it will do nothing and return an EBUSY error.”…”�”}”(hjKËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mª hj<Êh²hubhï)�”}”(hŒýThe parameter is a pointer to a 32-bit unsigned integer variable containing the order (log base 2) of the desired size of the hash table, which must be between 18 and 46. On successful return from the ioctl, the value will not be changed by the kernel.”h]”hŒýThe parameter is a pointer to a 32-bit unsigned integer variable containing the order (log base 2) of the desired size of the hash table, which must be between 18 and 46. On successful return from the ioctl, the value will not be changed by the kernel.”…”�”}”(hjYËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M­ hj<Êh²hubhï)�”}”(hŒ�If no hash table has been allocated when any vcpu is asked to run (with the KVM_RUN ioctl), the host kernel will allocate a default-sized hash table (16 MB).”h]”hŒ�If no hash table has been allocated when any vcpu is asked to run (with the KVM_RUN ioctl), the host kernel will allocate a default-sized hash table (16 MB).”…”�”}”(hjgËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M² hj<Êh²hubhï)�”}”(hXIf this ioctl is called when a hash table has already been allocated, with a different order from the existing hash table, the existing hash table will be freed and a new one allocated. If this is ioctl is called when a hash table has already been allocated of the same order as specified, the kernel will clear out the existing hash table (zero all HPTEs). In either case, if the guest is using the virtualized real-mode area (VRMA) facility, the kernel will re-create the VMRA HPTEs on the next KVM_RUN of any vcpu.”h]”hXIf this ioctl is called when a hash table has already been allocated, with a different order from the existing hash table, the existing hash table will be freed and a new one allocated. If this is ioctl is called when a hash table has already been allocated of the same order as specified, the kernel will clear out the existing hash table (zero all HPTEs). In either case, if the guest is using the virtualized real-mode area (VRMA) facility, the kernel will re-create the VMRA HPTEs on the next KVM_RUN of any vcpu.”…”�”}”(hjuËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶ hj<Êh²hubeh}”(h]”Œkvm-ppc-allocate-htab”ah ]”h"]”Œ4.76 kvm_ppc_allocate_htab”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M› ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.77 KVM_S390_INTERRUPT”h]”hŒ4.77 KVM_S390_INTERRUPT”…”�”}”(hjŽËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj‹Ëh²hh³hÇh´MÀ ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj¢Ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŸËh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj²Ëh]”hŒbasic”…”�”}”(hj´Ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj°Ëubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŸËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjœËh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÐËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÍËh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjàËh]”hŒs390”…”�”}”(hjâËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hjÞËubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÍËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mà hjœËh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjþËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjûËh³hÇh´Kubj�)�”}”(hŒvm ioctl, vcpu ioctl”h]”hï)�”}”(hjÌh]”hŒvm ioctl, vcpu ioctl”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄ hj Ìubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjûËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÄ hjœËh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj,Ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj)Ìh³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_interrupt (in)”h]”hï)�”}”(hj<Ìh]”hŒstruct kvm_s390_interrupt (in)”…”�”}”(hj>Ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅ hj:Ìubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj)Ìubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÅ hjœËh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjZÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjWÌh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjlÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆ hjhÌubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjWÌubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÆ hjœËh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj‹Ëh²hh³hÇh´M ubhï)�”}”(hŒ‹Allows to inject an interrupt to the guest. Interrupts can be floating (vm ioctl) or per cpu (vcpu ioctl), depending on the interrupt type.”h]”hŒ‹Allows to inject an interrupt to the guest. Interrupts can be floating (vm ioctl) or per cpu (vcpu ioctl), depending on the interrupt type.”…”�”}”(hjŒÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈ hj‹Ëh²hubhï)�”}”(hŒ8Interrupt parameters are passed via kvm_s390_interrupt::”h]”hŒ7Interrupt parameters are passed via kvm_s390_interrupt:”…”�”}”(hjšÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MË hj‹Ëh²hubj8)�”}”(hŒVstruct kvm_s390_interrupt { __u32 type; __u32 parm; __u64 parm64; };”h]”hŒVstruct kvm_s390_interrupt { __u32 type; __u32 parm; __u64 parm64; };”…”�”}”hj¨Ìsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÍ hj‹Ëh²hubhï)�”}”(hŒ!type can be one of the following:”h]”hŒ!type can be one of the following:”…”�”}”(hj¶Ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓ hj‹Ëh²hubj )�”}”(hhh]”(j)�”}”(hŒ=KVM_S390_SIGP_STOP (vcpu) - sigp stop; optional flags in parm”h]”(j)�”}”(hŒKVM_S390_SIGP_STOP (vcpu)”h]”hŒKVM_S390_SIGP_STOP (vcpu)”…”�”}”(hjËÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÕ hjÇÌubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ!sigp stop; optional flags in parm”h]”hï)�”}”(hjáÌh]”hŒ!sigp stop; optional flags in parm”…”�”}”(hjãÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖ hjßÌubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÜÌubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MÖ hjÙÌubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjÇÌubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÕ hjÄÌubj)�”}”(hŒ9KVM_S390_PROGRAM_INT (vcpu) - program check; code in parm”h]”(j)�”}”(hŒKVM_S390_PROGRAM_INT (vcpu)”h]”hŒKVM_S390_PROGRAM_INT (vcpu)”…”�”}”(hj Íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M× hjÍubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒprogram check; code in parm”h]”hï)�”}”(hj"Íh]”hŒprogram check; code in parm”…”�”}”(hj$Íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØ hj Íubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÍubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MØ hjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjÍubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M× hjÄÌh²hubj)�”}”(hŒIKVM_S390_SIGP_SET_PREFIX (vcpu) - sigp set prefix; prefix address in parm”h]”(j)�”}”(hŒKVM_S390_SIGP_SET_PREFIX (vcpu)”h]”hŒKVM_S390_SIGP_SET_PREFIX (vcpu)”…”�”}”(hjMÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÙ hjIÍubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ'sigp set prefix; prefix address in parm”h]”hï)�”}”(hjcÍh]”hŒ'sigp set prefix; prefix address in parm”…”�”}”(hjeÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚ hjaÍubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj^Íubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MÚ hj[Íubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjIÍubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÙ hjÄÌh²hubj)�”}”(hŒ!KVM_S390_RESTART (vcpu) - restart”h]”(j)�”}”(hŒKVM_S390_RESTART (vcpu)”h]”hŒKVM_S390_RESTART (vcpu)”…”�”}”(hjŽÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÛ hjŠÍubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒrestart”h]”hï)�”}”(hj¤Íh]”hŒrestart”…”�”}”(hj¦Íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜ hj¢Íubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŸÍubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MÜ hjœÍubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjŠÍubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÛ hjÄÌh²hubj)�”}”(hŒ;KVM_S390_INT_CLOCK_COMP (vcpu) - clock comparator interrupt”h]”(j)�”}”(hŒKVM_S390_INT_CLOCK_COMP (vcpu)”h]”hŒKVM_S390_INT_CLOCK_COMP (vcpu)”…”�”}”(hjÏÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÝ hjËÍubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒclock comparator interrupt”h]”hï)�”}”(hjåÍh]”hŒclock comparator interrupt”…”�”}”(hjçÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞ hjãÍubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjàÍubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MÞ hjÝÍubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjËÍubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÝ hjÄÌh²hubj)�”}”(hŒ3KVM_S390_INT_CPU_TIMER (vcpu) - CPU timer interrupt”h]”(j)�”}”(hŒKVM_S390_INT_CPU_TIMER (vcpu)”h]”hŒKVM_S390_INT_CPU_TIMER (vcpu)”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mß hj Îubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒCPU timer interrupt”h]”hï)�”}”(hj&Îh]”hŒCPU timer interrupt”…”�”}”(hj(Îh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hj$Îubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj!Îubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mà hjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj Îubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mß hjÄÌh²hubj)�”}”(hŒhKVM_S390_INT_VIRTIO (vm) - virtio external interrupt; external interrupt parameters in parm and parm64”h]”(j)�”}”(hŒKVM_S390_INT_VIRTIO (vm)”h]”hŒKVM_S390_INT_VIRTIO (vm)”…”�”}”(hjQÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mâ hjMÎubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒKvirtio external interrupt; external interrupt parameters in parm and parm64”h]”hï)�”}”(hŒKvirtio external interrupt; external interrupt parameters in parm and parm64”h]”hŒKvirtio external interrupt; external interrupt parameters in parm and parm64”…”�”}”(hjiÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mâ hjeÎubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjbÎubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mâ hj_Îubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjMÎubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mâ hjÄÌh²hubj)�”}”(hŒKKVM_S390_INT_SERVICE (vm) - sclp external interrupt; sclp parameter in parm”h]”(j)�”}”(hŒKVM_S390_INT_SERVICE (vm)”h]”hŒKVM_S390_INT_SERVICE (vm)”…”�”}”(hj“Îh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mä hj�Îubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ/sclp external interrupt; sclp parameter in parm”h]”hï)�”}”(hj©Îh]”hŒ/sclp external interrupt; sclp parameter in parm”…”�”}”(hj«Îh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Må hj§Îubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¤Îubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Må hj¡Îubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj�Îubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mä hjÄÌh²hubj)�”}”(hŒBKVM_S390_INT_EMERGENCY (vcpu) - sigp emergency; source cpu in parm”h]”(j)�”}”(hŒKVM_S390_INT_EMERGENCY (vcpu)”h]”hŒKVM_S390_INT_EMERGENCY (vcpu)”…”�”}”(hjÔÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mæ hjÐÎubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ"sigp emergency; source cpu in parm”h]”hï)�”}”(hjêÎh]”hŒ"sigp emergency; source cpu in parm”…”�”}”(hjìÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mç hjèÎubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjåÎubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mç hjâÎubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjÐÎubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mæ hjÄÌh²hubj)�”}”(hŒJKVM_S390_INT_EXTERNAL_CALL (vcpu) - sigp external call; source cpu in parm”h]”(j)�”}”(hŒ!KVM_S390_INT_EXTERNAL_CALL (vcpu)”h]”hŒ!KVM_S390_INT_EXTERNAL_CALL (vcpu)”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mè hjÏubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ&sigp external call; source cpu in parm”h]”hï)�”}”(hj+Ïh]”hŒ&sigp external call; source cpu in parm”…”�”}”(hj-Ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mé hj)Ïubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj&Ïubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mé hj#Ïubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjÏubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mè hjÄÌh²hubj)�”}”(hŒóKVM_S390_INT_IO(ai,cssid,ssid,schid) (vm) - compound value to indicate an I/O interrupt (ai - adapter interrupt; cssid,ssid,schid - subchannel); I/O interruption parameters in parm (subchannel) and parm64 (intparm, interruption subclass)”h]”(j)�”}”(hŒ)KVM_S390_INT_IO(ai,cssid,ssid,schid) (vm)”h]”hŒ)KVM_S390_INT_IO(ai,cssid,ssid,schid) (vm)”…”�”}”(hjVÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mí hjRÏubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒÁcompound value to indicate an I/O interrupt (ai - adapter interrupt; cssid,ssid,schid - subchannel); I/O interruption parameters in parm (subchannel) and parm64 (intparm, interruption subclass)”h]”hï)�”}”(hŒÁcompound value to indicate an I/O interrupt (ai - adapter interrupt; cssid,ssid,schid - subchannel); I/O interruption parameters in parm (subchannel) and parm64 (intparm, interruption subclass)”h]”hŒÁcompound value to indicate an I/O interrupt (ai - adapter interrupt; cssid,ssid,schid - subchannel); I/O interruption parameters in parm (subchannel) and parm64 (intparm, interruption subclass)”…”�”}”(hjnÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Më hjjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjgÏubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Më hjdÏubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjRÏubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mí hjÄÌh²hubj)�”}”(hŒÆKVM_S390_MCHK (vm, vcpu) - machine check interrupt; cr 14 bits in parm, machine check interrupt code in parm64 (note that machine checks needing further payload are not supported by this ioctl) ”h]”(j)�”}”(hŒKVM_S390_MCHK (vm, vcpu)”h]”hŒKVM_S390_MCHK (vm, vcpu)”…”�”}”(hj˜Ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mò hj”Ïubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ§machine check interrupt; cr 14 bits in parm, machine check interrupt code in parm64 (note that machine checks needing further payload are not supported by this ioctl) ”h]”hï)�”}”(hŒ¦machine check interrupt; cr 14 bits in parm, machine check interrupt code in parm64 (note that machine checks needing further payload are not supported by this ioctl)”h]”hŒ¦machine check interrupt; cr 14 bits in parm, machine check interrupt code in parm64 (note that machine checks needing further payload are not supported by this ioctl)”…”�”}”(hj°Ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mð hj¬Ïubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj©Ïubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mð hj¦Ïubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj”Ïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mò hjÄÌh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj‹Ëh²hh³Nh´Nubhï)�”}”(hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”h]”hŒFThis is an asynchronous vcpu ioctl and can be invoked from any thread.”…”�”}”(hjÜÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mô hj‹Ëh²hubeh}”(h]”Œkvm-s390-interrupt”ah ]”h"]”Œ4.77 kvm_s390_interrupt”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÀ ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.78 KVM_PPC_GET_HTAB_FD”h]”hŒ4.78 KVM_PPC_GET_HTAB_FD”…”�”}”(hjõÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjòÏh²hh³hÇh´M÷ ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj Ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÐh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PPC_HTAB_FD”h]”hï)�”}”(hjÐh]”hŒKVM_CAP_PPC_HTAB_FD”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mù hjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÐubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mù hjÐh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj7Ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj4Ðh³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hjGÐh]”hŒpowerpc”…”�”}”(hjIÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú hjEÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj4Ðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mú hjÐh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjeÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjbÐh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjuÐh]”hŒvm ioctl”…”�”}”(hjwÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mû hjsÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjbÐubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mû hjÐh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj“Ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�Ðh³hÇh´Kubj�)�”}”(hŒ&Pointer to struct kvm_get_htab_fd (in)”h]”hï)�”}”(hj£Ðh]”hŒ&Pointer to struct kvm_get_htab_fd (in)”…”�”}”(hj¥Ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü hj¡Ðubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�Ðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mü hjÐh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÁÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾Ðh³hÇh´Kubj�)�”}”(hŒ6file descriptor number (>= 0) on success, -1 on error ”h]”hï)�”}”(hŒ5file descriptor number (>= 0) on success, -1 on error”h]”hŒ5file descriptor number (>= 0) on success, -1 on error”…”�”}”(hjÓÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mý hjÏÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¾Ðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mý hjÐh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjòÏh²hh³hÇh´Mù ubhï)�”}”(hXdThis returns a file descriptor that can be used either to read out the entries in the guest's hashed page table (HPT), or to write entries to initialize the HPT. The returned fd can only be written to if the KVM_GET_HTAB_WRITE bit is set in the flags field of the argument, and can only be read if that bit is clear. The argument struct looks like this::”h]”hXeThis returns a file descriptor that can be used either to read out the entries in the guest’s hashed page table (HPT), or to write entries to initialize the HPT. The returned fd can only be written to if the KVM_GET_HTAB_WRITE bit is set in the flags field of the argument, and can only be read if that bit is clear. The argument struct looks like this:”…”�”}”(hjóÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿ hjòÏh²hubj8)�”}”(hX/* For KVM_PPC_GET_HTAB_FD */ struct kvm_get_htab_fd { __u64 flags; __u64 start_index; __u64 reserved[2]; }; /* Values for kvm_get_htab_fd.flags */ #define KVM_GET_HTAB_BOLTED_ONLY ((__u64)0x1) #define KVM_GET_HTAB_WRITE ((__u64)0x2)”h]”hX/* For KVM_PPC_GET_HTAB_FD */ struct kvm_get_htab_fd { __u64 flags; __u64 start_index; __u64 reserved[2]; }; /* Values for kvm_get_htab_fd.flags */ #define KVM_GET_HTAB_BOLTED_ONLY ((__u64)0x1) #define KVM_GET_HTAB_WRITE ((__u64)0x2)”…”�”}”hjÑsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hjòÏh²hubhï)�”}”(hŒwThe 'start_index' field gives the index in the HPT of the entry at which to start reading. It is ignored when writing.”h]”hŒ{The ‘start_index’ field gives the index in the HPT of the entry at which to start reading. It is ignored when writing.”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjòÏh²hubhï)�”}”(hXµReads on the fd will initially supply information about all "interesting" HPT entries. Interesting entries are those with the bolted bit set, if the KVM_GET_HTAB_BOLTED_ONLY bit is set, otherwise all entries. When the end of the HPT is reached, the read() will return. If read() is called again on the fd, it will start again from the beginning of the HPT, but will only return HPT entries that have changed since they were last read.”h]”hX¹Reads on the fd will initially supply information about all “interestingâ€� HPT entries. Interesting entries are those with the bolted bit set, if the KVM_GET_HTAB_BOLTED_ONLY bit is set, otherwise all entries. When the end of the HPT is reached, the read() will return. If read() is called again on the fd, it will start again from the beginning of the HPT, but will only return HPT entries that have changed since they were last read.”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjòÏh²hubhï)�”}”(hX@Data read or written is structured as a header (8 bytes) followed by a series of valid HPT entries (16 bytes) each. The header indicates how many valid HPT entries there are and how many invalid entries follow the valid entries. The invalid entries are not represented explicitly in the stream. The header format is::”h]”hX?Data read or written is structured as a header (8 bytes) followed by a series of valid HPT entries (16 bytes) each. The header indicates how many valid HPT entries there are and how many invalid entries follow the valid entries. The invalid entries are not represented explicitly in the stream. The header format is:”…”�”}”(hj+Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjòÏh²hubj8)�”}”(hŒdstruct kvm_get_htab_header { __u32 index; __u16 n_valid; __u16 n_invalid; };”h]”hŒdstruct kvm_get_htab_header { __u32 index; __u16 n_valid; __u16 n_invalid; };”…”�”}”hj9Ñsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M" hjòÏh²hubhï)�”}”(hŒäWrites to the fd create HPT entries starting at the index given in the header; first 'n_valid' valid entries with contents from the data written, then 'n_invalid' invalid entries, invalidating any previously valid entries found.”h]”hŒìWrites to the fd create HPT entries starting at the index given in the header; first ‘n_valid’ valid entries with contents from the data written, then ‘n_invalid’ invalid entries, invalidating any previously valid entries found.”…”�”}”(hjGÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hjòÏh²hubeh}”(h]”Œkvm-ppc-get-htab-fd”ah ]”h"]”Œ4.78 kvm_ppc_get_htab_fd”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M÷ ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.79 KVM_CREATE_DEVICE”h]”hŒ4.79 KVM_CREATE_DEVICE”…”�”}”(hj`Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj]Ñh²hh³hÇh´M. ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjtÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjqÑh³hÇh´Kubj�)�”}”(hŒKVM_CAP_DEVICE_CTRL”h]”hï)�”}”(hj„Ñh]”hŒKVM_CAP_DEVICE_CTRL”…”�”}”(hj†Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0 hj‚Ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjqÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M0 hjnÑh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¢Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŸÑh³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj²Ñh]”hŒall”…”�”}”(hj´Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1 hj°Ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŸÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M1 hjnÑh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÐÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÍÑh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjàÑh]”hŒvm ioctl”…”�”}”(hjâÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2 hjÞÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÍÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M2 hjnÑh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjþÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjûÑh³hÇh´Kubj�)�”}”(hŒ!struct kvm_create_device (in/out)”h]”hï)�”}”(hjÒh]”hŒ!struct kvm_create_device (in/out)”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3 hj Òubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjûÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M3 hjnÑh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj,Òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj)Òh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj>Òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4 hj:Òubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj)Òubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M4 hjnÑh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj]Ñh²hh³hÇh´M0 ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj^Òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6 hj]Ñh²hubj )�”}”(hX|====== ======================================================= ENODEV The device type is unknown or unsupported EEXIST Device already created, and this type of device may not be instantiated multiple times ====== ======================================================= Other error conditions may be defined by individual device types or have their standard meanings. ”h]”(jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjsÒubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K7uh1jchjsÒubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENODEV”h]”hŒENODEV”…”�”}”(hj“Òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9 hj�Òubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�Òubj„)�”}”(hhh]”hï)�”}”(hŒ)The device type is unknown or unsupported”h]”hŒ)The device type is unknown or unsupported”…”�”}”(hjªÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9 hj§Òubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�Òubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjŠÒubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEEXIST”h]”hŒEEXIST”…”�”}”(hjÊÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M: hjÇÒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÄÒubj„)�”}”(hhh]”hï)�”}”(hŒVDevice already created, and this type of device may not be instantiated multiple times”h]”hŒVDevice already created, and this type of device may not be instantiated multiple times”…”�”}”(hjáÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M: hjÞÒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÄÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjŠÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjsÒubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjpÒubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjlÒubhï)�”}”(hŒaOther error conditions may be defined by individual device types or have their standard meanings.”h]”hŒaOther error conditions may be defined by individual device types or have their standard meanings.”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M> hjlÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M8 hj]Ñh²hubhï)�”}”(hŒ{Creates an emulated device in the kernel. The file descriptor returned in fd can be used with KVM_SET/GET/HAS_DEVICE_ATTR.”h]”hŒ{Creates an emulated device in the kernel. The file descriptor returned in fd can be used with KVM_SET/GET/HAS_DEVICE_ATTR.”…”�”}”(hj"Óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MA hj]Ñh²hubhï)�”}”(hŒ˜If the KVM_CREATE_DEVICE_TEST flag is set, only test whether the device type is supported (not necessarily whether it can be created in the current vm).”h]”hŒ˜If the KVM_CREATE_DEVICE_TEST flag is set, only test whether the device type is supported (not necessarily whether it can be created in the current vm).”…”�”}”(hj0Óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MD hj]Ñh²hubhï)�”}”(hŒ‘Individual devices should not define flags. Attributes should be used for specifying any behavior that is not implied by the device type number.”h]”hŒ‘Individual devices should not define flags. Attributes should be used for specifying any behavior that is not implied by the device type number.”…”�”}”(hj>Óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH hj]Ñh²hubj8)�”}”(hŒ³struct kvm_create_device { __u32 type; /* in: KVM_DEV_TYPE_xxx */ __u32 fd; /* out: device handle */ __u32 flags; /* in: KVM_CREATE_DEVICE_xxx */ };”h]”hŒ³struct kvm_create_device { __u32 type; /* in: KVM_DEV_TYPE_xxx */ __u32 fd; /* out: device handle */ __u32 flags; /* in: KVM_CREATE_DEVICE_xxx */ };”…”�”}”hjLÓsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MN hj]Ñh²hubeh}”(h]”Œkvm-create-device”ah ]”h"]”Œ4.79 kvm_create_device”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M. ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ,4.80 KVM_SET_DEVICE_ATTR/KVM_GET_DEVICE_ATTR”h]”hŒ,4.80 KVM_SET_DEVICE_ATTR/KVM_GET_DEVICE_ATTR”…”�”}”(hjeÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjbÓh²hh³hÇh´MU ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjyÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjvÓh³hÇh´Kubj�)�”}”(hŒžKVM_CAP_DEVICE_CTRL, KVM_CAP_VM_ATTRIBUTES for vm device, KVM_CAP_VCPU_ATTRIBUTES for vcpu device KVM_CAP_SYS_ATTRIBUTES for system (/dev/kvm) device (no set)”h]”hï)�”}”(hŒžKVM_CAP_DEVICE_CTRL, KVM_CAP_VM_ATTRIBUTES for vm device, KVM_CAP_VCPU_ATTRIBUTES for vcpu device KVM_CAP_SYS_ATTRIBUTES for system (/dev/kvm) device (no set)”h]”hŒžKVM_CAP_DEVICE_CTRL, KVM_CAP_VM_ATTRIBUTES for vm device, KVM_CAP_VCPU_ATTRIBUTES for vcpu device KVM_CAP_SYS_ATTRIBUTES for system (/dev/kvm) device (no set)”…”�”}”(hj‹Óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MW hj‡Óubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjvÓubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MW hjsÓh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¨Óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¥Óh³hÇh´Kubj�)�”}”(hŒx86, arm64, s390”h]”hï)�”}”(hj¸Óh]”hŒx86, arm64, s390”…”�”}”(hjºÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MZ hj¶Óubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¥Óubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MZ hjsÓh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÖÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÓÓh³hÇh´Kubj�)�”}”(hŒ"device ioctl, vm ioctl, vcpu ioctl”h]”hï)�”}”(hjæÓh]”hŒ"device ioctl, vm ioctl, vcpu ioctl”…”�”}”(hjèÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[ hjäÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÓÓubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M[ hjsÓh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔh³hÇh´Kubj�)�”}”(hŒstruct kvm_device_attr”h]”hï)�”}”(hjÔh]”hŒstruct kvm_device_attr”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\ hjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M\ hjsÓh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj2Ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj/Ôh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjDÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M] hj@Ôubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj/Ôubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M] hjsÓh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjbÓh²hh³hÇh´MW ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hjdÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M_ hjbÓh²hubj )�”}”(hXò===== ============================================================= ENXIO The group or attribute is unknown/unsupported for this device or hardware support is missing. EPERM The attribute cannot (currently) be accessed this way (e.g. read-only attribute, or attribute that only makes sense when the device is in a different state) ===== ============================================================= Other error conditions may be defined by individual device types. ”h]”(jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjyÔubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K=uh1jchjyÔubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENXIO”h]”hŒENXIO”…”�”}”(hj™Ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mb hj–Ôubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“Ôubj„)�”}”(hhh]”hï)�”}”(hŒ]The group or attribute is unknown/unsupported for this device or hardware support is missing.”h]”hŒ]The group or attribute is unknown/unsupported for this device or hardware support is missing.”…”�”}”(hj°Ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mb hj­Ôubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj“Ôubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj�Ôubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEPERM”h]”hŒEPERM”…”�”}”(hjÐÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Md hjÍÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÊÔubj„)�”}”(hhh]”hï)�”}”(hŒœThe attribute cannot (currently) be accessed this way (e.g. read-only attribute, or attribute that only makes sense when the device is in a different state)”h]”hŒœThe attribute cannot (currently) be accessed this way (e.g. read-only attribute, or attribute that only makes sense when the device is in a different state)”…”�”}”(hjçÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Md hjäÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÊÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj�Ôubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjyÔubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjvÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjrÔubhï)�”}”(hŒAOther error conditions may be defined by individual device types.”h]”hŒAOther error conditions may be defined by individual device types.”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mi hjrÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Ma hjbÓh²hubhï)�”}”(hXGets/sets a specified piece of device configuration and/or state. The semantics are device-specific. See individual device documentation in the "devices" directory. As with ONE_REG, the size of the data transferred is defined by the particular attribute.”h]”hXGets/sets a specified piece of device configuration and/or state. The semantics are device-specific. See individual device documentation in the “devicesâ€� directory. As with ONE_REG, the size of the data transferred is defined by the particular attribute.”…”�”}”(hj(Õh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mk hjbÓh²hubj8)�”}”(hXstruct kvm_device_attr { __u32 flags; /* no flags currently defined */ __u32 group; /* device-defined */ __u64 attr; /* group-defined */ __u64 addr; /* userspace address of attr data */ };”h]”hXstruct kvm_device_attr { __u32 flags; /* no flags currently defined */ __u32 group; /* device-defined */ __u64 attr; /* group-defined */ __u64 addr; /* userspace address of attr data */ };”…”�”}”hj6Õsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mr hjbÓh²hubeh}”(h]”Œ'kvm-set-device-attr-kvm-get-device-attr”ah ]”h"]”Œ,4.80 kvm_set_device_attr/kvm_get_device_attr”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MU ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.81 KVM_HAS_DEVICE_ATTR”h]”hŒ4.81 KVM_HAS_DEVICE_ATTR”…”�”}”(hjOÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjLÕh²hh³hÇh´Mz ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjcÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj`Õh³hÇh´Kubj�)�”}”(hŒ•KVM_CAP_DEVICE_CTRL, KVM_CAP_VM_ATTRIBUTES for vm device, KVM_CAP_VCPU_ATTRIBUTES for vcpu device KVM_CAP_SYS_ATTRIBUTES for system (/dev/kvm) device”h]”hï)�”}”(hŒ•KVM_CAP_DEVICE_CTRL, KVM_CAP_VM_ATTRIBUTES for vm device, KVM_CAP_VCPU_ATTRIBUTES for vcpu device KVM_CAP_SYS_ATTRIBUTES for system (/dev/kvm) device”h]”hŒ•KVM_CAP_DEVICE_CTRL, KVM_CAP_VM_ATTRIBUTES for vm device, KVM_CAP_VCPU_ATTRIBUTES for vcpu device KVM_CAP_SYS_ATTRIBUTES for system (/dev/kvm) device”…”�”}”(hjuÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M| hjqÕubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj`Õubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M| hj]Õh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj’Õh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�Õh³hÇh´Kubj�)�”}”(hŒ"device ioctl, vm ioctl, vcpu ioctl”h]”hï)�”}”(hj¢Õh]”hŒ"device ioctl, vm ioctl, vcpu ioctl”…”�”}”(hj¤Õh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj Õubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�Õubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj]Õh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÀÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj½Õh³hÇh´Kubj�)�”}”(hŒstruct kvm_device_attr”h]”hï)�”}”(hjÐÕh]”hŒstruct kvm_device_attr”…”�”}”(hjÒÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M€ hjÎÕubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj½Õubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M€ hj]Õh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjîÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjëÕh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjüÕubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjëÕubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M� hj]Õh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjLÕh²hh³hÇh´M| ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj Öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mƒ hjLÕh²hubj )�”}”(hŒú===== ============================================================= ENXIO The group or attribute is unknown/unsupported for this device or hardware support is missing. ===== ============================================================= ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj5Öubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K=uh1jchj5Öubjz)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENXIO”h]”hŒENXIO”…”�”}”(hjUÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M† hjRÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjOÖubj„)�”}”(hhh]”hï)�”}”(hŒ]The group or attribute is unknown/unsupported for this device or hardware support is missing.”h]”hŒ]The group or attribute is unknown/unsupported for this device or hardware support is missing.”…”�”}”(hjlÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M† hjiÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjOÖubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjLÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jyhj5Öubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj2Öubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj.Öubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M… hjLÕh²hubhï)�”}”(hŒóTests whether a device supports a particular attribute. A successful return indicates the attribute is implemented. It does not necessarily indicate that the attribute can be read or written in the device's current state. "addr" is ignored.”h]”hŒùTests whether a device supports a particular attribute. A successful return indicates the attribute is implemented. It does not necessarily indicate that the attribute can be read or written in the device’s current state. “addrâ€� is ignored.”…”�”}”(hjŸÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠ hjLÕh²hubjT)�”}”(hŒ.. _KVM_ARM_VCPU_INIT:”h]”h}”(h]”h ]”h"]”h$]”h&]”j_Œkvm-arm-vcpu-init”uh1jSh´M� hjLÕh²hh³hÇubeh}”(h]”Œkvm-has-device-attr”ah ]”h"]”Œ4.81 kvm_has_device_attr”ah$]”h&]”uh1hÈhjæh²hh³hÇh´Mz ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.82 KVM_ARM_VCPU_INIT”h]”hŒ4.82 KVM_ARM_VCPU_INIT”…”�”}”(hjÃÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÀÖh²hh³hÇh´M’ ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj×Öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔÖh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjçÖh]”hŒbasic”…”�”}”(hjéÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M” hjåÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÔÖubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M” hjÑÖh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj×h³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hj×h]”hŒarm64”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M• hj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M• hjÑÖh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj3×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj0×h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjC×h]”hŒ vcpu ioctl”…”�”}”(hjE×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M– hjA×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj0×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M– hjÑÖh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hja×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj^×h³hÇh´Kubj�)�”}”(hŒstruct kvm_vcpu_init (in)”h]”hï)�”}”(hjq×h]”hŒstruct kvm_vcpu_init (in)”…”�”}”(hjs×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M— hjo×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj^×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M— hjÑÖh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj�×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŒ×h³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj¡×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜ hj�×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŒ×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M˜ hjÑÖh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÀÖh²hh³hÇh´M” ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hjÁ×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mš hjÀÖh²hubj )�”}”(hX====== ================================================================= EINVAL the target is unknown, or the combination of features is invalid. ENOENT a features bit specified is unknown. ====== ================================================================= ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjÖ×ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”KAuh1jchjÖ×ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINVAL”h]”hŒEINVAL”…”�”}”(hjö×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hjó×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjð×ubj„)�”}”(hhh]”hï)�”}”(hŒAthe target is unknown, or the combination of features is invalid.”h]”hŒAthe target is unknown, or the combination of features is invalid.”…”�”}”(hj Øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hj Øubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjð×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjí×ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENOENT”h]”hŒENOENT”…”�”}”(hj-Øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž hj*Øubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj'Øubj„)�”}”(hhh]”hï)�”}”(hŒ$a features bit specified is unknown.”h]”hŒ$a features bit specified is unknown.”…”�”}”(hjDØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž hjAØubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj'Øubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjí×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjÖ×ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjÓ×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjÏ×ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mœ hjÀÖh²hubhï)�”}”(hŒíThis tells KVM what type of CPU to present to the guest, and what optional features it should have. This will cause a reset of the cpu registers to their initial values. If this is not called, KVM_RUN will return ENOEXEC for that vcpu.”h]”hŒíThis tells KVM what type of CPU to present to the guest, and what optional features it should have. This will cause a reset of the cpu registers to their initial values. If this is not called, KVM_RUN will return ENOEXEC for that vcpu.”…”�”}”(hjwØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡ hjÀÖh²hubj )�”}”(hhh]”j)�”}”(hXïThe initial values are defined as: - Processor state: * AArch64: EL1h, D, A, I and F bits set. All other bits are cleared. * AArch32: SVC, A, I and F bits set. All other bits are cleared. - General Purpose registers, including PC and SP: set to 0 - FPSIMD/NEON registers: set to 0 - SVE registers: set to 0 - System registers: Reset to their architecturally defined values as for a warm reset to EL1 (resp. SVC) or EL2 (in the case of EL2 being enabled). ”h]”(j)�”}”(hŒ"The initial values are defined as:”h]”hŒ"The initial values are defined as:”…”�”}”(hjŒØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M± hjˆØubj%)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hŒ²Processor state: * AArch64: EL1h, D, A, I and F bits set. All other bits are cleared. * AArch32: SVC, A, I and F bits set. All other bits are cleared.”h]”j )�”}”(hhh]”j)�”}”(hŒšProcessor state: * AArch64: EL1h, D, A, I and F bits set. All other bits are cleared. * AArch32: SVC, A, I and F bits set. All other bits are cleared.”h]”(j)�”}”(hŒProcessor state:”h]”hŒProcessor state:”…”�”}”(hj«Øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mª hj§Øubj%)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hŒBAArch64: EL1h, D, A, I and F bits set. All other bits are cleared.”h]”hï)�”}”(hŒBAArch64: EL1h, D, A, I and F bits set. All other bits are cleared.”h]”hŒBAArch64: EL1h, D, A, I and F bits set. All other bits are cleared.”…”�”}”(hjÃØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨ hj¿Øubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¼Øubj)�”}”(hŒ>AArch32: SVC, A, I and F bits set. All other bits are cleared.”h]”hï)�”}”(hŒ>AArch32: SVC, A, I and F bits set. All other bits are cleared.”h]”hŒ>AArch32: SVC, A, I and F bits set. All other bits are cleared.”…”�”}”(hjÛØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mª hjרubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¼Øubeh}”(h]”h ]”h"]”h$]”h&]”j©Œ*”uh1jh³hÇh´M¨ hj¹Øubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj§Øubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mª hj¤Øubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj Øubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�Øubj)�”}”(hŒ8General Purpose registers, including PC and SP: set to 0”h]”hï)�”}”(hjÙh]”hŒ8General Purpose registers, including PC and SP: set to 0”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬ hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�Øubj)�”}”(hŒFPSIMD/NEON registers: set to 0”h]”hï)�”}”(hj'Ùh]”hŒFPSIMD/NEON registers: set to 0”…”�”}”(hj)Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M­ hj%Ùubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�Øubj)�”}”(hŒSVE registers: set to 0”h]”hï)�”}”(hj>Ùh]”hŒSVE registers: set to 0”…”�”}”(hj@Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M® hj<Ùubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�Øubj)�”}”(hŒ’System registers: Reset to their architecturally defined values as for a warm reset to EL1 (resp. SVC) or EL2 (in the case of EL2 being enabled). ”h]”hï)�”}”(hŒ‘System registers: Reset to their architecturally defined values as for a warm reset to EL1 (resp. SVC) or EL2 (in the case of EL2 being enabled).”h]”hŒ‘System registers: Reset to their architecturally defined values as for a warm reset to EL1 (resp. SVC) or EL2 (in the case of EL2 being enabled).”…”�”}”(hjWÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯ hjSÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�Øubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M§ hjšØubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjˆØubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M± hj…Øubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjÀÖh²hh³Nh´Nubhï)�”}”(hŒtNote that because some registers reflect machine topology, all vcpus should be created before this ioctl is invoked.”h]”hŒtNote that because some registers reflect machine topology, all vcpus should be created before this ioctl is invoked.”…”�”}”(hjƒÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³ hjÀÖh²hubhï)�”}”(hX$Userspace can call this function multiple times for a given vcpu, including after the vcpu has been run. This will reset the vcpu to its initial state. All calls to this function after the initial call must use the same target and same set of feature flags, otherwise EINVAL will be returned.”h]”hX$Userspace can call this function multiple times for a given vcpu, including after the vcpu has been run. This will reset the vcpu to its initial state. All calls to this function after the initial call must use the same target and same set of feature flags, otherwise EINVAL will be returned.”…”�”}”(hj‘Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶ hjÀÖh²hubhï)�”}”(hŒPossible features:”h]”hŒPossible features:”…”�”}”(hjŸÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M» hjÀÖh²hubj )�”}”(hX& - KVM_ARM_VCPU_POWER_OFF: Starts the CPU in a power-off state. Depends on KVM_CAP_ARM_PSCI. If not set, the CPU will be powered on and execute guest code when KVM_RUN is called. - KVM_ARM_VCPU_EL1_32BIT: Starts the CPU in a 32bit mode. Depends on KVM_CAP_ARM_EL1_32BIT (arm64 only). - KVM_ARM_VCPU_PSCI_0_2: Emulate PSCI v0.2 (or a future revision backward compatible with v0.2) for the CPU. Depends on KVM_CAP_ARM_PSCI_0_2. - KVM_ARM_VCPU_PMU_V3: Emulate PMUv3 for the CPU. Depends on KVM_CAP_ARM_PMU_V3. - KVM_ARM_VCPU_PMU_V3_STRICT: Enable strict PMUv3 UAPI. Requires KVM_ARM_VCPU_PMU_V3. Depends on KVM_CAP_ARM_PMU_V3_STRICT. When enabled: * Userspace must explicitly select a PMU implementation before initializing the PMU or configuring a PMU event filter * If the PMU implements FEAT_PMUv3p4, PMMIR_EL1.SLOTS provides the hardware value of the underlying implementation * Writes to PMCR_EL0.N via KVM_SET_ONE_REG are ignored - KVM_ARM_VCPU_PTRAUTH_ADDRESS: Enables Address Pointer authentication for arm64 only. Depends on KVM_CAP_ARM_PTRAUTH_ADDRESS. If KVM_CAP_ARM_PTRAUTH_ADDRESS and KVM_CAP_ARM_PTRAUTH_GENERIC are both present, then both KVM_ARM_VCPU_PTRAUTH_ADDRESS and KVM_ARM_VCPU_PTRAUTH_GENERIC must be requested or neither must be requested. - KVM_ARM_VCPU_PTRAUTH_GENERIC: Enables Generic Pointer authentication for arm64 only. Depends on KVM_CAP_ARM_PTRAUTH_GENERIC. If KVM_CAP_ARM_PTRAUTH_ADDRESS and KVM_CAP_ARM_PTRAUTH_GENERIC are both present, then both KVM_ARM_VCPU_PTRAUTH_ADDRESS and KVM_ARM_VCPU_PTRAUTH_GENERIC must be requested or neither must be requested. - KVM_ARM_VCPU_SVE: Enables SVE for the CPU (arm64 only). Depends on KVM_CAP_ARM_SVE. Requires KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): * After KVM_ARM_VCPU_INIT: - KVM_REG_ARM64_SVE_VLS may be read using KVM_GET_ONE_REG: the initial value of this pseudo-register indicates the best set of vector lengths possible for a vcpu on this host. * Before KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): - KVM_RUN and KVM_GET_REG_LIST are not available; - KVM_GET_ONE_REG and KVM_SET_ONE_REG cannot be used to access the scalable architectural SVE registers KVM_REG_ARM64_SVE_ZREG(), KVM_REG_ARM64_SVE_PREG() or KVM_REG_ARM64_SVE_FFR; - KVM_REG_ARM64_SVE_VLS may optionally be written using KVM_SET_ONE_REG, to modify the set of vector lengths available for the vcpu. * After KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): - the KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can no longer be written using KVM_SET_ONE_REG. - KVM_ARM_VCPU_HAS_EL2: Enable Nested Virtualisation support, booting the guest from EL2 instead of EL1. Depends on KVM_CAP_ARM_EL2. The VM is running with HCR_EL2.E2H being RES1 (VHE) unless KVM_ARM_VCPU_HAS_EL2_E2H0 is also set. - KVM_ARM_VCPU_HAS_EL2_E2H0: Restrict Nested Virtualisation support to HCR_EL2.E2H being RES0 (non-VHE). Depends on KVM_CAP_ARM_EL2_E2H0. KVM_ARM_VCPU_HAS_EL2 must also be set. ”h]”j)�”}”(hhh]”(j)�”}”(hŒ°KVM_ARM_VCPU_POWER_OFF: Starts the CPU in a power-off state. Depends on KVM_CAP_ARM_PSCI. If not set, the CPU will be powered on and execute guest code when KVM_RUN is called.”h]”hï)�”}”(hŒ°KVM_ARM_VCPU_POWER_OFF: Starts the CPU in a power-off state. Depends on KVM_CAP_ARM_PSCI. If not set, the CPU will be powered on and execute guest code when KVM_RUN is called.”h]”hŒ°KVM_ARM_VCPU_POWER_OFF: Starts the CPU in a power-off state. Depends on KVM_CAP_ARM_PSCI. If not set, the CPU will be powered on and execute guest code when KVM_RUN is called.”…”�”}”(hj¸Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½ hj´Ùubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hŒfKVM_ARM_VCPU_EL1_32BIT: Starts the CPU in a 32bit mode. Depends on KVM_CAP_ARM_EL1_32BIT (arm64 only).”h]”hï)�”}”(hŒfKVM_ARM_VCPU_EL1_32BIT: Starts the CPU in a 32bit mode. Depends on KVM_CAP_ARM_EL1_32BIT (arm64 only).”h]”hŒfKVM_ARM_VCPU_EL1_32BIT: Starts the CPU in a 32bit mode. Depends on KVM_CAP_ARM_EL1_32BIT (arm64 only).”…”�”}”(hjÐÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀ hjÌÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hŒ‹KVM_ARM_VCPU_PSCI_0_2: Emulate PSCI v0.2 (or a future revision backward compatible with v0.2) for the CPU. Depends on KVM_CAP_ARM_PSCI_0_2.”h]”hï)�”}”(hŒ‹KVM_ARM_VCPU_PSCI_0_2: Emulate PSCI v0.2 (or a future revision backward compatible with v0.2) for the CPU. Depends on KVM_CAP_ARM_PSCI_0_2.”h]”hŒ‹KVM_ARM_VCPU_PSCI_0_2: Emulate PSCI v0.2 (or a future revision backward compatible with v0.2) for the CPU. Depends on KVM_CAP_ARM_PSCI_0_2.”…”�”}”(hjèÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjäÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hŒNKVM_ARM_VCPU_PMU_V3: Emulate PMUv3 for the CPU. Depends on KVM_CAP_ARM_PMU_V3.”h]”hï)�”}”(hŒNKVM_ARM_VCPU_PMU_V3: Emulate PMUv3 for the CPU. Depends on KVM_CAP_ARM_PMU_V3.”h]”hŒNKVM_ARM_VCPU_PMU_V3: Emulate PMUv3 for the CPU. Depends on KVM_CAP_ARM_PMU_V3.”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅ hjüÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hX¹KVM_ARM_VCPU_PMU_V3_STRICT: Enable strict PMUv3 UAPI. Requires KVM_ARM_VCPU_PMU_V3. Depends on KVM_CAP_ARM_PMU_V3_STRICT. When enabled: * Userspace must explicitly select a PMU implementation before initializing the PMU or configuring a PMU event filter * If the PMU implements FEAT_PMUv3p4, PMMIR_EL1.SLOTS provides the hardware value of the underlying implementation * Writes to PMCR_EL0.N via KVM_SET_ONE_REG are ignored ”h]”(hï)�”}”(hŒ‡KVM_ARM_VCPU_PMU_V3_STRICT: Enable strict PMUv3 UAPI. Requires KVM_ARM_VCPU_PMU_V3. Depends on KVM_CAP_ARM_PMU_V3_STRICT. When enabled:”h]”hŒ‡KVM_ARM_VCPU_PMU_V3_STRICT: Enable strict PMUv3 UAPI. Requires KVM_ARM_VCPU_PMU_V3. Depends on KVM_CAP_ARM_PMU_V3_STRICT. When enabled:”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇ hjÚubj )�”}”(hX&* Userspace must explicitly select a PMU implementation before initializing the PMU or configuring a PMU event filter * If the PMU implements FEAT_PMUv3p4, PMMIR_EL1.SLOTS provides the hardware value of the underlying implementation * Writes to PMCR_EL0.N via KVM_SET_ONE_REG are ignored ”h]”j)�”}”(hhh]”(j)�”}”(hŒtUserspace must explicitly select a PMU implementation before initializing the PMU or configuring a PMU event filter ”h]”hï)�”}”(hŒsUserspace must explicitly select a PMU implementation before initializing the PMU or configuring a PMU event filter”h]”hŒsUserspace must explicitly select a PMU implementation before initializing the PMU or configuring a PMU event filter”…”�”}”(hj1Úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MË hj-Úubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj*Úubj)�”}”(hŒqIf the PMU implements FEAT_PMUv3p4, PMMIR_EL1.SLOTS provides the hardware value of the underlying implementation ”h]”hï)�”}”(hŒpIf the PMU implements FEAT_PMUv3p4, PMMIR_EL1.SLOTS provides the hardware value of the underlying implementation”h]”hŒpIf the PMU implements FEAT_PMUv3p4, PMMIR_EL1.SLOTS provides the hardware value of the underlying implementation”…”�”}”(hjIÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎ hjEÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj*Úubj)�”}”(hŒ5Writes to PMCR_EL0.N via KVM_SET_ONE_REG are ignored ”h]”hï)�”}”(hŒ4Writes to PMCR_EL0.N via KVM_SET_ONE_REG are ignored”h]”hŒ4Writes to PMCR_EL0.N via KVM_SET_ONE_REG are ignored”…”�”}”(hjaÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑ hj]Úubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj*Úubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´MË hj&Úubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MË hjÚubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hXFKVM_ARM_VCPU_PTRAUTH_ADDRESS: Enables Address Pointer authentication for arm64 only. Depends on KVM_CAP_ARM_PTRAUTH_ADDRESS. If KVM_CAP_ARM_PTRAUTH_ADDRESS and KVM_CAP_ARM_PTRAUTH_GENERIC are both present, then both KVM_ARM_VCPU_PTRAUTH_ADDRESS and KVM_ARM_VCPU_PTRAUTH_GENERIC must be requested or neither must be requested. ”h]”hï)�”}”(hXEKVM_ARM_VCPU_PTRAUTH_ADDRESS: Enables Address Pointer authentication for arm64 only. Depends on KVM_CAP_ARM_PTRAUTH_ADDRESS. If KVM_CAP_ARM_PTRAUTH_ADDRESS and KVM_CAP_ARM_PTRAUTH_GENERIC are both present, then both KVM_ARM_VCPU_PTRAUTH_ADDRESS and KVM_ARM_VCPU_PTRAUTH_GENERIC must be requested or neither must be requested.”h]”hXEKVM_ARM_VCPU_PTRAUTH_ADDRESS: Enables Address Pointer authentication for arm64 only. Depends on KVM_CAP_ARM_PTRAUTH_ADDRESS. If KVM_CAP_ARM_PTRAUTH_ADDRESS and KVM_CAP_ARM_PTRAUTH_GENERIC are both present, then both KVM_ARM_VCPU_PTRAUTH_ADDRESS and KVM_ARM_VCPU_PTRAUTH_GENERIC must be requested or neither must be requested.”…”�”}”(hj‹Úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓ hj‡Úubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hXFKVM_ARM_VCPU_PTRAUTH_GENERIC: Enables Generic Pointer authentication for arm64 only. Depends on KVM_CAP_ARM_PTRAUTH_GENERIC. If KVM_CAP_ARM_PTRAUTH_ADDRESS and KVM_CAP_ARM_PTRAUTH_GENERIC are both present, then both KVM_ARM_VCPU_PTRAUTH_ADDRESS and KVM_ARM_VCPU_PTRAUTH_GENERIC must be requested or neither must be requested. ”h]”hï)�”}”(hXEKVM_ARM_VCPU_PTRAUTH_GENERIC: Enables Generic Pointer authentication for arm64 only. Depends on KVM_CAP_ARM_PTRAUTH_GENERIC. If KVM_CAP_ARM_PTRAUTH_ADDRESS and KVM_CAP_ARM_PTRAUTH_GENERIC are both present, then both KVM_ARM_VCPU_PTRAUTH_ADDRESS and KVM_ARM_VCPU_PTRAUTH_GENERIC must be requested or neither must be requested.”h]”hXEKVM_ARM_VCPU_PTRAUTH_GENERIC: Enables Generic Pointer authentication for arm64 only. Depends on KVM_CAP_ARM_PTRAUTH_GENERIC. If KVM_CAP_ARM_PTRAUTH_ADDRESS and KVM_CAP_ARM_PTRAUTH_GENERIC are both present, then both KVM_ARM_VCPU_PTRAUTH_ADDRESS and KVM_ARM_VCPU_PTRAUTH_GENERIC must be requested or neither must be requested.”…”�”}”(hj£Úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛ hjŸÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hXÝKVM_ARM_VCPU_SVE: Enables SVE for the CPU (arm64 only). Depends on KVM_CAP_ARM_SVE. Requires KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): * After KVM_ARM_VCPU_INIT: - KVM_REG_ARM64_SVE_VLS may be read using KVM_GET_ONE_REG: the initial value of this pseudo-register indicates the best set of vector lengths possible for a vcpu on this host. * Before KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): - KVM_RUN and KVM_GET_REG_LIST are not available; - KVM_GET_ONE_REG and KVM_SET_ONE_REG cannot be used to access the scalable architectural SVE registers KVM_REG_ARM64_SVE_ZREG(), KVM_REG_ARM64_SVE_PREG() or KVM_REG_ARM64_SVE_FFR; - KVM_REG_ARM64_SVE_VLS may optionally be written using KVM_SET_ONE_REG, to modify the set of vector lengths available for the vcpu. * After KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): - the KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can no longer be written using KVM_SET_ONE_REG. ”•h]”(hï)�”}”(hŒ…KVM_ARM_VCPU_SVE: Enables SVE for the CPU (arm64 only). Depends on KVM_CAP_ARM_SVE. Requires KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE):”h]”hŒ…KVM_ARM_VCPU_SVE: Enables SVE for the CPU (arm64 only). Depends on KVM_CAP_ARM_SVE. Requires KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE):”…”�”}”(hj»Úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã hj·Úubj )�”}”(hXF* After KVM_ARM_VCPU_INIT: - KVM_REG_ARM64_SVE_VLS may be read using KVM_GET_ONE_REG: the initial value of this pseudo-register indicates the best set of vector lengths possible for a vcpu on this host. * Before KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): - KVM_RUN and KVM_GET_REG_LIST are not available; - KVM_GET_ONE_REG and KVM_SET_ONE_REG cannot be used to access the scalable architectural SVE registers KVM_REG_ARM64_SVE_ZREG(), KVM_REG_ARM64_SVE_PREG() or KVM_REG_ARM64_SVE_FFR; - KVM_REG_ARM64_SVE_VLS may optionally be written using KVM_SET_ONE_REG, to modify the set of vector lengths available for the vcpu. * After KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): - the KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can no longer be written using KVM_SET_ONE_REG. ”h]”j)�”}”(hhh]”(j)�”}”(hŒÑAfter KVM_ARM_VCPU_INIT: - KVM_REG_ARM64_SVE_VLS may be read using KVM_GET_ONE_REG: the initial value of this pseudo-register indicates the best set of vector lengths possible for a vcpu on this host. ”h]”(hï)�”}”(hŒAfter KVM_ARM_VCPU_INIT:”h]”hŒAfter KVM_ARM_VCPU_INIT:”…”�”}”(hjÔÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mç hjÐÚubj )�”}”(hŒ´- KVM_REG_ARM64_SVE_VLS may be read using KVM_GET_ONE_REG: the initial value of this pseudo-register indicates the best set of vector lengths possible for a vcpu on this host. ”h]”j)�”}”(hhh]”j)�”}”(hŒ®KVM_REG_ARM64_SVE_VLS may be read using KVM_GET_ONE_REG: the initial value of this pseudo-register indicates the best set of vector lengths possible for a vcpu on this host. ”h]”hï)�”}”(hŒ­KVM_REG_ARM64_SVE_VLS may be read using KVM_GET_ONE_REG: the initial value of this pseudo-register indicates the best set of vector lengths possible for a vcpu on this host.”h]”hŒ­KVM_REG_ARM64_SVE_VLS may be read using KVM_GET_ONE_REG: the initial value of this pseudo-register indicates the best set of vector lengths possible for a vcpu on this host.”…”�”}”(hjíÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mé hjéÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjæÚubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mé hjâÚubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mé hjÐÚubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjÍÚubj)�”}”(hX±Before KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): - KVM_RUN and KVM_GET_REG_LIST are not available; - KVM_GET_ONE_REG and KVM_SET_ONE_REG cannot be used to access the scalable architectural SVE registers KVM_REG_ARM64_SVE_ZREG(), KVM_REG_ARM64_SVE_PREG() or KVM_REG_ARM64_SVE_FFR; - KVM_REG_ARM64_SVE_VLS may optionally be written using KVM_SET_ONE_REG, to modify the set of vector lengths available for the vcpu. ”h]”(hï)�”}”(hŒ/Before KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE):”h]”hŒ/Before KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE):”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mí hjÛubj )�”}”(hXx- KVM_RUN and KVM_GET_REG_LIST are not available; - KVM_GET_ONE_REG and KVM_SET_ONE_REG cannot be used to access the scalable architectural SVE registers KVM_REG_ARM64_SVE_ZREG(), KVM_REG_ARM64_SVE_PREG() or KVM_REG_ARM64_SVE_FFR; - KVM_REG_ARM64_SVE_VLS may optionally be written using KVM_SET_ONE_REG, to modify the set of vector lengths available for the vcpu. ”h]”j)�”}”(hhh]”(j)�”}”(hŒ0KVM_RUN and KVM_GET_REG_LIST are not available; ”h]”hï)�”}”(hŒ/KVM_RUN and KVM_GET_REG_LIST are not available;”h]”hŒ/KVM_RUN and KVM_GET_REG_LIST are not available;”…”�”}”(hj0Ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mï hj,Ûubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj)Ûubj)�”}”(hŒ³KVM_GET_ONE_REG and KVM_SET_ONE_REG cannot be used to access the scalable architectural SVE registers KVM_REG_ARM64_SVE_ZREG(), KVM_REG_ARM64_SVE_PREG() or KVM_REG_ARM64_SVE_FFR; ”h]”hï)�”}”(hŒ²KVM_GET_ONE_REG and KVM_SET_ONE_REG cannot be used to access the scalable architectural SVE registers KVM_REG_ARM64_SVE_ZREG(), KVM_REG_ARM64_SVE_PREG() or KVM_REG_ARM64_SVE_FFR;”h]”hŒ²KVM_GET_ONE_REG and KVM_SET_ONE_REG cannot be used to access the scalable architectural SVE registers KVM_REG_ARM64_SVE_ZREG(), KVM_REG_ARM64_SVE_PREG() or KVM_REG_ARM64_SVE_FFR;”…”�”}”(hjHÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñ hjDÛubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj)Ûubj)�”}”(hŒƒKVM_REG_ARM64_SVE_VLS may optionally be written using KVM_SET_ONE_REG, to modify the set of vector lengths available for the vcpu. ”h]”hï)�”}”(hŒ‚KVM_REG_ARM64_SVE_VLS may optionally be written using KVM_SET_ONE_REG, to modify the set of vector lengths available for the vcpu.”h]”hŒ‚KVM_REG_ARM64_SVE_VLS may optionally be written using KVM_SET_ONE_REG, to modify the set of vector lengths available for the vcpu.”…”�”}”(hj`Ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mö hj\Ûubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj)Ûubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mï hj%Ûubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mï hjÛubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjÍÚubj)�”}”(hŒ¢After KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE): - the KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can no longer be written using KVM_SET_ONE_REG. ”h]”(hï)�”}”(hŒ.After KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE):”h]”hŒ.After KVM_ARM_VCPU_FINALIZE(KVM_ARM_VCPU_SVE):”…”�”}”(hjŠÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú hj†Ûubj )�”}”(hŒp- the KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can no longer be written using KVM_SET_ONE_REG. ”h]”j)�”}”(hhh]”j)�”}”(hŒlthe KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can no longer be written using KVM_SET_ONE_REG. ”h]”hï)�”}”(hŒkthe KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can no longer be written using KVM_SET_ONE_REG.”h]”hŒkthe KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can no longer be written using KVM_SET_ONE_REG.”…”�”}”(hj£Ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü hjŸÛubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjœÛubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mü hj˜Ûubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mü hj†Ûubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjÍÚubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´Mç hjÉÚubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mç hj·Úubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hŒåKVM_ARM_VCPU_HAS_EL2: Enable Nested Virtualisation support, booting the guest from EL2 instead of EL1. Depends on KVM_CAP_ARM_EL2. The VM is running with HCR_EL2.E2H being RES1 (VHE) unless KVM_ARM_VCPU_HAS_EL2_E2H0 is also set. ”h]”hï)�”}”(hŒäKVM_ARM_VCPU_HAS_EL2: Enable Nested Virtualisation support, booting the guest from EL2 instead of EL1. Depends on KVM_CAP_ARM_EL2. The VM is running with HCR_EL2.E2H being RES1 (VHE) unless KVM_ARM_VCPU_HAS_EL2_E2H0 is also set.”h]”hŒäKVM_ARM_VCPU_HAS_EL2: Enable Nested Virtualisation support, booting the guest from EL2 instead of EL1. Depends on KVM_CAP_ARM_EL2. The VM is running with HCR_EL2.E2H being RES1 (VHE) unless KVM_ARM_VCPU_HAS_EL2_E2H0 is also set.”…”�”}”(hjßÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿ hjÛÛubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubj)�”}”(hŒ¯KVM_ARM_VCPU_HAS_EL2_E2H0: Restrict Nested Virtualisation support to HCR_EL2.E2H being RES0 (non-VHE). Depends on KVM_CAP_ARM_EL2_E2H0. KVM_ARM_VCPU_HAS_EL2 must also be set. ”h]”hï)�”}”(hŒ®KVM_ARM_VCPU_HAS_EL2_E2H0: Restrict Nested Virtualisation support to HCR_EL2.E2H being RES0 (non-VHE). Depends on KVM_CAP_ARM_EL2_E2H0. KVM_ARM_VCPU_HAS_EL2 must also be set.”h]”hŒ®KVM_ARM_VCPU_HAS_EL2_E2H0: Restrict Nested Virtualisation support to HCR_EL2.E2H being RES0 (non-VHE). Depends on KVM_CAP_ARM_EL2_E2H0. KVM_ARM_VCPU_HAS_EL2 must also be set.”…”�”}”(hj÷Ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjóÛubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj±Ùubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M½ hj­Ùubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M½ hjÀÖh²hubeh}”(h]”(j·ÖŒid17”eh ]”h"]”(Œ4.82 kvm_arm_vcpu_init”Œkvm_arm_vcpu_init”eh$]”h&]”uh1hÈhjæh²hh³hÇh´M’ j�}”jÜj­Ösjƒ}”j·Öj­ÖsubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.83 KVM_ARM_PREFERRED_TARGET”h]”hŒ4.83 KVM_ARM_PREFERRED_TARGET”…”�”}”(hj%Üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj"Üh²hh³hÇh´M ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj9Üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj6Üh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjIÜh]”hŒbasic”…”�”}”(hjKÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjGÜubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj6Üubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj3Üh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjgÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjdÜh³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hjwÜh]”hŒarm64”…”�”}”(hjyÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjuÜubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjdÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj3Üh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj•Üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj’Üh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj¥Üh]”hŒvm ioctl”…”�”}”(hj§Üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj£Üubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj’Üubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj3Üh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÃÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀÜh³hÇh´Kubj�)�”}”(hŒstruct kvm_vcpu_init (out)”h]”hï)�”}”(hjÓÜh]”hŒstruct kvm_vcpu_init (out)”…”�”}”(hjÕÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÑÜubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj3Üh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjñÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjîÜh³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÿÜubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjîÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj3Üh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj"Üh²hh³hÇh´M ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj#Ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj"Üh²hubj )�”}”(hŒ¢====== ========================================== ENODEV no preferred target available for the host ====== ========================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj8Ýubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K*uh1jchj8Ýubjz)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENODEV”h]”hŒENODEV”…”�”}”(hjXÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjUÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjRÝubj„)�”}”(hhh]”hï)�”}”(hŒ*no preferred target available for the host”h]”hŒ*no preferred target available for the host”…”�”}”(hjoÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjlÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjRÝubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjOÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jyhj8Ýubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj5Ýubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj1Ýubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhj"Üh²hubhï)�”}”(hŒ_This queries KVM for preferred CPU target type which can be emulated by KVM on underlying host.”h]”hŒ_This queries KVM for preferred CPU target type which can be emulated by KVM on underlying host.”…”�”}”(hj¢Ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj"Üh²hubhï)�”}”(hX%The ioctl returns struct kvm_vcpu_init instance containing information about preferred CPU target type and recommended features for it. The kvm_vcpu_init->features bitmap returned will have feature bits set if the preferred target recommends setting these features, but this is not mandatory.”h]”hX%The ioctl returns struct kvm_vcpu_init instance containing information about preferred CPU target type and recommended features for it. The kvm_vcpu_init->features bitmap returned will have feature bits set if the preferred target recommends setting these features, but this is not mandatory.”…”�”}”(hj°Ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj"Üh²hubhï)�”}”(hŒ±The information returned by this ioctl can be used to prepare an instance of struct kvm_vcpu_init for KVM_ARM_VCPU_INIT ioctl which will result in VCPU matching underlying host.”h]”hŒ±The information returned by this ioctl can be used to prepare an instance of struct kvm_vcpu_init for KVM_ARM_VCPU_INIT ioctl which will result in VCPU matching underlying host.”…”�”}”(hj¾Ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hj"Üh²hubeh}”(h]”Œkvm-arm-preferred-target”ah ]”h"]”Œ4.83 kvm_arm_preferred_target”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.84 KVM_GET_REG_LIST”h]”hŒ4.84 KVM_GET_REG_LIST”…”�”}”(hj×Ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÔÝh²hh³hÇh´M(ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjëÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjèÝh³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjûÝh]”hŒbasic”…”�”}”(hjýÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M*hjùÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjèÝubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M*hjåÝh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÞh³hÇh´Kubj�)�”}”(hŒ,arm64, mips, riscv, x86 (if KVM_CAP_ONE_REG)”h]”hï)�”}”(hj)Þh]”hŒ,arm64, mips, riscv, x86 (if KVM_CAP_ONE_REG)”…”�”}”(hj+Þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+hj'Þubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÞubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M+hjåÝh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjGÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjDÞh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjWÞh]”hŒ vcpu ioctl”…”�”}”(hjYÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,hjUÞubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjDÞubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M,hjåÝh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjuÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjrÞh³hÇh´Kubj�)�”}”(hŒstruct kvm_reg_list (in/out)”h]”hï)�”}”(hj…Þh]”hŒstruct kvm_reg_list (in/out)”…”�”}”(hj‡Þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hjƒÞubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjrÞubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M-hjåÝh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj£Þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Þh³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hjµÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M.hj±Þubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Þubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M.hjåÝh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÔÝh²hh³hÇh´M*ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hjÕÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0hjÔÝh²hubj )�”}”(hX ===== ============================================================== E2BIG the reg index list is too big to fit in the array specified by the user (the number required will be written into n). ===== ============================================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjêÞubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K>uh1jchjêÞubjz)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒE2BIG”h]”hŒE2BIG”…”�”}”(hj ßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3hjßubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjßubj„)�”}”(hhh]”hï)�”}”(hŒuthe reg index list is too big to fit in the array specified by the user (the number required will be written into n).”h]”hŒuthe reg index list is too big to fit in the array specified by the user (the number required will be written into n).”…”�”}”(hj!ßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3hjßubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjßubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjßubah}”(h]”h ]”h"]”h$]”h&]”uh1jyhjêÞubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjçÞubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjãÞubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M2hjÔÝh²hubj8)�”}”(hŒ^struct kvm_reg_list { __u64 n; /* number of registers in reg[] */ __u64 reg[0]; };”h]”hŒ^struct kvm_reg_list { __u64 n; /* number of registers in reg[] */ __u64 reg[0]; };”…”�”}”hjTßsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M9hjÔÝh²hubhï)�”}”(hŒhThis ioctl returns the guest registers that are supported for the KVM_GET_ONE_REG/KVM_SET_ONE_REG calls.”h]”hŒhThis ioctl returns the guest registers that are supported for the KVM_GET_ONE_REG/KVM_SET_ONE_REG calls.”…”�”}”(hjbßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M>hjÔÝh²hubhï)�”}”(hŒ�Note that s390 does not support KVM_GET_REG_LIST for historical reasons (read: nobody cared). The set of registers in kernels 4.x and newer is:”h]”hŒ�Note that s390 does not support KVM_GET_REG_LIST for historical reasons (read: nobody cared). The set of registers in kernels 4.x and newer is:”…”�”}”(hjpßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MAhjÔÝh²hubj)�”}”(hhh]”(j)�”}”(hŒKVM_REG_S390_TODPR ”h]”hï)�”}”(hŒKVM_REG_S390_TODPR”h]”hŒKVM_REG_S390_TODPR”…”�”}”(hj…ßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MDhj�ßubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubj)�”}”(hŒKVM_REG_S390_EPOCHDIFF ”h]”hï)�”}”(hŒKVM_REG_S390_EPOCHDIFF”h]”hŒKVM_REG_S390_EPOCHDIFF”…”�”}”(hj�ßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhj™ßubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubj)�”}”(hŒKVM_REG_S390_CPU_TIMER ”h]”hï)�”}”(hŒKVM_REG_S390_CPU_TIMER”h]”hŒKVM_REG_S390_CPU_TIMER”…”�”}”(hjµßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MHhj±ßubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubj)�”}”(hŒKVM_REG_S390_CLOCK_COMP ”h]”hï)�”}”(hŒKVM_REG_S390_CLOCK_COMP”h]”hŒKVM_REG_S390_CLOCK_COMP”…”�”}”(hjÍßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJhjÉßubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubj)�”}”(hŒKVM_REG_S390_PFTOKEN ”h]”hï)�”}”(hŒKVM_REG_S390_PFTOKEN”h]”hŒKVM_REG_S390_PFTOKEN”…”�”}”(hjåßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MLhjáßubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubj)�”}”(hŒKVM_REG_S390_PFCOMPARE ”h]”hï)�”}”(hŒKVM_REG_S390_PFCOMPARE”h]”hŒKVM_REG_S390_PFCOMPARE”…”�”}”(hjýßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhjùßubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubj)�”}”(hŒKVM_REG_S390_PFSELECT ”h]”hï)�”}”(hŒKVM_REG_S390_PFSELECT”h]”hŒKVM_REG_S390_PFSELECT”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MPhjàubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubj)�”}”(hŒKVM_REG_S390_PP ”h]”hï)�”}”(hŒKVM_REG_S390_PP”h]”hŒKVM_REG_S390_PP”…”�”}”(hj-àh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MRhj)àubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubj)�”}”(hŒKVM_REG_S390_GBEA ”h]”hï)�”}”(hŒKVM_REG_S390_GBEA”h]”hŒKVM_REG_S390_GBEA”…”�”}”(hjEàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MThjAàubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~ßh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MDhjÔÝh²hubhï)�”}”(hŒ•Note, for x86, all MSRs enumerated by KVM_GET_MSR_INDEX_LIST are supported as type KVM_X86_REG_TYPE_MSR, but are NOT enumerated via KVM_GET_REG_LIST.”h]”hŒ•Note, for x86, all MSRs enumerated by KVM_GET_MSR_INDEX_LIST are supported as type KVM_X86_REG_TYPE_MSR, but are NOT enumerated via KVM_GET_REG_LIST.”…”�”}”(hj_àh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MVhjÔÝh²hubeh}”(h]”Œkvm-get-reg-list”ah ]”h"]”Œ4.84 kvm_get_reg_list”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M(ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ)4.85 KVM_ARM_SET_DEVICE_ADDR (deprecated)”h]”hŒ)4.85 KVM_ARM_SET_DEVICE_ADDR (deprecated)”…”�”}”(hjxàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjuàh²hh³hÇh´MZubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjŒàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‰àh³hÇh´Kubj�)�”}”(hŒKVM_CAP_ARM_SET_DEVICE_ADDR”h]”hï)�”}”(hjœàh]”hŒKVM_CAP_ARM_SET_DEVICE_ADDR”…”�”}”(hjžàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\hjšàubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‰àubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M\hj†àh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjºàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj·àh³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hjÊàh]”hŒarm64”…”�”}”(hjÌàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]hjÈàubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj·àubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M]hj†àh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjèàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjåàh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjøàh]”hŒvm ioctl”…”�”}”(hjúàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^hjöàubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjåàubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M^hj†àh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjáh³hÇh´Kubj�)�”}”(hŒ"struct kvm_arm_device_address (in)”h]”hï)�”}”(hj&áh]”hŒ"struct kvm_arm_device_address (in)”…”�”}”(hj(áh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M_hj$áubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjáubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M_hj†àh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjDáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjAáh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjVáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M`hjRáubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjAáubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M`hj†àh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjuàh²hh³hÇh´M\ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hjváh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mbhjuàh²hubj )�”}”(hX<====== ============================================ ENODEV The device id is unknown ENXIO Device not supported on current system EEXIST Address already set E2BIG Address outside guest physical address space EBUSY Address overlaps with other device range ====== ============================================ ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj‹áubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K,uh1jchj‹áubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENODEV”h]”hŒENODEV”…”�”}”(hj«áh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mehj¨áubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¥áubj„)�”}”(hhh]”hï)�”}”(hŒThe device id is unknown”h]”hŒThe device id is unknown”…”�”}”(hjÂáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mehj¿áubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¥áubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¢áubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENXIO”h]”hŒENXIO”…”�”}”(hjâáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mfhjßáubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÜáubj„)�”}”(hhh]”hï)�”}”(hŒ&Device not supported on current system”h]”hŒ&Device not supported on current system”…”�”}”(hjùáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mfhjöáubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÜáubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¢áubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEEXIST”h]”hŒEEXIST”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mghjâubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjâubj„)�”}”(hhh]”hï)�”}”(hŒAddress already set”h]”hŒAddress already set”…”�”}”(hj0âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mghj-âubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjâubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¢áubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒE2BIG”h]”hŒE2BIG”…”�”}”(hjPâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhhjMâubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjJâubj„)�”}”(hhh]”hï)�”}”(hŒ,Address outside guest physical address space”h]”hŒ,Address outside guest physical address space”…”�”}”(hjgâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhhjdâubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjJâubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¢áubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEBUSY”h]”hŒEBUSY”…”�”}”(hj‡âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mihj„âubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�âubj„)�”}”(hhh]”hï)�”}”(hŒ(Address overlaps with other device range”h]”hŒ(Address overlaps with other device range”…”�”}”(hjžâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mihj›âubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj�âubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¢áubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj‹áubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjˆáubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj„áubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mdhjuàh²hubj8)�”}”(hŒAstruct kvm_arm_device_addr { __u64 id; __u64 addr; };”h]”hŒAstruct kvm_arm_device_addr { __u64 id; __u64 addr; };”…”�”}”hjÑâsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mnhjuàh²hubhï)�”}”(hŒòSpecify a device address in the guest's physical address space where guests can access emulated or directly exposed devices, which the host kernel needs to know about. The id field is an architecture specific identifier for a specific device.”h]”hŒôSpecify a device address in the guest’s physical address space where guests can access emulated or directly exposed devices, which the host kernel needs to know about. The id field is an architecture specific identifier for a specific device.”…”�”}”(hjßâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mshjuàh²hubhï)�”}”(hŒqarm64 divides the id field into two parts, a device id and an address type id specific to the individual device::”h]”hŒparm64 divides the id field into two parts, a device id and an address type id specific to the individual device:”…”�”}”(hjíâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mxhjuàh²hubj8)�”}”(hŒ‰bits: | 63 ... 32 | 31 ... 16 | 15 ... 0 | field: | 0x00000000 | device id | addr type id |”h]”hŒ‰bits: | 63 ... 32 | 31 ... 16 | 15 ... 0 | field: | 0x00000000 | device id | addr type id |”…”�”}”hjûâsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M{hjuàh²hubhï)�”}”(hX·arm64 currently only require this when using the in-kernel GIC support for the hardware VGIC features, using KVM_ARM_DEVICE_VGIC_V2 as the device id. When setting the base address for the guest's mapping of the VGIC virtual CPU and distributor interface, the ioctl must be called after calling KVM_CREATE_IRQCHIP, but before calling KVM_RUN on any of the VCPUs. Calling this ioctl twice for any of the base addresses will return -EEXIST.”h]”hX¹arm64 currently only require this when using the in-kernel GIC support for the hardware VGIC features, using KVM_ARM_DEVICE_VGIC_V2 as the device id. When setting the base address for the guest’s mapping of the VGIC virtual CPU and distributor interface, the ioctl must be called after calling KVM_CREATE_IRQCHIP, but before calling KVM_RUN on any of the VCPUs. Calling this ioctl twice for any of the base addresses will return -EEXIST.”…”�”}”(hj ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M~hjuàh²hubhï)�”}”(hŒdNote, this IOCTL is deprecated and the more flexible SET/GET_DEVICE_ATTR API should be used instead.”h]”hŒdNote, this IOCTL is deprecated and the more flexible SET/GET_DEVICE_ATTR API should be used instead.”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M†hjuàh²hubeh}”(h]”Œ"kvm-arm-set-device-addr-deprecated”ah ]”h"]”Œ)4.85 kvm_arm_set_device_addr (deprecated)”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MZubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.86 KVM_PPC_RTAS_DEFINE_TOKEN”h]”hŒ4.86 KVM_PPC_RTAS_DEFINE_TOKEN”…”�”}”(hj0ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj-ãh²hh³hÇh´M‹ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjDãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjAãh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PPC_RTAS”h]”hï)�”}”(hjTãh]”hŒKVM_CAP_PPC_RTAS”…”�”}”(hjVãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hjRãubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjAãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hj>ãh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjrãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjoãh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hj‚ãh]”hŒppc”…”�”}”(hj„ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŽhj€ãubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjoãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŽhj>ãh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�ãh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj°ãh]”hŒvm ioctl”…”�”}”(hj²ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj®ãubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�ãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hj>ãh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÎãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjËãh³hÇh´Kubj�)�”}”(hŒstruct kvm_rtas_token_args”h]”hï)�”}”(hjÞãh]”hŒstruct kvm_rtas_token_args”…”�”}”(hjàãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hjÜãubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjËãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hj>ãh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjüãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjùãh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘hj äubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjùãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‘hj>ãh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj-ãh²hh³hÇh´M�ubhï)�”}”(hXZDefines a token value for a RTAS (Run Time Abstraction Services) service in order to allow it to be handled in the kernel. The argument struct gives the name of the service, which must be the name of a service that has a kernel-side implementation. If the token value is non-zero, it will be associated with that service, and subsequent RTAS calls by the guest specifying that token will be handled by the kernel. If the token value is 0, then any token associated with the service will be forgotten, and subsequent RTAS calls by the guest for that service will be passed to userspace to be handled.”h]”hXZDefines a token value for a RTAS (Run Time Abstraction Services) service in order to allow it to be handled in the kernel. The argument struct gives the name of the service, which must be the name of a service that has a kernel-side implementation. If the token value is non-zero, it will be associated with that service, and subsequent RTAS calls by the guest specifying that token will be handled by the kernel. If the token value is 0, then any token associated with the service will be forgotten, and subsequent RTAS calls by the guest for that service will be passed to userspace to be handled.”…”�”}”(hj.äh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“hj-ãh²hubeh}”(h]”Œkvm-ppc-rtas-define-token”ah ]”h"]”Œ4.86 kvm_ppc_rtas_define_token”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M‹ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.87 KVM_SET_GUEST_DEBUG”h]”hŒ4.87 KVM_SET_GUEST_DEBUG”…”�”}”(hjGäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjDäh²hh³hÇh´MŸubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj[äh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjXäh³hÇh´Kubj�)�”}”(hŒKVM_CAP_SET_GUEST_DEBUG”h]”hï)�”}”(hjkäh]”hŒKVM_CAP_SET_GUEST_DEBUG”…”�”}”(hjmäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hjiäubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjXäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¡hjUäh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj‰äh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj†äh³hÇh´Kubj�)�”}”(hŒx86, s390, ppc, arm64”h]”hï)�”}”(hj™äh]”hŒx86, s390, ppc, arm64”…”�”}”(hj›äh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢hj—äubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj†äubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¢hjUäh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj·äh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj´äh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjÇäh]”hŒ vcpu ioctl”…”�”}”(hjÉäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hjÅäubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj´äubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M£hjUäh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjåäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjâäh³hÇh´Kubj�)�”}”(hŒstruct kvm_guest_debug (in)”h]”hï)�”}”(hjõäh]”hŒstruct kvm_guest_debug (in)”…”�”}”(hj÷äh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¤hjóäubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjâäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¤hjUäh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjåh³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj%åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥hj!åubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjåubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¥hjUäh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjDäh²hh³hÇh´M¡ubj8)�”}”(hŒfstruct kvm_guest_debug { __u32 control; __u32 pad; struct kvm_guest_debug_arch arch; };”h]”hŒfstruct kvm_guest_debug { __u32 control; __u32 pad; struct kvm_guest_debug_arch arch; };”…”�”}”hjEåsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M©hjDäh²hubhï)�”}”(hŒøSet up the processor specific debug registers and configure vcpu for handling guest debug events. There are two parts to the structure, the first a control bitfield indicates the type of debug events to handle when running. Common control bits are:”h]”hŒøSet up the processor specific debug registers and configure vcpu for handling guest debug events. There are two parts to the structure, the first a control bitfield indicates the type of debug events to handle when running. Common control bits are:”…”�”}”(hjSåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯hjDäh²hubj )�”}”(hŒw- KVM_GUESTDBG_ENABLE: guest debugging is enabled - KVM_GUESTDBG_SINGLESTEP: the next run should single-step ”h]”j)�”}”(hhh]”(j)�”}”(hŒ6KVM_GUESTDBG_ENABLE: guest debugging is enabled”h]”hï)�”}”(hjjåh]”hŒ6KVM_GUESTDBG_ENABLE: guest debugging is enabled”…”�”}”(hjlåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´hjhåubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjeåubj)�”}”(hŒèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mhj:èubj%)�”}”(hhh]”hï)�”}”(hŒ&the eax value used to obtain the entry”h]”hŒ&the eax value used to obtain the entry”…”�”}”(hjOèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjLèubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj:èubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mhj7èubj)�”}”(hŒTindex: the ecx value used to obtain the entry (for entries that are affected by ecx)”h]”(j)�”}”(hŒindex:”h]”hŒindex:”…”�”}”(hjmèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mhjièubj%)�”}”(hhh]”hï)�”}”(hŒMthe ecx value used to obtain the entry (for entries that are affected by ecx)”h]”hŒMthe ecx value used to obtain the entry (for entries that are affected by ecx)”…”�”}”(hj~èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj{èubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjièubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mhj7èubj)�”}”(hŒîflags: an OR of zero or more of the following: KVM_CPUID_FLAG_SIGNIFCANT_INDEX: if the index field is valid eax, ebx, ecx, edx: the values returned by the cpuid instruction for this function/index combination ”h]”(j)�”}”(hŒflags:”h]”hŒflags:”…”�”}”(hjœèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M$hj˜èubj%)�”}”(hhh]”(j )�”}”(hŒqan OR of zero or more of the following: KVM_CPUID_FLAG_SIGNIFCANT_INDEX: if the index field is valid ”h]”(hï)�”}”(hŒ'an OR of zero or more of the following:”h]”hŒ'an OR of zero or more of the following:”…”�”}”(hj±èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj­èubj )�”}”(hŒ@KVM_CPUID_FLAG_SIGNIFCANT_INDEX: if the index field is valid ”h]”j )�”}”(hhh]”j)�”}”(hŒ=KVM_CPUID_FLAG_SIGNIFCANT_INDEX: if the index field is valid ”h]”(j)�”}”(hŒ KVM_CPUID_FLAG_SIGNIFCANT_INDEX:”h]”hŒ KVM_CPUID_FLAG_SIGNIFCANT_INDEX:”…”�”}”(hjÊèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MhjÆèubj%)�”}”(hhh]”hï)�”}”(hŒif the index field is valid”h]”hŒif the index field is valid”…”�”}”(hjÛèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjØèubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjÆèubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MhjÃèubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj¿èubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhj­èubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhjªèubhï)�”}”(hŒeax, ebx, ecx, edx:”h]”hŒeax, ebx, ecx, edx:”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hjªèubj )�”}”(hŒQthe values returned by the cpuid instruction for this function/index combination ”h]”hï)�”}”(hŒPthe values returned by the cpuid instruction for this function/index combination”h]”hŒPthe values returned by the cpuid instruction for this function/index combination”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjéubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M#hjªèubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hj˜èubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M$hj7èubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj3èubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MhjÂæh²hubeh}”(h]”Œkvm-get-emulated-cpuid”ah ]”h"]”Œ4.88 kvm_get_emulated_cpuid”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÜubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.89 KVM_S390_MEM_OP”h]”hŒ4.89 KVM_S390_MEM_OP”…”�”}”(hjPéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjMéh²hh³hÇh´M'ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjdéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjaéh³hÇh´Kubj�)�”}”(hŒJKVM_CAP_S390_MEM_OP, KVM_CAP_S390_PROTECTED, KVM_CAP_S390_MEM_OP_EXTENSION”h]”hï)�”}”(hjtéh]”hŒJKVM_CAP_S390_MEM_OP, KVM_CAP_S390_PROTECTED, KVM_CAP_S390_MEM_OP_EXTENSION”…”�”}”(hjvéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hjréubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjaéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M)hj^éh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj’éh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�éh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj¢éh]”hŒs390”…”�”}”(hj¤éh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M*hj éubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�éubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M*hj^éh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÀéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj½éh³hÇh´Kubj�)�”}”(hŒvm ioctl, vcpu ioctl”h]”hï)�”}”(hjÐéh]”hŒvm ioctl, vcpu ioctl”…”�”}”(hjÒéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+hjÎéubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj½éubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M+hj^éh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjîéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjëéh³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_mem_op (in)”h]”hï)�”}”(hjþéh]”hŒstruct kvm_s390_mem_op (in)”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,hjüéubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjëéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M,hj^éh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjêh³hÇh´Kubj�)�”}”(hŒ…= 0 on success, < 0 on generic error (e.g. -EFAULT or -ENOMEM), 16 bit program exception code if the access causes such an exception ”h]”hï)�”}”(hŒ„= 0 on success, < 0 on generic error (e.g. -EFAULT or -ENOMEM), 16 bit program exception code if the access causes such an exception”h]”hŒ„= 0 on success, < 0 on generic error (e.g. -EFAULT or -ENOMEM), 16 bit program exception code if the access causes such an exception”…”�”}”(hj.êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hj*êubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjêubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M-hj^éh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjMéh²hh³hÇh´M)ubhï)�”}”(hŒƒRead or write data from/to the VM's memory. The KVM_CAP_S390_MEM_OP_EXTENSION capability specifies what functionality is supported.”h]”hŒ…Read or write data from/to the VM’s memory. The KVM_CAP_S390_MEM_OP_EXTENSION capability specifies what functionality is supported.”…”�”}”(hjNêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1hjMéh²hubhï)�”}”(hŒ6Parameters are specified via the following structure::”h]”hŒ5Parameters are specified via the following structure:”…”�”}”(hj\êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hjMéh²hubj8)�”}”(hXÒstruct kvm_s390_mem_op { __u64 gaddr; /* the guest address */ __u64 flags; /* flags */ __u32 size; /* amount of bytes */ __u32 op; /* type of operation */ __u64 buf; /* buffer in userspace */ union { struct { __u8 ar; /* the access register number */ __u8 key; /* access key, ignored if flag unset */ __u8 pad1[6]; /* ignored */ __u64 old_addr; /* ignored if flag unset */ }; __u32 sida_offset; /* offset into the sida */ __u8 reserved[32]; /* ignored */ }; };”h]”hXÒstruct kvm_s390_mem_op { __u64 gaddr; /* the guest address */ __u64 flags; /* flags */ __u32 size; /* amount of bytes */ __u32 op; /* type of operation */ __u64 buf; /* buffer in userspace */ union { struct { __u8 ar; /* the access register number */ __u8 key; /* access key, ignored if flag unset */ __u8 pad1[6]; /* ignored */ __u64 old_addr; /* ignored if flag unset */ }; __u32 sida_offset; /* offset into the sida */ __u8 reserved[32]; /* ignored */ }; };”…”�”}”hjjêsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M7hjMéh²hubhï)�”}”(hXLThe start address of the memory region has to be specified in the "gaddr" field, and the length of the region in the "size" field (which must not be 0). The maximum value for "size" can be obtained by checking the KVM_CAP_S390_MEM_OP capability. "buf" is the buffer supplied by the userspace application where the read data should be written to for a read access, or where the data that should be written is stored for a write access. The "reserved" field is meant for future extensions. Reserved and unused values are ignored. Future extension that add members must introduce new flags.”h]”hX`The start address of the memory region has to be specified in the “gaddrâ€� field, and the length of the region in the “sizeâ€� field (which must not be 0). The maximum value for “sizeâ€� can be obtained by checking the KVM_CAP_S390_MEM_OP capability. “bufâ€� is the buffer supplied by the userspace application where the read data should be written to for a read access, or where the data that should be written is stored for a write access. The “reservedâ€� field is meant for future extensions. Reserved and unused values are ignored. Future extension that add members must introduce new flags.”…”�”}”(hjxêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MIhjMéh²hubhï)�”}”(hŒ›The type of operation is specified in the "op" field. Flags modifying their behavior can be set in the "flags" field. Undefined flag bits must be set to 0.”h]”hŒ£The type of operation is specified in the “opâ€� field. Flags modifying their behavior can be set in the “flagsâ€� field. Undefined flag bits must be set to 0.”…”�”}”(hj†êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MShjMéh²hubj )�”}”(hhh]”j)�”}”(hX Possible operations are: * ``KVM_S390_MEMOP_LOGICAL_READ`` * ``KVM_S390_MEMOP_LOGICAL_WRITE`` * ``KVM_S390_MEMOP_ABSOLUTE_READ`` * ``KVM_S390_MEMOP_ABSOLUTE_WRITE`` * ``KVM_S390_MEMOP_SIDA_READ`` * ``KVM_S390_MEMOP_SIDA_WRITE`` * ``KVM_S390_MEMOP_ABSOLUTE_CMPXCHG`` ”h]”(j)�”}”(hŒPossible operations are:”h]”hŒPossible operations are:”…”�”}”(hj›êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M^hj—êubj%)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hŒ``KVM_S390_MEMOP_LOGICAL_READ``”h]”hï)�”}”(hj±êh]”jÈ)�”}”(hj±êh]”hŒKVM_S390_MEMOP_LOGICAL_READ”…”�”}”(hj¶êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj³êubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhj¯êubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¬êubj)�”}”(hŒ ``KVM_S390_MEMOP_LOGICAL_WRITE``”h]”hï)�”}”(hjÑêh]”jÈ)�”}”(hjÑêh]”hŒKVM_S390_MEMOP_LOGICAL_WRITE”…”�”}”(hjÖêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÓêubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MYhjÏêubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¬êubj)�”}”(hŒ ``KVM_S390_MEMOP_ABSOLUTE_READ``”h]”hï)�”}”(hjñêh]”jÈ)�”}”(hjñêh]”hŒKVM_S390_MEMOP_ABSOLUTE_READ”…”�”}”(hjöêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjóêubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MZhjïêubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¬êubj)�”}”(hŒ!``KVM_S390_MEMOP_ABSOLUTE_WRITE``”h]”hï)�”}”(hjëh]”jÈ)�”}”(hjëh]”hŒKVM_S390_MEMOP_ABSOLUTE_WRITE”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjëubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hjëubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¬êubj)�”}”(hŒ``KVM_S390_MEMOP_SIDA_READ``”h]”hï)�”}”(hj1ëh]”jÈ)�”}”(hj1ëh]”hŒKVM_S390_MEMOP_SIDA_READ”…”�”}”(hj6ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj3ëubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\hj/ëubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¬êubj)�”}”(hŒ``KVM_S390_MEMOP_SIDA_WRITE``”h]”hï)�”}”(hjQëh]”jÈ)�”}”(hjQëh]”hŒKVM_S390_MEMOP_SIDA_WRITE”…”�”}”(hjVëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjSëubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]hjOëubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¬êubj)�”}”(hŒ$``KVM_S390_MEMOP_ABSOLUTE_CMPXCHG`` ”h]”hï)�”}”(hŒ#``KVM_S390_MEMOP_ABSOLUTE_CMPXCHG``”h]”jÈ)�”}”(hjuëh]”hŒKVM_S390_MEMOP_ABSOLUTE_CMPXCHG”…”�”}”(hjwëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjsëubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^hjoëubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¬êubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´MXhj©êubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj—êubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M^hj”êubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjMéh²hh³Nh´NubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒLogical read/write:”h]”hŒLogical read/write:”…”�”}”(hj«ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¨ëh²hh³hÇh´Maubhï)�”}”(hXmAccess logical memory, i.e. translate the given guest address to an absolute address given the state of the VCPU and use the absolute address as target of the access. "ar" designates the access register number to be used; the valid range is 0..15. Logical accesses are permitted for the VCPU ioctl only. Logical accesses are permitted for non-protected guests only.”h]”hXqAccess logical memory, i.e. translate the given guest address to an absolute address given the state of the VCPU and use the absolute address as target of the access. “arâ€� designates the access register number to be used; the valid range is 0..15. Logical accesses are permitted for the VCPU ioctl only. Logical accesses are permitted for non-protected guests only.”…”�”}”(hj¹ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mchj¨ëh²hubj )�”}”(hhh]”j)�”}”(hŒ‚Supported flags: * ``KVM_S390_MEMOP_F_CHECK_ONLY`` * ``KVM_S390_MEMOP_F_INJECT_EXCEPTION`` * ``KVM_S390_MEMOP_F_SKEY_PROTECTION`` ”h]”(j)�”}”(hŒSupported flags:”h]”hŒSupported flags:”…”�”}”(hjÎëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MmhjÊëubj%)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hŒ``KVM_S390_MEMOP_F_CHECK_ONLY``”h]”hï)�”}”(hjäëh]”jÈ)�”}”(hjäëh]”hŒKVM_S390_MEMOP_F_CHECK_ONLY”…”�”}”(hjéëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjæëubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mkhjâëubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjßëubj)�”}”(hŒ%``KVM_S390_MEMOP_F_INJECT_EXCEPTION``”h]”hï)�”}”(hjìh]”jÈ)�”}”(hjìh]”hŒ!KVM_S390_MEMOP_F_INJECT_EXCEPTION”…”�”}”(hj ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjìubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mlhjìubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjßëubj)�”}”(hŒ%``KVM_S390_MEMOP_F_SKEY_PROTECTION`` ”h]”hï)�”}”(hŒ$``KVM_S390_MEMOP_F_SKEY_PROTECTION``”h]”jÈ)�”}”(hj(ìh]”hŒ KVM_S390_MEMOP_F_SKEY_PROTECTION”…”�”}”(hj*ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj&ìubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mmhj"ìubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjßëubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´MkhjÜëubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjÊëubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MmhjÇëubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj¨ëh²hh³Nh´Nubhï)�”}”(hXThe KVM_S390_MEMOP_F_CHECK_ONLY flag can be set to check whether the corresponding memory access would cause an access exception; however, no actual access to the data in memory at the destination is performed. In this case, "buf" is unused and can be NULL.”h]”hXThe KVM_S390_MEMOP_F_CHECK_ONLY flag can be set to check whether the corresponding memory access would cause an access exception; however, no actual access to the data in memory at the destination is performed. In this case, “bufâ€� is unused and can be NULL.”…”�”•}”(hj[ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mohj¨ëh²hubhï)�”}”(hX´In case an access exception occurred during the access (or would occur in case of KVM_S390_MEMOP_F_CHECK_ONLY), the ioctl returns a positive error number indicating the type of exception. This exception is also raised directly at the corresponding VCPU if the flag KVM_S390_MEMOP_F_INJECT_EXCEPTION is set. On protection exceptions, unless specified otherwise, the injected translation-exception identifier (TEID) indicates suppression.”h]”hX´In case an access exception occurred during the access (or would occur in case of KVM_S390_MEMOP_F_CHECK_ONLY), the ioctl returns a positive error number indicating the type of exception. This exception is also raised directly at the corresponding VCPU if the flag KVM_S390_MEMOP_F_INJECT_EXCEPTION is set. On protection exceptions, unless specified otherwise, the injected translation-exception identifier (TEID) indicates suppression.”…”�”}”(hjiìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mthj¨ëh²hubhï)�”}”(hX7If the KVM_S390_MEMOP_F_SKEY_PROTECTION flag is set, storage key protection is also in effect and may cause exceptions if accesses are prohibited given the access key designated by "key"; the valid range is 0..15. KVM_S390_MEMOP_F_SKEY_PROTECTION is available if KVM_CAP_S390_MEM_OP_EXTENSION is > 0. Since the accessed memory may span multiple pages and those pages might have different storage keys, it is possible that a protection exception occurs after memory has been modified. In this case, if the exception is injected, the TEID does not indicate suppression.”h]”hX;If the KVM_S390_MEMOP_F_SKEY_PROTECTION flag is set, storage key protection is also in effect and may cause exceptions if accesses are prohibited given the access key designated by “keyâ€�; the valid range is 0..15. KVM_S390_MEMOP_F_SKEY_PROTECTION is available if KVM_CAP_S390_MEM_OP_EXTENSION is > 0. Since the accessed memory may span multiple pages and those pages might have different storage keys, it is possible that a protection exception occurs after memory has been modified. In this case, if the exception is injected, the TEID does not indicate suppression.”…”�”}”(hjwìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|hj¨ëh²hubeh}”(h]”Œlogical-read-write”ah ]”h"]”Œlogical read/write:”ah$]”h&]”uh1hÈhjMéh²hh³hÇh´MaubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒAbsolute read/write:”h]”hŒAbsolute read/write:”…”�”}”(hj�ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj�ìh²hh³hÇh´M‡ubhï)�”}”(hX|Access absolute memory. This operation is intended to be used with the KVM_S390_MEMOP_F_SKEY_PROTECTION flag, to allow accessing memory and performing the checks required for storage key protection as one operation (as opposed to user space getting the storage keys, performing the checks, and accessing memory thereafter, which could lead to a delay between check and access). Absolute accesses are permitted for the VM ioctl if KVM_CAP_S390_MEM_OP_EXTENSION has the KVM_S390_MEMOP_EXTENSION_CAP_BASE bit set. Currently absolute accesses are not permitted for VCPU ioctls. Absolute accesses are permitted for non-protected guests only.”h]”hX|Access absolute memory. This operation is intended to be used with the KVM_S390_MEMOP_F_SKEY_PROTECTION flag, to allow accessing memory and performing the checks required for storage key protection as one operation (as opposed to user space getting the storage keys, performing the checks, and accessing memory thereafter, which could lead to a delay between check and access). Absolute accesses are permitted for the VM ioctl if KVM_CAP_S390_MEM_OP_EXTENSION has the KVM_S390_MEMOP_EXTENSION_CAP_BASE bit set. Currently absolute accesses are not permitted for VCPU ioctls. Absolute accesses are permitted for non-protected guests only.”…”�”}”(hjžìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‰hj�ìh²hubj )�”}”(hhh]”j)�”}”(hŒZSupported flags: * ``KVM_S390_MEMOP_F_CHECK_ONLY`` * ``KVM_S390_MEMOP_F_SKEY_PROTECTION`` ”h]”(j)�”}”(hŒSupported flags:”h]”hŒSupported flags:”…”�”}”(hj³ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M•hj¯ìubj%)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hŒ``KVM_S390_MEMOP_F_CHECK_ONLY``”h]”hï)�”}”(hjÉìh]”jÈ)�”}”(hjÉìh]”hŒKVM_S390_MEMOP_F_CHECK_ONLY”…”�”}”(hjÎìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjËìubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M”hjÇìubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÄìubj)�”}”(hŒ%``KVM_S390_MEMOP_F_SKEY_PROTECTION`` ”h]”hï)�”}”(hŒ$``KVM_S390_MEMOP_F_SKEY_PROTECTION``”h]”jÈ)�”}”(hjíìh]”hŒ KVM_S390_MEMOP_F_SKEY_PROTECTION”…”�”}”(hjïìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjëìubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M•hjçìubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÄìubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´M”hjÁìubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj¯ìubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M•hj¬ìubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj�ìh²hh³Nh´Nubhï)�”}”(hŒTThe semantics of the flags common with logical accesses are as for logical accesses.”h]”hŒTThe semantics of the flags common with logical accesses are as for logical accesses.”…”�”}”(hj íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M—hj�ìh²hubeh}”(h]”Œabsolute-read-write”ah ]”h"]”Œabsolute read/write:”ah$]”h&]”uh1hÈhjMéh²hh³hÇh´M‡ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒAbsolute cmpxchg:”h]”hŒAbsolute cmpxchg:”…”�”}”(hj9íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj6íh²hh³hÇh´M›ubhï)�”}”(hXðPerform cmpxchg on absolute guest memory. Intended for use with the KVM_S390_MEMOP_F_SKEY_PROTECTION flag. Instead of doing an unconditional write, the access occurs only if the target location contains the value pointed to by "old_addr". This is performed as an atomic cmpxchg with the length specified by the "size" parameter. "size" must be a power of two up to and including 16. If the exchange did not take place because the target value doesn't match the old value, the value "old_addr" points to is replaced by the target value. User space can tell if an exchange took place by checking if this replacement occurred. The cmpxchg op is permitted for the VM ioctl if KVM_CAP_S390_MEM_OP_EXTENSION has flag KVM_S390_MEMOP_EXTENSION_CAP_CMPXCHG set.”h]”hXPerform cmpxchg on absolute guest memory. Intended for use with the KVM_S390_MEMOP_F_SKEY_PROTECTION flag. Instead of doing an unconditional write, the access occurs only if the target location contains the value pointed to by “old_addrâ€�. This is performed as an atomic cmpxchg with the length specified by the “sizeâ€� parameter. “sizeâ€� must be a power of two up to and including 16. If the exchange did not take place because the target value doesn’t match the old value, the value “old_addrâ€� points to is replaced by the target value. User space can tell if an exchange took place by checking if this replacement occurred. The cmpxchg op is permitted for the VM ioctl if KVM_CAP_S390_MEM_OP_EXTENSION has flag KVM_S390_MEMOP_EXTENSION_CAP_CMPXCHG set.”…”�”}”(hjGíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj6íh²hubj )�”}”(hhh]”j)�”}”(hŒ8Supported flags: * ``KVM_S390_MEMOP_F_SKEY_PROTECTION`` ”h]”(j)�”}”(hŒSupported flags:”h]”hŒSupported flags:”…”�”}”(hj\íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MªhjXíubj%)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ%``KVM_S390_MEMOP_F_SKEY_PROTECTION`` ”h]”hï)�”}”(hŒ$``KVM_S390_MEMOP_F_SKEY_PROTECTION``”h]”jÈ)�”}”(hjvíh]”hŒ KVM_S390_MEMOP_F_SKEY_PROTECTION”…”�”}”(hjxíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjtíubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mªhjpíubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjmíubah}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´Mªhjjíubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjXíubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MªhjUíubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj6íh²hh³Nh´Nubeh}”(h]”Œabsolute-cmpxchg”ah ]”h"]”Œabsolute cmpxchg:”ah$]”h&]”uh1hÈhjMéh²hh³hÇh´M›ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒSIDA read/write:”h]”hŒSIDA read/write:”…”�”}”(hj´íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj±íh²hh³hÇh´M­ubhï)�”}”(hX?Access the secure instruction data area which contains memory operands necessary for instruction emulation for protected guests. SIDA accesses are available if the KVM_CAP_S390_PROTECTED capability is available. SIDA accesses are permitted for the VCPU ioctl only. SIDA accesses are permitted for protected guests only.”h]”hX?Access the secure instruction data area which contains memory operands necessary for instruction emulation for protected guests. SIDA accesses are available if the KVM_CAP_S390_PROTECTED capability is available. SIDA accesses are permitted for the VCPU ioctl only. SIDA accesses are permitted for protected guests only.”…”�”}”(hjÂíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯hj±íh²hubhï)�”}”(hŒNo flags are supported.”h]”hŒNo flags are supported.”…”�”}”(hjÐíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mµhj±íh²hubeh}”(h]”Œsida-read-write”ah ]”h"]”Œsida read/write:”ah$]”h&]”uh1hÈhjMéh²hh³hÇh´M­ubeh}”(h]”Œkvm-s390-mem-op”ah ]”h"]”Œ4.89 kvm_s390_mem_op”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M'ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.90 KVM_S390_GET_SKEYS”h]”hŒ4.90 KVM_S390_GET_SKEYS”…”�”}”(hjñíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjîíh²hh³hÇh´M¸ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjîh³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_SKEYS”h]”hï)�”}”(hjîh]”hŒKVM_CAP_S390_SKEYS”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mºhjîubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjîubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mºhjÿíh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj3îh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj0îh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjCîh]”hŒs390”…”�”}”(hjEîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M»hjAîubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj0îubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M»hjÿíh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjaîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj^îh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjqîh]”hŒvm ioctl”…”�”}”(hjsîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼hjoîubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj^îubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¼hjÿíh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj�îh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŒîh³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_skeys”h]”hï)�”}”(hjŸîh]”hŒstruct kvm_s390_skeys”…”�”}”(hj¡îh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½hj�îubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŒîubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M½hjÿíh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj½îh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjºîh³hÇh´Kubj�)�”}”(hŒb0 on success, KVM_S390_GET_SKEYS_NONE if guest is not using storage keys, negative value on error ”h]”hï)�”}”(hŒa0 on success, KVM_S390_GET_SKEYS_NONE if guest is not using storage keys, negative value on error”h]”hŒa0 on success, KVM_S390_GET_SKEYS_NONE if guest is not using storage keys, negative value on error”…”�”}”(hjÏîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾hjËîubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjºîubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¾hjÿíh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjîíh²hh³hÇh´Mºubhï)�”}”(hŒ‡This ioctl is used to get guest storage key values on the s390 architecture. The ioctl takes parameters via the kvm_s390_skeys struct::”h]”hŒ†This ioctl is used to get guest storage key values on the s390 architecture. The ioctl takes parameters via the kvm_s390_skeys struct:”…”�”}”(hjïîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁhjîíh²hubj8)�”}”(hŒ‹struct kvm_s390_skeys { __u64 start_gfn; __u64 count; __u64 skeydata_addr; __u32 flags; __u32 reserved[9]; };”h]”hŒ‹struct kvm_s390_skeys { __u64 start_gfn; __u64 count; __u64 skeydata_addr; __u32 flags; __u32 reserved[9]; };”…”�”}”hjýîsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÄhjîíh²hubhï)�”}”(hŒ^The start_gfn field is the number of the first guest frame whose storage keys you want to get.”h]”hŒ^The start_gfn field is the number of the first guest frame whose storage keys you want to get.”…”�”}”(hj ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÌhjîíh²hubhï)�”}”(hX The count field is the number of consecutive frames (starting from start_gfn) whose storage keys to get. The count field must be at least 1 and the maximum allowed value is defined as KVM_S390_SKEYS_MAX. Values outside this range will cause the ioctl to return -EINVAL.”h]”hX The count field is the number of consecutive frames (starting from start_gfn) whose storage keys to get. The count field must be at least 1 and the maximum allowed value is defined as KVM_S390_SKEYS_MAX. Values outside this range will cause the ioctl to return -EINVAL.”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏhjîíh²hubhï)�”}”(hŒ“The skeydata_addr field is the address to a buffer large enough to hold count bytes. This buffer will be filled with storage key data by the ioctl.”h]”hŒ“The skeydata_addr field is the address to a buffer large enough to hold count bytes. This buffer will be filled with storage key data by the ioctl.”…”�”}”(hj'ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔhjîíh²hubeh}”(h]”Œkvm-s390-get-skeys”ah ]”h"]”Œ4.90 kvm_s390_get_skeys”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M¸ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.91 KVM_S390_SET_SKEYS”h]”hŒ4.91 KVM_S390_SET_SKEYS”…”�”}”(hj@ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj=ïh²hh³hÇh´MØubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjTïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjQïh³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_SKEYS”h]”hï)�”}”(hjdïh]”hŒKVM_CAP_S390_SKEYS”…”�”}”(hjfïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚhjbïubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjQïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÚhjNïh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj‚ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjïh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj’ïh]”hŒs390”…”�”}”(hj”ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛhj�ïubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÛhjNïh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj°ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj­ïh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjÀïh]”hŒvm ioctl”…”�”}”(hjÂïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜhj¾ïubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj­ïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÜhjNïh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÞïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÛïh³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_skeys”h]”hï)�”}”(hjîïh]”hŒstruct kvm_s390_skeys”…”�”}”(hjðïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝhjìïubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÛïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÝhjNïh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ðh³hÇh´Kubj�)�”}”(hŒ&0 on success, negative value on error ”h]”hï)�”}”(hŒ%0 on success, negative value on error”h]”hŒ%0 on success, negative value on error”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞhjðubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÞhjNïh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj=ïh²hh³hÇh´MÚubhï)�”}”(hŒ¿This ioctl is used to set guest storage key values on the s390 architecture. The ioctl takes parameters via the kvm_s390_skeys struct. See section on KVM_S390_GET_SKEYS for struct definition.”h]”hŒ¿This ioctl is used to set guest storage key values on the s390 architecture. The ioctl takes parameters via the kvm_s390_skeys struct. See section on KVM_S390_GET_SKEYS for struct definition.”…”�”}”(hj>ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Màhj=ïh²hubhï)�”}”(hŒ^The start_gfn field is the number of the first guest frame whose storage keys you want to set.”h]”hŒ^The start_gfn field is the number of the first guest frame whose storage keys you want to set.”…”�”}”(hjLðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mähj=ïh²hubhï)�”}”(hX The count field is the number of consecutive frames (starting from start_gfn) whose storage keys to get. The count field must be at least 1 and the maximum allowed value is defined as KVM_S390_SKEYS_MAX. Values outside this range will cause the ioctl to return -EINVAL.”h]”hX The count field is the number of consecutive frames (starting from start_gfn) whose storage keys to get. The count field must be at least 1 and the maximum allowed value is defined as KVM_S390_SKEYS_MAX. Values outside this range will cause the ioctl to return -EINVAL.”…”�”}”(hjZðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mçhj=ïh²hubhï)�”}”(hŒÌThe skeydata_addr field is the address to a buffer containing count bytes of storage keys. Each byte in the buffer will be set as the storage key for a single frame starting at start_gfn for count frames.”h]”hŒÌThe skeydata_addr field is the address to a buffer containing count bytes of storage keys. Each byte in the buffer will be set as the storage key for a single frame starting at start_gfn for count frames.”…”�”}”(hjhðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mìhj=ïh²hubhï)�”}”(hŒmNote: If any architecturally invalid key value is found in the given data then the ioctl will return -EINVAL.”h]”hŒmNote: If any architecturally invalid key value is found in the given data then the ioctl will return -EINVAL.”…”�”}”(hjvðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mðhj=ïh²hubeh}”(h]”Œkvm-s390-set-skeys”ah ]”h"]”Œ4.91 kvm_s390_set_skeys”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MØubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.92 KVM_S390_IRQ”h]”hŒ4.92 KVM_S390_IRQ”…”�”}”(hj�ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjŒðh²hh³hÇh´Môubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj£ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ðh³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_INJECT_IRQ”h]”hï)�”}”(hj³ðh]”hŒKVM_CAP_S390_INJECT_IRQ”…”�”}”(hjµðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Möhj±ðubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Möhj�ðh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÑðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÎðh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjáðh]”hŒs390”…”�”}”(hjãðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷hjßðubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÎðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M÷hj�ðh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÿðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjüðh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjñh]”hŒ vcpu ioctl”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Møhj ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjüðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Møhj�ðh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj-ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj*ñh³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_irq (in)”h]”hï)�”}”(hj=ñh]”hŒstruct kvm_s390_irq (in)”…”�”}”(hj?ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mùhj;ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj*ñubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mùhj�ðh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj[ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjXñh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjmñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Múhjiñubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjXñubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Múhj�ðh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjŒðh²hh³hÇh´Möubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj�ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MühjŒðh²hubj )�”}”(hXK====== ================================================================= EINVAL interrupt type is invalid type is KVM_S390_SIGP_STOP and flag parameter is invalid value, type is KVM_S390_INT_EXTERNAL_CALL and code is bigger than the maximum of VCPUs EBUSY type is KVM_S390_SIGP_SET_PREFIX and vcpu is not stopped, type is KVM_S390_SIGP_STOP and a stop irq is already pending, type is KVM_S390_INT_EXTERNAL_CALL and an external call interrupt is already pending ====== ================================================================= ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj¢ñubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”KAuh1jchj¢ñubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINVAL”h]”hŒEINVAL”…”�”}”(hjÂñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj¿ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¼ñubj„)�”}”(hhh]”hï)�”}”(hŒ©interrupt type is invalid type is KVM_S390_SIGP_STOP and flag parameter is invalid value, type is KVM_S390_INT_EXTERNAL_CALL and code is bigger than the maximum of VCPUs”h]”hŒ©interrupt type is invalid type is KVM_S390_SIGP_STOP and flag parameter is invalid value, type is KVM_S390_INT_EXTERNAL_CALL and code is bigger than the maximum of VCPUs”…”�”}”(hjÙñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÖñubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¼ñubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¹ñubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEBUSY”h]”hŒEBUSY”…”�”}”(hjùñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjöñubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjóñubj„)�”}”(hhh]”hï)�”}”(hŒÌtype is KVM_S390_SIGP_SET_PREFIX and vcpu is not stopped, type is KVM_S390_SIGP_STOP and a stop irq is already pending, type is KVM_S390_INT_EXTERNAL_CALL and an external call interrupt is already pending”h]”hŒÌtype is KVM_S390_SIGP_SET_PREFIX and vcpu is not stopped, type is KVM_S390_SIGP_STOP and a stop irq is already pending, type is KVM_S390_INT_EXTERNAL_CALL and an external call interrupt is already pending”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj òubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjóñubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj¹ñubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj¢ñubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjŸñubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj›ñubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MÿhjŒðh²hubhï)�”}”(hŒ+Allows to inject an interrupt to the guest.”h]”hŒ+Allows to inject an interrupt to the guest.”…”�”}”(hjCòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjŒðh²hubhï)�”}”(hŒzUsing struct kvm_s390_irq as a parameter allows to inject additional payload which is not possible via KVM_S390_INTERRUPT.”h]”hŒzUsing struct kvm_s390_irq as a parameter allows to inject additional payload which is not possible via KVM_S390_INTERRUPT.”…”�”}”(hjQòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjŒðh²hubhï)�”}”(hŒ2Interrupt parameters are passed via kvm_s390_irq::”h]”hŒ1Interrupt parameters are passed via kvm_s390_irq:”…”�”}”(hj_òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjŒðh²hubj8)�”}”(hXØstruct kvm_s390_irq { __u64 type; union { struct kvm_s390_io_info io; struct kvm_s390_ext_info ext; struct kvm_s390_pgm_info pgm; struct kvm_s390_emerg_info emerg; struct kvm_s390_extcall_info extcall; struct kvm_s390_prefix_info prefix; struct kvm_s390_stop_info stop; struct kvm_s390_mchk_info mchk; char reserved[64]; } u; };”h]”hXØstruct kvm_s390_irq { __u64 type; union { struct kvm_s390_io_info io; struct kvm_s390_ext_info ext; struct kvm_s390_pgm_info pgm; struct kvm_s390_emerg_info emerg; struct kvm_s390_extcall_info extcall; struct kvm_s390_prefix_info prefix; struct kvm_s390_stop_info stop; struct kvm_s390_mchk_info mchk; char reserved[64]; } u; };”…”�”}”hjmòsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MhjŒðh²hubhï)�”}”(hŒ!type can be one of the following:”h]”hŒ!type can be one of the following:”…”�”}”(hj{òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hjŒðh²hubj)�”}”(hhh]”(j)�”}”(hŒ2KVM_S390_SIGP_STOP - sigp stop; parameter in .stop”h]”hï)�”}”(hjŽòh]”hŒ2KVM_S390_SIGP_STOP - sigp stop; parameter in .stop”…”�”}”(hj�òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjŒòubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‰òh²hh³hÇh´Nubj)�”}”(hŒ8KVM_S390_PROGRAM_INT - program check; parameters in .pgm”h]”hï)�”}”(hj¥òh]”hŒ8KVM_S390_PROGRAM_INT - program check; parameters in .pgm”…”�”}”(hj§òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hj£òubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‰òh²hh³hÇh´Nubj)�”}”(hŒAKVM_S390_SIGP_SET_PREFIX - sigp set prefix; parameters in .prefix”h]”hï)�”}”(hj¼òh]”hŒAKVM_S390_SIGP_SET_PREFIX - sigp set prefix; parameters in .prefix”…”�”}”(hj¾òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hjºòubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‰òh²hh³hÇh´Nubj)�”}”(hŒ)KVM_S390_RESTART - restart; no parameters”h]”hï)�”}”(hjÓòh]”hŒ)KVM_S390_RESTART - restart; no parameters”…”�”}”(hjÕòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&hjÑòubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‰òh²hh³hÇh´Nubj)�”}”(hŒCKVM_S390_INT_CLOCK_COMP - clock comparator interrupt; no parameters”h]”hï)�”}”(hjêòh]”hŒCKVM_S390_INT_CLOCK_COMP - clock comparator interrupt; no parameters”…”�”}”(hjìòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'hjèòubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‰òh²hh³hÇh´Nubj)�”}”(hŒ;KVM_S390_INT_CPU_TIMER - CPU timer interrupt; no parameters”h]”hï)�”}”(hjóh]”hŒ;KVM_S390_INT_CPU_TIMER - CPU timer interrupt; no parameters”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M(hjÿòubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‰òh²hh³hÇh´Nubj)�”}”(hŒ=KVM_S390_INT_EMERGENCY - sigp emergency; parameters in .emerg”h]”hï)�”}”(hjóh]”hŒ=KVM_S390_INT_EMERGENCY - sigp emergency; parameters in .emerg”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hjóubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‰òh²hh³hÇh´Nubj)�”}”(hŒGKVM_S390_INT_EXTERNAL_CALL - sigp external call; parameters in .extcall”h]”hï)�”}”(hj/óh]”hŒGKVM_S390_INT_EXTERNAL_CALL - sigp external call; parameters in .extcall”…”�”}”(hj1óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M*hj-óubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‰òh²hh³hÇh´Nubj)�”}”(hŒ=KVM_S390_MCHK - machine check interrupt; parameters in .mchk ”h]”hï)�”}”(hŒ= number of bytes copied into buffer, -EINVAL if buffer size is 0, -ENOBUFS if buffer size is too small to fit all pending interrupts, -EFAULT if the buffer address was invalid ”h]”hï)�”}”(hŒ±>= number of bytes copied into buffer, -EINVAL if buffer size is 0, -ENOBUFS if buffer size is too small to fit all pending interrupts, -EFAULT if the buffer address was invalid”h]”hŒ±>= number of bytes copied into buffer, -EINVAL if buffer size is 0, -ENOBUFS if buffer size is too small to fit all pending interrupts, -EFAULT if the buffer address was invalid”…”�”}”(hjYôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hjUôubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjDôubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M6hj‰óh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjxóh²hh³hÇh´M2ubhï)�”}”(hŒõThis ioctl allows userspace to retrieve the complete state of all currently pending interrupts in a single buffer. Use cases include migration and introspection. The parameter structure contains the address of a userspace buffer and its length::”h]”hŒôThis ioctl allows userspace to retrieve the complete state of all currently pending interrupts in a single buffer. Use cases include migration and introspection. The parameter structure contains the address of a userspace buffer and its length:”…”�”}”(hjyôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hjxóh²hubj8)�”}”(hŒÖstruct kvm_s390_irq_state { __u64 buf; __u32 flags; /* will stay unused for compatibility reasons */ __u32 len; __u32 reserved[4]; /* will stay unused for compatibility reasons */ };”h]”hŒÖstruct kvm_s390_irq_state { __u64 buf; __u32 flags; /* will stay unused for compatibility reasons */ __u32 len; __u32 reserved[4]; /* will stay unused for compatibility reasons */ };”…”�”}”hj‡ôsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M@hjxóh²hubhï)�”}”(hŒ{Userspace passes in the above struct and for each pending interrupt a struct kvm_s390_irq is copied to the provided buffer.”h]”hŒ{Userspace passes in the above struct and for each pending interrupt a struct kvm_s390_irq is copied to the provided buffer.”…”�”}”(hj•ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MGhjxóh²hubhï)�”}”(hŒîThe structure contains a flags and a reserved field for future extensions. As the kernel never checked for flags == 0 and QEMU never pre-zeroed flags and reserved, these fields can not be used in the future without breaking compatibility.”h]”hŒîThe structure contains a flags and a reserved field for future extensions. As the kernel never checked for flags == 0 and QEMU never pre-zeroed flags and reserved, these fields can not be used in the future without breaking compatibility.”…”�”}”(hj£ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJhjxóh²hubhï)�”}”(hŒgIf -ENOBUFS is returned the buffer provided was too small and userspace may retry with a bigger buffer.”h]”hŒgIf -ENOBUFS is returned the buffer provided was too small and userspace may retry with a bigger buffer.”…”�”}”(hj±ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MOhjxóh²hubeh}”(h]”Œkvm-s390-get-irq-state”ah ]”h"]”Œ4.94 kvm_s390_get_irq_state”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M0ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.95 KVM_S390_SET_IRQ_STATE”h]”hŒ4.95 KVM_S390_SET_IRQ_STATE”…”�”}”(hjÊôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÇôh²hh³hÇh´MSubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÞôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÛôh³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_IRQ_STATE”h]”hï)�”}”(hjîôh]”hŒKVM_CAP_S390_IRQ_STATE”…”�”}”(hjðôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MUhjìôubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÛôubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MUhjØôh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj õh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj õh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjõh]”hŒs390”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MVhjõubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj õubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MVhjØôh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj:õh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj7õh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjJõh]”hŒ vcpu ioctl”…”�”}”(hjLõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MWhjHõubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj7õubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MWhjØôh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjhõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjeõh³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_irq_state (in)”h]”hï)�”}”(hjxõh]”hŒstruct kvm_s390_irq_state (in)”…”�”}”(hjzõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhjvõubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjeõubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MXhjØôh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj–õh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj“õh³hÇh´Kubj�)�”}”(hŒæ0 on success, -EFAULT if the buffer address was invalid, -EINVAL for an invalid buffer length (see below), -EBUSY if there were already interrupts pending, errors occurring when actually injecting the interrupt. See KVM_S390_IRQ. ”h]”hï)�”}”(hŒå0 on success, -EFAULT if the buffer address was invalid, -EINVAL for an invalid buffer length (see below), -EBUSY if there were already interrupts pending, errors occurring when actually injecting the interrupt. See KVM_S390_IRQ.”h]”hŒå0 on success, -EFAULT if the buffer address was invalid, -EINVAL for an invalid buffer length (see below), -EBUSY if there were already interrupts pending, errors occurring when actually injecting the interrupt. See KVM_S390_IRQ.”…”�”}”(hj¨õh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MYhj¤õubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj“õubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MYhjØôh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÇôh²hh³hÇh´MUubhï)�”}”(hXThis ioctl allows userspace to set the complete state of all cpu-local interrupts currently pending for the vcpu. It is intended for restoring interrupt state after a migration. The input parameter is a userspace buffer containing a struct kvm_s390_irq_state::”h]”hXThis ioctl allows userspace to set the complete state of all cpu-local interrupts currently pending for the vcpu. It is intended for restoring interrupt state after a migration. The input parameter is a userspace buffer containing a struct kvm_s390_irq_state:”…”�”}”(hjÈõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M`hjÇôh²hubj8)�”}”(hŒÖstruct kvm_s390_irq_state { __u64 buf; __u32 flags; /* will stay unused for compatibility reasons */ __u32 len; __u32 reserved[4]; /* will stay unused for compatibility reasons */ };”h]”hŒÖstruct kvm_s390_irq_state { __u64 buf; __u32 flags; /* will stay unused for compatibility reasons */ __u32 len; __u32 reserved[4]; /* will stay unused for compatibility reasons */ };”…”�”}”hjÖõsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MehjÇôh²hubhï)�”}”(hŒSThe restrictions for flags and reserved apply as well. (see KVM_S390_GET_IRQ_STATE)”h]”hŒSThe restrictions for flags and reserved apply as well. (see KVM_S390_GET_IRQ_STATE)”…”�”}”(hjäõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MlhjÇôh²hubhï)�”}”(hŒÈThe userspace memory referenced by buf contains a struct kvm_s390_irq for each interrupt to be injected into the guest. If one of the interrupts could not be injected for some reason the ioctl aborts.”h]”hŒÈThe userspace memory referenced by buf contains a struct kvm_s390_irq for each interrupt to be injected into the guest. If one of the interrupts could not be injected for some reason the ioctl aborts.”…”�”}”(hjòõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MohjÇôh²hubhï)�”}”(hŒÒlen must be a multiple of sizeof(struct kvm_s390_irq). It must be > 0 and it must not exceed (max_vcpus + 32) * sizeof(struct kvm_s390_irq), which is the maximum number of possibly pending cpu-local interrupts.”h]”hŒÒlen must be a multiple of sizeof(struct kvm_s390_irq). It must be > 0 and it must not exceed (max_vcpus + 32) * sizeof(struct kvm_s390_irq), which is the maximum number of possibly pending cpu-local interrupts.”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MthjÇôh²hubeh}”(h]”Œkvm-s390-set-irq-state”ah ]”h"]”Œ4.95 kvm_s390_set_irq_state”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MSubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ 4.96 KVM_SMI”h]”hŒ 4.96 KVM_SMI”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjöh²hh³hÇh´Myubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj-öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj*öh³hÇh´Kubj�)�”}”(hŒKVM_CAP_X86_SMM”h]”hï)�”}”(hj=öh]”hŒKVM_CAP_X86_SMM”…”�”}”(hj?öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M{hj;öubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj*öubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M{hj'öh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj[öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjXöh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjköh]”hŒx86”…”�”}”(hjmöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|hjiöubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjXöubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M|hj'öh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj‰öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj†öh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj™öh]”hŒ vcpu ioctl”…”�”}”(hj›öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M}hj—öubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj†öubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M}hj'öh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj·öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj´öh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjÇöh]”hŒnone”…”�”}”(hjÉöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M~hjÅöubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj´öubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M~hj'öh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjåöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjâöh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj÷öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjóöubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjâöubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj'öh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjöh²hh³hÇh´M{ubhï)�”}”(hŒ#Queues an SMI on the thread's vcpu.”h]”hŒ%Queues an SMI on the thread’s vcpu.”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hjöh²hubeh}”(h]”Œkvm-smi”ah ]”h"]”Œ 4.96 kvm_smi”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MyubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.97 KVM_X86_SET_MSR_FILTER”h]”hŒ4.97 KVM_X86_SET_MSR_FILTER”…”�”}”(hj0÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj-÷h²hh³hÇh´M„ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjD÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjA÷h³hÇh´Kubj�)�”}”(hŒKVM_CAP_X86_MSR_FILTER”h]”hï)�”}”(hjT÷h]”hŒKVM_CAP_X86_MSR_FILTER”…”�”}”(hjV÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M†hjR÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjA÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M†hj>÷h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjr÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjo÷h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj‚÷h]”hŒx86”…”�”}”(hj„÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‡hj€÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjo÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‡hj>÷h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj ÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�÷h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj°÷h]”hŒvm ioctl”…”�”}”(hj²÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mˆhj®÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mˆhj>÷h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÎ÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjË÷h³hÇh´Kubj�)�”}”(hŒstruct kvm_msr_filter”h]”hï)�”}”(hjÞ÷h]”hŒstruct kvm_msr_filter”…”�”}”(hjà÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‰hjÜ÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjË÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‰hj>÷h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjü÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjù÷h³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhj øubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjù÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŠhj>÷h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj-÷h²hh³hÇh´M†ubj8)�”}”(hX)struct kvm_msr_filter_range { #define KVM_MSR_FILTER_READ (1 << 0) #define KVM_MSR_FILTER_WRITE (1 << 1) __u32 flags; __u32 nmsrs; /* number of msrs in bitmap */ __u32 base; /* MSR index the bitmap starts at */ __u8 *bitmap; /* a 1 bit allows the operations in flags, 0 denies */ }; #define KVM_MSR_FILTER_MAX_RANGES 16 struct kvm_msr_filter { #define KVM_MSR_FILTER_DEFAULT_ALLOW (0 << 0) #define KVM_MSR_FILTER_DEFAULT_DENY (1 << 0) __u32 flags; struct kvm_msr_filter_range ranges[KVM_MSR_FILTER_MAX_RANGES]; };”h]”hX)struct kvm_msr_filter_range { #define KVM_MSR_FILTER_READ (1 << 0) #define KVM_MSR_FILTER_WRITE (1 << 1) __u32 flags; __u32 nmsrs; /* number of msrs in bitmap */ __u32 base; /* MSR index the bitmap starts at */ __u8 *bitmap; /* a 1 bit allows the operations in flags, 0 denies */ }; #define KVM_MSR_FILTER_MAX_RANGES 16 struct kvm_msr_filter { #define KVM_MSR_FILTER_DEFAULT_ALLOW (0 << 0) #define KVM_MSR_FILTER_DEFAULT_DENY (1 << 0) __u32 flags; struct kvm_msr_filter_range ranges[KVM_MSR_FILTER_MAX_RANGES]; };”…”�”}”hj.øsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MŽhj-÷h²hubhï)�”}”(hŒ1flags values for ``struct kvm_msr_filter_range``:”h]”(hŒflags values for ”…”�”}”(hj<øh²hh³Nh´NubjÈ)�”}”(hŒ``struct kvm_msr_filter_range``”h]”hŒstruct kvm_msr_filter_range”…”�”}”(hjDøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj<øubhŒ:”…”�”}”(hj<øh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸhj-÷h²hubhï)�”}”(hŒ``KVM_MSR_FILTER_READ``”h]”jÈ)�”}”(hj^øh]”hŒKVM_MSR_FILTER_READ”…”�”}”(hj`øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj\øubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hj-÷h²hubj )�”}”(hŒæFilter read accesses to MSRs using the given bitmap. A 0 in the bitmap indicates that read accesses should be denied, while a 1 indicates that a read for a particular MSR should be allowed regardless of the default filter action. ”h]”hï)�”}”(hŒåFilter read accesses to MSRs using the given bitmap. A 0 in the bitmap indicates that read accesses should be denied, while a 1 indicates that a read for a particular MSR should be allowed regardless of the default filter action.”h]”hŒåFilter read accesses to MSRs using the given bitmap. A 0 in the bitmap indicates that read accesses should be denied, while a 1 indicates that a read for a particular MSR should be allowed regardless of the default filter action.”…”�”}”(hjwøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hjsøubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M£hj-÷h²hubhï)�”}”(hŒ``KVM_MSR_FILTER_WRITE``”h]”jÈ)�”}”(hj�øh]”hŒKVM_MSR_FILTER_WRITE”…”�”}”(hj�øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj‹øubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨hj-÷h²hubj )�”}”(hŒéFilter write accesses to MSRs using the given bitmap. A 0 in the bitmap indicates that write accesses should be denied, while a 1 indicates that a write for a particular MSR should be allowed regardless of the default filter action. ”h]”hï)�”}”(hŒèFilter write accesses to MSRs using the given bitmap. A 0 in the bitmap indicates that write accesses should be denied, while a 1 indicates that a write for a particular MSR should be allowed regardless of the default filter action.”h]”hŒèFilter write accesses to MSRs using the given bitmap. A 0 in the bitmap indicates that write accesses should be denied, while a 1 indicates that a write for a particular MSR should be allowed regardless of the default filter action.”…”�”}”(hj¦øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mªhj¢øubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mªhj-÷h²hubhï)�”}”(hŒ+flags values for ``struct kvm_msr_filter``:”h]”(hŒflags values for ”…”�”}”(hjºøh²hh³Nh´NubjÈ)�”}”(hŒ``struct kvm_msr_filter``”h]”hŒstruct kvm_msr_filter”…”�”}”(hjÂøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjºøubhŒ:”…”�”}”(hjºøh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯hj-÷h²hubhï)�”}”(hŒ ``KVM_MSR_FILTER_DEFAULT_ALLOW``”h]”jÈ)�”}”(hjÜøh]”hŒKVM_MSR_FILTER_DEFAULT_ALLOW”…”�”}”(hjÞøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÚøubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M±hj-÷h²hubj )�”}”(hŒrIf no filter range matches an MSR index that is getting accessed, KVM will allow accesses to all MSRs by default. ”h]”hï)�”}”(hŒqIf no filter range matches an MSR index that is getting accessed, KVM will allow accesses to all MSRs by default.”h]”hŒqIf no filter range matches an MSR index that is getting accessed, KVM will allow accesses to all MSRs by default.”…”�”}”(hjõøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³hjñøubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M³hj-÷h²hubhï)�”}”(hŒ``KVM_MSR_FILTER_DEFAULT_DENY``”h]”jÈ)�”}”(hj ùh]”hŒKVM_MSR_FILTER_DEFAULT_DENY”…”�”}”(hj ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj ùubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶hj-÷h²hubj )�”}”(hŒqIf no filter range matches an MSR index that is getting accessed, KVM will deny accesses to all MSRs by default. ”h]”hï)�”}”(hŒpIf no filter range matches an MSR index that is getting accessed, KVM will deny accesses to all MSRs by default.”h]”hŒpIf no filter range matches an MSR index that is getting accessed, KVM will deny accesses to all MSRs by default.”…”�”}”(hj$ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸hj ùubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M¸hj-÷h²hubhï)�”}”(hXThis ioctl allows userspace to define up to 16 bitmaps of MSR ranges to deny guest MSR accesses that would normally be allowed by KVM. If an MSR is not covered by a specific range, the "default" filtering behavior applies. Each bitmap range covers MSRs from [base .. base+nmsrs).”h]”hXThis ioctl allows userspace to define up to 16 bitmaps of MSR ranges to deny guest MSR accesses that would normally be allowed by KVM. If an MSR is not covered by a specific range, the “defaultâ€� filtering behavior applies. Each bitmap range covers MSRs from [base .. base+nmsrs).”…”�”}”(hj8ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M»hj-÷h²hubhï)�”}”(hXGIf an MSR access is denied by userspace, the resulting KVM behavior depends on whether or not KVM_CAP_X86_USER_SPACE_MSR's KVM_MSR_EXIT_REASON_FILTER is enabled. If KVM_MSR_EXIT_REASON_FILTER is enabled, KVM will exit to userspace on denied accesses, i.e. userspace effectively intercepts the MSR access. If KVM_MSR_EXIT_REASON_FILTER is not enabled, KVM will inject a #GP into the guest on denied accesses. Note, if an MSR access is denied during emulation of MSR load/stores during VMX transitions, KVM ignores KVM_MSR_EXIT_REASON_FILTER. See the below warning for full details.”h]”hXIIf an MSR access is denied by userspace, the resulting KVM behavior depends on whether or not KVM_CAP_X86_USER_SPACE_MSR’s KVM_MSR_EXIT_REASON_FILTER is enabled. If KVM_MSR_EXIT_REASON_FILTER is enabled, KVM will exit to userspace on denied accesses, i.e. userspace effectively intercepts the MSR access. If KVM_MSR_EXIT_REASON_FILTER is not enabled, KVM will inject a #GP into the guest on denied accesses. Note, if an MSR access is denied during emulation of MSR load/stores during VMX transitions, KVM ignores KVM_MSR_EXIT_REASON_FILTER. See the below warning for full details.”…”�”}”(hjFùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀhj-÷h²hubhï)�”}”(hX#If an MSR access is allowed by userspace, KVM will emulate and/or virtualize the access in accordance with the vCPU model. Note, KVM may still ultimately inject a #GP if an access is allowed by userspace, e.g. if KVM doesn't support the MSR, or to follow architectural behavior for the MSR.”h]”hX%If an MSR access is allowed by userspace, KVM will emulate and/or virtualize the access in accordance with the vCPU model. Note, KVM may still ultimately inject a #GP if an access is allowed by userspace, e.g. if KVM doesn’t support the MSR, or to follow architectural behavior for the MSR.”…”�”}”(hjTùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÉhj-÷h²hubhï)�”}”(hŒXBy default, KVM operates in KVM_MSR_FILTER_DEFAULT_ALLOW mode with no MSR range filters.”h]”hŒXBy default, KVM operates in KVM_MSR_FILTER_DEFAULT_ALLOW mode with no MSR range filters.”…”�”}”(hjbùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhj-÷h²hubhï)�”}”(hŒ¥Calling this ioctl with an empty set of ranges (all nmsrs == 0) disables MSR filtering. In that mode, ``KVM_MSR_FILTER_DEFAULT_DENY`` is invalid and causes an error.”h]”(hŒfCalling this ioctl with an empty set of ranges (all nmsrs == 0) disables MSR filtering. In that mode, ”…”�”}”(hjpùh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_MSR_FILTER_DEFAULT_DENY``”h]”hŒKVM_MSR_FILTER_DEFAULT_DENY”…”�”}”(hjxùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjpùubhŒ is invalid and causes an error.”…”�”}”(hjpùh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhj-÷h²hubj÷?)�”}”(hX MSR accesses that are side effects of instruction execution (emulated or native) are not filtered as hardware does not honor MSR bitmaps outside of RDMSR and WRMSR, and KVM mimics that behavior when emulating instructions to avoid pointless divergence from hardware. E.g. RDPID reads MSR_TSC_AUX, SYSENTER reads the SYSENTER MSRs, etc. MSRs that are loaded/stored via dedicated VMCS fields are not filtered as part of VM-Enter/VM-Exit emulation. MSRs that are loaded/store via VMX's load/store lists _are_ filtered as part of VM-Enter/VM-Exit emulation. If an MSR access is denied on VM-Enter, KVM synthesizes a consistency check VM-Exit(EXIT_REASON_MSR_LOAD_FAIL). If an MSR access is denied on VM-Exit, KVM synthesizes a VM-Abort. In short, KVM extends Intel's architectural list of MSRs that cannot be loaded/saved via the VM-Enter/VM-Exit MSR list. It is platform owner's responsibility to to communicate any such restrictions to their end users. x2APIC MSR accesses cannot be filtered (KVM silently ignores filters that cover any x2APIC MSRs).”h]”(hï)�”}”(hXPMSR accesses that are side effects of instruction execution (emulated or native) are not filtered as hardware does not honor MSR bitmaps outside of RDMSR and WRMSR, and KVM mimics that behavior when emulating instructions to avoid pointless divergence from hardware. E.g. RDPID reads MSR_TSC_AUX, SYSENTER reads the SYSENTER MSRs, etc.”h]”hXPMSR accesses that are side effects of instruction execution (emulated or native) are not filtered as hardware does not honor MSR bitmaps outside of RDMSR and WRMSR, and KVM mimics that behavior when emulating instructions to avoid pointless divergence from hardware. E.g. RDPID reads MSR_TSC_AUX, SYSENTER reads the SYSENTER MSRs, etc.”…”�”}”(hj”ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖhj�ùubhï)�”}”(hŒmMSRs that are loaded/stored via dedicated VMCS fields are not filtered as part of VM-Enter/VM-Exit emulation.”h]”hŒmMSRs that are loaded/stored via dedicated VMCS fields are not filtered as part of VM-Enter/VM-Exit emulation.”…”�”}”(hj¢ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜhj�ùubhï)�”}”(hXüMSRs that are loaded/store via VMX's load/store lists _are_ filtered as part of VM-Enter/VM-Exit emulation. If an MSR access is denied on VM-Enter, KVM synthesizes a consistency check VM-Exit(EXIT_REASON_MSR_LOAD_FAIL). If an MSR access is denied on VM-Exit, KVM synthesizes a VM-Abort. In short, KVM extends Intel's architectural list of MSRs that cannot be loaded/saved via the VM-Enter/VM-Exit MSR list. It is platform owner's responsibility to to communicate any such restrictions to their end users.”h]”hXMSRs that are loaded/store via VMX’s load/store lists _are_ filtered as part of VM-Enter/VM-Exit emulation. If an MSR access is denied on VM-Enter, KVM synthesizes a consistency check VM-Exit(EXIT_REASON_MSR_LOAD_FAIL). If an MSR access is denied on VM-Exit, KVM synthesizes a VM-Abort. In short, KVM extends Intel’s architectural list of MSRs that cannot be loaded/saved via the VM-Enter/VM-Exit MSR list. It is platform owner’s responsibility to to communicate any such restrictions to their end users.”…”�”}”(hj°ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mßhj�ùubhï)�”}”(hŒax2APIC MSR accesses cannot be filtered (KVM silently ignores filters that cover any x2APIC MSRs).”h]”hŒax2APIC MSR accesses cannot be filtered (KVM silently ignores filters that cover any x2APIC MSRs).”…”�”}”(hj¾ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mçhj�ùubeh}”(h]”h ]”h"]”h$]”h&]”uh1jö?hj-÷h²hh³hÇh´Nubhï)�”}”(hXNote, invoking this ioctl while a vCPU is running is inherently racy. However, KVM does guarantee that vCPUs will see either the previous filter or the new filter, e.g. MSRs with identical settings in both the old and new filter will have deterministic behavior.”h]”hXNote, invoking this ioctl while a vCPU is running is inherently racy. However, KVM does guarantee that vCPUs will see either the previous filter or the new filter, e.g. MSRs with identical settings in both the old and new filter will have deterministic behavior.”…”�”}”(hjÒùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mêhj-÷h²hubhï)�”}”(hXSimilarly, if userspace wishes to intercept on denied accesses, KVM_MSR_EXIT_REASON_FILTER must be enabled before activating any filters, and left enabled until after all filters are deactivated. Failure to do so may result in KVM injecting a #GP instead of exiting to userspace.”h]”hXSimilarly, if userspace wishes to intercept on denied accesses, KVM_MSR_EXIT_REASON_FILTER must be enabled before activating any filters, and left enabled until after all filters are deactivated. Failure to do so may result in KVM injecting a #GP instead of exiting to userspace.”…”�”}”(hjàùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mïhj-÷h²hubeh}”(h]”Œkvm-x86-set-msr-filter”ah ]”h"]”Œ4.97 kvm_x86_set_msr_filter”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M„ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.98 KVM_CREATE_SPAPR_TCE_64”h]”hŒ4.98 KVM_CREATE_SPAPR_TCE_64”…”�”}”(hjùùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjöùh²hh³hÇh´Mõubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj úh³hÇh´Kubj�)�”}”(hŒKVM_CAP_SPAPR_TCE_64”h]”hï)�”}”(hjúh]”hŒKVM_CAP_SPAPR_TCE_64”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷hjúubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj úubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M÷hjúh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj;úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj8úh³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hjKúh]”hŒpowerpc”…”�”}”(hjMúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MøhjIúubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj8úubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Møhjúh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjiúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjfúh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjyúh]”hŒvm ioctl”…”�”}”(hj{úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mùhjwúubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjfúubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mùhjúh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj—úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj”úh³hÇh´Kubj�)�”}”(hŒ#struct kvm_create_spapr_tce_64 (in)”h]”hï)�”}”(hj§úh]”hŒ#struct kvm_create_spapr_tce_64 (in)”…”�”}”(hj©úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Múhj¥úubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj”úubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Múhjúh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÅúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÂúh³hÇh´Kubj�)�”}”(hŒ7file descriptor for manipulating the created TCE table ”h]”hï)�”}”(hŒ6file descriptor for manipulating the created TCE table”h]”hŒ6file descriptor for manipulating the created TCE table”…”�”}”(hj×úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MûhjÓúubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÂúubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mûhjúh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjöùh²hh³hÇh´M÷ubhï)�”}”(hŒtThis is an extension for KVM_CAP_SPAPR_TCE which only supports 32bit windows, described in 4.62 KVM_CREATE_SPAPR_TCE”h]”hŒtThis is an extension for KVM_CAP_SPAPR_TCE which only supports 32bit windows, described in 4.62 KVM_CREATE_SPAPR_TCE”…”�”}”(hj÷úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mýhjöùh²hubhï)�”}”(hŒ9This capability uses extended struct in ioctl interface::”h]”hŒ8This capability uses extended struct in ioctl interface:”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjöùh²hubj8)�”}”(hŒÊ/* for KVM_CAP_SPAPR_TCE_64 */ struct kvm_create_spapr_tce_64 { __u64 liobn; __u32 page_shift; __u32 flags; __u64 offset; /* in pages */ __u64 size; /* in pages */ };”h]”hŒÊ/* for KVM_CAP_SPAPR_TCE_64 */ struct kvm_create_spapr_tce_64 { __u64 liobn; __u32 page_shift; __u32 flags; __u64 offset; /* in pages */ __u64 size; /* in pages */ };”…”�”}”hjûsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mhjöùh²hubhï)�”}”(hXThe aim of extension is to support an additional bigger DMA window with a variable page size. KVM_CREATE_SPAPR_TCE_64 receives a 64bit window size, an IOMMU page shift and a bus offset of the corresponding DMA window, @size and @offset are numbers of IOMMU pages.”h]”hXThe aim of extension is to support an additional bigger DMA window with a variable page size. KVM_CREATE_SPAPR_TCE_64 receives a 64bit window size, an IOMMU page shift and a bus offset of the corresponding DMA window, @size and @offset are numbers of IOMMU pages.”…”�”}”(hj!ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjöùh²hubhï)�”}”(hŒ"@flags are not used at the moment.”h]”hŒ"@flags are not used at the moment.”…”�”}”(hj/ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjöùh²hubhï)�”}”(hŒ?The rest of functionality is identical to KVM_CREATE_SPAPR_TCE.”h]”hŒ?The rest of functionality is identical to KVM_CREATE_SPAPR_TCE.”…”�”}”(hj=ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjöùh²hubeh}”(h]”Œkvm-create-spapr-tce-64”ah ]”h"]”Œ4.98 kvm_create_spapr_tce_64”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MõubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.99 KVM_REINJECT_CONTROL”h]”hŒ4.99 KVM_REINJECT_CONTROL”…”�”}”(hjVûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjSûh²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjgûh³hÇh´Kubj�)�”}”(hŒKVM_CAP_REINJECT_CONTROL”h]”hï)�”}”(hjzûh]”hŒKVM_CAP_REINJECT_CONTROL”…”�”}”(hj|ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjxûubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjgûubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjdûh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj˜ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj•ûh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj¨ûh]”hŒx86”…”�”}”(hjªûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj¦ûubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj•ûubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjdûh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÆûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÃûh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjÖûh]”hŒvm ioctl”…”�”}”(hjØûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÔûubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÃûubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjdûh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjôûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjñûh³hÇh´Kubj�)�”}”(hŒ struct kvm_reinject_control (in)”h]”hï)�”}”(hjüh]”hŒ struct kvm_reinject_control (in)”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjüubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjñûubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjdûh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj"üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjüh³hÇh´Kubj�)�”}”(hŒ‰0 on success, -EFAULT if struct kvm_reinject_control cannot be read, -ENXIO if KVM_CREATE_PIT or KVM_CREATE_PIT2 didn't succeed earlier. ”h]”hï)�”}”(hŒˆ0 on success, -EFAULT if struct kvm_reinject_control cannot be read, -ENXIO if KVM_CREATE_PIT or KVM_CREATE_PIT2 didn't succeed earlier.”h]”hŒŠ0 on success, -EFAULT if struct kvm_reinject_control cannot be read, -ENXIO if KVM_CREATE_PIT or KVM_CREATE_PIT2 didn’t succeed earlier.”…”�”}”(hj4üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj0üubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjüubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjdûh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjSûh²hh³hÇh´Mubhï)�”}”(hXfi8254 (PIT) has two modes, reinject and !reinject. The default is reinject, where KVM queues elapsed i8254 ticks and monitors completion of interrupt from vector(s) that i8254 injects. Reinject mode dequeues a tick and injects its interrupt whenever there isn't a pending interrupt from i8254. !reinject mode injects an interrupt as soon as a tick arrives.”h]”hXhi8254 (PIT) has two modes, reinject and !reinject. The default is reinject, where KVM queues elapsed i8254 ticks and monitors completion of interrupt from vector(s) that i8254 injects. Reinject mode dequeues a tick and injects its interrupt whenever there isn’t a pending interrupt from i8254. !reinject mode injects an interrupt as soon as a tick arrives.”…”�”•}”(hjTüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjSûh²hubj8)�”}”(hŒRstruct kvm_reinject_control { __u8 pit_reinject; __u8 reserved[31]; };”h]”hŒRstruct kvm_reinject_control { __u8 pit_reinject; __u8 reserved[31]; };”…”�”}”hjbüsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M(hjSûh²hubhï)�”}”(hŒ‰pit_reinject = 0 (!reinject mode) is recommended, unless running an old operating system that uses the PIT for timing (e.g. Linux 2.4.x).”h]”hŒ‰pit_reinject = 0 (!reinject mode) is recommended, unless running an old operating system that uses the PIT for timing (e.g. Linux 2.4.x).”…”�”}”(hjpüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hjSûh²hubeh}”(h]”Œkvm-reinject-control”ah ]”h"]”Œ4.99 kvm_reinject_control”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.100 KVM_PPC_CONFIGURE_V3_MMU”h]”hŒ4.100 KVM_PPC_CONFIGURE_V3_MMU”…”�”}”(hj‰üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj†üh²hh³hÇh´M1ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj�üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjšüh³hÇh´Kubj�)�”}”(hŒ0KVM_CAP_PPC_MMU_RADIX or KVM_CAP_PPC_MMU_HASH_V3”h]”hï)�”}”(hj­üh]”hŒ0KVM_CAP_PPC_MMU_RADIX or KVM_CAP_PPC_MMU_HASH_V3”…”�”}”(hj¯üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3hj«üubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjšüubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M3hj—üh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjËüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÈüh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hjÛüh]”hŒppc”…”�”}”(hjÝüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4hjÙüubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÈüubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M4hj—üh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjùüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjöüh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj ýh]”hŒvm ioctl”…”�”}”(hj ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hjýubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjöüubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M5hj—üh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj'ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj$ýh³hÇh´Kubj�)�”}”(hŒstruct kvm_ppc_mmuv3_cfg (in)”h]”hï)�”}”(hj7ýh]”hŒstruct kvm_ppc_mmuv3_cfg (in)”…”�”}”(hj9ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hj5ýubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj$ýubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M6hj—üh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjUýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjRýh³hÇh´Kubj�)�”}”(hŒj0 on success, -EFAULT if struct kvm_ppc_mmuv3_cfg cannot be read, -EINVAL if the configuration is invalid ”h]”hï)�”}”(hŒi0 on success, -EFAULT if struct kvm_ppc_mmuv3_cfg cannot be read, -EINVAL if the configuration is invalid”h]”hŒi0 on success, -EFAULT if struct kvm_ppc_mmuv3_cfg cannot be read, -EINVAL if the configuration is invalid”…”�”}”(hjgýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M7hjcýubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjRýubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M7hj—üh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj†üh²hh³hÇh´M3ubhï)�”}”(hŒ•This ioctl controls whether the guest will use radix or HPT (hashed page table) translation, and sets the pointer to the process table for the guest.”h]”hŒ•This ioctl controls whether the guest will use radix or HPT (hashed page table) translation, and sets the pointer to the process table for the guest.”…”�”}”(hj‡ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hj†üh²hubj8)�”}”(hŒOstruct kvm_ppc_mmuv3_cfg { __u64 flags; __u64 process_table; };”h]”hŒOstruct kvm_ppc_mmuv3_cfg { __u64 flags; __u64 process_table; };”…”�”}”hj•ýsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MAhj†üh²hubhï)�”}”(hX�There are two bits that can be set in flags; KVM_PPC_MMUV3_RADIX and KVM_PPC_MMUV3_GTSE. KVM_PPC_MMUV3_RADIX, if set, configures the guest to use radix tree translation, and if clear, to use HPT translation. KVM_PPC_MMUV3_GTSE, if set and if KVM permits it, configures the guest to be able to use the global TLB and SLB invalidation instructions; if clear, the guest may not use these instructions.”h]”hX�There are two bits that can be set in flags; KVM_PPC_MMUV3_RADIX and KVM_PPC_MMUV3_GTSE. KVM_PPC_MMUV3_RADIX, if set, configures the guest to use radix tree translation, and if clear, to use HPT translation. KVM_PPC_MMUV3_GTSE, if set and if KVM permits it, configures the guest to be able to use the global TLB and SLB invalidation instructions; if clear, the guest may not use these instructions.”…”�”}”(hj£ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhj†üh²hubhï)�”}”(hŒþThe process_table field specifies the address and size of the guest process table, which is in the guest's space. This field is formatted as the second doubleword of the partition table entry, as defined in the Power ISA V3.00, Book III section 5.7.6.1.”h]”hXThe process_table field specifies the address and size of the guest process table, which is in the guest’s space. This field is formatted as the second doubleword of the partition table entry, as defined in the Power ISA V3.00, Book III section 5.7.6.1.”…”�”}”(hj±ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhj†üh²hubeh}”(h]”Œkvm-ppc-configure-v3-mmu”ah ]”h"]”Œ4.100 kvm_ppc_configure_v3_mmu”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M1ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.101 KVM_PPC_GET_RMMU_INFO”h]”hŒ4.101 KVM_PPC_GET_RMMU_INFO”…”�”}”(hjÊýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÇýh²hh³hÇh´MSubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÞýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÛýh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PPC_MMU_RADIX”h]”hï)�”}”(hjîýh]”hŒKVM_CAP_PPC_MMU_RADIX”…”�”}”(hjðýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MUhjìýubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÛýubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MUhjØýh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj þh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hjþh]”hŒppc”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MVhjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj þubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MVhjØýh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj:þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj7þh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjJþh]”hŒvm ioctl”…”�”}”(hjLþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MWhjHþubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj7þubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MWhjØýh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjeþh³hÇh´Kubj�)�”}”(hŒstruct kvm_ppc_rmmu_info (out)”h]”hï)�”}”(hjxþh]”hŒstruct kvm_ppc_rmmu_info (out)”…”�”}”(hjzþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhjvþubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjeþubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MXhjØýh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj–þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj“þh³hÇh´Kubj�)�”}”(hŒv0 on success, -EFAULT if struct kvm_ppc_rmmu_info cannot be written, -EINVAL if no useful information can be returned ”h]”hï)�”}”(hŒu0 on success, -EFAULT if struct kvm_ppc_rmmu_info cannot be written, -EINVAL if no useful information can be returned”h]”hŒu0 on success, -EFAULT if struct kvm_ppc_rmmu_info cannot be written, -EINVAL if no useful information can be returned”…”�”}”(hj¨þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MYhj¤þubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj“þubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MYhjØýh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÇýh²hh³hÇh´MUubhï)�”}”(hŒîThis ioctl returns a structure containing two things: (a) a list containing supported radix tree geometries, and (b) a list that maps page sizes to put in the "AP" (actual page size) field for the tlbie (TLB invalidate entry) instruction.”h]”hŒòThis ioctl returns a structure containing two things: (a) a list containing supported radix tree geometries, and (b) a list that maps page sizes to put in the “APâ€� (actual page size) field for the tlbie (TLB invalidate entry) instruction.”…”�”}”(hjÈþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]hjÇýh²hubj8)�”}”(hŒàstruct kvm_ppc_rmmu_info { struct kvm_ppc_radix_geom { __u8 page_shift; __u8 level_bits[4]; __u8 pad[3]; } geometries[8]; __u32 ap_encodings[8]; };”h]”hŒàstruct kvm_ppc_rmmu_info { struct kvm_ppc_radix_geom { __u8 page_shift; __u8 level_bits[4]; __u8 pad[3]; } geometries[8]; __u32 ap_encodings[8]; };”…”�”}”hjÖþsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MdhjÇýh²hubhï)�”}”(hX2The geometries[] field gives up to 8 supported geometries for the radix page table, in terms of the log base 2 of the smallest page size, and the number of bits indexed at each level of the tree, from the PTE level up to the PGD level in that order. Any unused entries will have 0 in the page_shift field.”h]”hX2The geometries[] field gives up to 8 supported geometries for the radix page table, in terms of the log base 2 of the smallest page size, and the number of bits indexed at each level of the tree, from the PTE level up to the PGD level in that order. Any unused entries will have 0 in the page_shift field.”…”�”}”(hjäþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MmhjÇýh²hubhï)�”}”(hŒ³The ap_encodings gives the supported page sizes and their AP field encodings, encoded with the AP value in the top 3 bits and the log base 2 of the page size in the bottom 6 bits.”h]”hŒ³The ap_encodings gives the supported page sizes and their AP field encodings, encoded with the AP value in the top 3 bits and the log base 2 of the page size in the bottom 6 bits.”…”�”}”(hjòþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MshjÇýh²hubeh}”(h]”Œkvm-ppc-get-rmmu-info”ah ]”h"]”Œ4.101 kvm_ppc_get_rmmu_info”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MSubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ 4.102 KVM_PPC_RESIZE_HPT_PREPARE”h]”hŒ 4.102 KVM_PPC_RESIZE_HPT_PREPARE”…”�”}”(hj ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÿh²hh³hÇh´Mxubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÿh³hÇh´Kubj�)�”}”(hŒKVM_CAP_SPAPR_RESIZE_HPT”h]”hï)�”}”(hj/ÿh]”hŒKVM_CAP_SPAPR_RESIZE_HPT”…”�”}”(hj1ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mzhj-ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mzhjÿh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjMÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJÿh³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hj]ÿh]”hŒpowerpc”…”�”}”(hj_ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M{hj[ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M{hjÿh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj{ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjxÿh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj‹ÿh]”hŒvm ioctl”…”�”}”(hj�ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|hj‰ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjxÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M|hjÿh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj©ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¦ÿh³hÇh´Kubj�)�”}”(hŒstruct kvm_ppc_resize_hpt (in)”h]”hï)�”}”(hj¹ÿh]”hŒstruct kvm_ppc_resize_hpt (in)”…”�”}”(hj»ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M}hj·ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¦ÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M}hjÿh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj×ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔÿh³hÇh´Kubj�)�”}”(hX%0 on successful completion, >0 if a new HPT is being prepared, the value is an estimated number of milliseconds until preparation is complete, -EFAULT if struct kvm_reinject_control cannot be read, -EINVAL if the supplied shift or flags are invalid, -ENOMEM if unable to allocate the new HPT, ”h]”hï)�”}”(hX$0 on successful completion, >0 if a new HPT is being prepared, the value is an estimated number of milliseconds until preparation is complete, -EFAULT if struct kvm_reinject_control cannot be read, -EINVAL if the supplied shift or flags are invalid, -ENOMEM if unable to allocate the new HPT,”h]”hX$0 on successful completion, >0 if a new HPT is being prepared, the value is an estimated number of milliseconds until preparation is complete, -EFAULT if struct kvm_reinject_control cannot be read, -EINVAL if the supplied shift or flags are invalid, -ENOMEM if unable to allocate the new HPT,”…”�”}”(hjéÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M~hjåÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÔÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M~hjÿh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÿh²hh³hÇh´Mzubhï)�”}”(hŒÿUsed to implement the PAPR extension for runtime resizing of a guest's Hashed Page Table (HPT). Specifically this starts, stops or monitors the preparation of a new potential HPT for the guest, essentially implementing the H_RESIZE_HPT_PREPARE hypercall.”h]”hXUsed to implement the PAPR extension for runtime resizing of a guest’s Hashed Page Table (HPT). Specifically this starts, stops or monitors the preparation of a new potential HPT for the guest, essentially implementing the H_RESIZE_HPT_PREPARE hypercall.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M…hjÿh²hubj8)�”}”(hŒUstruct kvm_ppc_resize_hpt { __u64 flags; __u32 shift; __u32 pad; };”h]”hŒUstruct kvm_ppc_resize_hpt { __u64 flags; __u32 shift; __u32 pad; };”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MŒhjÿh²hubhï)�”}”(hŒöIf called with shift > 0 when there is no pending HPT for the guest, this begins preparation of a new pending HPT of size 2^(shift) bytes. It then returns a positive integer with the estimated number of milliseconds until preparation is complete.”h]”hŒöIf called with shift > 0 when there is no pending HPT for the guest, this begins preparation of a new pending HPT of size 2^(shift) bytes. It then returns a positive integer with the estimated number of milliseconds until preparation is complete.”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M’hjÿh²hubhï)�”}”(hŒ£If called when there is a pending HPT whose size does not match that requested in the parameters, discards the existing pending HPT and creates a new one as above.”h]”hŒ£If called when there is a pending HPT whose size does not match that requested in the parameters, discards the existing pending HPT and creates a new one as above.”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M—hjÿh²hubhï)�”}”(hŒBIf called when there is a pending HPT of the size requested, will:”h]”hŒBIf called when there is a pending HPT of the size requested, will:”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M›hjÿh²hubj )�”}”(hX.* If preparation of the pending HPT is already complete, return 0 * If preparation of the pending HPT has failed, return an error code, then discard the pending HPT. * If preparation of the pending HPT is still in progress, return an estimated number of milliseconds until preparation is complete. ”h]”j)�”}”(hhh]”(j)�”}”(hŒ?If preparation of the pending HPT is already complete, return 0”h]”hï)�”}”(hjXh]”hŒ?If preparation of the pending HPT is already complete, return 0”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hjVubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjSubj)�”}”(hŒaIf preparation of the pending HPT has failed, return an error code, then discard the pending HPT.”h]”hï)�”}”(hŒaIf preparation of the pending HPT has failed, return an error code, then discard the pending HPT.”h]”hŒaIf preparation of the pending HPT has failed, return an error code, then discard the pending HPT.”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mžhjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjSubj)�”}”(hŒ‚If preparation of the pending HPT is still in progress, return an estimated number of milliseconds until preparation is complete. ”h]”hï)�”}”(hŒ�If preparation of the pending HPT is still in progress, return an estimated number of milliseconds until preparation is complete.”h]”hŒ�If preparation of the pending HPT is still in progress, return an estimated number of milliseconds until preparation is complete.”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjSubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´M�hjOubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M�hjÿh²hubhï)�”}”(hŒwIf called with shift == 0, discards any currently pending HPT and returns 0 (i.e. cancels any in-progress preparation).”h]”hŒwIf called with shift == 0, discards any currently pending HPT and returns 0 (i.e. cancels any in-progress preparation).”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hjÿh²hubhï)�”}”(hŒfflags is reserved for future expansion, currently setting any bits in flags will result in an -EINVAL.”h]”hŒfflags is reserved for future expansion, currently setting any bits in flags will result in an -EINVAL.”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦hjÿh²hubhï)�”}”(hŒÈNormally this will be called repeatedly with the same parameters until it returns <= 0. The first call will initiate preparation, subsequent ones will monitor preparation until it completes or fails.”h]”hŒÈNormally this will be called repeatedly with the same parameters until it returns <= 0. The first call will initiate preparation, subsequent ones will monitor preparation until it completes or fails.”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M©hjÿh²hubeh}”(h]”Œkvm-ppc-resize-hpt-prepare”ah ]”h"]”Œ 4.102 kvm_ppc_resize_hpt_prepare”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MxubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.103 KVM_PPC_RESIZE_HPT_COMMIT”h]”hŒ4.103 KVM_PPC_RESIZE_HPT_COMMIT”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÛh²hh³hÇh´M®ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjïh³hÇh´Kubj�)�”}”(hŒKVM_CAP_SPAPR_RESIZE_HPT”h]”hï)�”}”(hjh]”hŒKVM_CAP_SPAPR_RESIZE_HPT”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M°hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M°hjìh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hj0h]”hŒpowerpc”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M±hj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M±hjìh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjKh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj^h]”hŒvm ioctl”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M²hj\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M²hjìh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyh³hÇh´Kubj�)�”}”(hŒstruct kvm_ppc_resize_hpt (in)”h]”hï)�”}”(hjŒh]”hŒstruct kvm_ppc_resize_hpt (in)”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³hjŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M³hjìh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj§h³hÇh´Kubj�)�”}”(hX…0 on successful completion, -EFAULT if struct kvm_reinject_control cannot be read, -EINVAL if the supplied shift or flags are invalid, -ENXIO is there is no pending HPT, or the pending HPT doesn't have the requested size, -EBUSY if the pending HPT is not fully prepared, -ENOSPC if there was a hash collision when moving existing HPT entries to the new HPT, -EIO on other error conditions ”h]”hï)�”}”(hX„0 on successful completion, -EFAULT if struct kvm_reinject_control cannot be read, -EINVAL if the supplied shift or flags are invalid, -ENXIO is there is no pending HPT, or the pending HPT doesn't have the requested size, -EBUSY if the pending HPT is not fully prepared, -ENOSPC if there was a hash collision when moving existing HPT entries to the new HPT, -EIO on other error conditions”h]”hX†0 on successful completion, -EFAULT if struct kvm_reinject_control cannot be read, -EINVAL if the supplied shift or flags are invalid, -ENXIO is there is no pending HPT, or the pending HPT doesn’t have the requested size, -EBUSY if the pending HPT is not fully prepared, -ENOSPC if there was a hash collision when moving existing HPT entries to the new HPT, -EIO on other error conditions”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´hj¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj§ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M´hjìh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÛh²hh³hÇh´M°ubhï)�”}”(hŒòUsed to implement the PAPR extension for runtime resizing of a guest's Hashed Page Table (HPT). Specifically this requests that the guest be transferred to working with the new HPT, essentially implementing the H_RESIZE_HPT_COMMIT hypercall.”h]”hŒôUsed to implement the PAPR extension for runtime resizing of a guest’s Hashed Page Table (HPT). Specifically this requests that the guest be transferred to working with the new HPT, essentially implementing the H_RESIZE_HPT_COMMIT hypercall.”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾hjÛh²hubj8)�”}”(hŒUstruct kvm_ppc_resize_hpt { __u64 flags; __u32 shift; __u32 pad; };”h]”hŒUstruct kvm_ppc_resize_hpt { __u64 flags; __u32 shift; __u32 pad; };”…”�”}”hjêsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÅhjÛh²hubhï)�”}”(hX This should only be called after KVM_PPC_RESIZE_HPT_PREPARE has returned 0 with the same parameters. In other cases KVM_PPC_RESIZE_HPT_COMMIT will return an error (usually -ENXIO or -EBUSY, though others may be possible if the preparation was started, but failed).”h]”hX This should only be called after KVM_PPC_RESIZE_HPT_PREPARE has returned 0 with the same parameters. In other cases KVM_PPC_RESIZE_HPT_COMMIT will return an error (usually -ENXIO or -EBUSY, though others may be possible if the preparation was started, but failed).”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MËhjÛh²hubhï)�”}”(hŒ›This will have undefined effects on the guest if it has not already placed itself in a quiescent state where no vcpu will make MMU enabled memory accesses.”h]”hŒ›This will have undefined effects on the guest if it has not already placed itself in a quiescent state where no vcpu will make MMU enabled memory accesses.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhjÛh²hubhï)�”}”(hŒtOn successful completion, the pending HPT will become the guest's active HPT and the previous HPT will be discarded.”h]”hŒvOn successful completion, the pending HPT will become the guest’s active HPT and the previous HPT will be discarded.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕhjÛh²hubhï)�”}”(hŒBOn failure, the guest will still be operating on its previous HPT.”h]”hŒBOn failure, the guest will still be operating on its previous HPT.”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØhjÛh²hubeh}”(h]”Œkvm-ppc-resize-hpt-commit”ah ]”h"]”Œ4.103 kvm_ppc_resize_hpt_commit”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M®ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ#4.104 KVM_X86_GET_MCE_CAP_SUPPORTED”h]”hŒ#4.104 KVM_X86_GET_MCE_CAP_SUPPORTED”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj8h²hh³hÇh´MÛubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjLh³hÇh´Kubj�)�”}”(hŒ KVM_CAP_MCE”h]”hï)�”}”(hj_h]”hŒ KVM_CAP_MCE”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝhj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÝhjIh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjzh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj�h]”hŒx86”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞhj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjzubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÞhjIh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¨h³hÇh´Kubj�)�”}”(hŒ system ioctl”h]”hï)�”}”(hj»h]”hŒ system ioctl”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mßhj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MßhjIh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÖh³hÇh´Kubj�)�”}”(hŒu64 mce_cap (out)”h]”hï)�”}”(hjéh]”hŒu64 mce_cap (out)”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Màhjçubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÖubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MàhjIh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Máhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MáhjIh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj8h²hh³hÇh´MÝubhï)�”}”(hŒ°Returns supported MCE capabilities. The u64 mce_cap parameter has the same format as the MSR_IA32_MCG_CAP register. Supported capabilities will have the corresponding bits set.”h]”hŒ°Returns supported MCE capabilities. The u64 mce_cap parameter has the same format as the MSR_IA32_MCG_CAP register. Supported capabilities will have the corresponding bits set.”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mãhj8h²hubeh}”(h]”Œkvm-x86-get-mce-cap-supported”ah ]”h"]”Œ#4.104 kvm_x86_get_mce_cap_supported”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÛubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.105 KVM_X86_SETUP_MCE”h]”hŒ4.105 KVM_X86_SETUP_MCE”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjOh²hh³hÇh´Mèubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjch³hÇh´Kubj�)�”}”(hŒ KVM_CAP_MCE”h]”hï)�”}”(hjvh]”hŒ KVM_CAP_MCE”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mêhjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjcubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mêhj`h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‘h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj¤h]”hŒx86”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mëhj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mëhj`h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¿h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjÒh]”hŒ vcpu ioctl”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MìhjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¿ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mìhj`h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjíh³hÇh´Kubj�)�”}”(hŒu64 mcg_cap (in)”h]”hï)�”}”(hjh]”hŒu64 mcg_cap (in)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Míhjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjíubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Míhj`h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ 0 on success, -EFAULT if u64 mcg_cap cannot be read, -EINVAL if the requested number of banks is invalid, -EINVAL if requested MCE capability is not supported. ”h]”hï)�”}”(hŒŸ0 on success, -EFAULT if u64 mcg_cap cannot be read, -EINVAL if the requested number of banks is invalid, -EINVAL if requested MCE capability is not supported.”h]”hŒŸ0 on success, -EFAULT if u64 mcg_cap cannot be read, -EINVAL if the requested number of banks is invalid, -EINVAL if requested MCE capability is not supported.”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mîhj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mîhj`h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjOh²hh³hÇh´Mêubhï)�”}”(hXYInitializes MCE support for use. The u64 mcg_cap parameter has the same format as the MSR_IA32_MCG_CAP register and specifies which capabilities should be enabled. The maximum supported number of error-reporting banks can be retrieved when checking for KVM_CAP_MCE. The supported capabilities can be retrieved with KVM_X86_GET_MCE_CAP_SUPPORTED.”h]”hXYInitializes MCE support for use. The u64 mcg_cap parameter has the same format as the MSR_IA32_MCG_CAP register and specifies which capabilities should be enabled. The maximum supported number of error-reporting banks can be retrieved when checking for KVM_CAP_MCE. The supported capabilities can be retrieved with KVM_X86_GET_MCE_CAP_SUPPORTED.”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MóhjOh²hubeh}”(h]”Œkvm-x86-setup-mce”ah ]”h"]”Œ4.105 kvm_x86_setup_mce”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MèubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.106 KVM_X86_SET_MCE”h]”hŒ4.106 KVM_X86_SET_MCE”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjfh²hh³hÇh´Mûubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjzh³hÇh´Kubj�)�”}”(hŒ KVM_CAP_MCE”h]”hï)�”}”(hj�h]”hŒ KVM_CAP_MCE”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mýhj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjzubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mýhjwh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¨h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj»h]”hŒx86”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mþhj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mþhjwh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÖh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjéh]”hŒ vcpu ioctl”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿhjçubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÖubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mÿhjwh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒstruct kvm_x86_mce (in)”h]”hï)�”}”(hjh]”hŒstruct kvm_x86_mce (in)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjwh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj2h³hÇh´Kubj�)�”}”(hŒ’0 on success, -EFAULT if struct kvm_x86_mce cannot be read, -EINVAL if the bank number is invalid, -EINVAL if VAL bit is not set in status field. ”h]”hï)�”}”(hŒ‘0 on success, -EFAULT if struct kvm_x86_mce cannot be read, -EINVAL if the bank number is invalid, -EINVAL if VAL bit is not set in status field.”h]”hŒ‘0 on success, -EFAULT if struct kvm_x86_mce cannot be read, -EINVAL if the bank number is invalid, -EINVAL if VAL bit is not set in status field.”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjCubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjwh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjfh²hh³hÇh´Mýubhï)�”}”(hŒKInject a machine check error (MCE) into the guest. The input parameter is::”h]”hŒJInject a machine check error (MCE) into the guest. The input parameter is:”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjfh²hubj8)�”}”(hŒ¡struct kvm_x86_mce { __u64 status; __u64 addr; __u64 misc; __u64 mcg_status; __u8 bank; __u8 pad1[7]; __u64 pad2[3]; };”h]”hŒ¡struct kvm_x86_mce { __u64 status; __u64 addr; __u64 misc; __u64 mcg_status; __u8 bank; __u8 pad1[7]; __u64 pad2[3]; };”…”�”}”hjusbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hjfh²hubhï)�”}”(hŒÖIf the MCE being reported is an uncorrected error, KVM will inject it as an MCE exception into the guest. If the guest MCG_STATUS register reports that an MCE is in progress, KVM causes an KVM_EXIT_SHUTDOWN vmexit.”h]”hŒÖIf the MCE being reported is an uncorrected error, KVM will inject it as an MCE exception into the guest. If the guest MCG_STATUS register reports that an MCE is in progress, KVM causes an KVM_EXIT_SHUTDOWN vmexit.”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjfh²hubhï)�”}”(hŒ©Otherwise, if the MCE is a corrected error, KVM will just store it in the corresponding bank (provided this bank is not holding a previously reported uncorrected error).”h]”hŒ©Otherwise, if the MCE is a corrected error, KVM will just store it in the corresponding bank (provided this bank is not holding a previously reported uncorrected error).”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjfh²hubeh}”(h]”Œkvm-x86-set-mce”ah ]”h"]”Œ4.106 kvm_x86_set_mce”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MûubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.107 KVM_S390_GET_CMMA_BITS”h]”hŒ4.107 KVM_S390_GET_CMMA_BITS”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj§h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj»h³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_CMMA_MIGRATION”h]”hï)�”}”(hjÎh]”hŒKVM_CAP_S390_CMMA_MIGRATION”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj»ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj¸h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjéh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjüh]”hŒs390”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjúubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj¸h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj*h]”hŒvm ioctl”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M!hj¸h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjEh³hÇh´Kubj�)�”}”(hŒ"struct kvm_s390_cmma_log (in, out)”h]”hï)�”}”(hjXh]”hŒ"struct kvm_s390_cmma_log (in, out)”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hjVubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M"hj¸h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjsh³hÇh´Kubj�)�”}”(hŒ(0 on success, a negative value on error ”h]”hï)�”}”(hŒ'0 on success, a negative value on error”h]”hŒ'0 on success, a negative value on error”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hj„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjsubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M#hj¸h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj§h²hh³hÇh´Mubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hj§h²hubj )�”}”(hX_====== ============================================================= ENOMEM not enough memory can be allocated to complete the task ENXIO if CMMA is not enabled EINVAL if KVM_S390_CMMA_PEEK is not set but migration mode was not enabled EINVAL if KVM_S390_CMMA_PEEK is not set but dirty tracking has been disabled (and thus migration mode was automatically disabled) EFAULT if the userspace address is invalid or if no page table is present for the addresses (e.g. when using hugepages). ====== ============================================================= ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj½ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”KCuh1jchj½ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENOMEM”h]”hŒENOMEM”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M(hjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj×ubj„)�”}”(hhh]”hï)�”}”(hŒ7not enough memory can be allocated to complete the task”h]”hŒ7not enough memory can be allocated to complete the task”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M(hjñubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÔubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENXIO”h]”hŒENXIO”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubj„)�”}”(hhh]”hï)�”}”(hŒif CMMA is not enabled”h]”hŒif CMMA is not enabled”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÔubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINVAL”h]”hŒEINVAL”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M*hjHubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjEubj„)�”}”(hhh]”hï)�”}”(hŒCif KVM_S390_CMMA_PEEK is not set but migration mode was not enabled”h]”hŒCif KVM_S390_CMMA_PEEK is not set but migration mode was not enabled”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M*hj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjEubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÔubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINVAL”h]”hŒEINVAL”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj|ubj„)�”}”(hhh]”hï)�”}”(hŒzif KVM_S390_CMMA_PEEK is not set but dirty tracking has been disabled (and thus migration mode was automatically disabled)”h]”hŒzif KVM_S390_CMMA_PEEK is not set but dirty tracking has been disabled (and thus migration mode was automatically disabled)”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj|ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÔubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEFAULT”h]”hŒEFAULT”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³ubj„)�”}”(hhh]”hï)�”}”(hŒqif the userspace address is invalid or if no page table is present for the addresses (e.g. when using hugepages).”h]”hŒqif the userspace address is invalid or if no page table is present for the addresses (e.g. when using hugepages).”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj½ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M'hj§h²hubhï)�”}”(hŒxThis ioctl is used to get the values of the CMMA bits on the s390 architecture. It is meant to be used in two scenarios:”h]”hŒxThis ioctl is used to get the values of the CMMA bits on the s390 architecture. It is meant to be used in two scenarios:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1hj§h²hubj)�”}”(hhh]”(j)�”}”(hŒ~During live migration to save the CMMA values. Live migration needs to be enabled via the KVM_REQ_START_MIGRATION VM property.”h]”hï)�”}”(hŒ~During live migration to save the CMMA values. Live migration needs to be enabled via the KVM_REQ_START_MIGRATION VM property.”h]”hŒ~During live migration to save the CMMA values. Live migration needs to be enabled via the KVM_REQ_START_MIGRATION VM property.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjh²hh³hÇh´Nubj)�”}”(hŒTTo non-destructively peek at the CMMA values, with the flag KVM_S390_CMMA_PEEK set. ”h]”hï)�”}”(hŒSTo non-destructively peek at the CMMA values, with the flag KVM_S390_CMMA_PEEK set.”h]”hŒSTo non-destructively peek at the CMMA values, with the flag KVM_S390_CMMA_PEEK set.”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M4hj§h²hubhï)�”}”(hŒøThe ioctl takes parameters via the kvm_s390_cmma_log struct. The desired values are written to a buffer whose location is indicated via the "values" member in the kvm_s390_cmma_log struct. The values in the input struct are also updated as needed.”h]”hŒüThe ioctl takes parameters via the kvm_s390_cmma_log struct. The desired values are written to a buffer whose location is indicated via the “valuesâ€� member in the kvm_s390_cmma_log struct. The values in the input struct are also updated as needed.”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hj§h²hubhï)�”}”(hŒ"Each CMMA value takes up one byte.”h]”hŒ"Each CMMA value takes up one byte.”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M>hj§h²hubj8)�”}”(hŒ¾struct kvm_s390_cmma_log { __u64 start_gfn; __u32 count; __u32 flags; union { __u64 remaining; __u64 mask; }; __u64 values; };”h]”hŒ¾struct kvm_s390_cmma_log { __u64 start_gfn; __u32 count; __u32 flags; union { __u64 remaining; __u64 mask; }; __u64 values; };”…”�”}”hjfsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MBhj§h²hubhï)�”}”(hŒWstart_gfn is the number of the first guest frame whose CMMA values are to be retrieved,”h]”hŒWstart_gfn is the number of the first guest frame whose CMMA values are to be retrieved,”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhj§h²hubhï)�”}”(hŒ+count is the length of the buffer in bytes,”h]”hŒ+count is the length of the buffer in bytes,”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MPhj§h²hubhï)�”}”(hŒ@values points to the buffer where the result will be written to.”h]”hŒ@values points to the buffer where the result will be written to.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MRhj§h²hubhï)�”}”(hŒ�If count is greater than KVM_S390_SKEYS_MAX, then it is considered to be KVM_S390_SKEYS_MAX. KVM_S390_SKEYS_MAX is re-used for consistency with other ioctls.”h]”hŒ�If count is greater than KVM_S390_SKEYS_MAX, then it is considered to be KVM_S390_SKEYS_MAX. KVM_S390_SKEYS_MAX is re-used for consistency with other ioctls.”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MThj§h²hubhï)�”}”(hŒ�The result is written in the buffer pointed to by the field values, and the values of the input parameter are updated as follows.”h]”hŒ�The result is written in the buffer pointed to by the field values, and the values of the input parameter are updated as follows.”…”�”}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhj§h²hubhï)�”}”(hŒnDepending on the flags, different actions are performed. The only supported flag so far is KVM_S390_CMMA_PEEK.”h]”hŒnDepending on the flags, different actions are performed. The only supported flag so far is KVM_S390_CMMA_PEEK.”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hj§h²hubhï)�”}”(hŒÚThe default behaviour if KVM_S390_CMMA_PEEK is not set is: start_gfn will indicate the first page frame whose CMMA bits were dirty. It is not necessarily the same as the one passed as input, as clean pages are skipped.”h]”hŒÚThe default behaviour if KVM_S390_CMMA_PEEK is not set is: start_gfn will indicate the first page frame whose CMMA bits were dirty. It is not necessarily the same as the one passed as input, as clean pages are skipped.”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^hj§h²hubhï)�”}”(hXôcount will indicate the number of bytes actually written in the buffer. It can (and very often will) be smaller than the input value, since the buffer is only filled until 16 bytes of clean values are found (which are then not copied in the buffer). Since a CMMA migration block needs the base address and the length, for a total of 16 bytes, we will send back some clean data if there is some dirty data afterwards, as long as the size of the clean data does not exceed the size of the header. This allows to minimize the amount of data to be saved or transferred over the network at the expense of more roundtrips to userspace. The next invocation of the ioctl will skip over all the clean values, saving potentially more than just the 16 bytes we found.”h]”hXôcount will indicate the number of bytes actually written in the buffer. It can (and very often will) be smaller than the input value, since the buffer is only filled until 16 bytes of clean values are found (which are then not copied in the buffer). Since a CMMA migration block needs the base address and the length, for a total of 16 bytes, we will send back some clean data if there is some dirty data afterwards, as long as the size of the clean data does not exceed the size of the header. This allows to minimize the amount of data to be saved or transferred over the network at the expense of more roundtrips to userspace. The next invocation of the ioctl will skip over all the clean values, saving potentially more than just the 16 bytes we found.”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mchj§h²hubhï)�”}”(hŒ‰If KVM_S390_CMMA_PEEK is set: the existing storage attributes are read even when not in migration mode, and no other action is performed;”h]”hŒ‰If KVM_S390_CMMA_PEEK is set: the existing storage attributes are read even when not in migration mode, and no other action is performed;”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mohj§h²hubhï)�”}”(hŒ:the output start_gfn will be equal to the input start_gfn,”h]”hŒ:the output start_gfn will be equal to the input start_gfn,”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mshj§h²hubhï)�”}”(hŒ`the output count will be equal to the input count, except if the end of memory has been reached.”h]”hŒ`the output count will be equal to the input count, except if the end of memory has been reached.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Muhj§h²hubhï)�”}”(hŒ®In both cases: the field "remaining" will indicate the total number of dirty CMMA values still remaining, or 0 if KVM_S390_CMMA_PEEK is set and migration mode is not enabled.”h]”hŒ²In both cases: the field “remainingâ€� will indicate the total number of dirty CMMA values still remaining, or 0 if KVM_S390_CMMA_PEEK is set and migration mode is not enabled.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mxhj§h²hubhï)�”}”(hŒmask is unused.”h]”hŒmask is unused.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M}hj§h²hubhï)�”}”(hŒFvalues points to the userspace buffer where the result will be stored.”h]”hŒFvalues points to the userspace buffer where the result will be stored.”…”�”}”(hj* h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj§h²hubeh}”(h]”Œkvm-s390-get-cmma-bits”ah ]”h"]”Œ4.107 kvm_s390_get_cmma_bits”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.108 KVM_S390_SET_CMMA_BITS”h]”hŒ4.108 KVM_S390_SET_CMMA_BITS”…”�”}”(hjC h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj@ h²hh³hÇh´M‚ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjW h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjT h³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_CMMA_MIGRATION”h]”hï)�”}”(hjg h]”hŒKVM_CAP_S390_CMMA_MIGRATION”…”�”}”(hji h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M„hje ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjT ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M„hjQ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj… h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‚ h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj• h]”hŒs390”…”�”}”(hj— h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M…hj“ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‚ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M…hjQ h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj³ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj° h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjà h]”hŒvm ioctl”…”�”}”(hjÅ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M†hjÁ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj° ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M†hjQ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjá h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÞ h³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_cmma_log (in)”h]”hï)�”}”(hjñ h]”hŒstruct kvm_s390_cmma_log (in)”…”�”}”(hjó h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‡hjï ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÞ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‡hjQ h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒ(0 on success, a negative value on error ”h]”hï)�”}”(hŒ'0 on success, a negative value on error”h]”hŒ'0 on success, a negative value on error”…”�”}”(hj! h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mˆhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MˆhjQ h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj@ h²hh³hÇh´M„ubhï)�”}”(hX%This ioctl is used to set the values of the CMMA bits on the s390 architecture. It is meant to be used during live migration to restore the CMMA values, but there are no restrictions on its use. The ioctl takes parameters via the kvm_s390_cmma_values struct. Each CMMA value takes up one byte.”h]”hX%This ioctl is used to set the values of the CMMA bits on the s390 architecture. It is meant to be used during live migration to restore the CMMA values, but there are no restrictions on its use. The ioctl takes parameters via the kvm_s390_cmma_values struct. Each CMMA value takes up one byte.”…”�”}”(hjA h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhj@ h²hubj8)�”}”(hŒ¾struct kvm_s390_cmma_log { __u64 start_gfn; __u32 count; __u32 flags; union { __u64 remaining; __u64 mask; }; __u64 values; };”h]”hŒ¾struct kvm_s390_cmma_log { __u64 start_gfn; __u32 count; __u32 flags; union { __u64 remaining; __u64 mask; }; __u64 values; };”…”�”}”hjO sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M’hj@ h²hubhï)�”}”(hŒ4start_gfn indicates the starting guest frame number,”h]”hŒ4start_gfn indicates the starting guest frame number,”…”�”}”(hj] h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj@ h²hubhï)�”}”(hŒCcount indicates how many values are to be considered in the buffer,”h]”hŒCcount indicates how many values are to be considered in the buffer,”…”�”}”(hjk h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸhj@ h²hubhï)�”}”(hŒ flags is not used and must be 0.”h]”hŒ flags is not used and must be 0.”…”�”}”(hjy h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hj@ h²hubhï)�”}”(hŒ5mask indicates which PGSTE bits are to be considered.”h]”hŒ5mask indicates which PGSTE bits are to be considered.”…”�”}”(hj‡ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hj@ h²hubhï)�”}”(hŒremaining is not used.”h]”hŒremaining is not used.”…”�”}”(hj• h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥hj@ h²hubhï)�”}”(hŒCvalues points to the buffer in userspace where to store the values.”h]”hŒCvalues points to the buffer in userspace where to store the values.”…”�”}”(hj£ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M§hj@ h²hubhï)�”}”(hXµThis ioctl can fail with -ENOMEM if not enough memory can be allocated to complete the task, with -ENXIO if CMMA is not enabled, with -EINVAL if the count field is too large (e.g. more than KVM_S390_CMMA_SIZE_MAX) or if the flags field was not 0, with -EFAULT if the userspace address is invalid, if invalid pages are written to (e.g. after the end of memory) or if no page table is present for the addresses (e.g. when using hugepages).”h]”hXµThis ioctl can fail with -ENOMEM if not enough memory can be allocated to complete the task, with -ENXIO if CMMA is not enabled, with -EINVAL if the count field is too large (e.g. more than KVM_S390_CMMA_SIZE_MAX) or if the flags field was not 0, with -EFAULT if the userspace address is invalid, if invalid pages are written to (e.g. after the end of memory) or if no page table is present for the addresses (e.g. when using hugepages).”…”�”}”(hj± h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M©hj@ h²hubeh}”(h]”Œkvm-s390-set-cmma-bits”ah ]”h"]”Œ4.108 kvm_s390_set_cmma_bits”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M‚ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.109 KVM_PPC_GET_CPU_CHAR”h]”hŒ4.109 KVM_PPC_GET_CPU_CHAR”…”�”}”(hjÊ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÇ h²hh³hÇh´M²ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÞ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÛ h³hÇh´Kubj�)�”}”(hŒKVM_CAP_PPC_GET_CPU_CHAR”h]”hï)�”}”(hjî h]”hŒKVM_CAP_PPC_GET_CPU_CHAR”…”�”}”(hjð h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´hjì ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÛ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M´hjØ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hj h]”hŒpowerpc”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mµhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MµhjØ h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj7 h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjJ h]”hŒvm ioctl”…”�”}”(hjL h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶hjH ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj7 ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¶hjØ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjh h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hje h³hÇh´Kubj�)�”}”(hŒstruct kvm_ppc_cpu_char (out)”h]”hï)�”}”(hjx h]”hŒstruct kvm_ppc_cpu_char (out)”…”�”}”(hjz h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M·hjv ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhje ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M·hjØ h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj– h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj“ h³hÇh´Kubj�)�”}”(hŒQ0 on successful completion, -EFAULT if struct kvm_ppc_cpu_char cannot be written ”h]”hï)�”}”(hŒP0 on successful completion, -EFAULT if struct kvm_ppc_cpu_char cannot be written”h]”hŒP0 on successful completion, -EFAULT if struct kvm_ppc_cpu_char cannot be written”…”�”}”(hj¨ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸hj¤ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj“ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¸hjØ h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÇ h²hh³hÇh´M´ubhï)�”}”(hXNThis ioctl gives userspace information about certain characteristics of the CPU relating to speculative execution of instructions and possible information leakage resulting from speculative execution (see CVE-2017-5715, CVE-2017-5753 and CVE-2017-5754). The information is returned in struct kvm_ppc_cpu_char, which looks like this::”h]”hXMThis ioctl gives userspace information about certain characteristics of the CPU relating to speculative execution of instructions and possible information leakage resulting from speculative execution (see CVE-2017-5715, CVE-2017-5753 and CVE-2017-5754). The information is returned in struct kvm_ppc_cpu_char, which looks like this:”…”�”}”(hjÈ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M»hjÇ h²hubj8)�”}”(hX6struct kvm_ppc_cpu_char { __u64 character; /* characteristics of the CPU */ __u64 behaviour; /* recommended software behaviour */ __u64 character_mask; /* valid bits in character */ __u64 behaviour_mask; /* valid bits in behaviour */ };”h]”hX6struct kvm_ppc_cpu_char { __u64 character; /* characteristics of the CPU */ __u64 behaviour; /* recommended software behaviour */ __u64 character_mask; /* valid bits in character */ __u64 behaviour_mask; /* valid bits in behaviour */ };”…”�”}”hjÖ sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÁhjÇ h²hubhï)�”}”(hX(For extensibility, the character_mask and behaviour_mask fields indicate which bits of character and behaviour have been filled in by the kernel. If the set of defined bits is extended in future then userspace will be able to tell whether it is running on a kernel that knows about the new bits.”h]”hX(For extensibility, the character_mask and behaviour_mask fields indicate which bits of character and behaviour have been filled in by the kernel. If the set of defined bits is extended in future then userspace will be able to tell whether it is running on a kernel that knows about the new bits.”…”�”}”(hjä h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈhjÇ h²hubhï)�”}”(hXÜThe character field describes attributes of the CPU which can help with preventing inadvertent information disclosure - specifically, whether there is an instruction to flash-invalidate the L1 data cache (ori 30,30,0 or mtspr SPRN_TRIG2,rN), whether the L1 data cache is set to a mode where entries can only be used by the thread that created them, whether the bcctr[l] instruction prevents speculation, and whether a speculation barrier instruction (ori 31,31,0) is provided.”h]”hXÜThe character field describes attributes of the CPU which can help with preventing inadvertent information disclosure - specifically, whether there is an instruction to flash-invalidate the L1 data cache (ori 30,30,0 or mtspr SPRN_TRIG2,rN), whether the L1 data cache is set to a mode where entries can only be used by the thread that created them, whether the bcctr[l] instruction prevents speculation, and whether a speculation barrier instruction (ori 31,31,0) is provided.”…”�”}”(hjò h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhjÇ h²hubhï)�”}”(hX€The behaviour field describes actions that software should take to prevent inadvertent information disclosure, and thus describes which vulnerabilities the hardware is subject to; specifically whether the L1 data cache should be flushed when returning to user mode from the kernel, and whether a speculation barrier should be placed between an array bounds check and the array access.”h]”hX€The behaviour field describes actions that software should take to prevent inadvertent information disclosure, and thus describes which vulnerabilities the hardware is subject to; specifically whether the L1 data cache should be flushed when returning to user mode from the kernel, and whether a speculation barrier should be placed between an array bounds check and the array access.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖhjÇ h²hubhï)�”}”(hŒYThese fields use the same bit definitions as the new H_GET_CPU_CHARACTERISTICS hypercall.”h]”hŒYThese fields use the same bit definitions as the new H_GET_CPU_CHARACTERISTICS hypercall.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝhjÇ h²hubeh}”(h]”Œkvm-ppc-get-cpu-char”ah ]”h"]”Œ4.109 kvm_ppc_get_cpu_char”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M²ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.110 KVM_MEMORY_ENCRYPT_OP”h]”hŒ4.110 KVM_MEMORY_ENCRYPT_OP”…”�”}”(hj' h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj$ h²hh³hÇh´Máubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj; h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj8 h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjK h]”hŒbasic”…”�”}”(hjM h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MãhjI ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj8 ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mãhj5 h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hji h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjf h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjy h]”hŒx86”…”�”}”(hj{ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mähjw ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjf ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mähj5 h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj— h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj” h³hÇh´Kubj�)�”}”(hŒvm ioctl, vcpu ioctl”h]”hï)�”}”(hj§ h]”hŒvm ioctl, vcpu ioctl”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Måhj¥ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj” ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Måhj5 h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÅ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒ.an opaque platform specific structure (in/out)”h]”hï)�”}”(hjÕ h]”hŒ.an opaque platform specific structure (in/out)”…”�”}”(hj× h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MæhjÓ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mæhj5 h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjó h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjð h³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mçhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjð ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mçhj5 h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj$ h²hh³hÇh´Mãubhï)�”}”(hŒ£If the platform supports creating encrypted VMs then this ioctl can be used for issuing platform-specific memory encryption commands to manage those encrypted VMs.”h]”hŒ£If the platform supports creating encrypted VMs then this ioctl can be used for issuing platform-specific memory encryption commands to manage those encrypted VMs.”…”�”}”(hj% h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Méhj$ h²hubhï)�”}”(hX:Currently, this ioctl is used for issuing both Secure Encrypted Virtualization (SEV) commands on AMD Processors and Trusted Domain Extensions (TDX) commands on Intel Processors. The detailed commands are defined in Documentation/virt/kvm/x86/amd-memory-encryption.rst and Documentation/virt/kvm/x86/intel-tdx.rst.”•;h]”hX:Currently, this ioctl is used for issuing both Secure Encrypted Virtualization (SEV) commands on AMD Processors and Trusted Domain Extensions (TDX) commands on Intel Processors. The detailed commands are defined in Documentation/virt/kvm/x86/amd-memory-encryption.rst and Documentation/virt/kvm/x86/intel-tdx.rst.”…”�”}”(hj3 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Míhj$ h²hubeh}”(h]”Œkvm-memory-encrypt-op”ah ]”h"]”Œ4.110 kvm_memory_encrypt_op”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MáubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ#4.111 KVM_MEMORY_ENCRYPT_REG_REGION”h]”hŒ#4.111 KVM_MEMORY_ENCRYPT_REG_REGION”…”�”}”(hjL h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjI h²hh³hÇh´Môubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj` h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj] h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hjp h]”hŒbasic”…”�”}”(hjr h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Möhjn ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj] ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MöhjZ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjŽ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‹ h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjž h]”hŒx86”…”�”}”(hj  h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷hjœ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‹ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M÷hjZ h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¼ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¹ h³hÇh´Kubj�)�”}”(hŒsystem”h]”hï)�”}”(hjÌ h]”hŒsystem”…”�”}”(hjÎ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MøhjÊ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¹ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MøhjZ h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjê h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjç h³hÇh´Kubj�)�”}”(hŒstruct kvm_enc_region (in)”h]”hï)�”}”(hjú h]”hŒstruct kvm_enc_region (in)”…”�”}”(hjü h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mùhjø ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjç ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MùhjZ h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Múhj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MúhjZ h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjI h²hh³hÇh´Möubhï)�”}”(hŒvThis ioctl can be used to register a guest memory region which may contain encrypted data (e.g. guest RAM, SMRAM etc).”h]”hŒvThis ioctl can be used to register a guest memory region which may contain encrypted data (e.g. guest RAM, SMRAM etc).”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MühjI h²hubhï)�”}”(hXÌIt is used in the SEV-enabled guest. When encryption is enabled, a guest memory region may contain encrypted data. The SEV memory encryption engine uses a tweak such that two identical plaintext pages, each at different locations will have differing ciphertexts. So swapping or moving ciphertext of those pages will not result in plaintext being swapped. So relocating (or migrating) physical backing pages for the SEV guest will require some additional steps.”h]”hXÌIt is used in the SEV-enabled guest. When encryption is enabled, a guest memory region may contain encrypted data. The SEV memory encryption engine uses a tweak such that two identical plaintext pages, each at different locations will have differing ciphertexts. So swapping or moving ciphertext of those pages will not result in plaintext being swapped. So relocating (or migrating) physical backing pages for the SEV guest will require some additional steps.”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÿhjI h²hubhï)�”}”(hŒ¸Note: The current SEV key management spec does not provide commands to swap or migrate (move) ciphertext pages. Hence, for now we pin the guest memory region registered with the ioctl.”h]”hŒ¸Note: The current SEV key management spec does not provide commands to swap or migrate (move) ciphertext pages. Hence, for now we pin the guest memory region registered with the ioctl.”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjI h²hubeh}”(h]”Œkvm-memory-encrypt-reg-region”ah ]”h"]”Œ#4.111 kvm_memory_encrypt_reg_region”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MôubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ%4.112 KVM_MEMORY_ENCRYPT_UNREG_REGION”h]”hŒ%4.112 KVM_MEMORY_ENCRYPT_UNREG_REGION”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj|h²hh³hÇh´M ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�h³hÇh´Kubj�)�”}”(hŒbasic”h]”hï)�”}”(hj£h]”hŒbasic”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj�h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÑh]”hŒx86”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¾ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj�h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjìh³hÇh´Kubj�)�”}”(hŒsystem”h]”hï)�”}”(hjÿh]”hŒsystem”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjýubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjìubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj�h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒstruct kvm_enc_region (in)”h]”hï)�”}”(hj-h]”hŒstruct kvm_enc_region (in)”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj�h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjHh³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj�h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj|h²hh³hÇh´Mubhï)�”}”(hŒwThis ioctl can be used to unregister the guest memory region registered with KVM_MEMORY_ENCRYPT_REG_REGION ioctl above.”h]”hŒwThis ioctl can be used to unregister the guest memory region registered with KVM_MEMORY_ENCRYPT_REG_REGION ioctl above.”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj|h²hubeh}”(h]”Œkvm-memory-encrypt-unreg-region”ah ]”h"]”Œ%4.112 kvm_memory_encrypt_unreg_region”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.113 KVM_HYPERV_EVENTFD”h]”hŒ4.113 KVM_HYPERV_EVENTFD”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj“h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj§h³hÇh´Kubj�)�”}”(hŒKVM_CAP_HYPERV_EVENTFD”h]”hï)�”}”(hjºh]”hŒKVM_CAP_HYPERV_EVENTFD”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj§ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj¤h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÕh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjèh]”hŒx86”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjæubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÕubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj¤h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjh]”hŒvm ioctl”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj¤h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj1h³hÇh´Kubj�)�”}”(hŒstruct kvm_hyperv_eventfd (in) ”h]”hï)�”}”(hŒstruct kvm_hyperv_eventfd (in)”h]”hŒstruct kvm_hyperv_eventfd (in)”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjBubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhj¤h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj“h²hh³hÇh´Mubhï)�”}”(hX*This ioctl (un)registers an eventfd to receive notifications from the guest on the specified Hyper-V connection id through the SIGNAL_EVENT hypercall, without causing a user exit. SIGNAL_EVENT hypercall with non-zero event flag number (bits 24-31) still triggers a KVM_EXIT_HYPERV_HCALL user exit.”h]”hX*This ioctl (un)registers an eventfd to receive notifications from the guest on the specified Hyper-V connection id through the SIGNAL_EVENT hypercall, without causing a user exit. SIGNAL_EVENT hypercall with non-zero event flag number (bits 24-31) still triggers a KVM_EXIT_HYPERV_HCALL user exit.”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj“h²hubj8)�”}”(hŒnstruct kvm_hyperv_eventfd { __u32 conn_id; __s32 fd; __u32 flags; __u32 padding[3]; };”h]”hŒnstruct kvm_hyperv_eventfd { __u32 conn_id; __s32 fd; __u32 flags; __u32 padding[3]; };”…”�”}”hjtsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M&hj“h²hubhï)�”}”(hŒ-The conn_id field should fit within 24 bits::”h]”hŒ,The conn_id field should fit within 24 bits:”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hj“h²hubj8)�”}”(hŒ8#define KVM_HYPERV_CONN_ID_MASK 0x00ffffff”h]”hŒ8#define KVM_HYPERV_CONN_ID_MASK 0x00ffffff”…”�”}”hj�sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M/hj“h²hubhï)�”}”(hŒ/The acceptable values for the flags field are::”h]”hŒ.The acceptable values for the flags field are:”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1hj“h²hubj8)�”}”(hŒ.#define KVM_HYPERV_EVENTFD_DEASSIGN (1 << 0)”h]”hŒ.#define KVM_HYPERV_EVENTFD_DEASSIGN (1 << 0)”…”�”}”hj¬sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M3hj“h²hubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj½h³hÇh´Kubj�)�”}”(hŒ´0 on success, -EINVAL if conn_id or flags is outside the allowed range, -ENOENT on deassign if the conn_id isn't registered, -EEXIST on assign if the conn_id is already registered ”h]”hï)�”}”(hŒ³0 on success, -EINVAL if conn_id or flags is outside the allowed range, -ENOENT on deassign if the conn_id isn't registered, -EEXIST on assign if the conn_id is already registered”h]”hŒµ0 on success, -EINVAL if conn_id or flags is outside the allowed range, -ENOENT on deassign if the conn_id isn’t registered, -EEXIST on assign if the conn_id is already registered”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M5hjºh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj“h²hh³hÇh´M5ubeh}”(h]”Œkvm-hyperv-eventfd”ah ]”h"]”Œ4.113 kvm_hyperv_eventfd”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.114 KVM_GET_NESTED_STATE”h]”hŒ4.114 KVM_GET_NESTED_STATE”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjúh²hh³hÇh´M;ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒKVM_CAP_NESTED_STATE”h]”hï)�”}”(hj!h]”hŒKVM_CAP_NESTED_STATE”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M=hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M=hj h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj<h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjOh]”hŒx86”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M>hjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M>hj h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjjh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj}h]”hŒ vcpu ioctl”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hj{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M?hj h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj˜h³hÇh´Kubj�)�”}”(hŒ struct kvm_nested_state (in/out)”h]”hï)�”}”(hj«h]”hŒ struct kvm_nested_state (in/out)”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@hj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M@hj h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÆh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MAhj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MAhj h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjúh²hh³hÇh´M=ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MChjúh²hubj )�”}”(hX===== ============================================================= E2BIG the total state size exceeds the value of 'size' specified by the user; the size required will be written into size. ===== ============================================================= ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K=uh1jchjubjz)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒE2BIG”h]”hŒE2BIG”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhj-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj*ubj„)�”}”(hhh]”hï)�”}”(hŒtthe total state size exceeds the value of 'size' specified by the user; the size required will be written into size.”h]”hŒxthe total state size exceeds the value of ‘size’ specified by the user; the size required will be written into size.”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jyhjubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MEhjúh²hubj8)�”}”(hXstruct kvm_nested_state { __u16 flags; __u16 format; __u32 size; union { struct kvm_vmx_nested_state_hdr vmx; struct kvm_svm_nested_state_hdr svm; /* Pad the header to 128 bytes. */ __u8 pad[120]; } hdr; union { struct kvm_vmx_nested_state_data vmx[0]; struct kvm_svm_nested_state_data svm[0]; } data; }; #define KVM_STATE_NESTED_GUEST_MODE 0x00000001 #define KVM_STATE_NESTED_RUN_PENDING 0x00000002 #define KVM_STATE_NESTED_EVMCS 0x00000004 #define KVM_STATE_NESTED_FORMAT_VMX 0 #define KVM_STATE_NESTED_FORMAT_SVM 1 #define KVM_STATE_NESTED_VMX_VMCS_SIZE 0x1000 #define KVM_STATE_NESTED_SVM_VMCB_SIZE 0x1000 #define KVM_STATE_NESTED_VMX_SMM_GUEST_MODE 0x00000001 #define KVM_STATE_NESTED_VMX_SMM_VMXON 0x00000002 #define KVM_STATE_NESTED_GIF_SET 0x00000100 #define KVM_STATE_VMX_PREEMPTION_TIMER_DEADLINE 0x00000001 struct kvm_vmx_nested_state_hdr { __u64 vmxon_pa; __u64 vmcs12_pa; struct { __u16 flags; } smm; __u32 flags; __u64 preemption_timer_deadline; }; struct kvm_svm_nested_state_hdr { __u64 vmcb_pa; __u64 gpat; }; struct kvm_vmx_nested_state_data { __u8 vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; __u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; }; struct kvm_svm_nested_state_data { __u8 vmcb12[KVM_STATE_NESTED_SVM_VMCB_SIZE]; };”h]”hXstruct kvm_nested_state { __u16 flags; __u16 format; __u32 size; union { struct kvm_vmx_nested_state_hdr vmx; struct kvm_svm_nested_state_hdr svm; /* Pad the header to 128 bytes. */ __u8 pad[120]; } hdr; union { struct kvm_vmx_nested_state_data vmx[0]; struct kvm_svm_nested_state_data svm[0]; } data; }; #define KVM_STATE_NESTED_GUEST_MODE 0x00000001 #define KVM_STATE_NESTED_RUN_PENDING 0x00000002 #define KVM_STATE_NESTED_EVMCS 0x00000004 #define KVM_STATE_NESTED_FORMAT_VMX 0 #define KVM_STATE_NESTED_FORMAT_SVM 1 #define KVM_STATE_NESTED_VMX_VMCS_SIZE 0x1000 #define KVM_STATE_NESTED_SVM_VMCB_SIZE 0x1000 #define KVM_STATE_NESTED_VMX_SMM_GUEST_MODE 0x00000001 #define KVM_STATE_NESTED_VMX_SMM_VMXON 0x00000002 #define KVM_STATE_NESTED_GIF_SET 0x00000100 #define KVM_STATE_VMX_PREEMPTION_TIMER_DEADLINE 0x00000001 struct kvm_vmx_nested_state_hdr { __u64 vmxon_pa; __u64 vmcs12_pa; struct { __u16 flags; } smm; __u32 flags; __u64 preemption_timer_deadline; }; struct kvm_svm_nested_state_hdr { __u64 vmcb_pa; __u64 gpat; }; struct kvm_vmx_nested_state_data { __u8 vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; __u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; }; struct kvm_svm_nested_state_data { __u8 vmcb12[KVM_STATE_NESTED_SVM_VMCB_SIZE]; };”…”�”}”hjzsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MLhjúh²hubhï)�”}”(hŒVThis ioctl copies the vcpu's nested virtualization state from the kernel to userspace.”h]”hŒXThis ioctl copies the vcpu’s nested virtualization state from the kernel to userspace.”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhjúh²hubhï)�”}”(hŒrThe maximum size of the state can be retrieved by passing KVM_CAP_NESTED_STATE to the KVM_CHECK_EXTENSION ioctl().”h]”hŒrThe maximum size of the state can be retrieved by passing KVM_CAP_NESTED_STATE to the KVM_CHECK_EXTENSION ioctl().”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hjúh²hubeh}”(h]”Œkvm-get-nested-state”ah ]”h"]”Œ4.114 kvm_get_nested_state”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M;ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.115 KVM_SET_NESTED_STATE”h]”hŒ4.115 KVM_SET_NESTED_STATE”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¬h²hh³hÇh´M‘ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀh³hÇh´Kubj�)�”}”(hŒKVM_CAP_NESTED_STATE”h]”hï)�”}”(hjÓh]”hŒKVM_CAP_NESTED_STATE”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M“hj½h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjîh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjh]”hŒx86”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M”hjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjîubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M”hj½h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj/h]”hŒ vcpu ioctl”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M•hj-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M•hj½h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJh³hÇh´Kubj�)�”}”(hŒstruct kvm_nested_state (in)”h]”hï)�”}”(hj]h]”hŒstruct kvm_nested_state (in)”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M–hj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M–hj½h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjxh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M—hj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjxubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M—hj½h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¬h²hh³hÇh´M“ubhï)�”}”(hŒ•This copies the vcpu's kvm_nested_state struct from userspace to the kernel. For the definition of struct kvm_nested_state, see KVM_GET_NESTED_STATE.”h]”hŒ—This copies the vcpu’s kvm_nested_state struct from userspace to the kernel. For the definition of struct kvm_nested_state, see KVM_GET_NESTED_STATE.”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M™hj¬h²hubeh}”(h]”Œkvm-set-nested-state”ah ]”h"]”Œ4.115 kvm_set_nested_state”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M‘ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ%4.116 KVM_(UN)REGISTER_COALESCED_MMIO”h]”hŒ%4.116 KVM_(UN)REGISTER_COALESCED_MMIO”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÃh²hh³hÇh´M�ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj×h³hÇh´Kubj�)�”}”(hŒUKVM_CAP_COALESCED_MMIO (for coalesced mmio) KVM_CAP_COALESCED_PIO (for coalesced pio)”h]”hï)�”}”(hŒUKVM_CAP_COALESCED_MMIO (for coalesced mmio) KVM_CAP_COALESCED_PIO (for coalesced pio)”h]”hŒUKVM_CAP_COALESCED_MMIO (for coalesced mmio) KVM_CAP_COALESCED_PIO (for coalesced pio)”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸhjèubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŸhjÔh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hjh]”hŒall”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¡hjÔh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj4h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjGh]”hŒvm ioctl”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢hjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¢hjÔh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjbh³hÇh´Kubj�)�”}”(hŒstruct kvm_coalesced_mmio_zone”h]”hï)�”}”(hjuh]”hŒstruct kvm_coalesced_mmio_zone”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjbubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M£hjÔh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�h³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¤hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¤hjÔh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÃh²hh³hÇh´MŸubhï)�”}”(hŒàCoalesced I/O is a performance optimization that defers hardware register write emulation so that userspace exits are avoided. It is typically used to reduce the overhead of emulating frequently accessed hardware registers.”h]”hŒàCoalesced I/O is a performance optimization that defers hardware register write emulation so that userspace exits are avoided. It is typically used to reduce the overhead of emulating frequently accessed hardware registers.”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦hjÃh²hubhï)�”}”(hŒ»When a hardware register is configured for coalesced I/O, write accesses do not exit to userspace and their value is recorded in a ring buffer that is shared between kernel and userspace.”h]”hŒ»When a hardware register is configured for coalesced I/O, write accesses do not exit to userspace and their value is recorded in a ring buffer that is shared between kernel and userspace.”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M«hjÃh²hubhï)�”}”(hXPCoalesced I/O is used if one or more write accesses to a hardware register can be deferred until a read or a write to another hardware register on the same device. This last access will cause a vmexit and userspace will process accesses from the ring buffer before emulating it. That will avoid exiting to userspace on repeated writes.”h]”hXPCoalesced I/O is used if one or more write accesses to a hardware register can be deferred until a read or a write to another hardware register on the same device. This last access will cause a vmexit and userspace will process accesses from the ring buffer before emulating it. That will avoid exiting to userspace on repeated writes.”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯hjÃh²hubhï)�”}”(hŒœCoalesced pio is based on coalesced mmio. There is little difference between coalesced mmio and pio except that coalesced pio records accesses to I/O ports.”h]”hŒœCoalesced pio is based on coalesced mmio. There is little difference between coalesced mmio and pio except that coalesced pio records accesses to I/O ports.”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MµhjÃh²hubeh}”(h]”Œkvm-un-register-coalesced-mmio”ah ]”h"]”Œ%4.116 kvm_(un)register_coalesced_mmio”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M�ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.117 KVM_CLEAR_DIRTY_LOG”h]”hŒ4.117 KVM_CLEAR_DIRTY_LOG”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´Mºubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ!KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2”h]”hï)�”}”(hj,h]”hŒ!KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼hj*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¼hjh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjGh³hÇh´Kubj�)�”}”(hŒx86, arm64, mips”h]”hï)�”}”(hjZh]”hŒx86, arm64, mips”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½hjXubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M½hjh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjuh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjˆh]”hŒvm ioctl”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾hj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¾hjh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj£h³hÇh´Kubj�)�”}”(hŒstruct kvm_clear_dirty_log (in)”h]”hï)�”}”(hj¶h]”hŒstruct kvm_clear_dirty_log (in)”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¿hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¿hjh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÑh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀhjâubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÀhjh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjh²hh³hÇh´M¼ubj8)�”}”(hŒò/* for KVM_CLEAR_DIRTY_LOG */ struct kvm_clear_dirty_log { __u32 slot; __u32 num_pages; __u64 first_page; union { void __user *dirty_bitmap; /* one bit per page */ __u64 padding; }; };”h]”hŒò/* for KVM_CLEAR_DIRTY_LOG */ struct kvm_clear_dirty_log { __u32 slot; __u32 num_pages; __u64 first_page; union { void __user *dirty_bitmap; /* one bit per page */ __u64 padding; }; };”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÄhjh²hubhï)�”}”(hX™The ioctl clears the dirty status of pages in a memory slot, according to the bitmap that is passed in struct kvm_clear_dirty_log's dirty_bitmap field. Bit 0 of the bitmap corresponds to page "first_page" in the memory slot, and num_pages is the size in bits of the input bitmap. first_page must be a multiple of 64; num_pages must also be a multiple of 64 unless first_page + num_pages is the size of the memory slot. For each bit that is set in the input bitmap, the corresponding page is marked "clean" in KVM's dirty bitmap, and dirty tracking is re-enabled for that page (for example via write-protection, or by clearing the dirty bit in a page table entry).”h]”hX¥The ioctl clears the dirty status of pages in a memory slot, according to the bitmap that is passed in struct kvm_clear_dirty_log’s dirty_bitmap field. Bit 0 of the bitmap corresponds to page “first_pageâ€� in the memory slot, and num_pages is the size in bits of the input bitmap. first_page must be a multiple of 64; num_pages must also be a multiple of 64 unless first_page + num_pages is the size of the memory slot. For each bit that is set in the input bitmap, the corresponding page is marked “cleanâ€� in KVM’s dirty bitmap, and dirty tracking is re-enabled for that page (for example via write-protection, or by clearing the dirty bit in a page table entry).”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏhjh²hubhï)�”}”(hŒ×If KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of slot field specifies the address space for which you want to clear the dirty status. See KVM_SET_USER_MEMORY_REGION for details on the usage of slot field.”h]”hŒ×If KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of slot field specifies the address space for which you want to clear the dirty status. See KVM_SET_USER_MEMORY_REGION for details on the usage of slot field.”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚhjh²hubhï)�”}”(hXThis ioctl is mostly useful when KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 is enabled; for more information, see the description of the capability. However, it can always be used as long as KVM_CHECK_EXTENSION confirms that KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 is present.”h]”hXThis ioctl is mostly useful when KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 is enabled; for more information, see the description of the capability. However, it can always be used as long as KVM_CHECK_EXTENSION confirms that KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 is present.”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞhjh²hubeh}”(h]”Œkvm-clear-dirty-log”ah ]”h"]”Œ4.117 kvm_clear_dirty_log”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MºubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ 4.118 KVM_GET_SUPPORTED_HV_CPUID”h]”hŒ 4.118 KVM_GET_SUPPORTED_HV_CPUID”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjFh²hh³hÇh´Mäubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjZh³hÇh´Kubj�)�”}”(hŒ>KVM_CAP_HYPERV_CPUID (vcpu), KVM_CAP_SYS_HYPERV_CPUID (system)”h]”hï)�”}”(hjmh]”hŒ>KVM_CAP_HYPERV_CPUID (vcpu), KVM_CAP_SYS_HYPERV_CPUID (system)”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mæhjkubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjZubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MæhjWh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjˆh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj›h]”hŒx86”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mçhj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MçhjWh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¶h³hÇh´Kubj�)�”}”(hŒsystem ioctl, vcpu ioctl”h]”hï)�”}”(hjÉh]”hŒsystem ioctl, vcpu ioctl”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MèhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MèhjWh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjäh³hÇh´Kubj�)�”}”(hŒstruct kvm_cpuid2 (in/out)”h]”hï)�”}”(hj÷h]”hŒstruct kvm_cpuid2 (in/out)”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Méhjõubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MéhjWh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mêhj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MêhjWh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjFh²hh³hÇh´Mæubj8)�”}”(hXstruct kvm_cpuid2 { __u32 nent; __u32 padding; struct kvm_cpuid_entry2 entries[0]; }; struct kvm_cpuid_entry2 { __u32 function; __u32 index; __u32 flags; __u32 eax; __u32 ebx; __u32 ecx; __u32 edx; __u32 padding[3]; };”h]”hXstruct kvm_cpuid2 { __u32 nent; __u32 padding; struct kvm_cpuid_entry2 entries[0]; }; struct kvm_cpuid_entry2 { __u32 function; __u32 index; __u32 flags; __u32 eax; __u32 ebx; __u32 ecx; __u32 edx; __u32 padding[3]; };”…”�”}”hjGsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MîhjFh²hubhï)�”}”(hXThis ioctl returns x86 cpuid features leaves related to Hyper-V emulation in KVM. Userspace can use the information returned by this ioctl to construct cpuid information presented to guests consuming Hyper-V enlightenments (e.g. Windows or Hyper-V guests).”h]”hXThis ioctl returns x86 cpuid features leaves related to Hyper-V emulation in KVM. Userspace can use the information returned by this ioctl to construct cpuid information presented to guests consuming Hyper-V enlightenments (e.g. Windows or Hyper-V guests).”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÿhjFh²hubhï)�”}”(hXCPUID feature leaves returned by this ioctl are defined by Hyper-V Top Level Functional Specification (TLFS). These leaves can't be obtained with KVM_GET_SUPPORTED_CPUID ioctl because some of them intersect with KVM feature leaves (0x40000000, 0x40000001).”h]”hXCPUID feature leaves returned by this ioctl are defined by Hyper-V Top Level Functional Specification (TLFS). These leaves can’t be obtained with KVM_GET_SUPPORTED_CPUID ioctl because some of them intersect with KVM feature leaves (0x40000000, 0x40000001).”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjFh²hubhï)�”}”(hŒ;Currently, the following list of CPUID leaves are returned:”h]”hŒ;Currently, the following list of CPUID leaves are returned:”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjFh²hubj )�”}”(hXJ- HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS - HYPERV_CPUID_INTERFACE - HYPERV_CPUID_VERSION - HYPERV_CPUID_FEATURES - HYPERV_CPUID_ENLIGHTMENT_INFO - HYPERV_CPUID_IMPLEMENT_LIMITS - HYPERV_CPUID_NESTED_FEATURES - HYPERV_CPUID_SYNDBG_VENDOR_AND_MAX_FUNCTIONS - HYPERV_CPUID_SYNDBG_INTERFACE - HYPERV_CPUID_SYNDBG_PLATFORM_CAPABILITIES ”h]”j)�”}”(hhh]”(j)�”}”(hŒ%HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS”h]”hï)�”}”(hjˆh]”hŒ%HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒHYPERV_CPUID_INTERFACE”h]”hï)�”}”(hjŸh]”hŒHYPERV_CPUID_INTERFACE”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒHYPERV_CPUID_VERSION”h]”hï)�”}”(hj¶h]”hŒHYPERV_CPUID_VERSION”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒHYPERV_CPUID_FEATURES”h]”hï)�”}”(hjÍh]”hŒHYPERV_CPUID_FEATURES”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjËubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒHYPERV_CPUID_ENLIGHTMENT_INFO”h]”hï)�”}”(hjäh]”hŒHYPERV_CPUID_ENLIGHTMENT_INFO”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjâubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒHYPERV_CPUID_IMPLEMENT_LIMITS”h]”hï)�”}”(hjûh]”hŒHYPERV_CPUID_IMPLEMENT_LIMITS”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjùubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒHYPERV_CPUID_NESTED_FEATURES”h]”hï)�”}”(hjh]”hŒHYPERV_CPUID_NESTED_FEATURES”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒ,HYPERV_CPUID_SYNDBG_VENDOR_AND_MAX_FUNCTIONS”h]”hï)�”}”(hj)h]”hŒ,HYPERV_CPUID_SYNDBG_VENDOR_AND_MAX_FUNCTIONS”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒHYPERV_CPUID_SYNDBG_INTERFACE”h]”hï)�”}”(hj@h]”hŒHYPERV_CPUID_SYNDBG_INTERFACE”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubj)�”}”(hŒ*HYPERV_CPUID_SYNDBG_PLATFORM_CAPABILITIES ”h]”hï)�”}”(hŒ)HYPERV_CPUID_SYNDBG_PLATFORM_CAPABILITIES”h]”hŒ)HYPERV_CPUID_SYNDBG_PLATFORM_CAPABILITIES”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjUubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjƒubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M hjFh²hubhï)�”}”(hXÈUserspace invokes KVM_GET_SUPPORTED_HV_CPUID by passing a kvm_cpuid2 structure with the 'nent' field indicating the number of entries in the variable-size array 'entries'. If the number of entries is too low to describe all Hyper-V feature leaves, an error (E2BIG) is returned. If the number is more or equal to the number of Hyper-V feature leaves, the 'nent' field is adjusted to the number of valid entries in the 'entries' array, which is then filled.”h]”hXØUserspace invokes KVM_GET_SUPPORTED_HV_CPUID by passing a kvm_cpuid2 structure with the ‘nent’ field indicating the number of entries in the variable-size array ‘entries’. If the number of entries is too low to describe all Hyper-V feature leaves, an error (E2BIG) is returned. If the number is more or equal to the number of Hyper-V feature leaves, the ‘nent’ field is adjusted to the number of valid entries in the ‘entries’ array, which is then filled.”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjFh²hubhï)�”}”(hŒŽ'index' and 'flags' fields in 'struct kvm_cpuid_entry2' are currently reserved, userspace should not expect to get any particular value there.”h]”hŒšâ€˜index’ and ‘flags’ fields in ‘struct kvm_cpuid_entry2’ are currently reserved, userspace should not expect to get any particular value there.”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjFh²hubhï)�”}”(hŒ¾Note, vcpu version of KVM_GET_SUPPORTED_HV_CPUID is currently deprecated. Unlike system ioctl which exposes all supported feature bits unconditionally, vcpu version has the following quirks:”h]”hŒ¾Note, vcpu version of KVM_GET_SUPPORTED_HV_CPUID is currently deprecated. Unlike system ioctl which exposes all supported feature bits unconditionally, vcpu version has the following quirks:”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjFh²hubj)�”}”(hhh]”(j)�”}”(hŒÐHYPERV_CPUID_NESTED_FEATURES leaf and HV_X64_ENLIGHTENED_VMCS_RECOMMENDED feature bit are only exposed when Enlightened VMCS was previously enabled on the corresponding vCPU (KVM_CAP_HYPERV_ENLIGHTENED_VMCS).”h]”hï)�”}”(hŒÐHYPERV_CPUID_NESTED_FEATURES leaf and HV_X64_ENLIGHTENED_VMCS_RECOMMENDED feature bit are only exposed when Enlightened VMCS was previously enabled on the corresponding vCPU (KVM_CAP_HYPERV_ENLIGHTENED_VMCS).”h]”hŒÐHYPERV_CPUID_NESTED_FEATURES leaf and HV_X64_ENLIGHTENED_VMCS_RECOMMENDED feature bit are only exposed when Enlightened VMCS was previously enabled on the corresponding vCPU (KVM_CAP_HYPERV_ENLIGHTENED_VMCS).”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj£h²hh³hÇh´Nubj)�”}”(hŒ�HV_STIMER_DIRECT_MODE_AVAILABLE bit is only exposed with in-kernel LAPIC. (presumes KVM_CREATE_IRQCHIP has already been called). ”h]”hï)�”}”(hŒ€HV_STIMER_DIRECT_MODE_AVAILABLE bit is only exposed with in-kernel LAPIC. (presumes KVM_CREATE_IRQCHIP has already been called).”h]”hŒ€HV_STIMER_DIRECT_MODE_AVAILABLE bit is only exposed with in-kernel LAPIC. (presumes KVM_CREATE_IRQCHIP has already been called).”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'hj¾ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj£h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M$hjFh²hubeh}”(h]”Œkvm-get-supported-hv-cpuid”ah ]”h"]”Œ 4.118 kvm_get_supported_hv_cpuid”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MäubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.119 KVM_ARM_VCPU_FINALIZE”h]”hŒ4.119 KVM_ARM_VCPU_FINALIZE”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjäh²hh³hÇh´M+ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjøh³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hj h]”hŒarm64”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjøubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M-hjõh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj&h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj9h]”hŒ vcpu ioctl”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M.hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M.hjõh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjTh³hÇh´Kubj�)�”}”(hŒint feature (in)”h]”hï)�”}”(hjgh]”hŒint feature (in)”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjTubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M/hjõh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‚h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0hj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M0hjõh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjäh²hh³hÇh´M-ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2hjäh²hubj )�”}”(hX====== ============================================================== EPERM feature not enabled, needs configuration, or already finalized EINVAL feature unknown or not present ====== ============================================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjÌubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K>uh1jchjÌubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEPERM”h]”hŒEPERM”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hjéubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjæubj„)�”}”(hhh]”hï)�”}”(hŒ>feature not enabled, needs configuration, or already finalized”h]”hŒ>feature not enabled, needs configuration, or already finalized”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjæubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjãubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINVAL”h]”hŒEINVAL”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubj„)�”}”(hhh]”hï)�”}”(hŒfeature unknown or not present”h]”hŒfeature unknown or not present”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjÌubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjÅubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M4hjäh²hubhï)�”}”(hŒRecognised values for feature:”h]”hŒRecognised values for feature:”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hjäh²hubj )�”}”(hŒ¥===== =========================================== arm64 KVM_ARM_VCPU_SVE (requires KVM_CAP_ARM_SVE) ===== =========================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj‚ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K+uh1jchj‚ubjz)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒarm64”h]”hŒarm64”…”�”}”(hj¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hjŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjœubj„)�”}”(hhh]”hï)�”}”(hŒ+KVM_ARM_VCPU_SVE (requires KVM_CAP_ARM_SVE)”h]”hŒ+KVM_ARM_VCPU_SVE (requires KVM_CAP_ARM_SVE)”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjœubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jyhj‚ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj{ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M;hjäh²hubhï)�”}”(hŒ:Finalizes the configuration of the specified vcpu feature.”h]”hŒ:Finalizes the configuration of the specified vcpu feature.”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hjäh²hubhï)�”}”(hŒÃThe vcpu must already have been initialised, enabling the affected feature, by means of a successful :ref:`KVM_ARM_VCPU_INIT ` call with the appropriate flag set in features[].”h]”(hŒeThe vcpu must already have been initialised, enabling the affected feature, by means of a successful ”…”�”}”(hjúh²hh³Nh´Nubh)�”}”(hŒ,:ref:`KVM_ARM_VCPU_INIT `”h]”jà)�”}”(hjh]”hŒKVM_ARM_VCPU_INIT”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjþŒkvm_arm_vcpu_init”uh1hh³hÇh´MAhjúubhŒ2 call with the appropriate flag set in features[].”…”�”}”(hjúh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MAhjäh²hubhï)�”}”(hŒlFor affected vcpu features, this is a mandatory step that must be performed before the vcpu is fully usable.”h]”hŒlFor affected vcpu features, this is a mandatory step that must be performed before the vcpu is fully usable.”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MEhjäh²hubhï)�”}”(hŒÖBetween KVM_ARM_VCPU_INIT and KVM_ARM_VCPU_FINALIZE, the feature may be configured by use of ioctls such as KVM_SET_ONE_REG. The exact configuration that should be performed and how to do it are feature-dependent.”h]”hŒÖBetween KVM_ARM_VCPU_INIT and KVM_ARM_VCPU_FINALIZE, the feature may be configured by use of ioctls such as KVM_SET_ONE_REG. The exact configuration that should be performed and how to do it are feature-dependent.”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MHhjäh²hubhï)�”}”(hŒöOther calls that depend on a particular feature being finalized, such as KVM_RUN, KVM_GET_REG_LIST, KVM_GET_ONE_REG and KVM_SET_ONE_REG, will fail with -EPERM unless the feature has already been finalized by means of a KVM_ARM_VCPU_FINALIZE call.”h]”hŒöOther calls that depend on a particular feature being finalized, such as KVM_RUN, KVM_GET_REG_LIST, KVM_GET_ONE_REG and KVM_SET_ONE_REG, will fail with -EPERM unless the feature has already been finalized by means of a KVM_ARM_VCPU_FINALIZE call.”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MLhjäh²hubhï)�”}”(hŒ^See KVM_ARM_VCPU_INIT for details of vcpu features that require finalization using this ioctl.”h]”hŒ^See KVM_ARM_VCPU_INIT for details of vcpu features that require finalization using this ioctl.”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQhjäh²hubeh}”(h]”Œkvm-arm-vcpu-finalize”ah ]”h"]”Œ4.119 kvm_arm_vcpu_finalize”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M+ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.120 KVM_SET_PMU_EVENT_FILTER”h]”hŒ4.120 KVM_SET_PMU_EVENT_FILTER”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjlh²hh³hÇh´MUubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj€h³hÇh´Kubj�)�”}”(hŒKVM_CAP_PMU_EVENT_FILTER”h]”hï)�”}”(hj“h]”hŒKVM_CAP_PMU_EVENT_FILTER”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MWhj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MWhj}h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj®h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÁh]”hŒx86”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MXhj¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MXhj}h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÜh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjïh]”hŒvm ioctl”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MYhjíubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MYhj}h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj h³hÇh´Kubj�)�”}”(hŒ struct kvm_pmu_event_filter (in)”h]”hï)�”}”(hjh]”hŒ struct kvm_pmu_event_filter (in)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MZhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MZhj}h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj8h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hjIubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M[hj}h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjlh²hh³hÇh´MWubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]hjlh²hubj )�”}”(hXR====== ============================================================ EFAULT args[0] cannot be accessed EINVAL args[0] contains invalid data in the filter or filter events E2BIG nevents is too large EBUSY not enough memory to allocate the filter ====== ============================================================ ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj‚ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K#h]”hŒ vcpu ioctl”…”�”}”(hj@#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñhj<#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj+#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MñhjÌ"h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj\#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjY#h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjl#h]”hŒnone”…”�”}”(hjn#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mòhjj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjY#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MòhjÌ"h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjŠ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‡#h³hÇh´Kubj�)�”}”(hŒ0 ”h]”hï)�”}”(hjŠh]”hŒ0”…”�”}”(hjœ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Móhj˜#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‡#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MóhjÌ"h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj»"h²hh³hÇh´Mïubhï)�”}”(hŒÊThis ioctl resets VCPU registers and control structures according to the initial cpu reset definition in the POP. However, the cpu is not put into ESA mode. This reset is a superset of the normal reset.”h]”hŒÊThis ioctl resets VCPU registers and control structures according to the initial cpu reset definition in the POP. However, the cpu is not put into ESA mode. This reset is a superset of the normal reset.”…”�”}”(hj»#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mõhj»"h²hubeh}”(h]”Œkvm-s390-initial-reset”ah ]”h"]”Œ4.123 kvm_s390_initial_reset”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MíubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.124 KVM_S390_CLEAR_RESET”h]”hŒ4.124 KVM_S390_CLEAR_RESET”…”�”}”(hjÔ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÑ#h²hh³hÇh´Múubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjè#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjå#h³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_VCPU_RESETS”h]”hï)�”}”(hjø#h]”hŒKVM_CAP_S390_VCPU_RESETS”…”�”}”(hjú#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mühjö#ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjå#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mühjâ#h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj$h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj&$h]”hŒs390”…”�”}”(hj($h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mýhj$$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mýhjâ#h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjD$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjA$h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjT$h]”hŒ vcpu ioctl”…”�”}”(hjV$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MþhjR$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjA$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mþhjâ#h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjr$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjo$h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hj‚$h]”hŒnone”…”�”}”(hj„$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿhj€$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjo$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mÿhjâ#h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj $h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�$h³hÇh´Kubj�)�”}”(hŒ0 ”h]”hï)�”}”(hjŠh]”hŒ0”…”�”}”(hj²$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj®$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjâ#h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÑ#h²hh³hÇh´Müubhï)�”}”(hŒÉThis ioctl resets VCPU registers and control structures according to the clear cpu reset definition in the POP. However, the cpu is not put into ESA mode. This reset is a superset of the initial reset.”h]”hŒÉThis ioctl resets VCPU registers and control structures according to the clear cpu reset definition in the POP. However, the cpu is not put into ESA mode. This reset is a superset of the initial reset.”…”�”}”(hjÑ$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÑ#h²hubeh}”(h]”Œkvm-s390-clear-reset”ah ]”h"]”Œ4.124 kvm_s390_clear_reset”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MúubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.125 KVM_S390_PV_COMMAND”h]”hŒ4.125 KVM_S390_PV_COMMAND”…”�”}”(hjê$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjç$h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjþ$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjû$h³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_PROTECTED”h]”hï)�”}”(hj%h]”hŒKVM_CAP_S390_PROTECTED”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj %ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjû$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjø$h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj,%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj)%h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj<%h]”hŒs390”…”�”}”(hj>%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj:%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj)%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjø$h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjZ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjW%h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjj%h]”hŒvm ioctl”…”�”}”(hjl%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjh%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjW%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjø$h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjˆ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj…%h³hÇh´Kubj�)�”}”(hŒstruct kvm_pv_cmd”h]”hï)�”}”(hj˜%h]”hŒstruct kvm_pv_cmd”…”�”}”(hjš%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj–%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj…%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjø$h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj¶%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj³%h³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hjÈ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÄ%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj³%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjø$h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjç$h²hh³hÇh´M ubj8)�”}”(hXFstruct kvm_pv_cmd { __u32 cmd; /* Command to be executed */ __u16 rc; /* Ultravisor return code */ __u16 rrc; /* Ultravisor return reason code */ __u64 data; /* Data or address */ __u32 flags; /* flags for future extensions. Must be 0 for now */ __u32 reserved[3]; };”h]”hXFstruct kvm_pv_cmd { __u32 cmd; /* Command to be executed */ __u16 rc; /* Ultravisor return code */ __u16 rrc; /* Ultravisor return reason code */ __u64 data; /* Data or address */ __u32 flags; /* flags for future extensions. Must be 0 for now */ __u32 reserved[3]; };”…”�”}”hjè%sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mhjç$h²hubhï)�”}”(hXŒ**Ultravisor return codes** The Ultravisor return (reason) codes are provided by the kernel if a Ultravisor call has been executed to achieve the results expected by the command. Therefore they are independent of the IOCTL return code. If KVM changes `rc`, its value will always be greater than 0 hence setting it to 0 before issuing a PV command is advised to be able to detect a change of `rc`.”h]”(hŒstrong”“”)�”}”(hŒ**Ultravisor return codes**”h]”hŒUltravisor return codes”…”�”}”(hjü%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jú%hjö%ubhŒà The Ultravisor return (reason) codes are provided by the kernel if a Ultravisor call has been executed to achieve the results expected by the command. Therefore they are independent of the IOCTL return code. If KVM changes ”…”�”}”(hjö%h²hh³Nh´NubjÀ,)�”}”(hŒ`rc`”h]”hŒrc”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjö%ubhŒˆ, its value will always be greater than 0 hence setting it to 0 before issuing a PV command is advised to be able to detect a change of ”…”�”}”(hjö%h²hh³Nh´NubjÀ,)�”}”(hŒ`rc`”h]”hŒrc”…”�”}”(hj &h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjö%ubhŒ.”…”�”}”(hjö%h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjç$h²hubhï)�”}”(hŒ**cmd values:**”h]”jû%)�”}”(hj:&h]”hŒ cmd values:”…”�”}”(hj<&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jú%hj8&ubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjç$h²hubj )�”}”(hhh]”(j)�”}”(hX¾KVM_PV_ENABLE Allocate memory and register the VM with the Ultravisor, thereby donating memory to the Ultravisor that will become inaccessible to KVM. All existing CPUs are converted to protected ones. After this command has succeeded, any CPU added via hotplug will become protected during its creation as well. Errors: ===== ============================= EINTR an unmasked signal is pending ===== ============================= ”h]”(j)�”}”(hŒ KVM_PV_ENABLE”h]”hŒ KVM_PV_ENABLE”…”�”}”(hjV&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M0hjR&ubj%)�”}”(hhh]”(hï)�”}”(hX*Allocate memory and register the VM with the Ultravisor, thereby donating memory to the Ultravisor that will become inaccessible to KVM. All existing CPUs are converted to protected ones. After this command has succeeded, any CPU added via hotplug will become protected during its creation as well.”h]”hX*Allocate memory and register the VM with the Ultravisor, thereby donating memory to the Ultravisor that will become inaccessible to KVM. All existing CPUs are converted to protected ones. After this command has succeeded, any CPU added via hotplug will become protected during its creation as well.”…”�”}”(hjg&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&hjd&ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hju&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,hjd&ubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj†&ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj†&ubjz)�”}”(hhh]”j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINTR”h]”hŒEINTR”…”�”}”(hj¦&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/hj£&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj &ubj„)�”}”(hhh]”hï)�”}”(hŒan unmasked signal is pending”h]”hŒan unmasked signal is pending”…”�”}”(hj½&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/hjº&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj &ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj�&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jyhj†&ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjƒ&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjd&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hjR&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M0hjO&ubj)�”}”(hXÏKVM_PV_DISABLE Deregister the VM from the Ultravisor and reclaim the memory that had been donated to the Ultravisor, making it usable by the kernel again. All registered VCPUs are converted back to non-protected ones. If a previous protected VM had been prepared for asynchronous teardown with KVM_PV_ASYNC_CLEANUP_PREPARE and not subsequently torn down with KVM_PV_ASYNC_CLEANUP_PERFORM, it will be torn down in this call together with the current protected VM. ”h]”(j)�”}”(hŒKVM_PV_DISABLE”h]”hŒKVM_PV_DISABLE”…”�”}”(hjú&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M9hjö&ubj%)�”}”(hhh]”hï)�”}”(hX¿Deregister the VM from the Ultravisor and reclaim the memory that had been donated to the Ultravisor, making it usable by the kernel again. All registered VCPUs are converted back to non-protected ones. If a previous protected VM had been prepared for asynchronous teardown with KVM_PV_ASYNC_CLEANUP_PREPARE and not subsequently torn down with KVM_PV_ASYNC_CLEANUP_PERFORM, it will be torn down in this call together with the current protected VM.”h]”hX¿Deregister the VM from the Ultravisor and reclaim the memory that had been donated to the Ultravisor, making it usable by the kernel again. All registered VCPUs are converted back to non-protected ones. If a previous protected VM had been prepared for asynchronous teardown with KVM_PV_ASYNC_CLEANUP_PREPARE and not subsequently torn down with KVM_PV_ASYNC_CLEANUP_PERFORM, it will be torn down in this call together with the current protected VM.”…”�”}”(hj 'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3hj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjö&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M9hjO&h²hubj)�”}”(hŒƒKVM_PV_VM_SET_SEC_PARMS Pass the image header from VM memory to the Ultravisor in preparation of image unpacking and verification. ”h]”(j)�”}”(hŒKVM_PV_VM_SET_SEC_PARMS”h]”hŒKVM_PV_VM_SET_SEC_PARMS”…”�”}”(hj)'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M=hj%'ubj%)�”}”(hhh]”hï)�”}”(hŒjPass the image header from VM memory to the Ultravisor in preparation of image unpacking and verification.”h]”hŒjPass the image header from VM memory to the Ultravisor in preparation of image unpacking and verification.”…”�”}”(hj:'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hj7'ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj%'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M=hjO&h²hubj)�”}”(hŒRKVM_PV_VM_UNPACK Unpack (protect and decrypt) a page of the encrypted boot image. ”h]”(j)�”}”(hŒKVM_PV_VM_UNPACK”h]”hŒKVM_PV_VM_UNPACK”…”�”}”(hjX'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M@hjT'ubj%)�”}”(hhh]”hï)�”}”(hŒ@Unpack (protect and decrypt) a page of the encrypted boot image.”h]”hŒ@Unpack (protect and decrypt) a page of the encrypted boot image.”…”�”}”(hji'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@hjf'ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjT'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M@hjO&h²hubj)�”}”(hŒ}KVM_PV_VM_VERIFY Verify the integrity of the unpacked image. Only if this succeeds, KVM is allowed to start protected VCPUs. ”h]”(j)�”}”(hŒKVM_PV_VM_VERIFY”h]”hŒKVM_PV_VM_VERIFY”…”�”}”(hj‡'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MDhjƒ'ubj%)�”}”(hhh]”hï)�”}”(hŒkVerify the integrity of the unpacked image. Only if this succeeds, KVM is allowed to start protected VCPUs.”h]”hŒkVerify the integrity of the unpacked image. Only if this succeeds, KVM is allowed to start protected VCPUs.”…”�”}”(hj˜'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MChj•'ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjƒ'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MDhjO&h²hubj)�”}”(hXêKVM_PV_INFO :Capability: KVM_CAP_S390_PROTECTED_DUMP Presents an API that provides Ultravisor related data to userspace via subcommands. len_max is the size of the user space buffer, len_written is KVM's indication of how much bytes of that buffer were actually written to. len_written can be used to determine the valid fields if more response fields are added in the future. :: enum pv_cmd_info_id { KVM_PV_INFO_VM, KVM_PV_INFO_DUMP, }; struct kvm_s390_pv_info_header { __u32 id; __u32 len_max; __u32 len_written; __u32 reserved; }; struct kvm_s390_pv_info { struct kvm_s390_pv_info_header header; struct kvm_s390_pv_info_dump dump; struct kvm_s390_pv_info_vm vm; }; ”h]”(j)�”}”(hŒ KVM_PV_INFO”h]”hŒ KVM_PV_INFO”…”�”}”(hj¶'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mahj²'ubj%)�”}”(hhh]”(js)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÍ'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÊ'h³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_PROTECTED_DUMP ”h]”hï)�”}”(hŒKVM_CAP_S390_PROTECTED_DUMP”h]”hŒKVM_CAP_S390_PROTECTED_DUMP”…”�”}”(hjß'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MGhjÛ'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÊ'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MGhjÇ'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÄ'ubhï)�”}”(hXCPresents an API that provides Ultravisor related data to userspace via subcommands. len_max is the size of the user space buffer, len_written is KVM's indication of how much bytes of that buffer were actually written to. len_written can be used to determine the valid fields if more response fields are added in the future.”h]”hXEPresents an API that provides Ultravisor related data to userspace via subcommands. len_max is the size of the user space buffer, len_written is KVM’s indication of how much bytes of that buffer were actually written to. len_written can be used to determine the valid fields if more response fields are added in the future.”…”�”}”(hjÿ'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MIhjÄ'ubj8)�”}”(hX=enum pv_cmd_info_id { KVM_PV_INFO_VM, KVM_PV_INFO_DUMP, }; struct kvm_s390_pv_info_header { __u32 id; __u32 len_max; __u32 len_written; __u32 reserved; }; struct kvm_s390_pv_info { struct kvm_s390_pv_info_header header; struct kvm_s390_pv_info_dump dump; struct kvm_s390_pv_info_vm vm; };”h]”hX=enum pv_cmd_info_id { KVM_PV_INFO_VM, KVM_PV_INFO_DUMP, }; struct kvm_s390_pv_info_header { __u32 id; __u32 len_max; __u32 len_written; __u32 reserved; }; struct kvm_s390_pv_info { struct kvm_s390_pv_info_header header; struct kvm_s390_pv_info_dump dump; struct kvm_s390_pv_info_vm vm; };”…”�”}”hj (sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MQhjÄ'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hj²'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MahjO&h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjç$h²hh³hÇh´Nubhï)�”}”(hŒ**subcommands:**”h]”jû%)�”}”(hj/(h]”hŒ subcommands:”…”�”}”(hj1(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jú%hj-(ubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mchjç$h²hubj )�”}”(hX—KVM_PV_INFO_VM This subcommand provides basic Ultravisor information for PV hosts. These values are likely also exported as files in the sysfs firmware UV query interface but they are more easily available to programs in this API. The installed calls and feature_indication members provide the installed UV calls and the UV's other feature indications. The max_* members provide information about the maximum number of PV vcpus, PV guests and PV guest memory size. :: struct kvm_s390_pv_info_vm { __u64 inst_calls_list[4]; __u64 max_cpus; __u64 max_guests; __u64 max_guest_addr; __u64 feature_indication; }; KVM_PV_INFO_DUMP This subcommand provides information related to dumping PV guests. :: struct kvm_s390_pv_info_dump { __u64 dump_cpu_buffer_len; __u64 dump_config_mem_buffer_per_1m; __u64 dump_config_finalize_len; }; ”h]”j )�”}”(hhh]”(j)�”}”(hX}KVM_PV_INFO_VM This subcommand provides basic Ultravisor information for PV hosts. These values are likely also exported as files in the sysfs firmware UV query interface but they are more easily available to programs in this API. The installed calls and feature_indication members provide the installed UV calls and the UV's other feature indications. The max_* members provide information about the maximum number of PV vcpus, PV guests and PV guest memory size. :: struct kvm_s390_pv_info_vm { __u64 inst_calls_list[4]; __u64 max_cpus; __u64 max_guests; __u64 max_guest_addr; __u64 feature_indication; }; ”h]”(j)�”}”(hŒKVM_PV_INFO_VM”h]”hŒKVM_PV_INFO_VM”…”�”}”(hjO(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MzhjK(ubj%)�”}”(hhh]”(hï)�”}”(hŒ×This subcommand provides basic Ultravisor information for PV hosts. These values are likely also exported as files in the sysfs firmware UV query interface but they are more easily available to programs in this API.”h]”hŒ×This subcommand provides basic Ultravisor information for PV hosts. These values are likely also exported as files in the sysfs firmware UV query interface but they are more easily available to programs in this API.”…”�”}”(hj`(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mfhj](ubhï)�”}”(hŒyThe installed calls and feature_indication members provide the installed UV calls and the UV's other feature indications.”h]”hŒ{The installed calls and feature_indication members provide the installed UV calls and the UV’s other feature indications.”…”�”}”(hjn(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mkhj](ubhï)�”}”(hŒoThe max_* members provide information about the maximum number of PV vcpus, PV guests and PV guest memory size.”h]”hŒoThe max_* members provide information about the maximum number of PV vcpus, PV guests and PV guest memory size.”…”�”}”(hj|(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mnhj](ubj8)�”}”(hŒ•struct kvm_s390_pv_info_vm { __u64 inst_calls_list[4]; __u64 max_cpus; __u64 max_guests; __u64 max_guest_addr; __u64 feature_indication; };”h]”hŒ•struct kvm_s390_pv_info_vm { __u64 inst_calls_list[4]; __u64 max_cpus; __u64 max_guests; __u64 max_guest_addr; __u64 feature_indication; };”…”�”}”hjŠ(sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mshj](ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hjK(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MzhjH(ubj)�”}”(hŒëKVM_PV_INFO_DUMP This subcommand provides information related to dumping PV guests. :: struct kvm_s390_pv_info_dump { __u64 dump_cpu_buffer_len; __u64 dump_config_mem_buffer_per_1m; __u64 dump_config_finalize_len; }; ”h]”(j)�”}”(hŒKVM_PV_INFO_DUMP”h]”hŒKVM_PV_INFO_DUMP”…”�”}”(hj¨(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M…hj¤(ubj%)�”}”(hhh]”(hï)�”}”(hŒBThis subcommand provides information related to dumping PV guests.”h]”hŒBThis subcommand provides information related to dumping PV guests.”…”�”}”(hj¹(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M}hj¶(ubj8)�”}”(hŒ‡struct kvm_s390_pv_info_dump { __u64 dump_cpu_buffer_len; __u64 dump_config_mem_buffer_per_1m; __u64 dump_config_finalize_len; };”h]”hŒ‡struct kvm_s390_pv_info_dump { __u64 dump_cpu_buffer_len; __u64 dump_config_mem_buffer_per_1m; __u64 dump_config_finalize_len; };”…”�”}”hjÇ(sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M�hj¶(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hj¤(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M…hjH(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjD(ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mehjç$h²hubj )�”}”(hhh]”(j)�”}”(hXKVM_PV_DUMP :Capability: KVM_CAP_S390_PROTECTED_DUMP Presents an API that provides calls which facilitate dumping a protected VM. :: struct kvm_s390_pv_dmp { __u64 subcmd; __u64 buff_addr; __u64 buff_len; __u64 gaddr; /* For dump storage state */ }; **subcommands:** KVM_PV_DUMP_INIT Initializes the dump process of a protected VM. If this call does not succeed all other subcommands will fail with -EINVAL. This subcommand will return -EINVAL if a dump process has not yet been completed. Not all PV vms can be dumped, the owner needs to set `dump allowed` PCF bit 34 in the SE header to allow dumping. KVM_PV_DUMP_CONFIG_STOR_STATE Stores `buff_len` bytes of tweak component values starting with the 1MB block specified by the absolute guest address (`gaddr`). `buff_len` needs to be `conf_dump_storage_state_len` aligned and at least >= the `conf_dump_storage_state_len` value provided by the dump uv_info data. buff_user might be written to even if an error rc is returned. For instance if we encounter a fault after writing the first page of data. KVM_PV_DUMP_COMPLETE If the subcommand succeeds it completes the dump process and lets KVM_PV_DUMP_INIT be called again. On success `conf_dump_finalize_len` bytes of completion data will be stored to the `buff_addr`. The completion data contains a key derivation seed, IV, tweak nonce and encryption keys as well as an authentication tag all of which are needed to decrypt the dump at a later time. ”h]”(j)�”}”(hŒ KVM_PV_DUMP”h]”hŒ KVM_PV_DUMP”…”�”}”(hjô(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M²hjð(ubj%)�”}”(hhh]”(js)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj )h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj)h³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_PROTECTED_DUMP ”h]”hï)�”}”(hŒKVM_CAP_S390_PROTECTED_DUMP”h]”hŒKVM_CAP_S390_PROTECTED_DUMP”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mˆhj)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mˆhj)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj)ubhï)�”}”(hŒLPresents an API that provides calls which facilitate dumping a protected VM.”h]”hŒLPresents an API that provides calls which facilitate dumping a protected VM.”…”�”}”(hj=)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhj)ubj8)�”}”(hŒ‰struct kvm_s390_pv_dmp { __u64 subcmd; __u64 buff_addr; __u64 buff_len; __u64 gaddr; /* For dump storage state */ };”h]”hŒ‰struct kvm_s390_pv_dmp { __u64 subcmd; __u64 buff_addr; __u64 buff_len; __u64 gaddr; /* For dump storage state */ };”…”�”}”hjK)sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M�hj)ubhï)�”}”(hŒ**subcommands:**”h]”jû%)�”}”(hj[)h]”hŒ subcommands:”…”�”}”(hj])h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jú%hjY)ubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M–hj)ubj )�”}”(hhh]”(j)�”}”(hXRKVM_PV_DUMP_INIT Initializes the dump process of a protected VM. If this call does not succeed all other subcommands will fail with -EINVAL. This subcommand will return -EINVAL if a dump process has not yet been completed. Not all PV vms can be dumped, the owner needs to set `dump allowed` PCF bit 34 in the SE header to allow dumping. ”h]”(j)�”}”(hŒKVM_PV_DUMP_INIT”h]”hŒKVM_PV_DUMP_INIT”…”�”}”(hjw)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MŸhjs)ubj%)�”}”(hhh]”(hï)�”}”(hŒÍInitializes the dump process of a protected VM. If this call does not succeed all other subcommands will fail with -EINVAL. This subcommand will return -EINVAL if a dump process has not yet been completed.”h]”hŒÍInitializes the dump process of a protected VM. If this call does not succeed all other subcommands will fail with -EINVAL. This subcommand will return -EINVAL if a dump process has not yet been completed.”…”�”}”(hjˆ)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M™hj…)ubhï)�”}”(hŒqNot all PV vms can be dumped, the owner needs to set `dump allowed` PCF bit 34 in the SE header to allow dumping.”h]”(hŒ5Not all PV vms can be dumped, the owner needs to set ”…”�”}”(hj–)h²hh³Nh´NubjÀ,)�”}”(hŒ`dump allowed`”h]”hŒ dump allowed”…”�”}”(hjž)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj–)ubhŒ. PCF bit 34 in the SE header to allow dumping.”…”�”}”(hj–)h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mžhj…)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hjs)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MŸhjp)ubj)�”}”(hXÁKVM_PV_DUMP_CONFIG_STOR_STATE Stores `buff_len` bytes of tweak component values starting with the 1MB block specified by the absolute guest address (`gaddr`). `buff_len` needs to be `conf_dump_storage_state_len` aligned and at least >= the `conf_dump_storage_state_len` value provided by the dump uv_info data. buff_user might be written to even if an error rc is returned. For instance if we encounter a fault after writing the first page of data. ”h]”(j)�”}”(hŒKVM_PV_DUMP_CONFIG_STOR_STATE”h]”hŒKVM_PV_DUMP_CONFIG_STOR_STATE”…”�”}”(hjÆ)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M¨hjÂ)ubj%)�”}”(hhh]”hï)�”}”(hX¢Stores `buff_len` bytes of tweak component values starting with the 1MB block specified by the absolute guest address (`gaddr`). `buff_len` needs to be `conf_dump_storage_state_len` aligned and at least >= the `conf_dump_storage_state_len` value provided by the dump uv_info data. buff_user might be written to even if an error rc is returned. For instance if we encounter a fault after writing the first page of data.”h]”(hŒStores ”…”�”}”(hj×)h²hh³Nh´NubjÀ,)�”}”(hŒ `buff_len`”h]”hŒbuff_len”…”�”}”(hjß)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj×)ubhŒf bytes of tweak component values starting with the 1MB block specified by the absolute guest address (”…”�”}”(hj×)h²hh³Nh´NubjÀ,)�”}”(hŒ`gaddr`”h]”hŒgaddr”…”�”}”(hjñ)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj×)ubhŒ). ”…”�”}”(hj×)h²hh³Nh´NubjÀ,)�”}”(hŒ `buff_len`”h]”hŒbuff_len”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj×)ubhŒ needs to be ”…”�”}”(hj×)h²hh³Nh´NubjÀ,)�”}”(hŒ`conf_dump_storage_state_len`”h]”hŒconf_dump_storage_state_len”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj×)ubhŒ aligned and at least >= the ”…”�”}”(hj×)h²hh³Nh´NubjÀ,)�”}”(hŒ`conf_dump_storage_state_len`”h]”hŒconf_dump_storage_state_len”…”�”}”(hj'*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj×)ubhŒ³ value provided by the dump uv_info data. buff_user might be written to even if an error rc is returned. For instance if we encounter a fault after writing the first page of data.”…”�”}”(hj×)h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢hjÔ)ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjÂ)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M¨hjp)ubj)�”}”(hX�KVM_PV_DUMP_COMPLETE If the subcommand succeeds it completes the dump process and lets KVM_PV_DUMP_INIT be called again. On success `conf_dump_finalize_len` bytes of completion data will be stored to the `buff_addr`. The completion data contains a key derivation seed, IV, tweak nonce and encryption keys as well as an authentication tag all of which are needed to decrypt the dump at a later time. ”h]”(j)�”}”(hŒKVM_PV_DUMP_COMPLETE”h]”hŒKVM_PV_DUMP_COMPLETE”…”�”}”(hjO*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M²hjK*ubj%)�”}”(hhh]”(hï)�”}”(hŒcIf the subcommand succeeds it completes the dump process and lets KVM_PV_DUMP_INIT be called again.”h]”hŒcIf the subcommand succeeds it completes the dump process and lets KVM_PV_DUMP_INIT be called again.”…”�”}”(hj`*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M«hj]*ubhï)�”}”(hXOn success `conf_dump_finalize_len` bytes of completion data will be stored to the `buff_addr`. The completion data contains a key derivation seed, IV, tweak nonce and encryption keys as well as an authentication tag all of which are needed to decrypt the dump at a later time.”h]”(hŒ On success ”…”�”}”(hjn*h²hh³Nh´NubjÀ,)�”}”(hŒ`conf_dump_finalize_len`”h]”hŒconf_dump_finalize_len”…”�”}”(hjv*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjn*ubhŒ0 bytes of completion data will be stored to the ”…”�”}”(hjn*h²hh³Nh´NubjÀ,)�”}”(hŒ `buff_addr`”h]”hŒ buff_addr”…”�”}”(hjˆ*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjn*ubhŒ·. The completion data contains a key derivation seed, IV, tweak nonce and encryption keys as well as an authentication tag all of which are needed to decrypt the dump at a later time.”…”�”}”(hjn*h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M®hj]*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hjK*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M²hjp)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hjð(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M²hjí(ubj)�”}”(hX³KVM_PV_ASYNC_CLEANUP_PREPARE :Capability: KVM_CAP_S390_PROTECTED_ASYNC_DISABLE Prepare the current protected VM for asynchronous teardown. Most resources used by the current protected VM will be set aside for a subsequent asynchronous teardown. The current protected VM will then resume execution immediately as non-protected. There can be at most one protected VM prepared for asynchronous teardown at any time. If a protected VM had already been prepared for teardown without subsequently calling KVM_PV_ASYNC_CLEANUP_PERFORM, this call will fail. In that case, the userspace process should issue a normal KVM_PV_DISABLE. The resources set aside with this call will need to be cleaned up with a subsequent call to KVM_PV_ASYNC_CLEANUP_PERFORM or KVM_PV_DISABLE, otherwise they will be cleaned up when KVM terminates. KVM_PV_ASYNC_CLEANUP_PREPARE can be called again as soon as cleanup starts, i.e. before KVM_PV_ASYNC_CLEANUP_PERFORM finishes. ”h]”(j)�”}”(hŒKVM_PV_ASYNC_CLEANUP_PREPARE”h]”hŒKVM_PV_ASYNC_CLEANUP_PREPARE”…”�”}”(hjÂ*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÃhj¾*ubj%)�”}”(hhh]”(js)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÙ*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÖ*h³hÇh´Kubj�)�”}”(hŒ%KVM_CAP_S390_PROTECTED_ASYNC_DISABLE ”h]”hï)�”}”(hŒ$KVM_CAP_S390_PROTECTED_ASYNC_DISABLE”h]”hŒ$KVM_CAP_S390_PROTECTED_ASYNC_DISABLE”…”�”}”(hjë*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mµhjç*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÖ*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MµhjÓ*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÐ*ubhï)�”}”(hXbPrepare the current protected VM for asynchronous teardown. Most resources used by the current protected VM will be set aside for a subsequent asynchronous teardown. The current protected VM will then resume execution immediately as non-protected. There can be at most one protected VM prepared for asynchronous teardown at any time. If a protected VM had already been prepared for teardown without subsequently calling KVM_PV_ASYNC_CLEANUP_PERFORM, this call will fail. In that case, the userspace process should issue a normal KVM_PV_DISABLE. The resources set aside with this call will need to be cleaned up with a subsequent call to KVM_PV_ASYNC_CLEANUP_PERFORM or KVM_PV_DISABLE, otherwise they will be cleaned up when KVM terminates. KVM_PV_ASYNC_CLEANUP_PREPARE can be called again as soon as cleanup starts, i.e. before KVM_PV_ASYNC_CLEANUP_PERFORM finishes.”h]”hXbPrepare the current protected VM for asynchronous teardown. Most resources used by the current protected VM will be set aside for a subsequent asynchronous teardown. The current protected VM will then resume execution immediately as non-protected. There can be at most one protected VM prepared for asynchronous teardown at any time. If a protected VM had already been prepared for teardown without subsequently calling KVM_PV_ASYNC_CLEANUP_PERFORM, this call will fail. In that case, the userspace process should issue a normal KVM_PV_DISABLE. The resources set aside with this call will need to be cleaned up with a subsequent call to KVM_PV_ASYNC_CLEANUP_PERFORM or KVM_PV_DISABLE, otherwise they will be cleaned up when KVM terminates. KVM_PV_ASYNC_CLEANUP_PREPARE can be called again as soon as cleanup starts, i.e. before KVM_PV_ASYNC_CLEANUP_PERFORM finishes.”…”�”}”(hj +h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M·hjÐ*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hj¾*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÃhjí(h²hubj)�”}”(hX‚KVM_PV_ASYNC_CLEANUP_PERFORM :Capability: KVM_CAP_S390_PROTECTED_ASYNC_DISABLE Tear down the protected VM previously prepared for teardown with KVM_PV_ASYNC_CLEANUP_PREPARE. The resources that had been set aside will be freed during the execution of this command. This PV command should ideally be issued by userspace from a separate thread. If a fatal signal is received (or the process terminates naturally), the command will terminate immediately without completing, and the normal KVM shutdown procedure will take care of cleaning up all remaining protected VMs, including the ones whose teardown was interrupted by process termination. ”h]”(j)�”}”(hŒKVM_PV_ASYNC_CLEANUP_PERFORM”h]”hŒKVM_PV_ASYNC_CLEANUP_PERFORM”…”�”}”(hj)+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÐhj%+ubj%)�”}”(hhh]”(js)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj@+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj=+h³hÇh´Kubj�)�”}”(hŒ%KVM_CAP_S390_PROTECTED_ASYNC_DISABLE ”h]”hï)�”}”(hŒ$KVM_CAP_S390_PROTECTED_ASYNC_DISABLE”h]”hŒ$KVM_CAP_S390_PROTECTED_ASYNC_DISABLE”…”�”}”(hjR+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆhjN+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj=+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÆhj:+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj7+ubhï)�”}”(hX1Tear down the protected VM previously prepared for teardown with KVM_PV_ASYNC_CLEANUP_PREPARE. The resources that had been set aside will be freed during the execution of this command. This PV command should ideally be issued by userspace from a separate thread. If a fatal signal is received (or the process terminates naturally), the command will terminate immediately without completing, and the normal KVM shutdown procedure will take care of cleaning up all remaining protected VMs, including the ones whose teardown was interrupted by process termination.”h]”hX1Tear down the protected VM previously prepared for teardown with KVM_PV_ASYNC_CLEANUP_PREPARE. The resources that had been set aside will be freed during the execution of this command. This PV command should ideally be issued by userspace from a separate thread. If a fatal signal is received (or the process terminates naturally), the command will terminate immediately without completing, and the normal KVM shutdown procedure will take care of cleaning up all remaining protected VMs, including the ones whose teardown was interrupted by process termination.”…”�”}”(hjr+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈhj7+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hj%+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MÐhjí(h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjç$h²hh³Nh´Nubeh}”(h]”Œkvm-s390-pv-command”ah ]”h"]”Œ4.125 kvm_s390_pv_command”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.126 KVM_XEN_HVM_SET_ATTR”h]”hŒ4.126 KVM_XEN_HVM_SET_ATTR”…”�”}”(hj�+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjš+h²hh³hÇh´MÓubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj±+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj®+h³hÇh´Kubj�)�”}”(hŒ0KVM_CAP_XEN_HVM / KVM_XEN_HVM_CONFIG_SHARED_INFO”h]”hï)�”}”(hjÁ+h]”hŒ0KVM_CAP_XEN_HVM / KVM_XEN_HVM_CONFIG_SHARED_INFO”…”�”}”(hjÃ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕhj¿+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj®+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÕhj«+h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjß+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÜ+h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjï+h]”hŒx86”…”�”}”(hjñ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖhjí+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÜ+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÖhj«+h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ,h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj,h]”hŒvm ioctl”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M×hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M×hj«+h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj;,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj8,h³hÇh´Kubj�)�”}”(hŒstruct kvm_xen_hvm_attr”h]”hï)�”}”(hjK,h]”hŒstruct kvm_xen_hvm_attr”…”�”}”(hjM,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØhjI,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj8,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MØhj«+h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hji,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjf,h³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hj{,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÙhjw,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjf,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÙhj«+h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjš+h²hh³hÇh´MÕubj8)�”}”(hXWstruct kvm_xen_hvm_attr { __u16 type; __u16 pad[3]; union { __u8 long_mode; __u8 vector; __u8 runstate_update_flag; union { __u64 gfn; __u64 hva; } shared_info; struct { __u32 send_port; __u32 type; /* EVTCHNSTAT_ipi / EVTCHNSTAT_interdomain */ __u32 flags; union { struct { __u32 port; __u32 vcpu; __u32 priority; } port; struct { __u32 port; /* Zero for eventfd */ __s32 fd; } eventfd; __u32 padding[4]; } deliver; } evtchn; __u32 xen_version; __u64 pad[8]; } u; };”h]”hXWstruct kvm_xen_hvm_attr { __u16 type; __u16 pad[3]; union { __u8 long_mode; __u8 vector; __u8 runstate_update_flag; union { __u64 gfn; __u64 hva; } shared_info; struct { __u32 send_port; __u32 type; /* EVTCHNSTAT_ipi / EVTCHNSTAT_interdomain */ __u32 flags; union { struct { __u32 port; __u32 vcpu; __u32 priority; } port; struct { __u32 port; /* Zero for eventfd */ __s32 fd; } eventfd; __u32 padding[4]; } deliver; } evtchn; __u32 xen_version; __u64 pad[8]; } u; };”…”�”}”hj›,sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÝhjš+h²hubhï)�”}”(hŒ type values:”h]”hŒ type values:”…”�”}”(hj©,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mþhjš+h²hubj )�”}”(hhh]”(j)�”}”(hŒŸKVM_XEN_ATTR_TYPE_LONG_MODE Sets the ABI mode of the VM to 32-bit or 64-bit (long mode). This determines the layout of the shared_info page exposed to the VM. ”h]”(j)�”}”(hŒKVM_XEN_ATTR_TYPE_LONG_MODE”h]”hŒKVM_XEN_ATTR_TYPE_LONG_MODE”…”�”}”(hj¾,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mhjº,ubj%)�”}”(hhh]”hï)�”}”(hŒ‚Sets the ABI mode of the VM to 32-bit or 64-bit (long mode). This determines the layout of the shared_info page exposed to the VM.”h]”hŒ‚Sets the ABI mode of the VM to 32-bit or 64-bit (long mode). This determines the layout of the shared_info page exposed to the VM.”…”�”}”(hjÏ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÌ,ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjº,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mhj·,ubj)�”}”(hX�KVM_XEN_ATTR_TYPE_SHARED_INFO Sets the guest physical frame number at which the Xen shared_info page resides. Note that although Xen places vcpu_info for the first 32 vCPUs in the shared_info page, KVM does not automatically do so and instead requires that KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO or KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA be used explicitly even when the vcpu_info for a given vCPU resides at the "default" location in the shared_info page. This is because KVM may not be aware of the Xen CPU id which is used as the index into the vcpu_info[] array, so may know the correct default location. Note that the shared_info page may be constantly written to by KVM; it contains the event channel bitmap used to deliver interrupts to a Xen guest, amongst other things. It is exempt from dirty tracking mechanisms — KVM will not explicitly mark the page as dirty each time an event channel interrupt is delivered to the guest! Thus, userspace should always assume that the designated GFN is dirty if any vCPU has been running or any event channel interrupts can be routed to the guest. Setting the gfn to KVM_XEN_INVALID_GFN will disable the shared_info page. ”h]”(j)�”}”(hŒKVM_XEN_ATTR_TYPE_SHARED_INFO”h]”hŒKVM_XEN_ATTR_TYPE_SHARED_INFO”…”�”}”(hjí,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mhjé,ubj%)�”}”(hhh]”(hï)�”}”(hX:Sets the guest physical frame number at which the Xen shared_info page resides. Note that although Xen places vcpu_info for the first 32 vCPUs in the shared_info page, KVM does not automatically do so and instead requires that KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO or KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA be used explicitly even when the vcpu_info for a given vCPU resides at the "default" location in the shared_info page. This is because KVM may not be aware of the Xen CPU id which is used as the index into the vcpu_info[] array, so may know the correct default location.”h]”hX>Sets the guest physical frame number at which the Xen shared_info page resides. Note that although Xen places vcpu_info for the first 32 vCPUs in the shared_info page, KVM does not automatically do so and instead requires that KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO or KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA be used explicitly even when the vcpu_info for a given vCPU resides at the “defaultâ€� location in the shared_info page. This is because KVM may not be aware of the Xen CPU id which is used as the index into the vcpu_info[] array, so may know the correct default location.”…”�”}”(hjþ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjû,ubhï)�”}”(hXçNote that the shared_info page may be constantly written to by KVM; it contains the event channel bitmap used to deliver interrupts to a Xen guest, amongst other things. It is exempt from dirty tracking mechanisms — KVM will not explicitly mark the page as dirty each time an event channel interrupt is delivered to the guest! Thus, userspace should always assume that the designated GFN is dirty if any vCPU has been running or any event channel interrupts can be routed to the guest.”h]”hXçNote that the shared_info page may be constantly written to by KVM; it contains the event channel bitmap used to deliver interrupts to a Xen guest, amongst other things. It is exempt from dirty tracking mechanisms — KVM will not explicitly mark the page as dirty each time an event channel interrupt is delivered to the guest! Thus, userspace should always assume that the designated GFN is dirty if any vCPU has been running or any event channel interrupts can be routed to the guest.”…”�”}”(hj -h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjû,ubhï)�”}”(hŒISetting the gfn to KVM_XEN_INVALID_GFN will disable the shared_info page.”h]”hŒISetting the gfn to KVM_XEN_INVALID_GFN will disable the shared_info page.”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjû,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hjé,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mhj·,h²hubj)�”}”(hXBKVM_XEN_ATTR_TYPE_SHARED_INFO_HVA If the KVM_XEN_HVM_CONFIG_SHARED_INFO_HVA flag is also set in the Xen capabilities, then this attribute may be used to set the userspace address at which the shared_info page resides, which will always be fixed in the VMM regardless of where it is mapped in guest physical address space. This attribute should be used in preference to KVM_XEN_ATTR_TYPE_SHARED_INFO as it avoids unnecessary invalidation of an internal cache when the page is re-mapped in guest physical address space. Setting the hva to zero will disable the shared_info page. ”h]”(j)�”}”(hŒ!KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA”h]”hŒ!KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA”…”�”}”(hj8-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M%hj4-ubj%)�”}”(hhh]”(hï)�”}”(hXãIf the KVM_XEN_HVM_CONFIG_SHARED_INFO_HVA flag is also set in the Xen capabilities, then this attribute may be used to set the userspace address at which the shared_info page resides, which will always be fixed in the VMM regardless of where it is mapped in guest physical address space. This attribute should be used in preference to KVM_XEN_ATTR_TYPE_SHARED_INFO as it avoids unnecessary invalidation of an internal cache when the page is re-mapped in guest physical address space.”h]”hXãIf the KVM_XEN_HVM_CONFIG_SHARED_INFO_HVA flag is also set in the Xen capabilities, then this attribute may be used to set the userspace address at which the shared_info page resides, which will always be fixed in the VMM regardless of where it is mapped in guest physical address space. This attribute should be used in preference to KVM_XEN_ATTR_TYPE_SHARED_INFO as it avoids unnecessary invalidation of an internal cache when the page is re-mapped in guest physical address space.”…”�”}”(hjI-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjF-ubhï)�”}”(hŒ:Setting the hva to zero will disable the shared_info page.”h]”hŒ:Setting the hva to zero will disable the shared_info page.”…”�”}”(hjW-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hjF-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$hj4-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M%hj·,h²hubj)�”}”(hXVKVM_XEN_ATTR_TYPE_UPCALL_VECTOR Sets the exception vector used to deliver Xen event channel upcalls. This is the HVM-wide vector injected directly by the hypervisor (not through the local APIC), typically configured by a guest via HVM_PARAM_CALLBACK_IRQ. This can be disabled again (e.g. for guest SHUTDOWN_soft_reset) by setting it to zero. ”h]”(j)�”}”(hŒKVM_XEN_ATTR_TYPE_UPCALL_VECTOR”h]”hŒKVM_XEN_ATTR_TYPE_UPCALL_VECTOR”…”�”}”(hju-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M,hjq-ubj%)�”}”(hhh]”hï)�”}”(hX5Sets the exception vector used to deliver Xen event channel upcalls. This is the HVM-wide vector injected directly by the hypervisor (not through the local APIC), typically configured by a guest via HVM_PARAM_CALLBACK_IRQ. This can be disabled again (e.g. for guest SHUTDOWN_soft_reset) by setting it to zero.”h]”hX5Sets the exception vector used to deliver Xen event channel upcalls. This is the HVM-wide vector injected directly by the hypervisor (not through the local APIC), typically configured by a guest via HVM_PARAM_CALLBACK_IRQ. This can be disabled again (e.g. for guest SHUTDOWN_soft_reset) by setting it to zero.”…”�”}”(hj†-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M(hjƒ-ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjq-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M,hj·,h²hubj)�”}”(hX-KVM_XEN_ATTR_TYPE_EVTCHN This attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_EVTCHN_SEND features. It configures an outbound port number for interception of EVTCHNOP_send requests from the guest. A given sending port number may be directed back to a specified vCPU (by APIC ID) / port / priority on the guest, or to trigger events on an eventfd. The vCPU and priority can be changed by setting KVM_XEN_EVTCHN_UPDATE in a subsequent call, but other fields cannot change for a given sending port. A port mapping is removed by using KVM_XEN_EVTCHN_DEASSIGN in the flags field. Passing KVM_XEN_EVTCHN_RESET in the flags field removes all interception of outbound event channels. The values of the flags field are mutually exclusive and cannot be combined as a bitmask. ”h]”(j)�”}”(hŒKVM_XEN_ATTR_TYPE_EVTCHN”h]”hŒKVM_XEN_ATTR_TYPE_EVTCHN”…”�”}”(hj¤-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M:hj -ubj%)�”}”(hhh]”hï)�”}”(hXThis attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_EVTCHN_SEND features. It configures an outbound port number for interception of EVTCHNOP_send requests from the guest. A given sending port number may be directed back to a specified vCPU (by APIC ID) / port / priority on the guest, or to trigger events on an eventfd. The vCPU and priority can be changed by setting KVM_XEN_EVTCHN_UPDATE in a subsequent call, but other fields cannot change for a given sending port. A port mapping is removed by using KVM_XEN_EVTCHN_DEASSIGN in the flags field. Passing KVM_XEN_EVTCHN_RESET in the flags field removes all interception of outbound event channels. The values of the flags field are mutually exclusive and cannot be combined as a bitmask.”h]”hXThis attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_EVTCHN_SEND features. It configures an outbound port number for interception of EVTCHNOP_send requests from the guest. A given sending port number may be directed back to a specified vCPU (by APIC ID) / port / priority on the guest, or to trigger events on an eventfd. The vCPU and priority can be changed by setting KVM_XEN_EVTCHN_UPDATE in a subsequent call, but other fields cannot change for a given sending port. A port mapping is removed by using KVM_XEN_EVTCHN_DEASSIGN in the flags field. Passing KVM_XEN_EVTCHN_RESET in the flags field removes all interception of outbound event channels. The values of the flags field are mutually exclusive and cannot be combined as a bitmask.”…”�”•}”(hjµ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/hj²-ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj -ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M:hj·,h²hubj)�”}”(hXÏKVM_XEN_ATTR_TYPE_XEN_VERSION This attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_EVTCHN_SEND features. It configures the 32-bit version code returned to the guest when it invokes the XENVER_version call; typically (XEN_MAJOR << 16 | XEN_MINOR). PV Xen guests will often use this to as a dummy hypercall to trigger event channel delivery, so responding within the kernel without exiting to userspace is beneficial. ”h]”(j)�”}”(hŒKVM_XEN_ATTR_TYPE_XEN_VERSION”h]”hŒKVM_XEN_ATTR_TYPE_XEN_VERSION”…”�”}”(hjÓ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MChjÏ-ubj%)�”}”(hhh]”hï)�”}”(hX°This attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_EVTCHN_SEND features. It configures the 32-bit version code returned to the guest when it invokes the XENVER_version call; typically (XEN_MAJOR << 16 | XEN_MINOR). PV Xen guests will often use this to as a dummy hypercall to trigger event channel delivery, so responding within the kernel without exiting to userspace is beneficial.”h]”hX°This attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_EVTCHN_SEND features. It configures the 32-bit version code returned to the guest when it invokes the XENVER_version call; typically (XEN_MAJOR << 16 | XEN_MINOR). PV Xen guests will often use this to as a dummy hypercall to trigger event channel delivery, so responding within the kernel without exiting to userspace is beneficial.”…”�”}”(hjä-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M=hjá-ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjÏ-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MChj·,h²hubj)�”}”(hX�KVM_XEN_ATTR_TYPE_RUNSTATE_UPDATE_FLAG This attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG. It enables the XEN_RUNSTATE_UPDATE flag which allows guest vCPUs to safely read other vCPUs' vcpu_runstate_info. Xen guests enable this feature via the VMASST_TYPE_runstate_update_flag of the HYPERVISOR_vm_assist hypercall. ”h]”(j)�”}”(hŒ&KVM_XEN_ATTR_TYPE_RUNSTATE_UPDATE_FLAG”h]”hŒ&KVM_XEN_ATTR_TYPE_RUNSTATE_UPDATE_FLAG”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MKhjþ-ubj%)�”}”(hhh]”hï)�”}”(hXYThis attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG. It enables the XEN_RUNSTATE_UPDATE flag which allows guest vCPUs to safely read other vCPUs' vcpu_runstate_info. Xen guests enable this feature via the VMASST_TYPE_runstate_update_flag of the HYPERVISOR_vm_assist hypercall.”h]”hX[This attribute is available when the KVM_CAP_XEN_HVM ioctl indicates support for KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG. It enables the XEN_RUNSTATE_UPDATE flag which allows guest vCPUs to safely read other vCPUs’ vcpu_runstate_info. Xen guests enable this feature via the VMASST_TYPE_runstate_update_flag of the HYPERVISOR_vm_assist hypercall.”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjþ-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MKhj·,h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjš+h²hh³hÇh´Nubeh}”(h]”Œkvm-xen-hvm-set-attr”ah ]”h"]”Œ4.126 kvm_xen_hvm_set_attr”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÓubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.127 KVM_XEN_HVM_GET_ATTR”h]”hŒ4.127 KVM_XEN_HVM_GET_ATTR”…”�”}”(hj>.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj;.h²hh³hÇh´MNubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjR.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjO.h³hÇh´Kubj�)�”}”(hŒ0KVM_CAP_XEN_HVM / KVM_XEN_HVM_CONFIG_SHARED_INFO”h]”hï)�”}”(hjb.h]”hŒ0KVM_CAP_XEN_HVM / KVM_XEN_HVM_CONFIG_SHARED_INFO”…”�”}”(hjd.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MPhj`.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjO.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MPhjL.h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj€.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj}.h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj�.h]”hŒx86”…”�”}”(hj’.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQhjŽ.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj}.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MQhjL.h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj®.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj«.h³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj¾.h]”hŒvm ioctl”…”�”}”(hjÀ.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MRhj¼.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj«.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MRhjL.h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÜ.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÙ.h³hÇh´Kubj�)�”}”(hŒstruct kvm_xen_hvm_attr”h]”hï)�”}”(hjì.h]”hŒstruct kvm_xen_hvm_attr”…”�”}”(hjî.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MShjê.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÙ.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MShjL.h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj /h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj/h³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MThj/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MThjL.h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj;.h²hh³hÇh´MPubhï)�”}”(hŒ˜Allows Xen VM attributes to be read. For the structure and types, see KVM_XEN_HVM_SET_ATTR above. The KVM_XEN_ATTR_TYPE_EVTCHN attribute cannot be read.”h]”hŒ˜Allows Xen VM attributes to be read. For the structure and types, see KVM_XEN_HVM_SET_ATTR above. The KVM_XEN_ATTR_TYPE_EVTCHN attribute cannot be read.”…”�”}”(hj4h]”hŒstruct kvm_arm_copy_mte_tags”…”�”}”(hj@4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Máhj<4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj+4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Máhjž3h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj\4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjY4h³hÇh´Kubj�)�”}”(hŒnnumber of bytes copied, < 0 on error (-EINVAL for incorrect arguments, -EFAULT if memory cannot be accessed). ”h]”hï)�”}”(hŒmnumber of bytes copied, < 0 on error (-EINVAL for incorrect arguments, -EFAULT if memory cannot be accessed).”h]”hŒmnumber of bytes copied, < 0 on error (-EINVAL for incorrect arguments, -EFAULT if memory cannot be accessed).”…”�”}”(hjn4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mâhjj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjY4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mâhjž3h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj�3h²hh³hÇh´MÞubj8)�”}”(hŒ‘struct kvm_arm_copy_mte_tags { __u64 guest_ipa; __u64 length; void __user *addr; __u64 flags; __u64 reserved[2]; };”h]”hŒ‘struct kvm_arm_copy_mte_tags { __u64 guest_ipa; __u64 length; void __user *addr; __u64 flags; __u64 reserved[2]; };”…”�”}”hjŽ4sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mçhj�3h²hubhï)�”}”(hXCopies Memory Tagging Extension (MTE) tags to/from guest tag memory. The ``guest_ipa`` and ``length`` fields must be ``PAGE_SIZE`` aligned. ``length`` must not be bigger than 2^31 - PAGE_SIZE bytes. The ``addr`` field must point to a buffer which the tags will be copied to or from.”h]”(hŒICopies Memory Tagging Extension (MTE) tags to/from guest tag memory. The ”…”�”}”(hjœ4h²hh³Nh´NubjÈ)�”}”(hŒ ``guest_ipa``”h]”hŒ guest_ipa”…”�”}”(hj¤4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjœ4ubhŒ and ”…”�”}”(hjœ4h²hh³Nh´NubjÈ)�”}”(hŒ ``length``”h]”hŒlength”…”�”}”(hj¶4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjœ4ubhŒ fields must be ”…”�”}”(hjœ4h²hh³Nh´NubjÈ)�”}”(hŒ ``PAGE_SIZE``”h]”hŒ PAGE_SIZE”…”�”}”(hjÈ4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjœ4ubhŒ aligned. ”…”�”}”(hjœ4h²hh³Nh´NubjÈ)�”}”(hŒ ``length``”h]”hŒlength”…”�”}”(hjÚ4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjœ4ubhŒ5 must not be bigger than 2^31 - PAGE_SIZE bytes. The ”…”�”}”(hjœ4h²hh³Nh´NubjÈ)�”}”(hŒ``addr``”h]”hŒaddr”…”�”}”(hjì4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjœ4ubhŒG field must point to a buffer which the tags will be copied to or from.”…”�”}”(hjœ4h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mïhj�3h²hubhï)�”}”(hŒk``flags`` specifies the direction of copy, either ``KVM_ARM_TAGS_TO_GUEST`` or ``KVM_ARM_TAGS_FROM_GUEST``.”h]”(jÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5ubhŒ) specifies the direction of copy, either ”…”�”}”(hj5h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_ARM_TAGS_TO_GUEST``”h]”hŒKVM_ARM_TAGS_TO_GUEST”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5ubhŒ or ”…”�”}”(hj5h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_ARM_TAGS_FROM_GUEST``”h]”hŒKVM_ARM_TAGS_FROM_GUEST”…”�”}”(hj,5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5ubhŒ.”…”�”}”(hj5h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Môhj�3h²hubhï)�”}”(hŒÝThe size of the buffer to store the tags is ``(length / 16)`` bytes (granules in MTE are 16 bytes long). Each byte contains a single tag value. This matches the format of ``PTRACE_PEEKMTETAGS`` and ``PTRACE_POKEMTETAGS``.”h]”(hŒ,The size of the buffer to store the tags is ”…”�”}”(hjD5h²hh³Nh´NubjÈ)�”}”(hŒ``(length / 16)``”h]”hŒ (length / 16)”…”�”}”(hjL5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjD5ubhŒn bytes (granules in MTE are 16 bytes long). Each byte contains a single tag value. This matches the format of ”…”�”}”(hjD5h²hh³Nh´NubjÈ)�”}”(hŒ``PTRACE_PEEKMTETAGS``”h]”hŒPTRACE_PEEKMTETAGS”…”�”}”(hj^5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjD5ubhŒ and ”…”�”}”(hjD5h²hh³Nh´NubjÈ)�”}”(hŒ``PTRACE_POKEMTETAGS``”h]”hŒPTRACE_POKEMTETAGS”…”�”}”(hjp5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjD5ubhŒ.”…”�”}”(hjD5h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷hj�3h²hubhï)�”}”(hXIf an error occurs before any data is copied then a negative error code is returned. If some tags have been copied before an error occurs then the number of bytes successfully copied is returned. If the call completes successfully then ``length`` is returned.”h]”(hŒìIf an error occurs before any data is copied then a negative error code is returned. If some tags have been copied before an error occurs then the number of bytes successfully copied is returned. If the call completes successfully then ”…”�”}”(hjˆ5h²hh³Nh´NubjÈ)�”}”(hŒ ``length``”h]”hŒlength”…”�”}”(hj�5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjˆ5ubhŒ is returned.”…”�”}”(hjˆ5h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mühj�3h²hubeh}”(h]”Œkvm-arm-mte-copy-tags”ah ]”h"]”Œ4.130 kvm_arm_mte_copy_tags”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÜubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.131 KVM_GET_SREGS2”h]”hŒ4.131 KVM_GET_SREGS2”…”�”}”(hj³5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj°5h²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÇ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÄ5h³hÇh´Kubj�)�”}”(hŒKVM_CAP_SREGS2”h]”hï)�”}”(hj×5h]”hŒKVM_CAP_SREGS2”…”�”}”(hjÙ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÕ5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÄ5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjÁ5h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjõ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjò5h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj6h]”hŒx86”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjò5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjÁ5h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj#6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj 6h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj36h]”hŒ vcpu ioctl”…”�”}”(hj56h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj16ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj 6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjÁ5h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjQ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjN6h³hÇh´Kubj�)�”}”(hŒstruct kvm_sregs2 (out)”h]”hï)�”}”(hja6h]”hŒstruct kvm_sregs2 (out)”…”�”}”(hjc6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj_6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjN6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjÁ5h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj|6h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj‘6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj�6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj|6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjÁ5h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj°5h²hh³hÇh´Mubhï)�”}”(hŒ^Reads special registers from the vcpu. This ioctl (when supported) replaces the KVM_GET_SREGS.”h]”hŒ^Reads special registers from the vcpu. This ioctl (when supported) replaces the KVM_GET_SREGS.”…”�”}”(hj±6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj°5h²hubj8)�”}”(hXLstruct kvm_sregs2 { /* out (KVM_GET_SREGS2) / in (KVM_SET_SREGS2) */ struct kvm_segment cs, ds, es, fs, gs, ss; struct kvm_segment tr, ldt; struct kvm_dtable gdt, idt; __u64 cr0, cr2, cr3, cr4, cr8; __u64 efer; __u64 apic_base; __u64 flags; __u64 pdptrs[4]; };”h]”hXLstruct kvm_sregs2 { /* out (KVM_GET_SREGS2) / in (KVM_SET_SREGS2) */ struct kvm_segment cs, ds, es, fs, gs, ss; struct kvm_segment tr, ldt; struct kvm_dtable gdt, idt; __u64 cr0, cr2, cr3, cr4, cr8; __u64 efer; __u64 apic_base; __u64 flags; __u64 pdptrs[4]; };”…”�”}”hj¿6sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mhj°5h²hubhï)�”}”(hŒ flags values for ``kvm_sregs2``:”h]”(hŒflags values for ”…”�”}”(hjÍ6h²hh³Nh´NubjÈ)�”}”(hŒ``kvm_sregs2``”h]”hŒ kvm_sregs2”…”�”}”(hjÕ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÍ6ubhŒ:”…”�”}”(hjÍ6h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj°5h²hubhï)�”}”(hŒ!``KVM_SREGS2_FLAGS_PDPTRS_VALID``”h]”jÈ)�”}”(hjï6h]”hŒKVM_SREGS2_FLAGS_PDPTRS_VALID”…”�”}”(hjñ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjí6ubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj°5h²hubj )�”}”(hŒ8Indicates that the struct contains valid PDPTR values. ”h]”hï)�”}”(hŒ6Indicates that the struct contains valid PDPTR values.”h]”hŒ6Indicates that the struct contains valid PDPTR values.”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhj°5h²hubeh}”(h]”Œkvm-get-sregs2”ah ]”h"]”Œ4.131 kvm_get_sregs2”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.132 KVM_SET_SREGS2”h]”hŒ4.132 KVM_SET_SREGS2”…”�”}”(hj'7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj$7h²hh³hÇh´M#ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj;7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj87h³hÇh´Kubj�)�”}”(hŒKVM_CAP_SREGS2”h]”hï)�”}”(hjK7h]”hŒKVM_CAP_SREGS2”…”�”}”(hjM7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hjI7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj87ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M%hj57h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hji7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjf7h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjy7h]”hŒx86”…”�”}”(hj{7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&hjw7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjf7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M&hj57h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj—7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj”7h³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj§7h]”hŒ vcpu ioctl”…”�”}”(hj©7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'hj¥7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj”7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M'hj57h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÅ7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÂ7h³hÇh´Kubj�)�”}”(hŒstruct kvm_sregs2 (in)”h]”hï)�”}”(hjÕ7h]”hŒstruct kvm_sregs2 (in)”…”�”}”(hj×7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M(hjÓ7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÂ7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M(hj57h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjó7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjð7h³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjð7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M)hj57h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj$7h²hh³hÇh´M%ubhï)�”}”(hŒ‹Writes special registers into the vcpu. See KVM_GET_SREGS2 for the data structures. This ioctl (when supported) replaces the KVM_SET_SREGS.”h]”hŒ‹Writes special registers into the vcpu. See KVM_GET_SREGS2 for the data structures. This ioctl (when supported) replaces the KVM_SET_SREGS.”…”�”}”(hj%8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+hj$7h²hubeh}”(h]”Œkvm-set-sregs2”ah ]”h"]”Œ4.132 kvm_set_sregs2”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.133 KVM_GET_STATS_FD”h]”hŒ4.133 KVM_GET_STATS_FD”…”�”}”(hj>8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj;8h²hh³hÇh´M0ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjR8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjO8h³hÇh´Kubj�)�”}”(hŒKVM_CAP_STATS_BINARY_FD”h]”hï)�”}”(hjb8h]”hŒKVM_CAP_STATS_BINARY_FD”…”�”}”(hjd8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2hj`8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjO8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M2hjL8h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj€8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj}8h³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj�8h]”hŒall”…”�”}”(hj’8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3hjŽ8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj}8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M3hjL8h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj®8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj«8h³hÇh´Kubj�)�”}”(hŒvm ioctl, vcpu ioctl”h]”hï)�”}”(hj¾8h]”hŒvm ioctl, vcpu ioctl”…”�”}”(hjÀ8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4hj¼8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj«8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M4hjL8h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÜ8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÙ8h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjì8h]”hŒnone”…”�”}”(hjî8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hjê8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÙ8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M5hjL8h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj 9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj9h³hÇh´Kubj�)�”}”(hŒ4statistics file descriptor on success, < 0 on error ”h]”hï)�”}”(hŒ3statistics file descriptor on success, < 0 on error”h]”hŒ3statistics file descriptor on success, < 0 on error”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M6hjL8h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj;8h²hh³hÇh´M2ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj<9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M8hj;8h²hubj )�”}”(hŒÿ====== ====================================================== ENOMEM if the fd could not be created due to lack of memory EMFILE if the number of opened files exceeds the limit ====== ====================================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjQ9ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K6uh1jchjQ9ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENOMEM”h]”hŒENOMEM”…”�”}”(hjq9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hjn9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjk9ubj„)�”}”(hhh]”hï)�”}”(hŒ4if the fd could not be created due to lack of memory”h]”hŒ4if the fd could not be created due to lack of memory”…”�”}”(hjˆ9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hj…9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjk9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjh9ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEMFILE”h]”hŒEMFILE”…”�”}”(hj¨9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hj¥9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¢9ubj„)�”}”(hhh]”hï)�”}”(hŒ/if the number of opened files exceeds the limit”h]”hŒ/if the number of opened files exceeds the limit”…”�”}”(hj¿9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hj¼9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¢9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjh9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjQ9ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjN9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjJ9ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M:hj;8h²hubhï)�”}”(hŒ¨The returned file descriptor can be used to read VM/vCPU statistics data in binary format. The data in the file descriptor consists of four blocks organized as follows:”h]”hŒ¨The returned file descriptor can be used to read VM/vCPU statistics data in binary format. The data in the file descriptor consists of four blocks organized as follows:”…”�”}”(hjò9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hj;8h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchj:ubjz)�”}”(hhh]”(j)�”}”(hhh]”j„)�”}”(hhh]”hï)�”}”(hŒHeader”h]”hŒHeader”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MDhj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j~hj:ubj)�”}”(hhh]”j„)�”}”(hhh]”hï)�”}”(hŒ id string”h]”hŒ id string”…”�”}”(hj9:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhj6:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj3:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j~hj:ubj)�”}”(hhh]”j„)�”}”(hhh]”hï)�”}”(hŒ Descriptors”h]”hŒ Descriptors”…”�”}”(hjY:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MHhjV:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjS:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j~hj:ubj)�”}”(hhh]”j„)�”}”(hhh]”hï)�”}”(hŒ Stats Data”h]”hŒ Stats Data”…”�”}”(hjy:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJhjv:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjs:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j~hj:ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj:ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj;8h²hh³hÇh´Nubhï)�”}”(hX7Apart from the header starting at offset 0, please be aware that it is not guaranteed that the four blocks are adjacent or in the above order; the offsets of the id, descriptors and data blocks are found in the header. However, all four blocks are aligned to 64 bit offsets in the file and they do not overlap.”h]”hX7Apart from the header starting at offset 0, please be aware that it is not guaranteed that the four blocks are adjacent or in the above order; the offsets of the id, descriptors and data blocks are found in the header. However, all four blocks are aligned to 64 bit offsets in the file and they do not overlap.”…”�”}”(hj¦:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhj;8h²hubhï)�”}”(hŒÃAll blocks except the data block are immutable. Userspace can read them only one time after retrieving the file descriptor, and then use ``pread`` or ``lseek`` to read the statistics repeatedly.”h]”(hŒŠAll blocks except the data block are immutable. Userspace can read them only one time after retrieving the file descriptor, and then use ”…”�”}”(hj´:h²hh³Nh´NubjÈ)�”}”(hŒ ``pread``”h]”hŒpread”…”�”}”(hj¼:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj´:ubhŒ or ”…”�”}”(hj´:h²hh³Nh´NubjÈ)�”}”(hŒ ``lseek``”h]”hŒlseek”…”�”}”(hjÎ:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj´:ubhŒ# to read the statistics repeatedly.”…”�”}”(hj´:h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MShj;8h²hubhï)�”}”(hŒ!All data is in system endianness.”h]”hŒ!All data is in system endianness.”…”�”}”(hjæ:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MWhj;8h²hubhï)�”}”(hŒ(The format of the header is as follows::”h]”hŒ'The format of the header is as follows:”…”�”}”(hjô:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MYhj;8h²hubj8)�”}”(hŒ±struct kvm_stats_header { __u32 flags; __u32 name_size; __u32 num_desc; __u32 id_offset; __u32 desc_offset; __u32 data_offset; };”h]”hŒ±struct kvm_stats_header { __u32 flags; __u32 name_size; __u32 num_desc; __u32 id_offset; __u32 desc_offset; __u32 data_offset; };”…”�”}”hj;sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M[hj;8h²hubhï)�”}”(hŒFThe ``flags`` field is not used at the moment. It is always read as 0.”h]”(hŒThe ”…”�”}”(hj;h²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj;ubhŒ9 field is not used at the moment. It is always read as 0.”…”�”}”(hj;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mdhj;8h²hubhï)�”}”(hŒ¾The ``name_size`` field is the size (in byte) of the statistics name string (including trailing '\0') which is contained in the "id string" block and appended at the end of every descriptor.”h]”(hŒThe ”…”�”}”(hj0;h²hh³Nh´NubjÈ)�”}”(hŒ ``name_size``”h]”hŒ name_size”…”�”}”(hj8;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj0;ubhŒµ field is the size (in byte) of the statistics name string (including trailing ‘0’) which is contained in the “id stringâ€� block and appended at the end of every descriptor.”…”�”}”(hj0;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mfhj;8h²hubhï)�”}”(hŒÖThe ``num_desc`` field is the number of descriptors that are included in the descriptor block. (The actual number of values in the data block may be larger, since each descriptor may comprise more than one value).”h]”(hŒThe ”…”�”}”(hjP;h²hh³Nh´NubjÈ)�”}”(hŒ ``num_desc``”h]”hŒnum_desc”…”�”}”(hjX;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjP;ubhŒÆ field is the number of descriptors that are included in the descriptor block. (The actual number of values in the data block may be larger, since each descriptor may comprise more than one value).”…”�”}”(hjP;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mjhj;8h²hubhï)�”}”(hŒŠThe ``id_offset`` field is the offset of the id string from the start of the file indicated by the file descriptor. It is a multiple of 8.”h]”(hŒThe ”…”�”}”(hjp;h²hh³Nh´NubjÈ)�”}”(hŒ ``id_offset``”h]”hŒ id_offset”…”�”}”(hjx;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjp;ubhŒy field is the offset of the id string from the start of the file indicated by the file descriptor. It is a multiple of 8.”…”�”}”(hjp;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mnhj;8h²hubhï)�”}”(hŒ”The ``desc_offset`` field is the offset of the Descriptors block from the start of the file indicated by the file descriptor. It is a multiple of 8.”h]”(hŒThe ”…”�”}”(hj�;h²hh³Nh´NubjÈ)�”}”(hŒ``desc_offset``”h]”hŒ desc_offset”…”�”}”(hj˜;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�;ubhŒ� field is the offset of the Descriptors block from the start of the file indicated by the file descriptor. It is a multiple of 8.”…”�”}”(hj�;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mqhj;8h²hubhï)�”}”(hŒ“The ``data_offset`` field is the offset of the Stats Data block from the start of the file indicated by the file descriptor. It is a multiple of 8.”h]”(hŒThe ”…”�”}”(hj°;h²hh³Nh´NubjÈ)�”}”(hŒ``data_offset``”h]”hŒ data_offset”…”�”}”(hj¸;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj°;ubhŒ€ field is the offset of the Stats Data block from the start of the file indicated by the file descriptor. It is a multiple of 8.”…”�”}”(hj°;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mthj;8h²hubhï)�”}”(hŒáThe id string block contains a string which identifies the file descriptor on which KVM_GET_STATS_FD was invoked. The size of the block, including the trailing ``'\0'``, is indicated by the ``name_size`` field in the header.”h]”(hŒ¡The id string block contains a string which identifies the file descriptor on which KVM_GET_STATS_FD was invoked. The size of the block, including the trailing ”…”�”}”(hjÐ;h²hh³Nh´NubjÈ)�”}”(hŒ``'\0'``”h]”hŒ'\0'”…”�”}”(hjØ;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÐ;ubhŒ, is indicated by the ”…”�”}”(hjÐ;h²hh³Nh´NubjÈ)�”}”(hŒ ``name_size``”h]”hŒ name_size”…”�”}”(hjê;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÐ;ubhŒ field in the header.”…”�”}”(hjÐ;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mwhj;8h²hubhï)�”}”(hŒÂThe descriptors block is only needed to be read once for the lifetime of the file descriptor contains a sequence of ``struct kvm_stats_desc``, each followed by a string of size ``name_size``. ::”h]”(hŒtThe descriptors block is only needed to be read once for the lifetime of the file descriptor contains a sequence of ”…”�”}”(hj<h²hh³Nh´NubjÈ)�”}”(hŒ``struct kvm_stats_desc``”h]”hŒstruct kvm_stats_desc”…”�”}”(hj <h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj<ubhŒ$, each followed by a string of size ”…”�”}”(hj<h²hh³Nh´NubjÈ)�”}”(hŒ ``name_size``”h]”hŒ name_size”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj<ubhŒ.”…”�”}”(hj<h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M{hj;8h²hubj8)�”}”(hX÷#define KVM_STATS_TYPE_SHIFT 0 #define KVM_STATS_TYPE_MASK (0xF << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_CUMULATIVE (0x0 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_INSTANT (0x1 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_PEAK (0x2 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_LINEAR_HIST (0x3 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_LOG_HIST (0x4 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_MAX KVM_STATS_TYPE_LOG_HIST #define KVM_STATS_UNIT_SHIFT 4 #define KVM_STATS_UNIT_MASK (0xF << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_NONE (0x0 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_BYTES (0x1 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_SECONDS (0x2 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_CYCLES (0x3 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_BOOLEAN (0x4 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_MAX KVM_STATS_UNIT_BOOLEAN #define KVM_STATS_BASE_SHIFT 8 #define KVM_STATS_BASE_MASK (0xF << KVM_STATS_BASE_SHIFT) #define KVM_STATS_BASE_POW10 (0x0 << KVM_STATS_BASE_SHIFT) #define KVM_STATS_BASE_POW2 (0x1 << KVM_STATS_BASE_SHIFT) #define KVM_STATS_BASE_MAX KVM_STATS_BASE_POW2 struct kvm_stats_desc { __u32 flags; __s16 exponent; __u16 size; __u32 offset; __u32 bucket_size; char name[]; };”h]”hX÷#define KVM_STATS_TYPE_SHIFT 0 #define KVM_STATS_TYPE_MASK (0xF << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_CUMULATIVE (0x0 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_INSTANT (0x1 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_PEAK (0x2 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_LINEAR_HIST (0x3 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_LOG_HIST (0x4 << KVM_STATS_TYPE_SHIFT) #define KVM_STATS_TYPE_MAX KVM_STATS_TYPE_LOG_HIST #define KVM_STATS_UNIT_SHIFT 4 #define KVM_STATS_UNIT_MASK (0xF << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_NONE (0x0 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_BYTES (0x1 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_SECONDS (0x2 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_CYCLES (0x3 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_BOOLEAN (0x4 << KVM_STATS_UNIT_SHIFT) #define KVM_STATS_UNIT_MAX KVM_STATS_UNIT_BOOLEAN #define KVM_STATS_BASE_SHIFT 8 #define KVM_STATS_BASE_MASK (0xF << KVM_STATS_BASE_SHIFT) #define KVM_STATS_BASE_POW10 (0x0 << KVM_STATS_BASE_SHIFT) #define KVM_STATS_BASE_POW2 (0x1 << KVM_STATS_BASE_SHIFT) #define KVM_STATS_BASE_MAX KVM_STATS_BASE_POW2 struct kvm_stats_desc { __u32 flags; __s16 exponent; __u16 size; __u32 offset; __u32 bucket_size; char name[]; };”…”�”}”hj4<sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M€hj;8h²hubhï)�”}”(hŒ¤The ``flags`` field contains the type and unit of the statistics data described by this descriptor. Its endianness is CPU native. The following flags are supported:”h]”(hŒThe ”…”�”}”(hjB<h²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hjJ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjB<ubhŒ— field contains the type and unit of the statistics data described by this descriptor. Its endianness is CPU native. The following flags are supported:”…”�”}”(hjB<h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hj;8h²hubhï)�”}”(hŒ&Bits 0-3 of ``flags`` encode the type:”h]”(hŒ Bits 0-3 of ”…”�”}”(hjb<h²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hjj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjb<ubhŒ encode the type:”…”�”}”(hjb<h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥hj;8h²hubj )�”}”(hX„* ``KVM_STATS_TYPE_CUMULATIVE`` The statistics reports a cumulative count. The value of data can only be increased. Most of the counters used in KVM are of this type. The corresponding ``size`` field for this type is always 1. All cumulative statistics data are read/write. * ``KVM_STATS_TYPE_INSTANT`` The statistics reports an instantaneous value. Its value can be increased or decreased. This type is usually used as a measurement of some resources, like the number of dirty pages, the number of large pages, etc. All instant statistics are read only. The corresponding ``size`` field for this type is always 1. * ``KVM_STATS_TYPE_PEAK`` The statistics data reports a peak value, for example the maximum number of items in a hash table bucket, the longest time waited and so on. The value of data can only be increased. The corresponding ``size`` field for this type is always 1. * ``KVM_STATS_TYPE_LINEAR_HIST`` The statistic is reported as a linear histogram. The number of buckets is specified by the ``size`` field. The size of buckets is specified by the ``hist_param`` field. The range of the Nth bucket (1 <= N < ``size``) is [``hist_param``*(N-1), ``hist_param``*N), while the range of the last bucket is [``hist_param``*(``size``-1), +INF). (+INF means positive infinity value.) * ``KVM_STATS_TYPE_LOG_HIST`` The statistic is reported as a logarithmic histogram. The number of buckets is specified by the ``size`` field. The range of the first bucket is [0, 1), while the range of the last bucket is [pow(2, ``size``-2), +INF). Otherwise, The Nth bucket (1 < N < ``size``) covers [pow(2, N-2), pow(2, N-1)). ”h]”j)�”}”(hhh]”(j)�”}”(hX``KVM_STATS_TYPE_CUMULATIVE`` The statistics reports a cumulative count. The value of data can only be increased. Most of the counters used in KVM are of this type. The corresponding ``size`` field for this type is always 1. All cumulative statistics data are read/write.”h]”hï)�”}”(hX``KVM_STATS_TYPE_CUMULATIVE`` The statistics reports a cumulative count. The value of data can only be increased. Most of the counters used in KVM are of this type. The corresponding ``size`` field for this type is always 1. All cumulative statistics data are read/write.”h]”(jÈ)�”}”(hŒ``KVM_STATS_TYPE_CUMULATIVE``”h]”hŒKVM_STATS_TYPE_CUMULATIVE”…”�”}”(hj‘<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�<ubhŒš The statistics reports a cumulative count. The value of data can only be increased. Most of the counters used in KVM are of this type. The corresponding ”…”�”}”(hj�<h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hj£<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�<ubhŒP field for this type is always 1. All cumulative statistics data are read/write.”…”�”}”(hj�<h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M§hj‰<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj†<ubj)�”}”(hXR``KVM_STATS_TYPE_INSTANT`` The statistics reports an instantaneous value. Its value can be increased or decreased. This type is usually used as a measurement of some resources, like the number of dirty pages, the number of large pages, etc. All instant statistics are read only. The corresponding ``size`` field for this type is always 1.”h]”hï)�”}”(hXR``KVM_STATS_TYPE_INSTANT`` The statistics reports an instantaneous value. Its value can be increased or decreased. This type is usually used as a measurement of some resources, like the number of dirty pages, the number of large pages, etc. All instant statistics are read only. The corresponding ``size`` field for this type is always 1.”h]”(jÈ)�”}”(hŒ``KVM_STATS_TYPE_INSTANT``”h]”hŒKVM_STATS_TYPE_INSTANT”…”�”}”(hjÉ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÅ<ubhX The statistics reports an instantaneous value. Its value can be increased or decreased. This type is usually used as a measurement of some resources, like the number of dirty pages, the number of large pages, etc. All instant statistics are read only. The corresponding ”…”�”}”(hjÅ<h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjÛ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÅ<ubhŒ! field for this type is always 1.”…”�”}”(hjÅ<h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬hjÁ<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj†<ubj)�”}”(hX ``KVM_STATS_TYPE_PEAK`` The statistics data reports a peak value, for example the maximum number of items in a hash table bucket, the longest time waited and so on. The value of data can only be increased. The corresponding ``size`` field for this type is always 1.”h]”hï)�”}”(hX ``KVM_STATS_TYPE_PEAK`` The statistics data reports a peak value, for example the maximum number of items in a hash table bucket, the longest time waited and so on. The value of data can only be increased. The corresponding ``size`` field for this type is always 1.”h]”(jÈ)�”}”(hŒ``KVM_STATS_TYPE_PEAK``”h]”hŒKVM_STATS_TYPE_PEAK”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjý<ubhŒÉ The statistics data reports a peak value, for example the maximum number of items in a hash table bucket, the longest time waited and so on. The value of data can only be increased. The corresponding ”…”�”}”(hjý<h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjý<ubhŒ! field for this type is always 1.”…”�”}”(hjý<h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M²hjù<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj†<ubj)�”}”(hX•``KVM_STATS_TYPE_LINEAR_HIST`` The statistic is reported as a linear histogram. The number of buckets is specified by the ``size`` field. The size of buckets is specified by the ``hist_param`` field. The range of the Nth bucket (1 <= N < ``size``) is [``hist_param``*(N-1), ``hist_param``*N), while the range of the last bucket is [``hist_param``*(``size``-1), +INF). (+INF means positive infinity value.)”h]”hï)�”}”(hX•``KVM_STATS_TYPE_LINEAR_HIST`` The statistic is reported as a linear histogram. The number of buckets is specified by the ``size`` field. The size of buckets is specified by the ``hist_param`` field. The range of the Nth bucket (1 <= N < ``size``) is [``hist_param``*(N-1), ``hist_param``*N), while the range of the last bucket is [``hist_param``*(``size``-1), +INF). (+INF means positive infinity value.)”h]”(jÈ)�”}”(hŒ``KVM_STATS_TYPE_LINEAR_HIST``”h]”hŒKVM_STATS_TYPE_LINEAR_HIST”…”�”}”(hj9=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5=ubh•Œ\ The statistic is reported as a linear histogram. The number of buckets is specified by the ”…”�”}”(hj5=h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjK=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5=ubhŒ0 field. The size of buckets is specified by the ”…”�”}”(hj5=h²hh³Nh´NubjÈ)�”}”(hŒ``hist_param``”h]”hŒ hist_param”…”�”}”(hj]=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5=ubhŒ. field. The range of the Nth bucket (1 <= N < ”…”�”}”(hj5=h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjo=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5=ubhŒ) is [”…”�”}”(hj5=h²hh³Nh´NubjÈ)�”}”(hŒh``hist_param``*(N-1), ``hist_param``*N), while the range of the last bucket is [``hist_param``*(``size``”h]”hŒdhist_param``*(N-1), ``hist_param``*N), while the range of the last bucket is [``hist_param``*(``size”…”�”}”(hj�=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5=ubhŒ1-1), +INF). (+INF means positive infinity value.)”…”�”}”(hj5=h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M·hj1=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj†<ubj)�”}”(hXG``KVM_STATS_TYPE_LOG_HIST`` The statistic is reported as a logarithmic histogram. The number of buckets is specified by the ``size`` field. The range of the first bucket is [0, 1), while the range of the last bucket is [pow(2, ``size``-2), +INF). Otherwise, The Nth bucket (1 < N < ``size``) covers [pow(2, N-2), pow(2, N-1)). ”h]”hï)�”}”(hXF``KVM_STATS_TYPE_LOG_HIST`` The statistic is reported as a logarithmic histogram. The number of buckets is specified by the ``size`` field. The range of the first bucket is [0, 1), while the range of the last bucket is [pow(2, ``size``-2), +INF). Otherwise, The Nth bucket (1 < N < ``size``) covers [pow(2, N-2), pow(2, N-1)).”h]”(jÈ)�”}”(hŒ``KVM_STATS_TYPE_LOG_HIST``”h]”hŒKVM_STATS_TYPE_LOG_HIST”…”�”}”(hj§=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj£=ubhŒa The statistic is reported as a logarithmic histogram. The number of buckets is specified by the ”…”�”}”(hj£=h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hj¹=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj£=ubhŒ_ field. The range of the first bucket is [0, 1), while the range of the last bucket is [pow(2, ”…”�”}”(hj£=h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjË=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj£=ubhŒ/-2), +INF). Otherwise, The Nth bucket (1 < N < ”…”�”}”(hj£=h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjÝ=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj£=ubhŒ$) covers [pow(2, N-2), pow(2, N-1)).”…”�”}”(hj£=h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾hjŸ=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj†<ubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´M§hj‚<ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M§hj;8h²hubhï)�”}”(hŒ&Bits 4-7 of ``flags`` encode the unit:”h]”(hŒ Bits 4-7 of ”…”�”}”(hj>h²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj>ubhŒ encode the unit:”…”�”}”(hj>h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅhj;8h²hubj )�”}”(hXU* ``KVM_STATS_UNIT_NONE`` There is no unit for the value of statistics data. This usually means that the value is a simple counter of an event. * ``KVM_STATS_UNIT_BYTES`` It indicates that the statistics data is used to measure memory size, in the unit of Byte, KiByte, MiByte, GiByte, etc. The unit of the data is determined by the ``exponent`` field in the descriptor. * ``KVM_STATS_UNIT_SECONDS`` It indicates that the statistics data is used to measure time or latency. * ``KVM_STATS_UNIT_CYCLES`` It indicates that the statistics data is used to measure CPU clock cycles. * ``KVM_STATS_UNIT_BOOLEAN`` It indicates that the statistic will always be either 0 or 1. Boolean statistics of "peak" type will never go back from 1 to 0. Boolean statistics can be linear histograms (with two buckets) but not logarithmic histograms. ”h]”j)�”}”(hhh]”(j)�”}”(hŒ�``KVM_STATS_UNIT_NONE`` There is no unit for the value of statistics data. This usually means that the value is a simple counter of an event.”h]”hï)�”}”(hŒ�``KVM_STATS_UNIT_NONE`` There is no unit for the value of statistics data. This usually means that the value is a simple counter of an event.”h]”(jÈ)�”}”(hŒ``KVM_STATS_UNIT_NONE``”h]”hŒKVM_STATS_UNIT_NONE”…”�”}”(hj6>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj2>ubhŒv There is no unit for the value of statistics data. This usually means that the value is a simple counter of an event.”…”�”}”(hj2>h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇhj.>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj+>ubj)�”}”(hŒà``KVM_STATS_UNIT_BYTES`` It indicates that the statistics data is used to measure memory size, in the unit of Byte, KiByte, MiByte, GiByte, etc. The unit of the data is determined by the ``exponent`` field in the descriptor.”h]”hï)�”}”(hŒà``KVM_STATS_UNIT_BYTES`` It indicates that the statistics data is used to measure memory size, in the unit of Byte, KiByte, MiByte, GiByte, etc. The unit of the data is determined by the ``exponent`` field in the descriptor.”h]”(jÈ)�”}”(hŒ``KVM_STATS_UNIT_BYTES``”h]”hŒKVM_STATS_UNIT_BYTES”…”�”}”(hj\>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjX>ubhŒ£ It indicates that the statistics data is used to measure memory size, in the unit of Byte, KiByte, MiByte, GiByte, etc. The unit of the data is determined by the ”…”�”}”(hjX>h²hh³Nh´NubjÈ)�”}”(hŒ ``exponent``”h]”hŒexponent”…”�”}”(hjn>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjX>ubhŒ field in the descriptor.”…”�”}”(hjX>h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊhjT>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj+>ubj)�”}”(hŒd``KVM_STATS_UNIT_SECONDS`` It indicates that the statistics data is used to measure time or latency.”h]”hï)�”}”(hŒd``KVM_STATS_UNIT_SECONDS`` It indicates that the statistics data is used to measure time or latency.”h]”(jÈ)�”}”(hŒ``KVM_STATS_UNIT_SECONDS``”h]”hŒKVM_STATS_UNIT_SECONDS”…”�”}”(hj”>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�>ubhŒJ It indicates that the statistics data is used to measure time or latency.”…”�”}”(hj�>h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhjŒ>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj+>ubj)�”}”(hŒd``KVM_STATS_UNIT_CYCLES`` It indicates that the statistics data is used to measure CPU clock cycles.”h]”hï)�”}”(hŒd``KVM_STATS_UNIT_CYCLES`` It indicates that the statistics data is used to measure CPU clock cycles.”h]”(jÈ)�”}”(hŒ``KVM_STATS_UNIT_CYCLES``”h]”hŒKVM_STATS_UNIT_CYCLES”…”�”}”(hjº>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¶>ubhŒK It indicates that the statistics data is used to measure CPU clock cycles.”…”�”}”(hj¶>h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÐhj²>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj+>ubj)�”}”(hŒü``KVM_STATS_UNIT_BOOLEAN`` It indicates that the statistic will always be either 0 or 1. Boolean statistics of "peak" type will never go back from 1 to 0. Boolean statistics can be linear histograms (with two buckets) but not logarithmic histograms. ”h]”hï)�”}”(hŒû``KVM_STATS_UNIT_BOOLEAN`` It indicates that the statistic will always be either 0 or 1. Boolean statistics of "peak" type will never go back from 1 to 0. Boolean statistics can be linear histograms (with two buckets) but not logarithmic histograms.”h]”(jÈ)�”}”(hŒ``KVM_STATS_UNIT_BOOLEAN``”h]”hŒKVM_STATS_UNIT_BOOLEAN”…”�”}”(hjà>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÜ>ubhŒå It indicates that the statistic will always be either 0 or 1. Boolean statistics of “peakâ€� type will never go back from 1 to 0. Boolean statistics can be linear histograms (with two buckets) but not logarithmic histograms.”…”�”}”(hjÜ>h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒhjØ>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj+>ubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´MÇhj'>ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MÇhj;8h²hubhï)�”}”(hŒšNote that, in the case of histograms, the unit applies to the bucket ranges, while the bucket value indicates how many samples fell in the bucket's range.”h]”hŒœNote that, in the case of histograms, the unit applies to the bucket ranges, while the bucket value indicates how many samples fell in the bucket’s range.”…”�”}”(hj ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØhj;8h²hubhï)�”}”(hŒQBits 8-11 of ``flags``, together with ``exponent``, encode the scale of the unit:”h]”(hŒ Bits 8-11 of ”…”�”}”(hj?h²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hj ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj?ubhŒ, together with ”…”�”}”(hj?h²hh³Nh´NubjÈ)�”}”(hŒ ``exponent``”h]”hŒexponent”…”�”}”(hj2?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj?ubhŒ, encode the scale of the unit:”…”�”}”(hj?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜhj;8h²hubj )�”}”(hXÉ* ``KVM_STATS_BASE_POW10`` The scale is based on power of 10. It is used for measurement of time and CPU clock cycles. For example, an exponent of -9 can be used with ``KVM_STATS_UNIT_SECONDS`` to express that the unit is nanoseconds. * ``KVM_STATS_BASE_POW2`` The scale is based on power of 2. It is used for measurement of memory size. For example, an exponent of 20 can be used with ``KVM_STATS_UNIT_BYTES`` to express that the unit is MiB. ”h]”j)�”}”(hhh]”(j)�”}”(hŒé``KVM_STATS_BASE_POW10`` The scale is based on power of 10. It is used for measurement of time and CPU clock cycles. For example, an exponent of -9 can be used with ``KVM_STATS_UNIT_SECONDS`` to express that the unit is nanoseconds.”h]”hï)�”}”(hŒé``KVM_STATS_BASE_POW10`` The scale is based on power of 10. It is used for measurement of time and CPU clock cycles. For example, an exponent of -9 can be used with ``KVM_STATS_UNIT_SECONDS`` to express that the unit is nanoseconds.”h]”(jÈ)�”}”(hŒ``KVM_STATS_BASE_POW10``”h]”hŒKVM_STATS_BASE_POW10”…”�”}”(hjY?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjU?ubhŒŽ The scale is based on power of 10. It is used for measurement of time and CPU clock cycles. For example, an exponent of -9 can be used with ”…”�”}”(hjU?h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_STATS_UNIT_SECONDS``”h]”hŒKVM_STATS_UNIT_SECONDS”…”�”}”(hjk?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjU?ubhŒ) to express that the unit is nanoseconds.”…”�”}”(hjU?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MßhjQ?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjN?ubj)�”}”(hŒÏ``KVM_STATS_BASE_POW2`` The scale is based on power of 2. It is used for measurement of memory size. For example, an exponent of 20 can be used with ``KVM_STATS_UNIT_BYTES`` to express that the unit is MiB. ”h]”hï)�”}”(hŒÎ``KVM_STATS_BASE_POW2`` The scale is based on power of 2. It is used for measurement of memory size. For example, an exponent of 20 can be used with ``KVM_STATS_UNIT_BYTES`` to express that the unit is MiB.”h]”(jÈ)�”}”(hŒ``KVM_STATS_BASE_POW2``”h]”hŒKVM_STATS_BASE_POW2”…”�”}”(hj‘?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�?ubhŒ~ The scale is based on power of 2. It is used for measurement of memory size. For example, an exponent of 20 can be used with ”…”�”}”(hj�?h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_STATS_UNIT_BYTES``”h]”hŒKVM_STATS_UNIT_BYTES”…”�”}”(hj£?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�?ubhŒ! to express that the unit is MiB.”…”�”}”(hj�?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mãhj‰?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjN?ubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´MßhjJ?ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mßhj;8h²hubhï)�”}”(hŒ¥The ``size`` field is the number of values of this statistics data. Its value is usually 1 for most of simple statistics. 1 means it contains an unsigned 64bit data.”h]”(hŒThe ”…”�”}”(hjÍ?h²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjÕ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÍ?ubhŒ™ field is the number of values of this statistics data. Its value is usually 1 for most of simple statistics. 1 means it contains an unsigned 64bit data.”…”�”}”(hjÍ?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mèhj;8h²hubhï)�”}”(hŒrThe ``offset`` field is the offset from the start of Data Block to the start of the corresponding statistics data.”h]”(hŒThe ”…”�”}”(hjí?h²hh³Nh´NubjÈ)�”}”(hŒ ``offset``”h]”hŒoffset”…”�”}”(hjõ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjí?ubhŒd field is the offset from the start of Data Block to the start of the corresponding statistics data.”…”�”}”(hjí?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mìhj;8h²hubhï)�”}”(hŒðThe ``bucket_size`` field is used as a parameter for histogram statistics data. It is only used by linear histogram statistics data, specifying the size of a bucket in the unit expressed by bits 4-11 of ``flags`` together with ``exponent``.”h]”(hŒThe ”…”�”}”(hj @h²hh³Nh´NubjÈ)�”}”(hŒ``bucket_size``”h]”hŒ bucket_size”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj @ubhŒ¸ field is used as a parameter for histogram statistics data. It is only used by linear histogram statistics data, specifying the size of a bucket in the unit expressed by bits 4-11 of ”…”�”}”(hj @h²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hj'@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj @ubhŒ together with ”…”�”}”(hj @h²hh³Nh´NubjÈ)�”}”(hŒ ``exponent``”h]”hŒexponent”…”�”}”(hj9@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj @ubhŒ.”…”�”}”(hj @h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mïhj;8h²hubhï)�”}”(hŒßThe ``name`` field is the name string of the statistics data. The name string starts at the end of ``struct kvm_stats_desc``. The maximum length including the trailing ``'\0'``, is indicated by ``name_size`` in the header.”h]”(hŒThe ”…”�”}”(hjQ@h²hh³Nh´NubjÈ)�”}”(hŒ``name``”h]”hŒname”…”�”}”(hjY@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjQ@ubhŒW field is the name string of the statistics data. The name string starts at the end of ”…”�”}”(hjQ@h²hh³Nh´NubjÈ)�”}”(hŒ``struct kvm_stats_desc``”h]”hŒstruct kvm_stats_desc”…”�”}”(hjk@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjQ@ubhŒ-. The maximum length including the trailing ”…”�”}”(hjQ@h²hh³Nh´NubjÈ)�”}”(hŒ``'\0'``”h]”hŒ'\0'”…”�”}”(hj}@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjQ@ubhŒ, is indicated by ”…”�”}”(hjQ@h²hh³Nh´NubjÈ)�”}”(hŒ ``name_size``”h]”hŒ name_size”…”�”}”(hj�@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjQ@ubhŒ in the header.”…”�”}”(hjQ@h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Móhj;8h²hubhï)�”}”(hŒrThe Stats Data block contains an array of 64-bit values in the same order as the descriptors in Descriptors block.”h]”hŒrThe Stats Data block contains an array of 64-bit values in the same order as the descriptors in Descriptors block.”…”�”}”(hj§@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷hj;8h²hubeh}”(h]”Œkvm-get-stats-fd”ah ]”h"]”Œ4.133 kvm_get_stats_fd”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M0ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.134 KVM_GET_XSAVE2”h]”hŒ4.134 KVM_GET_XSAVE2”…”�”}”(hjÀ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj½@h²hh³hÇh´Mûubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÔ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÑ@h³hÇh´Kubj�)�”}”(hŒKVM_CAP_XSAVE2”h]”hï)�”}”(hjä@h]”hŒKVM_CAP_XSAVE2”…”�”}”(hjæ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mýhjâ@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÑ@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MýhjÎ@h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÿ@h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjAh]”hŒx86”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MþhjAubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÿ@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MþhjÎ@h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj0Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj-Ah³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj@Ah]”hŒ vcpu ioctl”…”�”}”(hjBAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿhj>Aubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj-Aubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÿhjÎ@h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj^Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj[Ah³hÇh´Kubj�)�”}”(hŒstruct kvm_xsave (out)”h]”hï)�”}”(hjnAh]”hŒstruct kvm_xsave (out)”…”�”}”(hjpAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjlAubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj[Aubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjÎ@h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjŒAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‰Ah³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hjžAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjšAubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‰Aubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjÎ@h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj½@h²hh³hÇh´Mýubj8)�”}”(hŒEstruct kvm_xsave { __u32 region[1024]; __u32 extra[0]; };”h]”hŒEstruct kvm_xsave { __u32 region[1024]; __u32 extra[0]; };”…”�”}”hj¾Asbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mhj½@h²hubhï)�”}”(hXŸThis ioctl would copy current vcpu's xsave struct to the userspace. It copies as many bytes as are returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) when invoked on the vm file descriptor. The size value returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) will always be at least 4096. Currently, it is only greater than 4096 if a dynamic feature has been enabled with ``arch_prctl()``, but this may change in the future.”h]”(hXmThis ioctl would copy current vcpu’s xsave struct to the userspace. It copies as many bytes as are returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) when invoked on the vm file descriptor. The size value returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) will always be at least 4096. Currently, it is only greater than 4096 if a dynamic feature has been enabled with ”…”�”}”(hjÌAh²hh³Nh´NubjÈ)�”}”(hŒ``arch_prctl()``”h]”hŒ arch_prctl()”…”�”}”(hjÔAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÌAubhŒ$, but this may change in the future.”…”�”}”(hjÌAh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj½@h²hubhï)�”}”(hŒjThe offsets of the state save areas in struct kvm_xsave follow the contents of CPUID leaf 0xD on the host.”h]”hŒjThe offsets of the state save areas in struct kvm_xsave follow the contents of CPUID leaf 0xD on the host.”…”�”}”(hjìAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj½@h²hubeh}”(h]”Œkvm-get-xsave2”ah ]”h"]”Œ4.134 kvm_get_xsave2”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MûubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.135 KVM_XEN_HVM_EVTCHN_SEND”h]”hŒ4.135 KVM_XEN_HVM_EVTCHN_SEND”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjBh²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjBh³hÇh´Kubj�)�”}”(hŒ0KVM_CAP_XEN_HVM / KVM_XEN_HVM_CONFIG_EVTCHN_SEND”h]”hï)�”}”(hj)Bh]”hŒ0KVM_CAP_XEN_HVM / KVM_XEN_HVM_CONFIG_EVTCHN_SEND”…”�”}”(hj+Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj'Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjBh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjGBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjDBh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjWBh]”hŒx86”…”�”}”(hjYBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjUBubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjDBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjBh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjuBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjrBh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj…Bh]”hŒvm ioctl”…”�”}”(hj‡Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjƒBubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjrBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjBh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj£Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Bh³hÇh´Kubj�)�”}”(hŒ!struct kvm_irq_routing_xen_evtchn”h]”hï)�”}”(hj³Bh]”hŒ!struct kvm_irq_routing_xen_evtchn”…”�”}”(hjµBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj±Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Bubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjBh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÑBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÎBh³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hjãBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjßBubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÎBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjBh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjBh²hh³hÇh´Mubj8)�”}”(hŒ]struct kvm_irq_routing_xen_evtchn { __u32 port; __u32 vcpu; __u32 priority; };”h]”hŒ]struct kvm_irq_routing_xen_evtchn { __u32 port; __u32 vcpu; __u32 priority; };”…”�”}”hjCsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M!hjBh²hubhï)�”}”(hŒIThis ioctl injects an event channel interrupt directly to the guest vCPU.”h]”hŒIThis ioctl injects an event channel interrupt directly to the guest vCPU.”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'hjBh²hubeh}”(h]”Œkvm-xen-hvm-evtchn-send”ah ]”h"]”Œ4.135 kvm_xen_hvm_evtchn_send”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.136 KVM_S390_PV_CPU_COMMAND”h]”hŒ4.136 KVM_S390_PV_CPU_COMMAND”…”�”}”(hj*Ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj'Ch²hh³hÇh´M*ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj>Ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj;Ch³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_PROTECTED_DUMP”h]”hï)�”}”(hjNCh]”hŒKVM_CAP_S390_PROTECTED_DUMP”…”�”}”(hjPCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,hjLCubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj;Cubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M,hj8Ch²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjlCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjiCh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj|Ch]”hŒs390”…”�”}”(hj~Ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M-hjzCubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjiCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M-hj8Ch²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjšCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj—Ch³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hjªCh]”hŒ vcpu ioctl”…”�”}”(hj¬Ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M.hj¨Cubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj—Cubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M.hj8Ch²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÈCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÅCh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjØCh]”hŒnone”…”�”}”(hjÚCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/hjÖCubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÅCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M/hj8Ch²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjöCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjóCh³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0hjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjóCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M0hj8Ch²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj'Ch²hh³hÇh´M,ubhï)�”}”(hŒ�This ioctl closely mirrors `KVM_S390_PV_COMMAND` but handles requests for vcpus. It re-uses the kvm_s390_pv_dmp struct and hence also shares the command ids.”h]”(hŒThis ioctl closely mirrors ”…”�”}”(hj(Dh²hh³Nh´NubjÀ,)�”}”(hŒ`KVM_S390_PV_COMMAND`”h]”hŒKVM_S390_PV_COMMAND”…”�”}”(hj0Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj(DubhŒm but handles requests for vcpus. It re-uses the kvm_s390_pv_dmp struct and hence also shares the command ids.”…”�”}”(hj(Dh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2hj'Ch²hubhï)�”}”(hŒ **command:**”h]”jû%)�”}”(hjJDh]”hŒcommand:”…”�”}”(hjLDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jú%hjHDubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hj'Ch²hubj )�”}”(hhh]”j)�”}”(hŒcKVM_PV_DUMP Presents an API that provides calls which facilitate dumping a vcpu of a protected VM. ”h]”(j)�”}”(hŒ KVM_PV_DUMP”h]”hŒ KVM_PV_DUMP”…”�”}”(hjfDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M:hjbDubj%)�”}”(hhh]”hï)�”}”(hŒVPresents an API that provides calls which facilitate dumping a vcpu of a protected VM.”h]”hŒVPresents an API that provides calls which facilitate dumping a vcpu of a protected VM.”…”�”}”(hjwDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hjtDubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjbDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M:hj_Dubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj'Ch²hh³hÇh´Nubhï)�”}”(hŒ**subcommand:**”h]”jû%)�”}”(hj™Dh]”hŒ subcommand:”…”�”}”(hj›Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jú%hj—Dubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hj'Ch²hubj )�”}”(hhh]”j)�”}”(hŒŽKVM_PV_DUMP_CPU Provides encrypted dump data like register values. The length of the returned data is provided by uv_info.guest_cpu_stor_len. ”h]”(j)�”}”(hŒKVM_PV_DUMP_CPU”h]”hŒKVM_PV_DUMP_CPU”…”�”}”(hjµDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M@hj±Dubj%)�”}”(hhh]”hï)�”}”(hŒ}Provides encrypted dump data like register values. The length of the returned data is provided by uv_info.guest_cpu_stor_len.”h]”hŒ}Provides encrypted dump data like register values. The length of the returned data is provided by uv_info.guest_cpu_stor_len.”…”�”}”(hjÆDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hjÃDubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj±Dubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M@hj®Dubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj'Ch²hh³hÇh´Nubeh}”(h]”Œkvm-s390-pv-cpu-command”ah ]”h"]”Œ4.136 kvm_s390_pv_cpu_command”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M*ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.137 KVM_S390_ZPCI_OP”h]”hŒ4.137 KVM_S390_ZPCI_OP”…”�”}”(hjñDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjîDh²hh³hÇh´MCubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjEh³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_ZPCI_OP”h]”hï)�”}”(hjEh]”hŒKVM_CAP_S390_ZPCI_OP”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MEhjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MEhjÿDh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj3Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj0Eh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjCEh]”hŒs390”…”�”}”(hjEEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhjAEubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj0Eubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MFhjÿDh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjaEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj^Eh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjqEh]”hŒvm ioctl”…”�”}”(hjsEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MGhjoEubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj^Eubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MGhjÿDh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj�Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŒEh³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_zpci_op (in)”h]”hï)�”}”(hjŸEh]”hŒstruct kvm_s390_zpci_op (in)”…”�”}”(hj¡Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MHhj�Eubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŒEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MHhjÿDh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj½Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjºEh³hÇh´Kubj�)�”}”(hŒ0 on success, <0 on error ”h]”hï)�”}”(hŒ0 on success, <0 on error”h]”hŒ0 on success, <0 on error”…”�”}”(hjÏEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MIhjËEubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjºEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MIhjÿDh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjîDh²hh³hÇh´MEubhï)�”}”(hŒJUsed to manage hardware-assisted virtualization features for zPCI devices.”h]”hŒJUsed to manage hardware-assisted virtualization features for zPCI devices.”…”�”}”(hjïEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MKhjîDh²hubhï)�”}”(hŒ6Parameters are specified via the following structure::”h]”hŒ5Parameters are specified via the following structure:”…”�”}”(hjýEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhjîDh²hubj8)�”}”(hXòstruct kvm_s390_zpci_op { /* in */ __u32 fh; /* target device */ __u8 op; /* operation to perform */ __u8 pad[3]; union { /* for KVM_S390_ZPCIOP_REG_AEN */ struct { __u64 ibv; /* Guest addr of interrupt bit vector */ __u64 sb; /* Guest addr of summary bit */ __u32 flags; __u32 noi; /* Number of interrupts */ __u8 isc; /* Guest interrupt subclass */ __u8 sbo; /* Offset of guest summary bit vector */ __u16 pad; } reg_aen; __u64 reserved[8]; } u; };”h]”hXòstruct kvm_s390_zpci_op { /* in */ __u32 fh; /* target device */ __u8 op; /* operation to perform */ __u8 pad[3]; union { /* for KVM_S390_ZPCIOP_REG_AEN */ struct { __u64 ibv; /* Guest addr of interrupt bit vector */ __u64 sb; /* Guest addr of summary bit */ __u32 flags; __u32 noi; /* Number of interrupts */ __u8 isc; /* Guest interrupt subclass */ __u8 sbo; /* Offset of guest summary bit vector */ __u16 pad; } reg_aen; __u64 reserved[8]; } u; };”…”�”}”hj Fsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MOhjîDh²hubhï)�”}”(hXyThe type of operation is specified in the "op" field. KVM_S390_ZPCIOP_REG_AEN is used to register the VM for adapter event notification interpretation, which will allow firmware delivery of adapter events directly to the vm, with KVM providing a backup delivery mechanism; KVM_S390_ZPCIOP_DEREG_AEN is used to subsequently disable interpretation of adapter event notifications.”h]”hX}The type of operation is specified in the “opâ€� field. KVM_S390_ZPCIOP_REG_AEN is used to register the VM for adapter event notification interpretation, which will allow firmware delivery of adapter events directly to the vm, with KVM providing a backup delivery mechanism; KVM_S390_ZPCIOP_DEREG_AEN is used to subsequently disable interpretation of adapter event notifications.”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MchjîDh²hubhï)�”}”(hŒÐThe target zPCI function must also be specified via the "fh" field. For the KVM_S390_ZPCIOP_REG_AEN operation, additional information to establish firmware delivery must be provided via the "reg_aen" struct.”h]”hŒØThe target zPCI function must also be specified via the “fhâ€� field. For the KVM_S390_ZPCIOP_REG_AEN operation, additional information to establish firmware delivery must be provided via the “reg_aenâ€� struct.”…”�”}”(hj'Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MjhjîDh²hubhï)�”}”(hŒgThe "pad" and "reserved" fields may be used for future extensions and should be set to 0s by userspace.”h]”hŒoThe “padâ€� and “reservedâ€� fields may be used for future extensions and should be set to 0s by userspace.”…”�”}”(hj5Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MnhjîDh²hubeh}”(h]”Œkvm-s390-zpci-op”ah ]”h"]”Œ4.137 kvm_s390_zpci_op”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MCubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ 4.138 KVM_ARM_SET_COUNTER_OFFSET”h]”hŒ 4.138 KVM_ARM_SET_COUNTER_OFFSET”…”�”}”(hjNFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjKFh²hh³hÇh´Mrubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjbFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj_Fh³hÇh´Kubj�)�”}”(hŒKVM_CAP_COUNTER_OFFSET”h]”hï)�”}”(hjrFh]”hŒKVM_CAP_COUNTER_OFFSET”…”�”}”(hjtFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MthjpFubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj_Fubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mthj\Fh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj�Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�Fh³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hj Fh]”hŒarm64”…”�”}”(hj¢Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MuhjžFubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�Fubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Muhj\Fh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj¾Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj»Fh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjÎFh]”hŒvm ioctl”…”�”}”(hjÐFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MvhjÌFubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj»Fubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mvhj\Fh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjìFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjéFh³hÇh´Kubj�)�”}”(hŒ"struct kvm_arm_counter_offset (in)”h]”hï)�”}”(hjüFh]”hŒ"struct kvm_arm_counter_offset (in)”…”�”}”(hjþFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MwhjúFubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjéFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mwhj\Fh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjGh³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hj,Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mxhj(Gubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mxhj\Fh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjKFh²hh³hÇh´Mtubhï)�”}”(hŒÛThis capability indicates that userspace is able to apply a single VM-wide offset to both the virtual and physical counters as viewed by the guest using the KVM_ARM_SET_CNT_OFFSET ioctl and the following data structure:”h]”hŒÛThis capability indicates that userspace is able to apply a single VM-wide offset to both the virtual and physical counters as viewed by the guest using the KVM_ARM_SET_CNT_OFFSET ioctl and the following data structure:”…”�”}”(hjLGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MzhjKFh²hubj8)�”}”(hŒXstruct kvm_arm_counter_offset { __u64 counter_offset; __u64 reserved; };”h]”hŒXstruct kvm_arm_counter_offset { __u64 counter_offset; __u64 reserved; };”…”�”}”hjZGsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M€hjKFh²hubhï)�”}”(hX1The offset describes a number of counter cycles that are subtracted from both virtual and physical counter views (similar to the effects of the CNTVOFF_EL2 and CNTPOFF_EL2 system registers, but only global). The offset always applies to all vcpus (already created or created after this ioctl) for this VM.”h]”hX1The offset describes a number of counter cycles that are subtracted from both virtual and physical counter views (similar to the effects of the CNTVOFF_EL2 and CNTPOFF_EL2 system registers, but only global). The offset always applies to all vcpus (already created or created after this ioctl) for this VM.”…”�”}”(hjhGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M…hjKFh²hubhï)�”}”(hŒtIt is userspace's responsibility to compute the offset based, for example, on previous values of the guest counters.”h]”hŒvIt is userspace’s responsibility to compute the offset based, for example, on previous values of the guest counters.”…”�”}”(hjvGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‹hjKFh²hubhï)�”}”(hŒ¬Any value other than 0 for the "reserved" field may result in an error (-EINVAL) being returned. This ioctl can also return -EBUSY if any vcpu ioctl is issued concurrently.”h]”hŒ°Any value other than 0 for the “reservedâ€� field may result in an error (-EINVAL) being returned. This ioctl can also return -EBUSY if any vcpu ioctl is issued concurrently.”…”�”}”(hj„Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŽhjKFh²hubhï)�”}”(hŒãNote that using this ioctl results in KVM ignoring subsequent userspace writes to the CNTVCT_EL0 and CNTPCT_EL0 registers using the SET_ONE_REG interface. No error will be returned, but the resulting offset will not be applied.”h]”hŒãNote that using this ioctl results in KVM ignoring subsequent userspace writes to the CNTVCT_EL0 and CNTPCT_EL0 registers using the SET_ONE_REG interface. No error will be returned, but the resulting offset will not be applied.”…”�”}”(hj’Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M’hjKFh²hubjT)�”}”(hŒ#.. _KVM_ARM_GET_REG_WRITABLE_MASKS:”h]”h}”(h]”h ]”h"]”h$]”h&]”j_Œkvm-arm-get-reg-writable-masks”uh1jSh´M—hjKFh²hh³hÇubeh}”(h]”Œkvm-arm-set-counter-offset”ah ]”h"]”Œ 4.138 kvm_arm_set_counter_offset”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MrubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ$4.139 KVM_ARM_GET_REG_WRITABLE_MASKS”h]”hŒ$4.139 KVM_ARM_GET_REG_WRITABLE_MASKS”…”�”}”(hj¶Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj³Gh²hh³hÇh´Mšubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÊGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÇGh³hÇh´Kubj�)�”}”(hŒ%KVM_CAP_ARM_SUPPORTED_REG_MASK_RANGES”h]”hï)�”}”(hjÚGh]”hŒ%KVM_CAP_ARM_SUPPORTED_REG_MASK_RANGES”…”�”}”(hjÜGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MœhjØGubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÇGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MœhjÄGh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjøGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjõGh³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hjHh]”hŒarm64”…”�”}”(hj Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hjHubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjõGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hjÄGh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj&Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj#Hh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj6Hh]”hŒvm ioctl”…”�”}”(hj8Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mžhj4Hubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj#Hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MžhjÄGh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjTHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjQHh³hÇh´Kubj�)�”}”(hŒstruct reg_mask_range (in/out)”h]”hï)�”}”(hjdHh]”hŒstruct reg_mask_range (in/out)”…”�”}”(hjfHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸhjbHubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjQHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŸhjÄGh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj‚Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjHh³hÇh´Kubj�)�”}”(hŒ0 on success, < 0 on error ”h]”hï)�”}”(hŒ0 on success, < 0 on error”h]”hŒ0 on success, < 0 on error”…”�”}”(hj”Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj�Hubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjÄGh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj³Gh²hh³hÇh´Mœubj8)�”}”(hX#define KVM_ARM_FEATURE_ID_RANGE 0 #define KVM_ARM_FEATURE_ID_RANGE_SIZE (3 * 8 * 8) struct reg_mask_range { __u64 addr; /* Pointer to mask array */ __u32 range; /* Requested range */ __u32 reserved[13]; };”h]”hX#define KVM_ARM_FEATURE_ID_RANGE 0 #define KVM_ARM_FEATURE_ID_RANGE_SIZE (3 * 8 * 8) struct reg_mask_range { __u64 addr; /* Pointer to mask array */ __u32 range; /* Requested range */ __u32 reserved[13]; };”…”�”}”hj´Hsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M¥hj³Gh²hubhï)�”}”(hŒTThis ioctl copies the writable masks for a selected range of registers to userspace.”h]”hŒTThis ioctl copies the writable masks for a selected range of registers to userspace.”…”�”}”(hjÂHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M®hj³Gh²hubhï)�”}”(hŒ]The ``addr`` field is a pointer to the destination array where KVM copies the writable masks.”h]”(hŒThe ”…”�”}”(hjÐHh²hh³Nh´NubjÈ)�”}”(hŒ``addr``”h]”hŒaddr”…”�”}”(hjØHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÐHubhŒQ field is a pointer to the destination array where KVM copies the writable masks.”…”�”}”(hjÐHh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M±hj³Gh²hubhï)�”}”(hXdThe ``range`` field indicates the requested range of registers. ``KVM_CHECK_EXTENSION`` for the ``KVM_CAP_ARM_SUPPORTED_REG_MASK_RANGES`` capability returns the supported ranges, expressed as a set of flags. Each flag's bit index represents a possible value for the ``range`` field. All other values are reserved for future use and KVM may return an error.”h]”(hŒThe ”…”�”}”(hjðHh²hh³Nh´NubjÈ)�”}”(hŒ ``range``”h]”hŒrange”…”�”}”(hjøHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjðHubhŒ3 field indicates the requested range of registers. ”…”�”}”(hjðHh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_CHECK_EXTENSION``”h]”hŒKVM_CHECK_EXTENSION”…”�”}”(hj Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjðHubhŒ for the ”…”�”}”(hjðHh²hh³Nh´NubjÈ)�”}”(hŒ)``KVM_CAP_ARM_SUPPORTED_REG_MASK_RANGES``”h]”hŒ%KVM_CAP_ARM_SUPPORTED_REG_MASK_RANGES”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjðHubhŒƒ capability returns the supported ranges, expressed as a set of flags. Each flag’s bit index represents a possible value for the ”…”�”}”(hjðHh²hh³Nh´NubjÈ)�”}”(hŒ ``range``”h]”hŒrange”…”�”}”(hj.Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjðHubhŒQ field. All other values are reserved for future use and KVM may return an error.”…”�”}”(hjðHh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´hj³Gh²hubhï)�”}”(hŒbThe ``reserved[13]`` array is reserved for future use and should be 0, or KVM may return an error.”h]”(hŒThe ”…”�”}”(hjFIh²hh³Nh´NubjÈ)�”}”(hŒ``reserved[13]``”h]”hŒ reserved[13]”…”�”}”(hjNIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjFIubhŒN array is reserved for future use and should be 0, or KVM may return an error.”…”�”}”(hjFIh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mºhj³Gh²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒKVM_ARM_FEATURE_ID_RANGE (0)”h]”hŒKVM_ARM_FEATURE_ID_RANGE (0)”…”�”}”(hjiIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjfIh²hh³hÇh´M¾ubhï)�”}”(hŒ�The Feature ID range is defined as the AArch64 System register space with op0==3, op1=={0, 1, 3}, CRn==0, CRm=={0-7}, op2=={0-7}.”h]”hŒ�The Feature ID range is defined as the AArch64 System register space with op0==3, op1=={0, 1, 3}, CRn==0, CRm=={0-7}, op2=={0-7}.”…”�”}”(hjwIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀhjfIh²hubhï)�”}”(hXXThe mask returned array pointed to by ``addr`` is indexed by the macro ``ARM64_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2)``, allowing userspace to know what fields can be changed for the system register described by ``op0, op1, crn, crm, op2``. KVM rejects ID register values that describe a superset of the features supported by the system.”h]”(hŒ&The mask returned array pointed to by ”…”�”}”(hj…Ih²hh³Nh´NubjÈ)�”}”(hŒ``addr``”h]”hŒaddr”…”�”}”(hj�Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj…IubhŒ is indexed by the macro ”…”�”}”(hj…Ih²hh³Nh´NubjÈ)�”}”(hŒ7``ARM64_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2)``”h]”hŒ3ARM64_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2)”…”�”}”(hjŸIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj…IubhŒ], allowing userspace to know what fields can be changed for the system register described by ”…”�”}”(hj…Ih²hh³Nh´NubjÈ)�”}”(hŒ``op0, op1, crn, crm, op2``”h]”hŒop0, op1, crn, crm, op2”…”�”}”(hj±Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj…IubhŒb. KVM rejects ID register values that describe a superset of the features supported by the system.”…”�”}”(hj…Ih²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÃhjfIh²hubeh}”(h]”Œkvm-arm-feature-id-range-0”ah ]”h"]”Œkvm_arm_feature_id_range (0)”ah$]”h&]”uh1hÈhj³Gh²hh³hÇh´M¾ubeh}”(h]”(jªGŒid18”eh ]”h"]”(Œ$4.139 kvm_arm_get_reg_writable_masks”Œkvm_arm_get_reg_writable_masks”eh$]”h&]”uh1hÈhjæh²hh³hÇh´Mšj�}”j×Ij Gsjƒ}”jªGj GsubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ!4.140 KVM_SET_USER_MEMORY_REGION2”h]”hŒ!4.140 KVM_SET_USER_MEMORY_REGION2”…”�”}”(hjßIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÜIh²hh³hÇh´MÊubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjóIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjðIh³hÇh´Kubj�)�”}”(hŒKVM_CAP_USER_MEMORY2”h]”hï)�”}”(hjJh]”hŒKVM_CAP_USER_MEMORY2”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÌhjJubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjðIubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÌhjíIh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj!Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJh³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj1Jh]”hŒall”…”�”}”(hj3Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍhj/Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÍhjíIh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjOJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjLJh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj_Jh]”hŒvm ioctl”…”�”}”(hjaJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhj]Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjLJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÎhjíIh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj}Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjzJh³hÇh´Kubj�)�”}”(hŒ(struct kvm_userspace_memory_region2 (in)”h]”hï)�”}”(hj�Jh]”hŒ(struct kvm_userspace_memory_region2 (in)”…”�”}”(hj�Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏhj‹Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjzJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÏhjíIh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj«Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¨Jh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj½Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÐhj¹Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¨Jubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÐhjíIh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÜIh²hh³hÇh´MÌubhï)�”}”(hXEKVM_SET_USER_MEMORY_REGION2 is an extension to KVM_SET_USER_MEMORY_REGION that allows mapping guest_memfd memory into a guest. All fields shared with KVM_SET_USER_MEMORY_REGION identically. Userspace can set KVM_MEM_GUEST_MEMFD in flags to have KVM bind the memory region to a given guest_memfd range of [guest_memfd_offset, guest_memfd_offset + memory_size]. The target guest_memfd must point at a file created via KVM_CREATE_GUEST_MEMFD on the current VM, and the target range must not be bound to any other memory region. All standard bounds checks apply (use common sense).”h]”hXEKVM_SET_USER_MEMORY_REGION2 is an extension to KVM_SET_USER_MEMORY_REGION that allows mapping guest_memfd memory into a guest. All fields shared with KVM_SET_USER_MEMORY_REGION identically. Userspace can set KVM_MEM_GUEST_MEMFD in flags to have KVM bind the memory region to a given guest_memfd range of [guest_memfd_offset, guest_memfd_offset + memory_size]. The target guest_memfd must point at a file created via KVM_CREATE_GUEST_MEMFD on the current VM, and the target range must not be bound to any other memory region. All standard bounds checks apply (use common sense).”…”�”}”(hjÝJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒhjÜIh²hubj8)�”}”(hX:struct kvm_userspace_memory_region2 { __u32 slot; __u32 flags; __u64 guest_phys_addr; __u64 memory_size; /* bytes */ __u64 userspace_addr; /* start of the userspace allocated memory */ __u64 guest_memfd_offset; __u32 guest_memfd; __u32 pad1; __u64 pad2[14]; };”h]”hX:struct kvm_userspace_memory_region2 { __u32 slot; __u32 flags; __u64 guest_phys_addr; __u64 memory_size; /* bytes */ __u64 userspace_addr; /* start of the userspace allocated memory */ __u64 guest_memfd_offset; __u32 guest_memfd; __u32 pad1; __u64 pad2[14]; };”…”�”}”hjëJsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÝhjÜIh²hubhï)�”}”(hX•A KVM_MEM_GUEST_MEMFD region _must_ have a valid guest_memfd (private memory) and userspace_addr (shared memory). However, "valid" for userspace_addr simply means that the address itself must be a legal userspace address. The backing mapping for userspace_addr is not required to be valid/populated at the time of KVM_SET_USER_MEMORY_REGION2, e.g. shared memory can be lazily mapped/allocated on-demand.”h]”hX™A KVM_MEM_GUEST_MEMFD region _must_ have a valid guest_memfd (private memory) and userspace_addr (shared memory). However, “validâ€� for userspace_addr simply means that the address itself must be a legal userspace address. The backing mapping for userspace_addr is not required to be valid/populated at the time of KVM_SET_USER_MEMORY_REGION2, e.g. shared memory can be lazily mapped/allocated on-demand.”…”�”}”(hjùJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MéhjÜIh²hubhï)�”}”(hXŒWhen mapping a gfn into the guest, KVM selects shared vs. private, i.e consumes userspace_addr vs. guest_memfd, based on the gfn's KVM_MEMORY_ATTRIBUTE_PRIVATE state. At VM creation time, all memory is shared, i.e. the PRIVATE attribute is '0' for all gfns. Userspace can control whether memory is shared/private by toggling KVM_MEMORY_ATTRIBUTE_PRIVATE via KVM_SET_MEMORY_ATTRIBUTES as needed.”h]”hX’When mapping a gfn into the guest, KVM selects shared vs. private, i.e consumes userspace_addr vs. guest_memfd, based on the gfn’s KVM_MEMORY_ATTRIBUTE_PRIVATE state. At VM creation time, all memory is shared, i.e. the PRIVATE attribute is ‘0’ for all gfns. Userspace can control whether memory is shared/private by toggling KVM_MEMORY_ATTRIBUTE_PRIVATE via KVM_SET_MEMORY_ATTRIBUTES as needed.”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MðhjÜIh²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒS390:”h]”hŒS390:”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjKh²hh³hÇh´M÷ubhï)�”}”(hŒmReturns -EINVAL if the VM has the KVM_VM_S390_UCONTROL flag set. Returns -EINVAL if called on a protected VM.”h]”hŒmReturns -EINVAL if the VM has the KVM_VM_S390_UCONTROL flag set. Returns -EINVAL if called on a protected VM.”…”�”}”(hj&Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MùhjKh²hubeh}”(h]”Œid19”ah ]”h"]”h$]”Œs390:”ah&]”uh1hÈhjÜIh²hh³hÇh´M÷j»Kubeh}”(h]”Œkvm-set-user-memory-region2”ah ]”h"]”Œ!4.140 kvm_set_user_memory_region2”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MÊubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.141 KVM_SET_MEMORY_ATTRIBUTES”h]”hŒ4.141 KVM_SET_MEMORY_ATTRIBUTES”…”�”}”(hjGKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjDKh²hh³hÇh´Mýubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hj[Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjXKh³hÇh´Kubj�)�”}”(hŒKVM_CAP_MEMORY_ATTRIBUTES”h]”hï)�”}”(hjkKh]”hŒKVM_CAP_MEMORY_ATTRIBUTES”…”�”}”(hjmKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÿhjiKubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjXKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÿhjUKh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj‰Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj†Kh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj™Kh]”hŒx86”…”�”}”(hj›Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj—Kubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj†Kubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjUKh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj·Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj´Kh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjÇKh]”hŒvm ioctl”…”�”}”(hjÉKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÅKubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj´Kubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjUKh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjåKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjâKh³hÇh´Kubj�)�”}”(hŒ!struct kvm_memory_attributes (in)”h]”hï)�”}”(hjõKh]”hŒ!struct kvm_memory_attributes (in)”…”�”}”(hj÷Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjóKubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjâKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjUKh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjLh³hÇh´Kubj�)�”}”(hŒ0 on success, <0 on error ”h]”hï)�”}”(hŒ0 on success, <0 on error”h]”hŒ0 on success, <0 on error”…”�”}”(hj%Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj!Lubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhjUKh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjDKh²hh³hÇh´Mÿubhï)�”}”(hŒiKVM_SET_MEMORY_ATTRIBUTES allows userspace to set memory attributes for a range of guest physical memory.”h]”hŒiKVM_SET_MEMORY_ATTRIBUTES allows userspace to set memory attributes for a range of guest physical memory.”…”�”}”(hjELh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjDKh²hubj8)�”}”(hŒ¯struct kvm_memory_attributes { __u64 address; __u64 size; __u64 attributes; __u64 flags; }; #define KVM_MEMORY_ATTRIBUTE_PRIVATE (1ULL << 3)”h]”hŒ¯struct kvm_memory_attributes { __u64 address; __u64 size; __u64 attributes; __u64 flags; }; #define KVM_MEMORY_ATTRIBUTE_PRIVATE (1ULL << 3)”…”�”}”hjSLsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hjDKh²hubhï)�”}”(hXâThe address and size must be page aligned. The supported attributes can be retrieved via ioctl(KVM_CHECK_EXTENSION) on KVM_CAP_MEMORY_ATTRIBUTES. If executed on a VM, KVM_CAP_MEMORY_ATTRIBUTES precisely returns the attributes supported by that VM. If executed at system scope, KVM_CAP_MEMORY_ATTRIBUTES returns all attributes supported by KVM. The only attribute defined at this time is KVM_MEMORY_ATTRIBUTE_PRIVATE, which marks the associated gfn as being guest private memory.”h]”hXâThe address and size must be page aligned. The supported attributes can be retrieved via ioctl(KVM_CHECK_EXTENSION) on KVM_CAP_MEMORY_ATTRIBUTES. If executed on a VM, KVM_CAP_MEMORY_ATTRIBUTES precisely returns the attributes supported by that VM. If executed at system scope, KVM_CAP_MEMORY_ATTRIBUTES returns all attributes supported by KVM. The only attribute defined at this time is KVM_MEMORY_ATTRIBUTE_PRIVATE, which marks the associated gfn as being guest private memory.”…”�”}”(hjaLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjDKh²hubhï)�”}”(hŒqNote, there is no "get" API. Userspace is responsible for explicitly tracking the state of a gfn/page as needed.”h]”hŒuNote, there is no “getâ€� API. Userspace is responsible for explicitly tracking the state of a gfn/page as needed.”…”�”}”(hjoLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjDKh²hubhï)�”}”(hŒDThe "flags" field is reserved for future extensions and must be '0'.”h]”hŒLThe “flagsâ€� field is reserved for future extensions and must be ‘0’.”…”�”}”(hj}Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjDKh²hubeh}”(h]”Œkvm-set-memory-attributes”ah ]”h"]”Œ4.141 kvm_set_memory_attributes”ah$]”h&]”uh1hÈhjæh²hh³hÇh´MýubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.142 KVM_CREATE_GUEST_MEMFD”h]”hŒ4.142 KVM_CREATE_GUEST_MEMFD”…”�”}”(hj–Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj“Lh²hh³hÇh´M!ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjªLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj§Lh³hÇh´Kubj�)�”}”(hŒKVM_CAP_GUEST_MEMFD”h]”hï)�”}”(hjºLh]”hŒKVM_CAP_GUEST_MEMFD”…”�”}”(hj¼Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hj¸Lubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj§Lubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M#hj¤Lh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjØLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÕLh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjèLh]”hŒnone”…”�”}”(hjêLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hjæLubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÕLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M$hj¤Lh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjMh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjMh]”hŒvm ioctl”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjMubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M%hj¤Lh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj4Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj1Mh³hÇh´Kubj�)�”}”(hŒ!struct kvm_create_guest_memfd(in)”h]”hï)�”}”(hjDMh]”hŒ!struct kvm_create_guest_memfd(in)”…”�”}”(hjFMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&hjBMubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj1Mubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M&hj¤Lh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjbMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj_Mh³hÇh´Kubj�)�”}”(hŒ*A file descriptor on success, <0 on error ”h]”hï)�”}”(hŒ)A file descriptor on success, <0 on error”h]”hŒ)A file descriptor on success, <0 on error”…”�”}”(hjtMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'hjpMubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj_Mubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M'hj¤Lh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj“Lh²hh³hÇh´M#ubhï)�”}”(hXKVM_CREATE_GUEST_MEMFD creates an anonymous file and returns a file descriptor that refers to it. guest_memfd files are roughly analogous to files created via memfd_create(), e.g. guest_memfd files live in RAM, have volatile storage, and are automatically released when the last reference is dropped. Unlike "regular" memfd_create() files, guest_memfd files are bound to their owning virtual machine (see below), cannot be mapped, read, or written by userspace, and cannot be resized (guest_memfd files do however support PUNCH_HOLE).”h]”hXKVM_CREATE_GUEST_MEMFD creates an anonymous file and returns a file descriptor that refers to it. guest_memfd files are roughly analogous to files created via memfd_create(), e.g. guest_memfd files live in RAM, have volatile storage, and are automatically released when the last reference is dropped. Unlike “regularâ€� memfd_create() files, guest_memfd files are bound to their owning virtual machine (see below), cannot be mapped, read, or written by userspace, and cannot be resized (guest_memfd files do however support PUNCH_HOLE).”…”�”}”(hj”Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hj“Lh²hubj8)�”}”(hŒ`struct kvm_create_guest_memfd { __u64 size; __u64 flags; __u64 reserved[6]; };”h]”hŒ`struct kvm_create_guest_memfd { __u64 size; __u64 flags; __u64 reserved[6]; };”…”�”}”hj¢Msbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M3hj“Lh²hubhï)�”}”(hXðConceptually, the inode backing a guest_memfd file represents physical memory, i.e. is coupled to the virtual machine as a thing, not to a "struct kvm". The file itself, which is bound to a "struct kvm", is that instance's view of the underlying memory, e.g. effectively provides the translation of guest addresses to host memory. This allows for use cases where multiple KVM structures are used to manage a single virtual machine, e.g. when performing intrahost migration of a virtual machine.”h]”hXúConceptually, the inode backing a guest_memfd file represents physical memory, i.e. is coupled to the virtual machine as a thing, not to a “struct kvmâ€�. The file itself, which is bound to a “struct kvmâ€�, is that instance’s view of the underlying memory, e.g. effectively provides the translation of guest addresses to host memory. This allows for use cases where multiple KVM structures are used to manage a single virtual machine, e.g. when performing intrahost migration of a virtual machine.”…”�”}”(hj°Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hj“Lh²hubhï)�”}”(hXKVM currently only supports mapping guest_memfd via KVM_SET_USER_MEMORY_REGION2, and more specifically via the guest_memfd and guest_memfd_offset fields in "struct kvm_userspace_memory_region2", where guest_memfd_offset is the offset into the guest_memfd instance. For a given guest_memfd file, there can be at most one mapping per page, i.e. binding multiple memory regions to a single guest_memfd range is not allowed (any number of memory regions can be bound to a single guest_memfd file, but the bound ranges must not overlap).”h]”hXKVM currently only supports mapping guest_memfd via KVM_SET_USER_MEMORY_REGION2, and more specifically via the guest_memfd and guest_memfd_offset fields in “struct kvm_userspace_memory_region2â€�, where guest_memfd_offset is the offset into the guest_memfd instance. For a given guest_memfd file, there can be at most one mapping per page, i.e. binding multiple memory regions to a single guest_memfd range is not allowed (any number of memory regions can be bound to a single guest_memfd file, but the bound ranges must not overlap).”…”�”}”(hj¾Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MAhj“Lh²hubhï)�”}”(hŒ‹The capability KVM_CAP_GUEST_MEMFD_FLAGS enumerates the `flags` that can be specified via KVM_CREATE_GUEST_MEMFD. Currently defined flags:”h]”(hŒ8The capability KVM_CAP_GUEST_MEMFD_FLAGS enumerates the ”…”�”}”(hjÌMh²hh³Nh´NubjÀ,)�”}”(hŒ`flags`”h]”hŒflags”…”�”}”(hjÔMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjÌMubhŒL that can be specified via KVM_CREATE_GUEST_MEMFD. Currently defined flags:”…”�”}”(hjÌMh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MIhj“Lh²hubj )�”}”(hXx============================ ================================================ GUEST_MEMFD_FLAG_MMAP Enable using mmap() on the guest_memfd file descriptor. GUEST_MEMFD_FLAG_INIT_SHARED Make all memory in the file shared during KVM_CREATE_GUEST_MEMFD (memory files created without INIT_SHARED will be marked private). Shared memory can be faulted into host userspace page tables. Private memory cannot. ============================ ================================================ ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjóMubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K0uh1jchjóMubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒGUEST_MEMFD_FLAG_MMAP”h]”hŒGUEST_MEMFD_FLAG_MMAP”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhjNubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj Nubj„)�”}”(hhh]”hï)�”}”(hŒ7Enable using mmap() on the guest_memfd file descriptor.”h]”hŒ7Enable using mmap() on the guest_memfd file descriptor.”…”�”}”(hj*Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhj'Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj Nubj)�”}”(•hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒGUEST_MEMFD_FLAG_INIT_SHARED”h]”hŒGUEST_MEMFD_FLAG_INIT_SHARED”…”�”}”(hjJNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MOhjGNubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjDNubj„)�”}”(hhh]”hï)�”}”(hŒØMake all memory in the file shared during KVM_CREATE_GUEST_MEMFD (memory files created without INIT_SHARED will be marked private). Shared memory can be faulted into host userspace page tables. Private memory cannot.”h]”hŒØMake all memory in the file shared during KVM_CREATE_GUEST_MEMFD (memory files created without INIT_SHARED will be marked private). Shared memory can be faulted into host userspace page tables. Private memory cannot.”…”�”}”(hjaNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MOhj^Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjDNubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjóMubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjðMubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjìMubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MLhj“Lh²hubhï)�”}”(hŒðWhen the KVM MMU performs a PFN lookup to service a guest fault and the backing guest_memfd has the GUEST_MEMFD_FLAG_MMAP set, then the fault will always be consumed from guest_memfd, regardless of whether it is a shared or a private fault.”h]”hŒðWhen the KVM MMU performs a PFN lookup to service a guest fault and the backing guest_memfd has the GUEST_MEMFD_FLAG_MMAP set, then the fault will always be consumed from guest_memfd, regardless of whether it is a shared or a private fault.”…”�”}”(hj”Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MVhj“Lh²hubhï)�”}”(hŒ7See KVM_SET_USER_MEMORY_REGION2 for additional details.”h]”hŒ7See KVM_SET_USER_MEMORY_REGION2 for additional details.”…”�”}”(hj¢Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hj“Lh²hubeh}”(h]”Œkvm-create-guest-memfd”ah ]”h"]”Œ4.142 kvm_create_guest_memfd”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M!ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.143 KVM_PRE_FAULT_MEMORY”h]”hŒ4.143 KVM_PRE_FAULT_MEMORY”…”�”}”(hj»Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¸Nh²hh³hÇh´M^ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÏNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÌNh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PRE_FAULT_MEMORY”h]”hï)�”}”(hjßNh]”hŒKVM_CAP_PRE_FAULT_MEMORY”…”�”}”(hjáNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M`hjÝNubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÌNubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M`hjÉNh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjýNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjúNh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hj Oh]”hŒnone”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mahj Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjúNubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MahjÉNh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj+Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj(Oh³hÇh´Kubj�)�”}”(hŒ vcpu ioctl”h]”hï)�”}”(hj;Oh]”hŒ vcpu ioctl”…”�”}”(hj=Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mbhj9Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj(Oubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MbhjÉNh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjYOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjVOh³hÇh´Kubj�)�”}”(hŒ$struct kvm_pre_fault_memory (in/out)”h]”hï)�”}”(hjiOh]”hŒ$struct kvm_pre_fault_memory (in/out)”…”�”}”(hjkOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MchjgOubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjVOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MchjÉNh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj‡Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj„Oh³hÇh´Kubj�)�”}”(hŒ20 if at least one page is processed, < 0 on error ”h]”hï)�”}”(hŒ10 if at least one page is processed, < 0 on error”h]”hŒ10 if at least one page is processed, < 0 on error”…”�”}”(hj™Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mdhj•Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj„Oubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MdhjÉNh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¸Nh²hh³hÇh´M`ubhï)�”}”(hŒErrors:”h]”hŒErrors:”…”�”}”(hj¹Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mfhj¸Nh²hubj )�”}”(hX¢========== =============================================================== EINVAL The specified `gpa` and `size` were invalid (e.g. not page aligned, causes an overflow, or size is zero), or the VM is UCONTROL (s390). ENOENT The specified `gpa` is outside defined memslots. EINTR An unmasked signal is pending and no page was processed. EFAULT The parameter address was invalid. EOPNOTSUPP Mapping memory for a GPA is unsupported by the hypervisor, and/or for the current vCPU state/mode. EIO unexpected error conditions (also causes a WARN) ========== =============================================================== ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jchjÎOubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K?uh1jchjÎOubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINVAL”h]”hŒEINVAL”…”�”}”(hjîOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MihjëOubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjèOubj„)�”}”(hhh]”hï)�”}”(hŒ‡The specified `gpa` and `size` were invalid (e.g. not page aligned, causes an overflow, or size is zero), or the VM is UCONTROL (s390).”h]”(hŒThe specified ”…”�”}”(hjPh²hh³Nh´NubjÀ,)�”}”(hŒ`gpa`”h]”hŒgpa”…”�”}”(hj Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjPubhŒ and ”…”�”}”(hjPh²hh³Nh´NubjÀ,)�”}”(hŒ`size`”h]”hŒsize”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjPubhŒi were invalid (e.g. not page aligned, causes an overflow, or size is zero), or the VM is UCONTROL (s390).”…”�”}”(hjPh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MihjPubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjèOubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjåOubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENOENT”h]”hŒENOENT”…”�”}”(hjIPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MlhjFPubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjCPubj„)�”}”(hhh]”hï)�”}”(hŒ0The specified `gpa` is outside defined memslots.”h]”(hŒThe specified ”…”�”}”(hj`Ph²hh³Nh´NubjÀ,)�”}”(hŒ`gpa`”h]”hŒgpa”…”�”}”(hjhPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj`PubhŒ is outside defined memslots.”…”�”}”(hj`Ph²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mlhj]Pubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjCPubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjåOubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINTR”h]”hŒEINTR”…”�”}”(hj’Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mmhj�Pubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŒPubj„)�”}”(hhh]”hï)�”}”(hŒ8An unmasked signal is pending and no page was processed.”h]”hŒ8An unmasked signal is pending and no page was processed.”…”�”}”(hj©Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mmhj¦Pubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŒPubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjåOubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEFAULT”h]”hŒEFAULT”…”�”}”(hjÉPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MnhjÆPubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÃPubj„)�”}”(hhh]”hï)�”}”(hŒ"The parameter address was invalid.”h]”hŒ"The parameter address was invalid.”…”�”}”(hjàPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MnhjÝPubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÃPubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjåOubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ EOPNOTSUPP”h]”hŒ EOPNOTSUPP”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MohjýPubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjúPubj„)�”}”(hhh]”hï)�”}”(hŒbMapping memory for a GPA is unsupported by the hypervisor, and/or for the current vCPU state/mode.”h]”hŒbMapping memory for a GPA is unsupported by the hypervisor, and/or for the current vCPU state/mode.”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MohjQubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjúPubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjåOubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEIO”h]”hŒEIO”…”�”}”(hj7Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mqhj4Qubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj1Qubj„)�”}”(hhh]”hï)�”}”(hŒ0unexpected error conditions (also causes a WARN)”h]”hŒ0unexpected error conditions (also causes a WARN)”…”�”}”(hjNQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MqhjKQubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj1Qubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjåOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjÎOubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjËOubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjÇOubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhhj¸Nh²hubj8)�”}”(hŒ�struct kvm_pre_fault_memory { /* in/out */ __u64 gpa; __u64 size; /* in */ __u64 flags; __u64 padding[5]; };”h]”hŒ�struct kvm_pre_fault_memory { /* in/out */ __u64 gpa; __u64 size; /* in */ __u64 flags; __u64 padding[5]; };”…”�”}”hj�Qsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mvhj¸Nh²hubhï)�”}”(hX*KVM_PRE_FAULT_MEMORY populates KVM's stage-2 page tables used to map memory for the current vCPU state. KVM maps memory as if the vCPU generated a stage-2 read page fault, e.g. faults in memory as needed, but doesn't break CoW. On x86, KVM does not mark any newly created stage-2 PTE as Accessed.”h]”hX.KVM_PRE_FAULT_MEMORY populates KVM’s stage-2 page tables used to map memory for the current vCPU state. KVM maps memory as if the vCPU generated a stage-2 read page fault, e.g. faults in memory as needed, but doesn’t break CoW. On x86, KVM does not mark any newly created stage-2 PTE as Accessed.”…”�”}”(hj�Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj¸Nh²hubhï)�”}”(hX0In the case of confidential VM types where there is an initial set up of private guest memory before the guest is 'finalized'/measured, this ioctl should only be issued after completing all the necessary setup to put the guest into a 'finalized' state so that the above semantics can be reliably ensured.”h]”hX8In the case of confidential VM types where there is an initial set up of private guest memory before the guest is ‘finalized’/measured, this ioctl should only be issued after completing all the necessary setup to put the guest into a ‘finalized’ state so that the above semantics can be reliably ensured.”…”�”}”(hj�Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M„hj¸Nh²hubhï)�”}”(hŒnIn some cases, multiple vCPUs might share the page tables. In this case, the ioctl can be called in parallel.”h]”hŒnIn some cases, multiple vCPUs might share the page tables. In this case, the ioctl can be called in parallel.”…”�”}”(hj«Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhj¸Nh²hubhï)�”}”(hŒÉWhen the ioctl returns, the input values are updated to point to the remaining range. If `size` > 0 on return, the caller can just issue the ioctl again with the same `struct kvm_map_memory` argument.”h]”(hŒZWhen the ioctl returns, the input values are updated to point to the remaining range. If ”…”�”}”(hj¹Qh²hh³Nh´NubjÀ,)�”}”(hŒ`size`”h]”hŒsize”…”�”}”(hjÁQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj¹QubhŒH > 0 on return, the caller can just issue the ioctl again with the same ”…”�”}”(hj¹Qh²hh³Nh´NubjÀ,)�”}”(hŒ`struct kvm_map_memory`”h]”hŒstruct kvm_map_memory”…”�”}”(hjÓQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj¹QubhŒ argument.”…”�”}”(hj¹Qh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj¸Nh²hubhï)�”}”(hXcShadow page tables cannot support this ioctl because they are indexed by virtual address or nested guest physical address. Calling this ioctl when the guest is using shadow page tables (for example because it is running a nested guest with nested page tables) will fail with `EOPNOTSUPP` even if `KVM_CHECK_EXTENSION` reports the capability to be present.”h]”(hXShadow page tables cannot support this ioctl because they are indexed by virtual address or nested guest physical address. Calling this ioctl when the guest is using shadow page tables (for example because it is running a nested guest with nested page tables) will fail with ”…”�”}”(hjëQh²hh³Nh´NubjÀ,)�”}”(hŒ `EOPNOTSUPP`”h]”hŒ EOPNOTSUPP”…”�”}”(hjóQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjëQubhŒ even if ”…”�”}”(hjëQh²hh³Nh´NubjÀ,)�”}”(hŒ`KVM_CHECK_EXTENSION`”h]”hŒKVM_CHECK_EXTENSION”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjëQubhŒ& reports the capability to be present.”…”�”}”(hjëQh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘hj¸Nh²hubhï)�”}”(hŒ`flags` must currently be zero.”h]”(jÀ,)�”}”(hŒ`flags`”h]”hŒflags”…”�”}”(hj!Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjRubhŒ must currently be zero.”…”�”}”(hjRh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜hj¸Nh²hubeh}”(h]”Œkvm-pre-fault-memory”ah ]”h"]”Œ4.143 kvm_pre_fault_memory”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M^ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.144 KVM_S390_KEYOP”h]”hŒ4.144 KVM_S390_KEYOP”…”�”}”(hjDRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjARh²hh³hÇh´M›ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjXRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjURh³hÇh´Kubj�)�”}”(hŒKVM_CAP_S390_KEYOP”h]”hï)�”}”(hjhRh]”hŒKVM_CAP_S390_KEYOP”…”�”}”(hjjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hjfRubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjURubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�hjRRh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj†Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjƒRh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj–Rh]”hŒs390”…”�”}”(hj˜Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mžhj”Rubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjƒRubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MžhjRRh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj´Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj±Rh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hjÄRh]”hŒvm ioctl”…”�”}”(hjÆRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸhjÂRubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj±Rubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MŸhjRRh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjâRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjßRh³hÇh´Kubj�)�”}”(hŒstruct kvm_s390_keyop (in/out)”h]”hï)�”}”(hjòRh]”hŒstruct kvm_s390_keyop (in/out)”…”�”}”(hjôRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjðRubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjßRubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjRRh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj Sh³hÇh´Kubj�)�”}”(hŒ#0 in case of success, < 0 on error ”h]”hï)�”}”(hŒ"0 in case of success, < 0 on error”h]”hŒ"0 in case of success, < 0 on error”…”�”}”(hj"Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hjSubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj Subeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¡hjRRh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjARh²hh³hÇh´M�ubhï)�”}”(hŒ—The specified key operation is performed on the given guest address. The previous storage key (or the relevant part thereof) will be returned in `key`.”h]”(hŒ‘The specified key operation is performed on the given guest address. The previous storage key (or the relevant part thereof) will be returned in ”…”�”}”(hjBSh²hh³Nh´NubjÀ,)�”}”(hŒ`key`”h]”hŒkey”…”�”}”(hjJSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjBSubhŒ.”…”�”}”(hjBSh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hjARh²hubj8)�”}”(hŒZstruct kvm_s390_keyop { __u64 guest_addr; __u8 key; __u8 operation; };”h]”hŒZstruct kvm_s390_keyop { __u64 guest_addr; __u8 key; __u8 operation; };”…”�”}”hjbSsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M©hjARh²hubhï)�”}”(hŒ-Currently supported values for ``operation``:”h]”(hŒCurrently supported values for ”…”�”}”(hjpSh²hh³Nh´NubjÈ)�”}”(hŒ ``operation``”h]”hŒ operation”…”�”}”(hjxSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjpSubhŒ:”…”�”}”(hjpSh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯hjARh²hubj )�”}”(hhh]”(j)�”}”(hŒ]KVM_S390_KEYOP_ISKE Returns the storage key for the guest address ``guest_addr`` in ``key``. ”h]”(j)�”}”(hŒKVM_S390_KEYOP_ISKE”h]”hŒKVM_S390_KEYOP_ISKE”…”�”}”(hj—Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M²hj“Subj%)�”}”(hhh]”hï)�”}”(hŒHReturns the storage key for the guest address ``guest_addr`` in ``key``.”h]”(hŒ.Returns the storage key for the guest address ”…”�”}”(hj¨Sh²hh³Nh´NubjÈ)�”}”(hŒ``guest_addr``”h]”hŒ guest_addr”…”�”}”(hj°Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¨SubhŒ in ”…”�”}”(hj¨Sh²hh³Nh´NubjÈ)�”}”(hŒ``key``”h]”hŒkey”…”�”}”(hjÂSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¨SubhŒ.”…”�”}”(hj¨Sh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M²hj¥Subah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj“Subeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M²hj�Subj)�”}”(hŒËKVM_S390_KEYOP_RRBE Resets the reference bit for the guest address ``guest_addr``, returning the R and C bits of the old storage key in ``key``; the remaining fields of the storage key will be set to 0. ”h]”(j)�”}”(hŒKVM_S390_KEYOP_RRBE”h]”hŒKVM_S390_KEYOP_RRBE”…”�”}”(hjêSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M·hjæSubj%)�”}”(hhh]”hï)�”}”(hŒ¶Resets the reference bit for the guest address ``guest_addr``, returning the R and C bits of the old storage key in ``key``; the remaining fields of the storage key will be set to 0.”h]”(hŒ/Resets the reference bit for the guest address ”…”�”}”(hjûSh²hh³Nh´NubjÈ)�”}”(hŒ``guest_addr``”h]”hŒ guest_addr”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjûSubhŒ7, returning the R and C bits of the old storage key in ”…”�”}”(hjûSh²hh³Nh´NubjÈ)�”}”(hŒ``key``”h]”hŒkey”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjûSubhŒ;; the remaining fields of the storage key will be set to 0.”…”�”}”(hjûSh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MµhjøSubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjæSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M·hj�Sh²hubj)�”}”(hŒ˜KVM_S390_KEYOP_SSKE Sets the storage key for the guest address ``guest_addr`` to the key specified in ``key``, returning the previous value in ``key``. ”h]”(j)�”}”(hŒKVM_S390_KEYOP_SSKE”h]”hŒKVM_S390_KEYOP_SSKE”…”�”}”(hj=Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M»hj9Tubj%)�”}”(hhh]”hï)�”}”(hŒƒSets the storage key for the guest address ``guest_addr`` to the key specified in ``key``, returning the previous value in ``key``.”h]”(hŒ+Sets the storage key for the guest address ”…”�”}”(hjNTh²hh³Nh´NubjÈ)�”}”(hŒ``guest_addr``”h]”hŒ guest_addr”…”�”}”(hjVTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjNTubhŒ to the key specified in ”…”�”}”(hjNTh²hh³Nh´NubjÈ)�”}”(hŒ``key``”h]”hŒkey”…”�”}”(hjhTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjNTubhŒ", returning the previous value in ”…”�”}”(hjNTh²hh³Nh´NubjÈ)�”}”(hŒ``key``”h]”hŒkey”…”�”}”(hjzTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjNTubhŒ.”…”�”}”(hjNTh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MºhjKTubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj9Tubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M»hj�Sh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjARh²hh³hÇh´Nubeh}”(h]”Œkvm-s390-keyop”ah ]”h"]”Œ4.144 kvm_s390_keyop”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M›ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ4.145 KVM_PPC_GET_COMPAT_CAPS”h]”hŒ4.145 KVM_PPC_GET_COMPAT_CAPS”…”�”}”(hj¯Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¬Th²hh³hÇh´M¾ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Capability”h]”hŒ Capability”…”�”}”(hjÃTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀTh³hÇh´Kubj�)�”}”(hŒKVM_CAP_PPC_COMPAT_CAPS”h]”hï)�”}”(hjÓTh]”hŒKVM_CAP_PPC_COMPAT_CAPS”…”�”}”(hjÕTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¿hjÑTubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀTubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¿hj½Th²hubjx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjñTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjîTh³hÇh´Kubj�)�”}”(hŒpowerpc”h]”hï)�”}”(hjUh]”hŒpowerpc”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀhjÿTubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjîTubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÀhj½Th²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjUh³hÇh´Kubj�)�”}”(hŒvm ioctl”h]”hï)�”}”(hj/Uh]”hŒvm ioctl”…”�”}”(hj1Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁhj-Uubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÁhj½Th²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjMUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjJUh³hÇh´Kubj�)�”}”(hŒ#struct kvm_ppc_compat_caps (in/out)”h]”hï)�”}”(hj]Uh]”hŒ#struct kvm_ppc_compat_caps (in/out)”…”�”}”(hj_Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÂhj[Uubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjJUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÂhj½Th²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj{Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjxUh³hÇh´Kubj�)�”}”(hŒ(0 on success, negative value on failure ”h]”hï)�”}”(hŒ'0 on success, negative value on failure”h]”hŒ'0 on success, negative value on failure”…”�”}”(hj�Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÃhj‰Uubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjxUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÃhj½Th²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¬Th²hh³hÇh´M¿ubhï)�”}”(hŒErrors include:”h]”hŒErrors include:”…”�”}”(hj­Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅhj¬Th²hubj )�”}”(hX======== ============================================================ EFAULT if ``struct kvm_ppc_compat_caps`` cannot be read from or written to userspace EINVAL if the ``size`` field is smaller than ``KVM_PPC_COMPAT_CAPS_SIZE_VER0``, if the ``flags`` field is non-zero, or if the backend fails to retrieve or map CPU compatibility capabilities E2BIG if ``size`` exceeds ``PAGE_SIZE`` (pathological input guard), or if ``size`` is larger than the kernel's struct size and the unknown trailing bytes are non-zero (new userspace on old kernel with non-default fields set); in the latter case the kernel writes back its own struct size into the ``size`` field so userspace can retry with the correct size ENOTTY if the backend does not implement the ``get_compat_caps`` operation (e.g., on non-HV KVM implementations where the required KVM operations are not available) ======== ============================================================ ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjÂUubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K=uh1jchjÂUubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEFAULT”h]”hŒEFAULT”…”�”}”(hjâUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈhjßUubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÜUubj„)�”}”(hhh]”hï)�”}”(hŒMif ``struct kvm_ppc_compat_caps`` cannot be read from or written to userspace”h]”(hŒif ”…”�”}”(hjùUh²hh³Nh´NubjÈ)�”}”(hŒ``struct kvm_ppc_compat_caps``”h]”hŒstruct kvm_ppc_compat_caps”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjùUubhŒ, cannot be read from or written to userspace”…”�”}”(hjùUh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈhjöUubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjÜUubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÙUubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEINVAL”h]”hŒEINVAL”…”�”}”(hj+Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊhj(Vubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%Vubj„)�”}”(hhh]”hï)�”}”(hŒ¶if the ``size`` field is smaller than ``KVM_PPC_COMPAT_CAPS_SIZE_VER0``, if the ``flags`` field is non-zero, or if the backend fails to retrieve or map CPU compatibility capabilities”h]”(hŒif the ”…”�”}”(hjBVh²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjJVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjBVubhŒ field is smaller than ”…”�”}”(hjBVh²hh³Nh´NubjÈ)�”}”(hŒ!``KVM_PPC_COMPAT_CAPS_SIZE_VER0``”h]”hŒKVM_PPC_COMPAT_CAPS_SIZE_VER0”…”�”}”(hj\Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjBVubhŒ , if the ”…”�”}”(hjBVh²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hjnVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjBVubhŒ] field is non-zero, or if the backend fails to retrieve or map CPU compatibility capabilities”…”�”}”(hjBVh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊhj?Vubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj%Vubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÙUubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒE2BIG”h]”hŒE2BIG”…”�”}”(hj˜Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhj•Vubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj’Vubj„)�”}”(hhh]”hï)�”}”(hX^if ``size`` exceeds ``PAGE_SIZE`` (pathological input guard), or if ``size`` is larger than the kernel's struct size and the unknown trailing bytes are non-zero (new userspace on old kernel with non-default fields set); in the latter case the kernel writes back its own struct size into the ``size`` field so userspace can retry with the correct size”h]”(hŒif ”…”�”}”(hj¯Vh²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hj·Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¯VubhŒ exceeds ”…”�”}”(hj¯Vh²hh³Nh´NubjÈ)�”}”(hŒ ``PAGE_SIZE``”h]”hŒ PAGE_SIZE”…”�”}”(hjÉVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¯VubhŒ# (pathological input guard), or if ”…”�”}”(hj¯Vh²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjÛVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¯VubhŒÙ is larger than the kernel’s struct size and the unknown trailing bytes are non-zero (new userspace on old kernel with non-default fields set); in the latter case the kernel writes back its own struct size into the ”…”�”}”(hj¯Vh²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hjíVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¯VubhŒ3 field so userspace can retry with the correct size”…”�”}”(hj¯Vh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhj¬Vubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj’Vubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÙUubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENOTTY”h]”hŒENOTTY”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔhjWubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjWubj„)�”}”(hhh]”hï)�”}”(hŒ�if the backend does not implement the ``get_compat_caps`` operation (e.g., on non-HV KVM implementations where the required KVM operations are not available)”h]”(hŒ&if the backend does not implement the ”…”�”}”(hj.Wh²hh³Nh´NubjÈ)�”}”(hŒ``get_compat_caps``”h]”hŒget_compat_caps”…”�”}”(hj6Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj.WubhŒd operation (e.g., on non-HV KVM implementations where the required KVM operations are not available)”…”�”}”(hj.Wh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔhj+Wubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjWubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÙUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjÂUubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj¿Uubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj»Uubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MÇhj¬Th²hubhï)�”}”(hŒÁIBM POWER system server-based processors provide a compatibility mode feature where an Nth generation processor can operate in modes consistent with earlier generations such as (N-1) and (N-2).”h]”hŒÁIBM POWER system server-based processors provide a compatibility mode feature where an Nth generation processor can operate in modes consistent with earlier generations such as (N-1) and (N-2).”…”�”}”(hjsWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÙhj¬Th²hubhï)�”}”(hŒêThis ioctl provides userspace with information about the CPU compatibility modes supported by the current host processor for booting the nested KVM guests on KVM on PowerNV (nested API v1) and KVM on PowerVM (nested API v2) platforms.”h]”hŒêThis ioctl provides userspace with information about the CPU compatibility modes supported by the current host processor for booting the nested KVM guests on KVM on PowerNV (nested API v1) and KVM on PowerVM (nested API v2) platforms.”…”�”}”(hj�Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝhj¬Th²hubj8)�”}”(hXstruct kvm_ppc_compat_caps { __u64 size; /* Size of this structure */ __u64 flags; /* Reserved for future use, must be 0 */ __u64 compat_capabilities; /* Capabilities supported by the host */ };”h]”hXstruct kvm_ppc_compat_caps { __u64 size; /* Size of this structure */ __u64 flags; /* Reserved for future use, must be 0 */ __u64 compat_capabilities; /* Capabilities supported by the host */ };”…”�”}”hj�Wsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mãhj¬Th²hubhï)�”}”(hXEBefore calling this ioctl, userspace must set the ``size`` field to ``sizeof(struct kvm_ppc_compat_caps)`` and zero the ``flags`` field. The kernel rejects non-zero ``flags`` with ``-EINVAL`` to prevent uninitialized stack values from being silently accepted, keeping the field available for future use without ABI ambiguity.”h]”(hŒ2Before calling this ioctl, userspace must set the ”…”�”}”(hj�Wh²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hj¥Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�WubhŒ field to ”…”�”}”(hj�Wh²hh³Nh´NubjÈ)�”}”(hŒ&``sizeof(struct kvm_ppc_compat_caps)``”h]”hŒ"sizeof(struct kvm_ppc_compat_caps)”…”�”}”(hj·Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�WubhŒ and zero the ”…”�”}”(hj�Wh²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hjÉWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�WubhŒ$ field. The kernel rejects non-zero ”…”�”}”(hj�Wh²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hjÛWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�WubhŒ with ”…”�”}”(hj�Wh²hh³Nh´NubjÈ)�”}”(hŒ ``-EINVAL``”h]”hŒ-EINVAL”…”�”}”(hjíWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�WubhŒ† to prevent uninitialized stack values from being silently accepted, keeping the field available for future use without ABI ambiguity.”…”�”}”(hj�Wh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Méhj¬Th²hubhï)�”}”(hŒjThe ioctl uses ``copy_struct_from_user()`` and ``copy_struct_to_user()`` to support extensible versioning.”h]”(hŒThe ioctl uses ”…”�”}”(hjXh²hh³Nh´NubjÈ)�”}”(hŒ``copy_struct_from_user()``”h]”hŒcopy_struct_from_user()”…”�”}”(hj Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjXubhŒ and ”…”�”}”(hjXh²hh³Nh´NubjÈ)�”}”(hŒ``copy_struct_to_user()``”h]”hŒcopy_struct_to_user()”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjXubhŒ" to support extensible versioning.”…”�”}”(hjXh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mïhj¬Th²hubhï)�”}”(hŒk``KVM_PPC_COMPAT_CAPS_SIZE_VER0`` (24) is a frozen constant marking the size of the initial struct version.”h]”(jÈ)�”}”(hŒ!``KVM_PPC_COMPAT_CAPS_SIZE_VER0``”h]”hŒKVM_PPC_COMPAT_CAPS_SIZE_VER0”…”�”}”(hj;Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj7XubhŒJ (24) is a frozen constant marking the size of the initial struct version.”…”�”}”(hj7Xh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mòhj¬Th²hubhï)�”}”(hŒñThe ``compat_capabilities`` bit field describes the processor compatibility modes supported by the host. The following bits indicate support for specific processor modes (using IBM's MSB-0 convention where bit 0 is the most significant bit):”h]”(hŒThe ”…”�”}”(hjSXh²hh³Nh´NubjÈ)�”}”(hŒ``compat_capabilities``”h]”hŒcompat_capabilities”…”�”}”(hj[Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjSXubhŒØ bit field describes the processor compatibility modes supported by the host. The following bits indicate support for specific processor modes (using IBM’s MSB-0 convention where bit 0 is the most significant bit):”…”�”}”(hjSXh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mõhj¬Th²hubj)�”}”(hhh]”(j)�”}”(hŒU``KVM_PPC_COMPAT_CAP_POWER9`` (bit 1) -- KVM guests can run in Power9 processor mode”h]”hï)�”}”(hjxXh]”(jÈ)�”}”(hŒ``KVM_PPC_COMPAT_CAP_POWER9``”h]”hŒKVM_PPC_COMPAT_CAP_POWER9”…”�”}”(hj}Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjzXubhŒ8 (bit 1) -- KVM guests can run in Power9 processor mode”…”�”}”(hjzXh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MúhjvXubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjsXh²hh³hÇh´Nubj)�”}”(hŒV``KVM_PPC_COMPAT_CAP_POWER10`` (bit 2) -- KVM guests can run in Power10 processor mode”h]”hï)�”}”(hj�Xh]”(jÈ)�”}”(hŒ``KVM_PPC_COMPAT_CAP_POWER10``”h]”hŒKVM_PPC_COMPAT_CAP_POWER10”…”�”}”(hj¢Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjŸXubhŒ8 (bit 2) -- KVM guests can run in Power10 processor mode”…”�”}”(hjŸXh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mûhj›Xubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjsXh²hh³hÇh´Nubj)�”}”(hŒW``KVM_PPC_COMPAT_CAP_POWER11`` (bit 3) -- KVM guests can run in Power11 processor mode ”h]”hï)�”}”(hŒV``KVM_PPC_COMPAT_CAP_POWER11`` (bit 3) -- KVM guests can run in Power11 processor mode”h]”(jÈ)�”}”(hŒ``KVM_PPC_COMPAT_CAP_POWER11``”h]”hŒKVM_PPC_COMPAT_CAP_POWER11”…”�”}”(hjÈXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÄXubhŒ8 (bit 3) -- KVM guests can run in Power11 processor mode”…”�”}”(hjÄXh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MühjÀXubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjsXh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Múhj¬Th²hubj€;)�”}”(hX’The bit numbering above uses IBM's MSB-0 convention (bit 0 is the most significant bit). In the actual implementation, these are defined as: - ``KVM_PPC_COMPAT_CAP_POWER9`` = ``(1ULL << 62)`` - ``KVM_PPC_COMPAT_CAP_POWER10`` = ``(1ULL << 61)`` - ``KVM_PPC_COMPAT_CAP_POWER11`` = ``(1ULL << 60)`` Userspace should use the defined constants from ```` rather than hardcoding bit positions.”h]”(hï)�”}”(hŒŒThe bit numbering above uses IBM's MSB-0 convention (bit 0 is the most significant bit). In the actual implementation, these are defined as:”h]”hŒŽThe bit numbering above uses IBM’s MSB-0 convention (bit 0 is the most significant bit). In the actual implementation, these are defined as:”…”�”}”(hjðXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjìXubj)�”}”(hhh]”(j)�”}”(hŒ1``KVM_PPC_COMPAT_CAP_POWER9`` = ``(1ULL << 62)``”h]”hï)�”}”(hjYh]”(jÈ)�”}”(hŒ``KVM_PPC_COMPAT_CAP_POWER9``”h]”hŒKVM_PPC_COMPAT_CAP_POWER9”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjYubhŒ = ”…”�”}”(hjYh²hh³Nh´NubjÈ)�”}”(hŒ``(1ULL << 62)``”h]”hŒ (1ULL << 62)”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjYubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjþXubj)�”}”(hŒ1``KVM_PPC_COMPAT_CAP_POWER10`` = ``(1ULL << 61)``”h]”hï)�”}”(hj6Yh]”(jÈ)�”}”(hŒ``KVM_PPC_COMPAT_CAP_POWER10``”h]”hŒKVM_PPC_COMPAT_CAP_POWER10”…”�”}”(hj;Yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj8YubhŒ = ”…”�”}”(hj8Yh²hh³Nh´NubjÈ)�”}”(hŒ``(1ULL << 61)``”h]”hŒ (1ULL << 61)”…”�”}”(hjMYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj8Yubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj4Yubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjþXubj)�”}”(hŒ2``KVM_PPC_COMPAT_CAP_POWER11`` = ``(1ULL << 60)`` ”h]”hï)�”}”(hŒ1``KVM_PPC_COMPAT_CAP_POWER11`` = ``(1ULL << 60)``”h]”(jÈ)�”}”(hŒ``KVM_PPC_COMPAT_CAP_POWER11``”h]”hŒKVM_PPC_COMPAT_CAP_POWER11”…”�”}”(hjoYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjkYubhŒ = ”…”�”}”(hjkYh²hh³Nh´NubjÈ)�”}”(hŒ``(1ULL << 60)``”h]”hŒ (1ULL << 60)”…”�”}”(hj�Yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjkYubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjgYubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjþXubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MhjìXubhï)�”}”(hŒgUserspace should use the defined constants from ```` rather than hardcoding bit positions.”h]”(hŒ0Userspace should use the defined constants from ”…”�”}”(hj¡Yh²hh³Nh´NubjÈ)�”}”(hŒ````”h]”hŒ ”…”�”}”(hj©Yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¡YubhŒ& rather than hardcoding bit positions.”…”�”}”(hj¡Yh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjìXubeh}”(h]”h ]”h"]”h$]”h&]”uh1j;hj¬Th²hh³hÇh´NubjT)�”}”(hŒ .. _kvm_run:”h]”h}”(h]”h ]”h"]”h$]”h&]”j_Œid20”uh1jSh´M hj¬Th²hh³hÇubeh}”(h]”Œkvm-ppc-get-compat-caps”ah ]”h"]”Œ4.145 kvm_ppc_get_compat_caps”ah$]”h&]”uh1hÈhjæh²hh³hÇh´M¾ubeh}”(h]”Œapi-description”ah ]”h"]”Œ4. api description”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KfubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ5. The kvm_run structure”h]”hŒ5. The kvm_run structure”…”�”}”(hjåYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjâYh²hh³hÇh´M ubhï)�”}”(hX(Application code obtains a pointer to the kvm_run structure by mmap()ing a vcpu fd. From that point, application code can control execution by changing fields in kvm_run prior to calling the KVM_RUN ioctl, and obtain information about the reason KVM_RUN returned by looking up structure members.”h]”hX(Application code obtains a pointer to the kvm_run structure by mmap()ing a vcpu fd. From that point, application code can control execution by changing fields in kvm_run prior to calling the KVM_RUN ioctl, and obtain information about the reason KVM_RUN returned by looking up structure members.”…”�”}”(hjóYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjâYh²hubj8)�”}”(hŒDstruct kvm_run { /* in */ __u8 request_interrupt_window;”h]”hŒDstruct kvm_run { /* in */ __u8 request_interrupt_window;”…”�”}”hjZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MhjâYh²hubhï)�”}”(hŒ�Request that KVM_RUN return when it becomes possible to inject external interrupts into the guest. Useful in conjunction with KVM_INTERRUPT.”h]”hŒ�Request that KVM_RUN return when it becomes possible to inject external interrupts into the guest. Useful in conjunction with KVM_INTERRUPT.”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjâYh²hubj8)�”}”(hŒ__u8 immediate_exit;”h]”hŒ__u8 immediate_exit;”…”�”}”hjZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hjâYh²hubhï)�”}”(hX�This field is polled once when KVM_RUN starts; if non-zero, KVM_RUN exits immediately, returning -EINTR. In the common scenario where a signal is used to "kick" a VCPU out of KVM_RUN, this field can be used to avoid usage of KVM_SET_SIGNAL_MASK, which has worse scalability. Rather than blocking the signal outside KVM_RUN, userspace can set up a signal handler that sets run->immediate_exit to a non-zero value.”h]”hX¡This field is polled once when KVM_RUN starts; if non-zero, KVM_RUN exits immediately, returning -EINTR. In the common scenario where a signal is used to “kickâ€� a VCPU out of KVM_RUN, this field can be used to avoid usage of KVM_SET_SIGNAL_MASK, which has worse scalability. Rather than blocking the signal outside KVM_RUN, userspace can set up a signal handler that sets run->immediate_exit to a non-zero value.”…”�”}”(hj+Zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hjâYh²hubhï)�”}”(hŒAThis field is ignored if KVM_CAP_IMMEDIATE_EXIT is not available.”h]”hŒAThis field is ignored if KVM_CAP_IMMEDIATE_EXIT is not available.”…”�”}”(hj9Zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hjâYh²hubj8)�”}”(hŒ/__u8 padding1[6]; /* out */ __u32 exit_reason;”h]”hŒ/__u8 padding1[6]; /* out */ __u32 exit_reason;”…”�”}”hjGZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M-hjâYh²hubhï)�”}”(hŒ¥When KVM_RUN has returned successfully (return value 0), this informs application code why KVM_RUN has returned. Allowable values for this field are detailed below.”h]”hŒ¥When KVM_RUN has returned successfully (return value 0), this informs application code why KVM_RUN has returned. Allowable values for this field are detailed below.”…”�”}”(hjUZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2hjâYh²hubj8)�”}”(hŒ#__u8 ready_for_interrupt_injection;”h]”hŒ#__u8 ready_for_interrupt_injection;”…”�”}”hjcZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M8hjâYh²hubhï)�”}”(hŒyIf request_interrupt_window has been specified, this field indicates an interrupt can be injected now with KVM_INTERRUPT.”h]”hŒyIf request_interrupt_window has been specified, this field indicates an interrupt can be injected now with KVM_INTERRUPT.”…”�”}”(hjqZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:hjâYh²hubj8)�”}”(hŒ __u8 if_flag;”h]”hŒ __u8 if_flag;”…”�”}”hjZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M?hjâYh²hubhï)�”}”(hŒYThe value of the current interrupt flag. Only valid if in-kernel local APIC is not used.”h]”hŒYThe value of the current interrupt flag. Only valid if in-kernel local APIC is not used.”…”�”}”(hj�Zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MAhjâYh²hubj8)�”}”(hŒ __u16 flags;”h]”hŒ __u16 flags;”…”�”}”hj›Zsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MFhjâYh²hubhï)�”}”(hŒ{More architecture-specific flags detailing state of the VCPU that may affect the device's behavior. Current defined flags::”h]”hŒ|More architecture-specific flags detailing state of the VCPU that may affect the device’s behavior. Current defined flags:”…”�”}”(hj©Zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MHhjâYh²hubj8)�”}”(hXp/* x86, set if the VCPU is in system management mode */ #define KVM_RUN_X86_SMM (1 << 0) /* x86, set if bus lock detected in VM */ #define KVM_RUN_X86_BUS_LOCK (1 << 1) /* x86, set if the VCPU is executing a nested (L2) guest */ #define KVM_RUN_X86_GUEST_MODE (1 << 2) /* arm64, set for KVM_EXIT_DEBUG */ #define KVM_DEBUG_ARCH_HSR_HIGH_VALID (1 << 0)”h]”hXp/* x86, set if the VCPU is in system management mode */ #define KVM_RUN_X86_SMM (1 << 0) /* x86, set if bus lock detected in VM */ #define KVM_RUN_X86_BUS_LOCK (1 << 1) /* x86, set if the VCPU is executing a nested (L2) guest */ #define KVM_RUN_X86_GUEST_MODE (1 << 2) /* arm64, set for KVM_EXIT_DEBUG */ #define KVM_DEBUG_ARCH_HSR_HIGH_VALID (1 << 0)”…”�”}”hj·Zsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MKhjâYh²hubj8)�”}”(hŒ5/* in (pre_kvm_run), out (post_kvm_run) */ __u64 cr8;”h]”hŒ5/* in (pre_kvm_run), out (post_kvm_run) */ __u64 cr8;”…”�”}”hjÅZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MWhjâYh²hubhï)�”}”(hŒgThe value of the cr8 register. Only valid if in-kernel local APIC is not used. Both input and output.”h]”hŒgThe value of the cr8 register. Only valid if in-kernel local APIC is not used. Both input and output.”…”�”}”(hjÓZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MZhjâYh²hubj8)�”}”(hŒ__u64 apic_base;”h]”hŒ__u64 apic_base;”…”�”}”hjáZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M_hjâYh²hubhï)�”}”(hŒhThe value of the APIC BASE msr. Only valid if in-kernel local APIC is not used. Both input and output.”h]”hŒhThe value of the APIC BASE msr. Only valid if in-kernel local APIC is not used. Both input and output.”…”�”}”(hjïZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MahjâYh²hubj8)�”}”(hŒqunion { /* KVM_EXIT_UNKNOWN */ struct { __u64 hardware_exit_reason; } hw;”h]”hŒqunion { /* KVM_EXIT_UNKNOWN */ struct { __u64 hardware_exit_reason; } hw;”…”�”}”hjýZsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MfhjâYh²hubhï)�”}”(hŒ If exit_reason is KVM_EXIT_UNKNOWN, the vcpu has exited due to unknown reasons. Further architecture-specific information is available in hardware_exit_reason.”h]”hŒ If exit_reason is KVM_EXIT_UNKNOWN, the vcpu has exited due to unknown reasons. Further architecture-specific information is available in hardware_exit_reason.”…”�”}”(hj [h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MlhjâYh²hubj8)�”}”(hŒ†/* KVM_EXIT_FAIL_ENTRY */ struct { __u64 hardware_entry_failure_reason; __u32 cpu; /* if KVM_LAST_CPU */ } fail_entry;”h]”hŒ†/* KVM_EXIT_FAIL_ENTRY */ struct { __u64 hardware_entry_failure_reason; __u32 cpu; /* if KVM_LAST_CPU */ } fail_entry;”…”�”}”hj[sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MrhjâYh²hubhï)�”}”(hŒ²If exit_reason is KVM_EXIT_FAIL_ENTRY, the vcpu could not be run due to unknown reasons. Further architecture-specific information is available in hardware_entry_failure_reason.”h]”hŒ²If exit_reason is KVM_EXIT_FAIL_ENTRY, the vcpu could not be run due to unknown reasons. Further architecture-specific information is available in hardware_entry_failure_reason.”…”�”}”(hj'[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MxhjâYh²hubj8)�”}”(hŒZ/* KVM_EXIT_EXCEPTION */ struct { __u32 exception; __u32 error_code; } ex;”h]”hŒZ/* KVM_EXIT_EXCEPTION */ struct { __u32 exception; __u32 error_code; } ex;”…”�”}”hj5[sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M~hjâYh²hubhï)�”}”(hŒUnused.”h]”hŒUnused.”…”�”}”(hjC[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M„hjâYh²hubj8)�”}”(hX_ /* KVM_EXIT_IO */ struct { #define KVM_EXIT_IO_IN 0 #define KVM_EXIT_IO_OUT 1 __u8 direction; __u8 size; /* bytes */ __u16 port; __u32 count; __u64 data_offset; /* relative to kvm_run start */ } io;”h]”hX_ /* KVM_EXIT_IO */ struct { #define KVM_EXIT_IO_IN 0 #define KVM_EXIT_IO_OUT 1 __u8 direction; __u8 size; /* bytes */ __u16 port; __u32 count; __u64 data_offset; /* relative to kvm_run start */ } io;”…”�”}”hjQ[sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MˆhjâYh²hubhï)�”}”(hXAIf exit_reason is KVM_EXIT_IO, then the vcpu has executed a port I/O instruction which could not be satisfied by kvm. data_offset describes where the data is located (KVM_EXIT_IO_OUT) or where kvm expects application code to place the data for the next KVM_RUN invocation (KVM_EXIT_IO_IN). Data format is a packed array.”h]”hXAIf exit_reason is KVM_EXIT_IO, then the vcpu has executed a port I/O instruction which could not be satisfied by kvm. data_offset describes where the data is located (KVM_EXIT_IO_OUT) or where kvm expects application code to place the data for the next KVM_RUN invocation (KVM_EXIT_IO_IN). Data format is a packed array.”…”�”}”(hj_[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“hjâYh²hubj8)�”}”(hŒO/* KVM_EXIT_DEBUG */ struct { struct kvm_debug_exit_arch arch; } debug;”h]”hŒO/* KVM_EXIT_DEBUG */ struct { struct kvm_debug_exit_arch arch; } debug;”…”�”}”hjm[sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M›hjâYh²hubhï)�”}”(hŒ†If the exit_reason is KVM_EXIT_DEBUG, then a vcpu is processing a debug event for which architecture specific information is returned.”h]”hŒ†If the exit_reason is KVM_EXIT_DEBUG, then a vcpu is processing a debug event for which architecture specific information is returned.”…”�”}”(hj{[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjâYh²hubj8)�”}”(hŒ/* KVM_EXIT_MMIO */ struct { __u64 phys_addr; __u8 data[8]; __u32 len; __u8 is_write; } mmio;”h]”hŒ/* KVM_EXIT_MMIO */ struct { __u64 phys_addr; __u8 data[8]; __u32 len; __u8 is_write; } mmio;”…”�”}”hj‰[sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M¥hjâYh²hubhï)�”}”(hŒøIf exit_reason is KVM_EXIT_MMIO, then the vcpu has executed a memory-mapped I/O instruction which could not be satisfied by kvm. The 'data' member contains the written data if 'is_write' is true, and should be filled by application code otherwise.”h]”hXIf exit_reason is KVM_EXIT_MMIO, then the vcpu has executed a memory-mapped I/O instruction which could not be satisfied by kvm. The ‘data’ member contains the written data if ‘is_write’ is true, and should be filled by application code otherwise.”…”�”}”(hj—[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M­hjâYh²hubhï)�”}”(hŒ­The 'data' member contains, in its first 'len' bytes, the value as it would appear if the VCPU performed a load or store of the appropriate width directly to the byte array.”h]”hŒµThe ‘data’ member contains, in its first ‘len’ bytes, the value as it would appear if the VCPU performed a load or store of the appropriate width directly to the byte array.”…”�”}”(hj¥[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M²hjâYh²hubj€;)�”}”(hXFor KVM_EXIT_IO, KVM_EXIT_MMIO, KVM_EXIT_OSI, KVM_EXIT_PAPR, KVM_EXIT_XEN, KVM_EXIT_EPR, KVM_EXIT_HYPERCALL, KVM_EXIT_TDX, KVM_EXIT_X86_RDMSR and KVM_EXIT_X86_WRMSR the corresponding operations are complete (and guest state is consistent) only after userspace has re-entered the kernel with KVM_RUN. The kernel side will first finish incomplete operations and then check for pending signals. The pending state of the operation is not preserved in state which is visible to userspace, thus userspace should ensure that the operation is completed before performing a live migration. Userspace can re-enter the guest with an unmasked signal pending or with the immediate_exit field set to complete pending operations without allowing any further instructions to be executed.”h]”(hï)�”}”(hXˆFor KVM_EXIT_IO, KVM_EXIT_MMIO, KVM_EXIT_OSI, KVM_EXIT_PAPR, KVM_EXIT_XEN, KVM_EXIT_EPR, KVM_EXIT_HYPERCALL, KVM_EXIT_TDX, KVM_EXIT_X86_RDMSR and KVM_EXIT_X86_WRMSR the corresponding operations are complete (and guest state is consistent) only after userspace has re-entered the kernel with KVM_RUN. The kernel side will first finish incomplete operations and then check for pending signals.”h]”hXˆFor KVM_EXIT_IO, KVM_EXIT_MMIO, KVM_EXIT_OSI, KVM_EXIT_PAPR, KVM_EXIT_XEN, KVM_EXIT_EPR, KVM_EXIT_HYPERCALL, KVM_EXIT_TDX, KVM_EXIT_X86_RDMSR and KVM_EXIT_X86_WRMSR the corresponding operations are complete (and guest state is consistent) only after userspace has re-entered the kernel with KVM_RUN. The kernel side will first finish incomplete operations and then check for pending signals.”…”�”}”(hj·[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸hj³[ubhï)�”}”(hX|The pending state of the operation is not preserved in state which is visible to userspace, thus userspace should ensure that the operation is completed before performing a live migration. Userspace can re-enter the guest with an unmasked signal pending or with the immediate_exit field set to complete pending operations without allowing any further instructions to be executed.”h]”hX|The pending state of the operation is not preserved in state which is visible to userspace, thus userspace should ensure that the operation is completed before performing a live migration. Userspace can re-enter the guest with an unmasked signal pending or with the immediate_exit field set to complete pending operations without allowing any further instructions to be executed.”…”�”}”(hjÅ[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¿hj³[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j;hjâYh²hh³hÇh´Nubj8)�”}”(hŒ/* KVM_EXIT_HYPERCALL */ struct { __u64 nr; __u64 args[6]; __u64 ret; __u64 flags; } hypercall;”h]”hŒ/* KVM_EXIT_HYPERCALL */ struct { __u64 nr; __u64 args[6]; __u64 ret; __u64 flags; } hypercall;”…”�”}”hjÙ[sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÈhjâYh²hubhï)�”}”(hŒ¼It is strongly recommended that userspace use ``KVM_EXIT_IO`` (x86) or ``KVM_EXIT_MMIO`` (all except s390) to implement functionality that requires a guest to interact with host userspace.”h]”(hŒ.It is strongly recommended that userspace use ”…”�”}”(hjç[h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_EXIT_IO``”h]”hŒ KVM_EXIT_IO”…”�”}”(hjï[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjç[ubhŒ (x86) or ”…”�”}”(hjç[h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_EXIT_MMIO``”h]”hŒ KVM_EXIT_MMIO”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjç[ubhŒd (all except s390) to implement functionality that requires a guest to interact with host userspace.”…”�”}”(hjç[h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhjâYh²hubj€;)�”}”(hŒ7KVM_EXIT_IO is significantly faster than KVM_EXIT_MMIO.”h]”hï)�”}”(hj\h]”hŒ7KVM_EXIT_IO is significantly faster than KVM_EXIT_MMIO.”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕhj\ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hjâYh²hh³hÇh´NubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ For arm64:”h]”hŒ For arm64:”…”�”}”(hj3\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj0\h²hh³hÇh´MØubhï)�”}”(hŒ§SMCCC exits can be enabled depending on the configuration of the SMCCC filter. See the Documentation/virt/kvm/devices/vm.rst ``KVM_ARM_SMCCC_FILTER`` for more details.”h]”(hŒ}SMCCC exits can be enabled depending on the configuration of the SMCCC filter. See the Documentation/virt/kvm/devices/vm.rst ”…”�”}”(hjA\h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_ARM_SMCCC_FILTER``”h]”hŒKVM_ARM_SMCCC_FILTER”…”�”}”(hjI\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjA\ubhŒ for more details.”…”�”}”(hjA\h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚhj0\h²hubhï)�”}”(hŒ«``nr`` contains the function ID of the guest's SMCCC call. Userspace is expected to use the ``KVM_GET_ONE_REG`` ioctl to retrieve the call parameters from the vCPU's GPRs.”h]”(jÈ)�”}”(hŒ``nr``”h]”hŒnr”…”�”}”(hje\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhja\ubhŒX contains the function ID of the guest’s SMCCC call. Userspace is expected to use the ”…”�”}”(hja\h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_GET_ONE_REG``”h]”hŒKVM_GET_ONE_REG”…”�”}”(hjw\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhja\ubhŒ> ioctl to retrieve the call parameters from the vCPU’s GPRs.”…”�”}”(hja\h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞhj0\h²hubj )�”}”(hhh]”j)�”}”(hX¬Definition of ``flags``: - ``KVM_HYPERCALL_EXIT_SMC``: Indicates that the guest used the SMC conduit to initiate the SMCCC call. If this bit is 0 then the guest used the HVC conduit for the SMCCC call. - ``KVM_HYPERCALL_EXIT_16BIT``: Indicates that the guest used a 16bit instruction to initiate the SMCCC call. If this bit is 0 then the guest used a 32bit instruction. An AArch64 guest always has this bit set to 0. ”h]”(j)�”}”(hŒDefinition of ``flags``:”h]”(hŒDefinition of ”…”�”}”(hj–\h²hh³Nh´NubjÈ)�”}”(hŒ ``flags``”h]”hŒflags”…”�”}”(hjž\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj–\ubhŒ:”…”�”}”(hj–\h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mêhj’\ubj%)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hŒ¯``KVM_HYPERCALL_EXIT_SMC``: Indicates that the guest used the SMC conduit to initiate the SMCCC call. If this bit is 0 then the guest used the HVC conduit for the SMCCC call. ”h]”hï)�”}”(hŒ®``KVM_HYPERCALL_EXIT_SMC``: Indicates that the guest used the SMC conduit to initiate the SMCCC call. If this bit is 0 then the guest used the HVC conduit for the SMCCC call.”h]”(jÈ)�”}”(hŒ``KVM_HYPERCALL_EXIT_SMC``”h]”hŒKVM_HYPERCALL_EXIT_SMC”…”�”}”(hjÄ\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÀ\ubhŒ”: Indicates that the guest used the SMC conduit to initiate the SMCCC call. If this bit is 0 then the guest used the HVC conduit for the SMCCC call.”…”�”}”(hjÀ\h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mãhj¼\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¹\ubj)�”}”(hŒÕ``KVM_HYPERCALL_EXIT_16BIT``: Indicates that the guest used a 16bit instruction to initiate the SMCCC call. If this bit is 0 then the guest used a 32bit instruction. An AArch64 guest always has this bit set to 0. ”h]”hï)�”}”(hŒÔ``KVM_HYPERCALL_EXIT_16BIT``: Indicates that the guest used a 16bit instruction to initiate the SMCCC call. If this bit is 0 then the guest used a 32bit instruction. An AArch64 guest always has this bit set to 0.”h]”(jÈ)�”}”(hŒ``KVM_HYPERCALL_EXIT_16BIT``”h]”hŒKVM_HYPERCALL_EXIT_16BIT”…”�”}”(hjê\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjæ\ubhŒ¸: Indicates that the guest used a 16bit instruction to initiate the SMCCC call. If this bit is 0 then the guest used a 32bit instruction. An AArch64 guest always has this bit set to 0.”…”�”}”(hjæ\h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mçhjâ\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¹\ubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mãhj¶\ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj’\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mêhj�\ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj0\h²hh³Nh´Nubhï)�”}”(hŒbAt the point of exit, PC points to the instruction immediately following the trapping instruction.”h]”hŒbAt the point of exit, PC points to the instruction immediately following the trapping instruction.”…”�”}”(hj ]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mìhj0\h²hubj8)�”}”(hŒn/* KVM_EXIT_TPR_ACCESS */ struct { __u64 rip; __u32 is_write; __u32 pad; } tpr_access;”h]”hŒn/* KVM_EXIT_TPR_ACCESS */ struct { __u64 rip; __u32 is_write; __u32 pad; } tpr_access;”…”�”}”hj.]sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mñhj0\h²hubhï)�”}”(hŒ,To be documented (KVM_TPR_ACCESS_REPORTING).”h]”hŒ,To be documented (KVM_TPR_ACCESS_REPORTING).”…”�”}”(hj<]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Møhj0\h²hubj8)�”}”(hŒ¿/* KVM_EXIT_S390_SIEIC */ struct { __u8 icptcode; __u64 mask; /* psw upper half */ __u64 addr; /* psw lower half */ __u16 ipa; __u32 ipb; } s390_sieic;”h]”hŒ¿/* KVM_EXIT_S390_SIEIC */ struct { __u8 icptcode; __u64 mask; /* psw upper half */ __u64 addr; /* psw lower half */ __u16 ipa; __u32 ipb; } s390_sieic;”…”�”}”hjJ]sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mühj0\h²hubhï)�”}”(hŒs390 specific.”h]”hŒs390 specific.”…”�”}”(hjX]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj0\h²hubj8)�”}”(hŒý /* KVM_EXIT_S390_RESET */ #define KVM_S390_RESET_POR 1 #define KVM_S390_RESET_CLEAR 2 #define KVM_S390_RESET_SUBSYSTEM 4 #define KVM_S390_RESET_CPU_INIT 8 #define KVM_S390_RESET_IPL 16 __u64 s390_reset_flags;”h]”hŒý /* KVM_EXIT_S390_RESET */ #define KVM_S390_RESET_POR 1 #define KVM_S390_RESET_CLEAR 2 #define KVM_S390_RESET_SUBSYSTEM 4 #define KVM_S390_RESET_CPU_INIT 8 #define KVM_S390_RESET_IPL 16 __u64 s390_reset_flags;”…”�”}”hjf]sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M hj0\h²hubhï)�”}”(hŒs390 specific.”h]”hŒs390 specific.”…”�”}”(hjt]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj0\h²hubj8)�”}”(hŒl/* KVM_EXIT_S390_UCONTROL */ struct { __u64 trans_exc_code; __u32 pgm_code; } s390_ucontrol;”h]”hŒl/* KVM_EXIT_S390_UCONTROL */ struct { __u64 trans_exc_code; __u32 pgm_code; } s390_ucontrol;”…”�”}”hj‚]sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mhj0\h²hubhï)�”}”(hXƒs390 specific. A page fault has occurred for a user controlled virtual machine (KVM_VM_S390_UCONTROL) on its host page table that cannot be resolved by the kernel. The program code and the translation exception code that were placed in the cpu's lowcore are presented here as defined by the z Architecture Principles of Operation Book in the Chapter for Dynamic Address Translation (DAT)”h]”hX…s390 specific. A page fault has occurred for a user controlled virtual machine (KVM_VM_S390_UCONTROL) on its host page table that cannot be resolved by the kernel. The program code and the translation exception code that were placed in the cpu’s lowcore are presented here as defined by the z Architecture Principles of Operation Book in the Chapter for Dynamic Address Translation (DAT)”…”�”}”(hj�]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj0\h²hubj8)�”}”(hŒb/* KVM_EXIT_DCR */ struct { __u32 dcrn; __u32 data; __u8 is_write; } dcr;”h]”hŒb/* KVM_EXIT_DCR */ struct { __u32 dcrn; __u32 data; __u8 is_write; } dcr;”…”�”}”hjž]sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M%hj0\h²hubhï)�”}”(hŒ"Deprecated - was used for 440 KVM.”h]”hŒ"Deprecated - was used for 440 KVM.”…”�”}”(hj¬]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,hj0\h²hubj8)�”}”(hŒ:/* KVM_EXIT_OSI */ struct { __u64 gprs[32]; } osi;”h]”hŒ:/* KVM_EXIT_OSI */ struct { __u64 gprs[32]; } osi;”…”�”}”hjº]sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M0hj0\h²hubhï)�”}”(hŒ™MOL uses a special hypercall interface it calls 'OSI'. To enable it, we catch hypercalls and exit with this exit struct that contains all the guest gprs.”h]”hŒ�MOL uses a special hypercall interface it calls ‘OSI’. To enable it, we catch hypercalls and exit with this exit struct that contains all the guest gprs.”…”�”}”(hjÈ]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hj0\h²hubhï)�”}”(hŒùIf exit_reason is KVM_EXIT_OSI, then the vcpu has triggered such a hypercall. Userspace can now handle the hypercall and when it's done modify the gprs as necessary. Upon guest entry all guest GPRs will then be replaced by the values in this struct.”h]”hŒûIf exit_reason is KVM_EXIT_OSI, then the vcpu has triggered such a hypercall. Userspace can now handle the hypercall and when it’s done modify the gprs as necessary. Upon guest entry all guest GPRs will then be replaced by the values in this struct.”…”�”}”(hjÖ]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M8hj0\h²hubj8)�”}”(hŒl/* KVM_EXIT_PAPR_HCALL */ struct { __u64 nr; __u64 ret; __u64 args[9]; } papr_hcall;”h]”hŒl/* KVM_EXIT_PAPR_HCALL */ struct { __u64 nr; __u64 ret; __u64 args[9]; } papr_hcall;”…”�”}”hjä]sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M?hj0\h²hubhï)�”}”(hXGThis is used on 64-bit PowerPC when emulating a pSeries partition, e.g. with the 'pseries' machine type in qemu. It occurs when the guest does a hypercall using the 'sc 1' instruction. The 'nr' field contains the hypercall number (from the guest R3), and 'args' contains the arguments (from the guest R4 - R12). Userspace should put the return code in 'ret' and any extra returned values in args[]. The possible hypercalls are defined in the Power Architecture Platform Requirements (PAPR) document available from www.power.org (free developer registration required to access it).”h]”hX[This is used on 64-bit PowerPC when emulating a pSeries partition, e.g. with the ‘pseries’ machine type in qemu. It occurs when the guest does a hypercall using the ‘sc 1’ instruction. The ‘nr’ field contains the hypercall number (from the guest R3), and ‘args’ contains the arguments (from the guest R4 - R12). Userspace should put the return code in ‘ret’ and any extra returned values in args[]. The possible hypercalls are defined in the Power Architecture Platform Requirements (PAPR) document available from www.power.org (free developer registration required to access it).”…”�”}”(hjò]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhj0\h²hubj8)�”}”(hŒÈ/* KVM_EXIT_S390_TSCH */ struct { __u16 subchannel_id; __u16 subchannel_nr; __u32 io_int_parm; __u32 io_int_word; __u32 ipb; __u8 dequeued; } s390_tsch;”h]”hŒÈ/* KVM_EXIT_S390_TSCH */ struct { __u16 subchannel_id; __u16 subchannel_nr; __u32 io_int_parm; __u32 io_int_word; __u32 ipb; __u8 dequeued; } s390_tsch;”…”�”}”hj^sba•h}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MRhj0\h²hubhï)�”}”(hXfs390 specific. This exit occurs when KVM_CAP_S390_CSS_SUPPORT has been enabled and TEST SUBCHANNEL was intercepted. If dequeued is set, a pending I/O interrupt for the target subchannel has been dequeued and subchannel_id, subchannel_nr, io_int_parm and io_int_word contain the parameters for that interrupt. ipb is needed for instruction parameter decoding.”h]”hXfs390 specific. This exit occurs when KVM_CAP_S390_CSS_SUPPORT has been enabled and TEST SUBCHANNEL was intercepted. If dequeued is set, a pending I/O interrupt for the target subchannel has been dequeued and subchannel_id, subchannel_nr, io_int_parm and io_int_word contain the parameters for that interrupt. ipb is needed for instruction parameter decoding.”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\hj0\h²hubj8)�”}”(hŒ5/* KVM_EXIT_EPR */ struct { __u32 epr; } epr;”h]”hŒ5/* KVM_EXIT_EPR */ struct { __u32 epr; } epr;”…”�”}”hj^sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mdhj0\h²hubhï)�”}”(hX,On FSL BookE PowerPC chips, the interrupt controller has a fast patch interrupt acknowledge path to the core. When the core successfully delivers an interrupt, it automatically populates the EPR register with the interrupt vector number and acknowledges the interrupt inside the interrupt controller.”h]”hX,On FSL BookE PowerPC chips, the interrupt controller has a fast patch interrupt acknowledge path to the core. When the core successfully delivers an interrupt, it automatically populates the EPR register with the interrupt vector number and acknowledges the interrupt inside the interrupt controller.”…”�”}”(hj*^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mihj0\h²hubhï)�”}”(hŒ²In case the interrupt controller lives in user space, we need to do the interrupt acknowledge cycle through it to fetch the next to be delivered interrupt vector using this exit.”h]”hŒ²In case the interrupt controller lives in user space, we need to do the interrupt acknowledge cycle through it to fetch the next to be delivered interrupt vector using this exit.”…”�”}”(hj8^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mohj0\h²hubhï)�”}”(hŒËIt gets triggered whenever both KVM_CAP_PPC_EPR are enabled and an external interrupt has just been delivered into the guest. User space should put the acknowledged interrupt vector into the 'epr' field.”h]”hŒÏIt gets triggered whenever both KVM_CAP_PPC_EPR are enabled and an external interrupt has just been delivered into the guest. User space should put the acknowledged interrupt vector into the ‘epr’ field.”…”�”}”(hjF^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mshj0\h²hubj8)�”}”(hXï /* KVM_EXIT_SYSTEM_EVENT */ struct { #define KVM_SYSTEM_EVENT_SHUTDOWN 1 #define KVM_SYSTEM_EVENT_RESET 2 #define KVM_SYSTEM_EVENT_CRASH 3 #define KVM_SYSTEM_EVENT_WAKEUP 4 #define KVM_SYSTEM_EVENT_SUSPEND 5 #define KVM_SYSTEM_EVENT_SEV_TERM 6 #define KVM_SYSTEM_EVENT_TDX_FATAL 7 __u32 type; __u32 ndata; __u64 data[16]; } system_event;”h]”hXï /* KVM_EXIT_SYSTEM_EVENT */ struct { #define KVM_SYSTEM_EVENT_SHUTDOWN 1 #define KVM_SYSTEM_EVENT_RESET 2 #define KVM_SYSTEM_EVENT_CRASH 3 #define KVM_SYSTEM_EVENT_WAKEUP 4 #define KVM_SYSTEM_EVENT_SUSPEND 5 #define KVM_SYSTEM_EVENT_SEV_TERM 6 #define KVM_SYSTEM_EVENT_TDX_FATAL 7 __u32 type; __u32 ndata; __u64 data[16]; } system_event;”…”�”}”hjT^sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Myhj0\h²hubhï)�”}”(hXIf exit_reason is KVM_EXIT_SYSTEM_EVENT then the vcpu has triggered a system-level event using some architecture specific mechanism (hypercall or some special instruction). In case of ARM64, this is triggered using HVC instruction based PSCI call from the vcpu.”h]”hXIf exit_reason is KVM_EXIT_SYSTEM_EVENT then the vcpu has triggered a system-level event using some architecture specific mechanism (hypercall or some special instruction). In case of ARM64, this is triggered using HVC instruction based PSCI call from the vcpu.”…”�”}”(hjb^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‡hj0\h²hubhï)�”}”(hŒTThe 'type' field describes the system-level event type. Valid values for 'type' are:”h]”hŒ\The ‘type’ field describes the system-level event type. Valid values for ‘type’ are:”…”�”}”(hjp^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒhj0\h²hubj )�”}”(hX±- KVM_SYSTEM_EVENT_SHUTDOWN -- the guest has requested a shutdown of the VM. Userspace is not obliged to honour this, and if it does honour this does not need to destroy the VM synchronously (ie it may call KVM_RUN again before shutdown finally occurs). - KVM_SYSTEM_EVENT_RESET -- the guest has requested a reset of the VM. As with SHUTDOWN, userspace can choose to ignore the request, or to schedule the reset to occur in the future and may call KVM_RUN again. - KVM_SYSTEM_EVENT_CRASH -- the guest crash occurred and the guest has requested a crash condition maintenance. Userspace can choose to ignore the request, or to gather VM memory core dump and/or reset/shutdown of the VM. - KVM_SYSTEM_EVENT_SEV_TERM -- an AMD SEV guest requested termination. The guest physical address of the guest's GHCB is stored in `data[0]`. - KVM_SYSTEM_EVENT_TDX_FATAL -- a TDX guest reported a fatal error state. KVM doesn't do any parsing or conversion, it just dumps 16 general-purpose registers to userspace, in ascending order of the 4-bit indices for x86-64 general-purpose registers in instruction encoding, as defined in the Intel SDM. - KVM_SYSTEM_EVENT_WAKEUP -- the exiting vCPU is in a suspended state and KVM has recognized a wakeup event. Userspace may honor this event by marking the exiting vCPU as runnable, or deny it and call KVM_RUN again. - KVM_SYSTEM_EVENT_SUSPEND -- the guest has requested a suspension of the VM. ”h]”j)�”}”(hhh]”(j)�”}”(hŒûKVM_SYSTEM_EVENT_SHUTDOWN -- the guest has requested a shutdown of the VM. Userspace is not obliged to honour this, and if it does honour this does not need to destroy the VM synchronously (ie it may call KVM_RUN again before shutdown finally occurs).”h]”hï)�”}”(hŒûKVM_SYSTEM_EVENT_SHUTDOWN -- the guest has requested a shutdown of the VM. Userspace is not obliged to honour this, and if it does honour this does not need to destroy the VM synchronously (ie it may call KVM_RUN again before shutdown finally occurs).”h]”hŒûKVM_SYSTEM_EVENT_SHUTDOWN -- the guest has requested a shutdown of the VM. Userspace is not obliged to honour this, and if it does honour this does not need to destroy the VM synchronously (ie it may call KVM_RUN again before shutdown finally occurs).”…”�”}”(hj‰^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj…^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‚^ubj)�”}”(hŒÎKVM_SYSTEM_EVENT_RESET -- the guest has requested a reset of the VM. As with SHUTDOWN, userspace can choose to ignore the request, or to schedule the reset to occur in the future and may call KVM_RUN again.”h]”hï)�”}”(hŒÎKVM_SYSTEM_EVENT_RESET -- the guest has requested a reset of the VM. As with SHUTDOWN, userspace can choose to ignore the request, or to schedule the reset to occur in the future and may call KVM_RUN again.”h]”hŒÎKVM_SYSTEM_EVENT_RESET -- the guest has requested a reset of the VM. As with SHUTDOWN, userspace can choose to ignore the request, or to schedule the reset to occur in the future and may call KVM_RUN again.”…”�”}”(hj¡^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“hj�^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‚^ubj)�”}”(hŒÛKVM_SYSTEM_EVENT_CRASH -- the guest crash occurred and the guest has requested a crash condition maintenance. Userspace can choose to ignore the request, or to gather VM memory core dump and/or reset/shutdown of the VM.”h]”hï)�”}”(hŒÛKVM_SYSTEM_EVENT_CRASH -- the guest crash occurred and the guest has requested a crash condition maintenance. Userspace can choose to ignore the request, or to gather VM memory core dump and/or reset/shutdown of the VM.”h]”hŒÛKVM_SYSTEM_EVENT_CRASH -- the guest crash occurred and the guest has requested a crash condition maintenance. Userspace can choose to ignore the request, or to gather VM memory core dump and/or reset/shutdown of the VM.”…”�”}”(hj¹^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M–hjµ^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‚^ubj)�”}”(hŒ‹KVM_SYSTEM_EVENT_SEV_TERM -- an AMD SEV guest requested termination. The guest physical address of the guest's GHCB is stored in `data[0]`.”h]”hï)�”}”(hŒ‹KVM_SYSTEM_EVENT_SEV_TERM -- an AMD SEV guest requested termination. The guest physical address of the guest's GHCB is stored in `data[0]`.”h]”(hŒƒKVM_SYSTEM_EVENT_SEV_TERM -- an AMD SEV guest requested termination. The guest physical address of the guest’s GHCB is stored in ”…”�”}”(hjÑ^h²hh³Nh´NubjÀ,)�”}”(hŒ `data[0]`”h]”hŒdata[0]”…”�”}”(hjÙ^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjÑ^ubhŒ.”…”�”}”(hjÑ^h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MšhjÍ^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‚^ubj)�”}”(hX-KVM_SYSTEM_EVENT_TDX_FATAL -- a TDX guest reported a fatal error state. KVM doesn't do any parsing or conversion, it just dumps 16 general-purpose registers to userspace, in ascending order of the 4-bit indices for x86-64 general-purpose registers in instruction encoding, as defined in the Intel SDM.”h]”hï)�”}”(hX-KVM_SYSTEM_EVENT_TDX_FATAL -- a TDX guest reported a fatal error state. KVM doesn't do any parsing or conversion, it just dumps 16 general-purpose registers to userspace, in ascending order of the 4-bit indices for x86-64 general-purpose registers in instruction encoding, as defined in the Intel SDM.”h]”hX/KVM_SYSTEM_EVENT_TDX_FATAL -- a TDX guest reported a fatal error state. KVM doesn’t do any parsing or conversion, it just dumps 16 general-purpose registers to userspace, in ascending order of the 4-bit indices for x86-64 general-purpose registers in instruction encoding, as defined in the Intel SDM.”…”�”}”(hjû^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mœhj÷^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‚^ubj)�”}”(hŒÕKVM_SYSTEM_EVENT_WAKEUP -- the exiting vCPU is in a suspended state and KVM has recognized a wakeup event. Userspace may honor this event by marking the exiting vCPU as runnable, or deny it and call KVM_RUN again.”h]”hï)�”}”(hŒÕKVM_SYSTEM_EVENT_WAKEUP -- the exiting vCPU is in a suspended state and KVM has recognized a wakeup event. Userspace may honor this event by marking the exiting vCPU as runnable, or deny it and call KVM_RUN again.”h]”hŒÕKVM_SYSTEM_EVENT_WAKEUP -- the exiting vCPU is in a suspended state and KVM has recognized a wakeup event. Userspace may honor this event by marking the exiting vCPU as runnable, or deny it and call KVM_RUN again.”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‚^ubj)�”}”(hŒLKVM_SYSTEM_EVENT_SUSPEND -- the guest has requested a suspension of the VM. ”h]”hï)�”}”(hŒKKVM_SYSTEM_EVENT_SUSPEND -- the guest has requested a suspension of the VM.”h]”hŒKKVM_SYSTEM_EVENT_SUSPEND -- the guest has requested a suspension of the VM.”…”�”}”(hj+_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¤hj'_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‚^ubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M�hj~^ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M�hj0\h²hubhï)�”}”(hŒÎIf KVM_CAP_SYSTEM_EVENT_DATA is present, the 'data' field can contain architecture specific information for the system-level event. Only the first `ndata` items (possibly zero) of the data array are valid.”h]”(hŒ˜If KVM_CAP_SYSTEM_EVENT_DATA is present, the ‘data’ field can contain architecture specific information for the system-level event. Only the first ”…”�”}”(hjK_h²hh³Nh´NubjÀ,)�”}”(hŒ`ndata`”h]”hŒndata”…”�”}”(hjS_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjK_ubhŒ3 items (possibly zero) of the data array are valid.”…”�”}”(hjK_h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M§hj0\h²hubj )�”}”(hX¨- for arm64, data[0] is set to KVM_SYSTEM_EVENT_RESET_FLAG_PSCI_RESET2 if the guest issued a SYSTEM_RESET2 call according to v1.1 of the PSCI specification. - for arm64, data[0] is set to KVM_SYSTEM_EVENT_SHUTDOWN_FLAG_PSCI_OFF2 if the guest issued a SYSTEM_OFF2 call according to v1.3 of the PSCI specification. - for RISC-V, data[0] is set to the value of the second argument of the ``sbi_system_reset`` call. ”h]”j)�”}”(hhh]”(j)�”}”(hŒ›for arm64, data[0] is set to KVM_SYSTEM_EVENT_RESET_FLAG_PSCI_RESET2 if the guest issued a SYSTEM_RESET2 call according to v1.1 of the PSCI specification. ”h]”hï)�”}”(hŒšfor arm64, data[0] is set to KVM_SYSTEM_EVENT_RESET_FLAG_PSCI_RESET2 if the guest issued a SYSTEM_RESET2 call according to v1.1 of the PSCI specification.”h]”hŒšfor arm64, data[0] is set to KVM_SYSTEM_EVENT_RESET_FLAG_PSCI_RESET2 if the guest issued a SYSTEM_RESET2 call according to v1.1 of the PSCI specification.”…”�”}”(hjv_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M«hjr_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjo_ubj)�”}”(hŒšfor arm64, data[0] is set to KVM_SYSTEM_EVENT_SHUTDOWN_FLAG_PSCI_OFF2 if the guest issued a SYSTEM_OFF2 call according to v1.3 of the PSCI specification. ”h]”hï)�”}”(hŒ™for arm64, data[0] is set to KVM_SYSTEM_EVENT_SHUTDOWN_FLAG_PSCI_OFF2 if the guest issued a SYSTEM_OFF2 call according to v1.3 of the PSCI specification.”h]”hŒ™for arm64, data[0] is set to KVM_SYSTEM_EVENT_SHUTDOWN_FLAG_PSCI_OFF2 if the guest issued a SYSTEM_OFF2 call according to v1.3 of the PSCI specification.”…”�”}”(hjŽ_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯hjŠ_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjo_ubj)�”}”(hŒafor RISC-V, data[0] is set to the value of the second argument of the ``sbi_system_reset`` call. ”h]”hï)�”}”(hŒ`for RISC-V, data[0] is set to the value of the second argument of the ``sbi_system_reset`` call.”h]”(hŒFfor RISC-V, data[0] is set to the value of the second argument of the ”…”�”}”(hj¦_h²hh³Nh´NubjÈ)�”}”(hŒ``sbi_system_reset``”h]”hŒsbi_system_reset”…”�”}”(hj®_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¦_ubhŒ call.”…”�”}”(hj¦_h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³hj¢_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjo_ubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M«hjk_ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M«hj0\h²hubhï)�”}”(hŒµPrevious versions of Linux defined a `flags` member in this struct. The field is now aliased to `data[0]`. Userspace can assume that it is only written if ndata is greater than 0.”h]”(hŒ%Previous versions of Linux defined a ”…”�”}”(hjØ_h²hh³Nh´NubjÀ,)�”}”(hŒ`flags`”h]”hŒflags”…”�”}”(hjà_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjØ_ubhŒ5 member in this struct. The field is now aliased to ”…”�”}”(hjØ_h²hh³Nh´NubjÀ,)�”}”(hŒ `data[0]`”h]”hŒdata[0]”…”�”}”(hjò_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hjØ_ubhŒK. Userspace can assume that it is only written if ndata is greater than 0.”…”�”}”(hjØ_h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶hj0\h²hubeh}”(h]”Œid21”ah ]”h"]”h$]”j$@ah&]”uh1hÈhjâYh²hh³hÇh´MØj»KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒFor arm/arm64:”h]”hŒFor arm/arm64:”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj`h²hh³hÇh´M»ubhï)�”}”(hŒÃKVM_SYSTEM_EVENT_SUSPEND exits are enabled with the KVM_CAP_ARM_SYSTEM_SUSPEND VM capability. If a guest invokes the PSCI SYSTEM_SUSPEND function, KVM will exit to userspace with this event type.”h]”hŒÃKVM_SYSTEM_EVENT_SUSPEND exits are enabled with the KVM_CAP_ARM_SYSTEM_SUSPEND VM capability. If a guest invokes the PSCI SYSTEM_SUSPEND function, KVM will exit to userspace with this event type.”…”�”}”(hj"`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½hj`h²hubhï)�”}”(hX It is the sole responsibility of userspace to implement the PSCI SYSTEM_SUSPEND call according to ARM DEN0022D.b 5.19 "SYSTEM_SUSPEND". KVM does not change the vCPU's state before exiting to userspace, so the call parameters are left in-place in the vCPU registers.”h]”hXIt is the sole responsibility of userspace to implement the PSCI SYSTEM_SUSPEND call according to ARM DEN0022D.b 5.19 “SYSTEM_SUSPENDâ€�. KVM does not change the vCPU’s state before exiting to userspace, so the call parameters are left in-place in the vCPU registers.”…”�”}”(hj0`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÂhj`h²hubhï)�”}”(hŒHUserspace is _required_ to take action for such an exit. It must either:”h]”hŒHUserspace is _required_ to take action for such an exit. It must either:”…”�”}”(hj>`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇhj`h²hubj )�”}”(hX- Honor the guest request to suspend the VM. Userspace can request in-kernel emulation of suspension by setting the calling vCPU's state to KVM_MP_STATE_SUSPENDED. Userspace must configure the vCPU's state according to the parameters passed to the PSCI function when the calling vCPU is resumed. See ARM DEN0022D.b 5.19.1 "Intended use" for details on the function parameters. - Deny the guest request to suspend the VM. See ARM DEN0022D.b 5.19.2 "Caller responsibilities" for possible return values. ”h]”j)�”}”(hhh]”(j)�”}”(hXwHonor the guest request to suspend the VM. Userspace can request in-kernel emulation of suspension by setting the calling vCPU's state to KVM_MP_STATE_SUSPENDED. Userspace must configure the vCPU's state according to the parameters passed to the PSCI function when the calling vCPU is resumed. See ARM DEN0022D.b 5.19.1 "Intended use" for details on the function parameters. ”h]”hï)�”}”(hXvHonor the guest request to suspend the VM. Userspace can request in-kernel emulation of suspension by setting the calling vCPU's state to KVM_MP_STATE_SUSPENDED. Userspace must configure the vCPU's state according to the parameters passed to the PSCI function when the calling vCPU is resumed. See ARM DEN0022D.b 5.19.1 "Intended use" for details on the function parameters.”h]”hX~Honor the guest request to suspend the VM. Userspace can request in-kernel emulation of suspension by setting the calling vCPU’s state to KVM_MP_STATE_SUSPENDED. Userspace must configure the vCPU’s state according to the parameters passed to the PSCI function when the calling vCPU is resumed. See ARM DEN0022D.b 5.19.1 “Intended useâ€� for details on the function parameters.”…”�”}”(hjW`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊhjS`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjP`ubj)�”}”(hŒzDeny the guest request to suspend the VM. See ARM DEN0022D.b 5.19.2 "Caller responsibilities" for possible return values. ”h]”hï)�”}”(hŒyDeny the guest request to suspend the VM. See ARM DEN0022D.b 5.19.2 "Caller responsibilities" for possible return values.”h]”hŒ}Deny the guest request to suspend the VM. See ARM DEN0022D.b 5.19.2 “Caller responsibilitiesâ€� for possible return values.”…”�”}”(hjo`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÑhjk`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjP`ubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MÊhjL`ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MÊhj`h²hubhï)�”}”(hX_Hibernation using the PSCI SYSTEM_OFF2 call is enabled when PSCI v1.3 is enabled. If a guest invokes the PSCI SYSTEM_OFF2 function, KVM will exit to userspace with the KVM_SYSTEM_EVENT_SHUTDOWN event type and with data[0] set to KVM_SYSTEM_EVENT_SHUTDOWN_FLAG_PSCI_OFF2. The only supported hibernate type for the SYSTEM_OFF2 function is HIBERNATE_OFF.”h]”hX_Hibernation using the PSCI SYSTEM_OFF2 call is enabled when PSCI v1.3 is enabled. If a guest invokes the PSCI SYSTEM_OFF2 function, KVM will exit to userspace with the KVM_SYSTEM_EVENT_SHUTDOWN event type and with data[0] set to KVM_SYSTEM_EVENT_SHUTDOWN_FLAG_PSCI_OFF2. The only supported hibernate type for the SYSTEM_OFF2 function is HIBERNATE_OFF.”…”�”}”(hj�`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÔhj`h²hubj8)�”}”(hŒ>/* KVM_EXIT_IOAPIC_EOI */ struct { __u8 vector; } eoi;”h]”hŒ>/* KVM_EXIT_IOAPIC_EOI */ struct { __u8 vector; } eoi;”…”�”}”hj�`sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÜhj`h²hubhï)�”}”(hX{Indicates that the VCPU's in-kernel local APIC received an EOI for a level-triggered IOAPIC interrupt. This exit only triggers when the IOAPIC is implemented in userspace (i.e. KVM_CAP_SPLIT_IRQCHIP is enabled); the userspace IOAPIC should process the EOI and retrigger the interrupt if it is still asserted. Vector is the LAPIC interrupt vector for which the EOI was received.”h]”hX}Indicates that the VCPU’s in-kernel local APIC received an EOI for a level-triggered IOAPIC interrupt. This exit only triggers when the IOAPIC is implemented in userspace (i.e. KVM_CAP_SPLIT_IRQCHIP is enabled); the userspace IOAPIC should process the EOI and retrigger the interrupt if it is still asserted. Vector is the LAPIC interrupt vector for which the EOI was received.”…”�”}”(hj«`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Máhj`h²hubj8)�”}”(hX� struct kvm_hyperv_exit { #define KVM_EXIT_HYPERV_SYNIC 1 #define KVM_EXIT_HYPERV_HCALL 2 #define KVM_EXIT_HYPERV_SYNDBG 3 __u32 type; __u32 pad1; union { struct { __u32 msr; __u32 pad2; __u64 control; __u64 evt_page; __u64 msg_page; } synic; struct { __u64 input; __u64 result; __u64 params[2]; } hcall; struct { __u32 msr; __u32 pad2; __u64 control; __u64 status; __u64 send_page; __u64 recv_page; __u64 pending_page; } syndbg; } u; }; /* KVM_EXIT_HYPERV */ struct kvm_hyperv_exit hyperv;”h]”hX� struct kvm_hyperv_exit { #define KVM_EXIT_HYPERV_SYNIC 1 #define KVM_EXIT_HYPERV_HCALL 2 #define KVM_EXIT_HYPERV_SYNDBG 3 __u32 type; __u32 pad1; union { struct { __u32 msr; __u32 pad2; __u64 control; __u64 evt_page; __u64 msg_page; } synic; struct { __u64 input; __u64 result; __u64 params[2]; } hcall; struct { __u32 msr; __u32 pad2; __u64 control; __u64 status; __u64 send_page; __u64 recv_page; __u64 pending_page; } syndbg; } u; }; /* KVM_EXIT_HYPERV */ struct kvm_hyperv_exit hyperv;”…”�”}”hj¹`sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mêhj`h²hubhï)�”}”(hŒ`Indicates that the VCPU exits into userspace to process some tasks related to Hyper-V emulation.”h]”hŒ`Indicates that the VCPU exits into userspace to process some tasks related to Hyper-V emulation.”…”�”}”(hjÇ`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj`h²hubhï)�”}”(hŒValid values for 'type' are:”h]”hŒ Valid values for ‘type’ are:”…”�”}”(hjÕ`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj`h²hubj )�”}”(hŒA- KVM_EXIT_HYPERV_SYNIC -- synchronously notify user-space about ”h]”j)�”}”(hhh]”j)�”}”(hŒ?KVM_EXIT_HYPERV_SYNIC -- synchronously notify user-space about ”h]”hï)�”}”(hŒ>KVM_EXIT_HYPERV_SYNIC -- synchronously notify user-space about”h]”hŒ>KVM_EXIT_HYPERV_SYNIC -- synchronously notify user-space about”…”�”}”(hjî`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjê`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjç`ubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mhjã`ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhj`h²hubhï)�”}”(hŒ˜Hyper-V SynIC state change. Notification is used to remap SynIC event/message pages and to enable/disable SynIC messages/events processing in userspace.”h]”hŒ˜Hyper-V SynIC state change. Notification is used to remap SynIC event/message pages and to enable/disable SynIC messages/events processing in userspace.”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj`h²hubj )�”}”(hŒB- KVM_EXIT_HYPERV_SYNDBG -- synchronously notify user-space about ”h]”j)�”}”(hhh]”j)�”}”(hŒ@KVM_EXIT_HYPERV_SYNDBG -- synchronously notify user-space about ”h]”hï)�”}”(hŒ?KVM_EXIT_HYPERV_SYNDBG -- synchronously notify user-space about”h]”hŒ?KVM_EXIT_HYPERV_SYNDBG -- synchronously notify user-space about”…”�”}”(hj'ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj#aubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj aubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mhjaubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhj`h²hubhï)�”}”(hŒËHyper-V Synthetic debugger state change. Notification is used to either update the pending_page location or to send a control command (send the buffer located in send_page or recv a buffer to recv_page).”h]”hŒËHyper-V Synthetic debugger state change. Notification is used to either update the pending_page location or to send a control command (send the buffer located in send_page or recv a buffer to recv_page).”…”�”}”(hjGah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj`h²hubj8)�”}”(hŒs/* KVM_EXIT_ARM_NISV / KVM_EXIT_ARM_LDST64B */ struct { __u64 esr_iss; __u64 fault_ipa; } arm_nisv;”h]”hŒs/* KVM_EXIT_ARM_NISV / KVM_EXIT_ARM_LDST64B */ struct { __u64 esr_iss; __u64 fault_ipa; } arm_nisv;”…”�”}”hjUasbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mhj`h²hubj)�”}”(hhh]”j)�”}”(hŒKVM_EXIT_ARM_NISV: ”h]”hï)�”}”(hŒKVM_EXIT_ARM_NISV:”h]”hŒKVM_EXIT_ARM_NISV:”…”�”}”(hjjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hjfaubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjcah²hh³hÇh´Nubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M$hj`h²hubhï)�”}”(hXrUsed on arm64 systems. If a guest accesses memory not in a memslot, KVM will typically return to userspace and ask it to do MMIO emulation on its behalf. However, for certain classes of instructions, no instruction decode (direction, length of memory access) is provided, and fetching and decoding the instruction from the VM is overly complicated to live in the kernel.”h]”hXrUsed on arm64 systems. If a guest accesses memory not in a memslot, KVM will typically return to userspace and ask it to do MMIO emulation on its behalf. However, for certain classes of instructions, no instruction decode (direction, length of memory access) is provided, and fetching and decoding the instruction from the VM is overly complicated to live in the kernel.”…”�”}”(hj„ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&hj`h²hubhï)�”}”(hXìHistorically, when this situation occurred, KVM would print a warning and kill the VM. KVM assumed that if the guest accessed non-memslot memory, it was trying to do I/O, which just couldn't be emulated, and the warning message was phrased accordingly. However, what happened more often was that a guest bug caused access outside the guest memory areas which should lead to a more meaningful warning message and an external abort in the guest, if the access did not fall within an I/O window.”h]”hXîHistorically, when this situation occurred, KVM would print a warning and kill the VM. KVM assumed that if the guest accessed non-memslot memory, it was trying to do I/O, which just couldn’t be emulated, and the warning message was phrased accordingly. However, what happened more often was that a guest bug caused access outside the guest memory areas which should lead to a more meaningful warning message and an external abort in the guest, if the access did not fall within an I/O window.”…”�”}”(hj’ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,hj`h²hubhï)�”}”(hXUserspace implementations can query for KVM_CAP_ARM_NISV_TO_USER, and enable this capability at VM creation. Once this is done, these types of errors will instead return to userspace with KVM_EXIT_ARM_NISV, with the valid bits from the ESR_EL2 in the esr_iss field, and the faulting IPA in the fault_ipa field. Userspace can either fix up the access if it's actually an I/O access by decoding the instruction from guest memory (if it's very brave) and continue executing the guest, or it can decide to suspend, dump, or restart the guest.”h]”hXUserspace implementations can query for KVM_CAP_ARM_NISV_TO_USER, and enable this capability at VM creation. Once this is done, these types of errors will instead return to userspace with KVM_EXIT_ARM_NISV, with the valid bits from the ESR_EL2 in the esr_iss field, and the faulting IPA in the fault_ipa field. Userspace can either fix up the access if it’s actually an I/O access by decoding the instruction from guest memory (if it’s very brave) and continue executing the guest, or it can decide to suspend, dump, or restart the guest.”…”�”}”(hj ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4hj`h²hubhï)�”}”(hŒÇNote that KVM does not skip the faulting instruction as it does for KVM_EXIT_MMIO, but userspace has to emulate any change to the processing state if it decides to decode and emulate the instruction.”h]”hŒÇNote that KVM does not skip the faulting instruction as it does for KVM_EXIT_MMIO, but userspace has to emulate any change to the processing state if it decides to decode and emulate the instruction.”…”�”}”(hj®ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hj`h²hubhï)�”}”(hX„This feature isn't available to protected VMs, as userspace does not have access to the state that is required to perform the emulation. Instead, a data abort exception is directly injected in the guest. Note that although KVM_CAP_ARM_NISV_TO_USER will be reported if queried outside of a protected VM context, the feature will not be exposed if queried on a protected VM file descriptor.”h]”hX†This feature isn’t available to protected VMs, as userspace does not have access to the state that is required to perform the emulation. Instead, a data abort exception is directly injected in the guest. Note that although KVM_CAP_ARM_NISV_TO_USER will be reported if queried outside of a protected VM context, the feature will not be exposed if queried on a protected VM file descriptor.”…”�”}”(hj¼ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@hj`h²hubj)�”}”(hhh]”j)�”}”(hŒKVM_EXIT_ARM_LDST64B: ”h]”hï)�”}”(hŒKVM_EXIT_ARM_LDST64B:”h]”hŒKVM_EXIT_ARM_LDST64B:”…”�”}”(hjÑah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MGhjÍaubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊah²hh³hÇh´Nubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MGhj`h²hubhï)�”}”(hŒôUsed on arm64 systems. When a guest using a LD64B, ST64B, ST64BV, ST64BV0, outside of a memslot, KVM will return to userspace with KVM_EXIT_ARM_LDST64B, exposing the relevant ESR_EL2 information and faulting IPA, similarly to KVM_EXIT_ARM_NISV.”h]”hŒôUsed on arm64 systems. When a guest using a LD64B, ST64B, ST64BV, ST64BV0, outside of a memslot, KVM will return to userspace with KVM_EXIT_ARM_LDST64B, exposing the relevant ESR_EL2 information and faulting IPA, similarly to KVM_EXIT_ARM_NISV.”…”�”}”(hjëah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MIhj`h²hubhï)�”}”(hŒHUserspace is supposed to fully emulate the instructions, which includes:”h]”hŒHUserspace is supposed to fully emulate the instructions, which includes:”…”�”}”(hjùah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhj`h²hubj )�”}”(hX�- fetch of the operands for a store, including ACCDATA_EL1 in the case of a ST64BV0 instruction - deal with the endianness if the guest is big-endian - emulate the access, including the delivery of an exception if the access didn't succeed - provide a return value in the case of ST64BV/ST64BV0 - return the data in the case of a load - increment PC if the instruction was successfully executed ”h]”j)�”}”(hhh]”(j)�”}”(hŒ]fetch of the operands for a store, including ACCDATA_EL1 in the case of a ST64BV0 instruction”h]”hï)�”}”(hŒ]fetch of the operands for a store, including ACCDATA_EL1 in the case of a ST64BV0 instruction”h]”hŒ]fetch of the operands for a store, including ACCDATA_EL1 in the case of a ST64BV0 instruction”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MPhjbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj bubj)�”}”(hŒ3deal with the endianness if the guest is big-endian”h]”hï)�”}”(hj(bh]”hŒ3deal with the endianness if the guest is big-endian”…”�”}”(hj*bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MRhj&bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj bubj)�”}”(hŒWemulate the access, including the delivery of an exception if the access didn't succeed”h]”hï)�”}”(hŒWemulate the access, including the delivery of an exception if the access didn't succeed”h]”hŒYemulate the access, including the delivery of an exception if the access didn’t succeed”…”�”}”(hjAbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MShj=bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj bubj)�”}”(hŒ4provide a return value in the case of ST64BV/ST64BV0”h]”hï)�”}”(hjWbh]”hŒ4provide a return value in the case of ST64BV/ST64BV0”…”�”}”(hjYbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MUhjUbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj bubj)�”}”(hŒ%return the data in the case of a load”h]”hï)�”}”(hjnbh]”hŒ%return the data in the case of a load”…”�”}”(hjpbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MVhjlbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj bubj)�”}”(hŒ:increment PC if the instruction was successfully executed ”h]”hï)�”}”(hŒ9increment PC if the instruction was successfully executed”h]”hŒ9increment PC if the instruction was successfully executed”…”�”}”(hj‡bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MWhjƒbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj bubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MPhjbubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MPhj`h²hubhï)�”}”(hXNote that there is no expectation of performance for this emulation, as it involves a large number of interaction with the guest state. It is, however, expected that the instruction's semantics are preserved, specially the single-copy atomicity property of the 64 byte access.”h]”hXNote that there is no expectation of performance for this emulation, as it involves a large number of interaction with the guest state. It is, however, expected that the instruction’s semantics are preserved, specially the single-copy atomicity property of the 64 byte access.”…”�”}”(hj§bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MYhj`h²hubhï)�”}”(hŒ„This exit reason must be handled if userspace sets ID_AA64ISAR1_EL1.LS64 to a non-zero value, indicating that FEAT_LS64* is enabled.”h]”hŒ„This exit reason must be handled if userspace sets ID_AA64ISAR1_EL1.LS64 to a non-zero value, indicating that FEAT_LS64* is enabled.”…”�”}”(hjµbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M^hj`h²hubj8)�”}”(hŒú/* KVM_EXIT_X86_RDMSR / KVM_EXIT_X86_WRMSR */ struct { __u8 error; /* user -> kernel */ __u8 pad[7]; __u32 reason; /* kernel -> user */ __u32 index; /* kernel -> user */ __u64 data; /* kernel <-> user */ } msr;”h]”hŒú/* KVM_EXIT_X86_RDMSR / KVM_EXIT_X86_WRMSR */ struct { __u8 error; /* user -> kernel */ __u8 pad[7]; __u32 reason; /* kernel -> user */ __u32 index; /* kernel -> user */ __u64 data; /* kernel <-> user */ } msr;”…”�”}”hjÃbsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mchj`h²hubhï)�”}”(hŒ÷Used on x86 systems. When the VM capability KVM_CAP_X86_USER_SPACE_MSR is enabled, MSR accesses to registers that would invoke a #GP by KVM kernel code may instead trigger a KVM_EXIT_X86_RDMSR exit for reads and KVM_EXIT_X86_WRMSR exit for writes.”h]”hŒ÷Used on x86 systems. When the VM capability KVM_CAP_X86_USER_SPACE_MSR is enabled, MSR accesses to registers that would invoke a #GP by KVM kernel code may instead trigger a KVM_EXIT_X86_RDMSR exit for reads and KVM_EXIT_X86_WRMSR exit for writes.”…”�”}”(hjÑbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mlhj`h²hubhï)�”}”(hŒÉThe "reason" field specifies why the MSR interception occurred. Userspace will only receive MSR exits when a particular reason was requested during through ENABLE_CAP. Currently valid exit reasons are:”h]”hŒÍThe “reasonâ€� field specifies why the MSR interception occurred. Userspace will only receive MSR exits when a particular reason was requested during through ENABLE_CAP. Currently valid exit reasons are:”…”�”}”(hjßbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mqhj`h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjðbubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K(uh1jchjðbubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MSR_EXIT_REASON_UNKNOWN”h]”hŒKVM_MSR_EXIT_REASON_UNKNOWN”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mvhj cubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj cubj„)�”}”(hhh]”hï)�”}”(hŒ$access to MSR that is unknown to KVM”h]”hŒ$access to MSR that is unknown to KVM”…”�”}”(hj'ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mvhj$cubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj cubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjcubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MSR_EXIT_REASON_INVAL”h]”hŒKVM_MSR_EXIT_REASON_INVAL”…”�”}”(hjGch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MwhjDcubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjAcubj„)�”}”(hhh]”hï)�”}”(hŒ'access to invalid MSRs or reserved bits”h]”hŒ'access to invalid MSRs or reserved bits”…”�”}”(hj^ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mwhj[cubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjAcubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjcubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MSR_EXIT_REASON_FILTER”h]”hŒKVM_MSR_EXIT_REASON_FILTER”…”�”}”(hj~ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mxhj{cubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjxcubj„)�”}”(hhh]”hï)�”}”(hŒ(access blocked by KVM_X86_SET_MSR_FILTER”h]”hŒ(access blocked by KVM_X86_SET_MSR_FILTER”…”�”}”(hj•ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mxhj’cubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjxcubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjcubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjðbubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjíbubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj`h²hh³hÇh´Nubhï)�”}”(hX.For KVM_EXIT_X86_RDMSR, the "index" field tells userspace which MSR the guest wants to read. To respond to this request with a successful read, userspace writes the respective data into the "data" field and must continue guest execution to ensure the read data is transferred into guest register state.”h]”hX6For KVM_EXIT_X86_RDMSR, the “indexâ€� field tells userspace which MSR the guest wants to read. To respond to this request with a successful read, userspace writes the respective data into the “dataâ€� field and must continue guest execution to ensure the read data is transferred into guest register state.”…”�”}”(hjÂch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M{hj`h²hubhï)�”}”(hŒ§If the RDMSR request was unsuccessful, userspace indicates that with a "1" in the "error" field. This will inject a #GP into the guest when the VCPU is executed again.”h]”hŒ¯If the RDMSR request was unsuccessful, userspace indicates that with a “1â€� in the “errorâ€� field. This will inject a #GP into the guest when the VCPU is executed again.”…”�”}”(hjÐch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M€hj`h²hubhï)�”}”(hŒúFor KVM_EXIT_X86_WRMSR, the "index" field tells userspace which MSR the guest wants to write. Once finished processing the event, userspace must continue vCPU execution. If the MSR write was unsuccessful, userspace also sets the "error" field to "1".”h]”hXFor KVM_EXIT_X86_WRMSR, the “indexâ€� field tells userspace which MSR the guest wants to write. Once finished processing the event, userspace must continue vCPU execution. If the MSR write was unsuccessful, userspace also sets the “errorâ€� field to “1â€�.”…”�”}”(hjÞch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M„hj`h²hubhï)�”}”(hŒMSee KVM_X86_SET_MSR_FILTER for details on the interaction with MSR filtering.”h]”hŒMSee KVM_X86_SET_MSR_FILTER for details on the interaction with MSR filtering.”…”�”}”(hjìch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‰hj`h²hubj8)�”}”(hXS struct kvm_xen_exit { #define KVM_EXIT_XEN_HCALL 1 __u32 type; union { struct { __u32 longmode; __u32 cpl; __u64 input; __u64 result; __u64 params[6]; } hcall; } u; }; /* KVM_EXIT_XEN */ struct kvm_hyperv_exit xen;”h]”hXS struct kvm_xen_exit { #define KVM_EXIT_XEN_HCALL 1 __u32 type; union { struct { __u32 longmode; __u32 cpl; __u64 input; __u64 result; __u64 params[6]; } hcall; } u; }; /* KVM_EXIT_XEN */ struct kvm_hyperv_exit xen;”…”�”}”hjúcsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MŽhj`h²hubhï)�”}”(hŒ\Indicates that the VCPU exits into userspace to process some tasks related to Xen emulation.”h]”hŒ\Indicates that the VCPU exits into userspace to process some tasks related to Xen emulation.”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mžhj`h²hubhï)�”}”(hŒValid values for 'type' are:”h]”hŒ Valid values for ‘type’ are:”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hj`h²hubj )�”}”(hŒ¿- KVM_EXIT_XEN_HCALL -- synchronously notify user-space about Xen hypercall. Userspace is expected to place the hypercall result into the appropriate field before invoking KVM_RUN again. ”h]”j)�”}”(hhh]”j)�”}”(hŒ¹KVM_EXIT_XEN_HCALL -- synchronously notify user-space about Xen hypercall. Userspace is expected to place the hypercall result into the appropriate field before invoking KVM_RUN again. ”h]”hï)�”}”(hŒ¸KVM_EXIT_XEN_HCALL -- synchronously notify user-space about Xen hypercall. Userspace is expected to place the hypercall result into the appropriate field before invoking KVM_RUN again.”h]”hŒ¸KVM_EXIT_XEN_HCALL -- synchronously notify user-space about Xen hypercall. Userspace is expected to place the hypercall result into the appropriate field before invoking KVM_RUN again.”…”�”}”(hj/dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hj+dubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj(dubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M£hj$dubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M£hj`h²hubj8)�”}”(hŒ²/* KVM_EXIT_RISCV_SBI */ struct { unsigned long extension_id; unsigned long function_id; unsigned long args[6]; unsigned long ret[2]; } riscv_sbi;”h]”hŒ²/* KVM_EXIT_RISCV_SBI */ struct { unsigned long extension_id; unsigned long function_id; unsigned long args[6]; unsigned long ret[2]; } riscv_sbi;”…”�”}”hjOdsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M©hj`h²hubhï)�”}”(hX—If exit reason is KVM_EXIT_RISCV_SBI then it indicates that the VCPU has done a SBI call which is not handled by KVM RISC-V kernel module. The details of the SBI call are available in 'riscv_sbi' member of kvm_run structure. The 'extension_id' field of 'riscv_sbi' represents SBI extension ID whereas the 'function_id' field represents function ID of given SBI extension. The 'args' array field of 'riscv_sbi' represents parameters for the SBI call and 'ret' 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.”h]”(hXŒIf exit reason is KVM_EXIT_RISCV_SBI then it indicates that the VCPU has done a SBI call which is not handled by KVM RISC-V kernel module. The details of the SBI call are available in ‘riscv_sbi’ member of kvm_run structure. The ‘extension_id’ field of ‘riscv_sbi’ represents SBI extension ID whereas the ‘function_id’ field represents function ID of given SBI extension. The ‘args’ array field of ‘riscv_sbi’ represents parameters for the SBI call and ‘ret’ 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, ”…”�”}”(hj]dh²hh³Nh´NubjéÅ)�”}”(hŒ&https://github.com/riscv/riscv-sbi-doc”h]”hŒ&https://github.com/riscv/riscv-sbi-doc”…”�”}”(hjedh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jgduh1jèÅhj]dubhŒ.”…”�”}”(hj]dh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M±hj`h²hubj8)�”}”(hŒö /* KVM_EXIT_MEMORY_FAULT */ struct { #define KVM_MEMORY_EXIT_FLAG_PRIVATE (1ULL << 3) __u64 flags; __u64 gpa; __u64 size; } memory_fault;”h]”hŒö /* KVM_EXIT_MEMORY_FAULT */ struct { #define KVM_MEMORY_EXIT_FLAG_PRIVATE (1ULL << 3) __u64 flags; __u64 gpa; __u64 size; } memory_fault;”…”�”}”hj~dsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M½hj`h²hubhï)�”}”(hX/KVM_EXIT_MEMORY_FAULT indicates the vCPU has encountered a memory fault that could not be resolved by KVM. The 'gpa' and 'size' (in bytes) describe the guest physical address range [gpa, gpa + size) of the fault. The 'flags' field describes properties of the faulting access that are likely pertinent:”h]”hX;KVM_EXIT_MEMORY_FAULT indicates the vCPU has encountered a memory fault that could not be resolved by KVM. The ‘gpa’ and ‘size’ (in bytes) describe the guest physical address range [gpa, gpa + size) of the fault. The ‘flags’ field describes properties of the faulting access that are likely pertinent:”…”�”}”(hjŒdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅhj`h²hubj )�”}”(hŒ­- KVM_MEMORY_EXIT_FLAG_PRIVATE - When set, indicates the memory fault occurred on a private memory access. When clear, indicates the fault occurred on a shared access. ”h]”j)�”}”(hhh]”j)�”}”(hŒ§KVM_MEMORY_EXIT_FLAG_PRIVATE - When set, indicates the memory fault occurred on a private memory access. When clear, indicates the fault occurred on a shared access. ”h]”hï)�”}”(hŒ¦KVM_MEMORY_EXIT_FLAG_PRIVATE - When set, indicates the memory fault occurred on a private memory access. When clear, indicates the fault occurred on a shared access.”h]”hŒ¦KVM_MEMORY_EXIT_FLAG_PRIVATE - When set, indicates the memory fault occurred on a private memory access. When clear, indicates the fault occurred on a shared access.”…”�”}”(hj¥dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊhj¡dubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjždubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´MÊhjšdubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´MÊhj`h²hubhï)�”}”(hX0Note! KVM_EXIT_MEMORY_FAULT is unique among all KVM exit reasons in that it accompanies a return code of '-1', not '0'! errno will always be set to EFAULT or EHWPOISON when KVM exits with KVM_EXIT_MEMORY_FAULT, userspace should assume kvm_run.exit_reason is stale/undefined for all other error numbers.”h]”hX8Note! KVM_EXIT_MEMORY_FAULT is unique among all KVM exit reasons in that it accompanies a return code of ‘-1’, not ‘0’! errno will always be set to EFAULT or EHWPOISON when KVM exits with KVM_EXIT_MEMORY_FAULT, userspace should assume kvm_run.exit_reason is stale/undefined for all other error numbers.”…”�”}”(hjÅdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhj`h²hubj8)�”}”(hŒn /* KVM_EXIT_NOTIFY */ struct { #define KVM_NOTIFY_CONTEXT_INVALID (1 << 0) __u32 flags; } notify;”h]”hŒn /* KVM_EXIT_NOTIFY */ struct { #define KVM_NOTIFY_CONTEXT_INVALID (1 << 0) __u32 flags; } notify;”…”�”}”hjÓdsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÕhj`h²hubhï)�”}”(hXvUsed on x86 systems. When the VM capability KVM_CAP_X86_NOTIFY_VMEXIT is enabled, a VM exit generated if no event window occurs in VM non-root mode for a specified amount of time. Once KVM_X86_NOTIFY_VMEXIT_USER is set when enabling the cap, it would exit to userspace with the exit reason KVM_EXIT_NOTIFY for further handling. The "flags" field contains more detailed info.”h]”hXzUsed on x86 systems. When the VM capability KVM_CAP_X86_NOTIFY_VMEXIT is enabled, a VM exit generated if no event window occurs in VM non-root mode for a specified amount of time. Once KVM_X86_NOTIFY_VMEXIT_USER is set when enabling the cap, it would exit to userspace with the exit reason KVM_EXIT_NOTIFY for further handling. The “flagsâ€� field contains more detailed info.”…”�”}”(hjádh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛhj`h²hubhï)�”}”(hŒThe valid value for 'flags' is:”h]”hŒ#The valid value for ‘flags’ is:”…”�”}”(hjïdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mâhj`h²hubj )�”}”(hŒ�- KVM_NOTIFY_CONTEXT_INVALID -- the VM context is corrupted and not valid in VMCS. It would run into unknown result if resume the target VM. ”h]”j)�”}”(hhh]”j)�”}”(hŒ‹KVM_NOTIFY_CONTEXT_INVALID -- the VM context is corrupted and not valid in VMCS. It would run into unknown result if resume the target VM. ”h]”hï)�”}”(hŒŠKVM_NOTIFY_CONTEXT_INVALID -- the VM context is corrupted and not valid in VMCS. It would run into unknown result if resume the target VM.”h]”hŒŠKVM_NOTIFY_CONTEXT_INVALID -- the VM context is corrupted and not valid in VMCS. It would run into unknown result if resume the target VM.”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mähjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjeubah}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mähjýdubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mähj`h²hubj8)�”}”(hX­/* KVM_EXIT_TDX */ struct { __u64 flags; __u64 nr; union { struct { u64 ret; u64 data[5]; } unknown; struct { u64 ret; u64 gpa; u64 size; } get_quote; struct { u64 ret; u64 leaf; u64 r11, r12, r13, r14; } get_tdvmcall_info; struct { u64 ret; u64 vector; } setup_event_notify; }; } tdx;”h]”hX­/* KVM_EXIT_TDX */ struct { __u64 flags; __u64 nr; union { struct { u64 ret; u64 data[5]; } unknown; struct { u64 ret; u64 gpa; u64 size; } get_quote; struct { u64 ret; u64 leaf; u64 r11, r12, r13, r14; } get_tdvmcall_info; struct { u64 ret; u64 vector; } setup_event_notify; }; } tdx;”…”�”}”hj(esbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Méhj`h²hubhï)�”}”(hX"Process a TDVMCALL from the guest. KVM forwards select TDVMCALL based on the Guest-Hypervisor Communication Interface (GHCI) specification; KVM bridges these requests to the userspace VMM with minimal changes, placing the inputs in the union and copying them back to the guest on re-entry.”h]”hX"Process a TDVMCALL from the guest. KVM forwards select TDVMCALL based on the Guest-Hypervisor Communication Interface (GHCI) specification; KVM bridges these requests to the userspace VMM with minimal changes, placing the inputs in the union and copying them back to the guest on re-entry.”…”�”}”(hj6eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj`h²hubhï)�”}”(hŒèFlags are currently always zero, whereas ``nr`` contains the TDVMCALL number from register R11. The remaining field of the union provide the inputs and outputs of the TDVMCALL. Currently the following values of ``nr`` are defined:”h]”(hŒ)Flags are currently always zero, whereas ”…”�”}”(hjDeh²hh³Nh´NubjÈ)�”}”(hŒ``nr``”h]”hŒnr”…”�”}”(hjLeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjDeubhŒ¦ contains the TDVMCALL number from register R11. The remaining field of the union provide the inputs and outputs of the TDVMCALL. Currently the following values of ”…”�”}”(hjDeh²hh³Nh´NubjÈ)�”}”(hŒ``nr``”h]”hŒnr”…”�”}”(hj^eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjDeubhŒ are defined:”…”�”}”(hjDeh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj`h²hubj )�”}”(hXF* ``TDVMCALL_GET_QUOTE``: the guest has requested to generate a TD-Quote signed by a service hosting TD-Quoting Enclave operating on the host. Parameters and return value are in the ``get_quote`` field of the union. The ``gpa`` field and ``size`` specify the guest physical address (without the shared bit set) and the size of a shared-memory buffer, in which the TDX guest passes a TD Report. The ``ret`` field represents the return value of the GetQuote request. When the request has been queued successfully, the TDX guest can poll the status field in the shared-memory area to check whether the Quote generation is completed or not. When completed, the generated Quote is returned via the same buffer. * ``TDVMCALL_GET_TD_VM_CALL_INFO``: the guest has requested the support status of TDVMCALLs. The output values for the given leaf should be placed in fields from ``r11`` to ``r14`` of the ``get_tdvmcall_info`` field of the union. * ``TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT``: the guest has requested to set up a notification interrupt for vector ``vector``. ”h]”j)�”}”(hhh]”(j)�”}”(hXÂ``TDVMCALL_GET_QUOTE``: the guest has requested to generate a TD-Quote signed by a service hosting TD-Quoting Enclave operating on the host. Parameters and return value are in the ``get_quote`` field of the union. The ``gpa`` field and ``size`` specify the guest physical address (without the shared bit set) and the size of a shared-memory buffer, in which the TDX guest passes a TD Report. The ``ret`` field represents the return value of the GetQuote request. When the request has been queued successfully, the TDX guest can poll the status field in the shared-memory area to check whether the Quote generation is completed or not. When completed, the generated Quote is returned via the same buffer. ”h]”hï)�”}”(hXÁ``TDVMCALL_GET_QUOTE``: the guest has requested to generate a TD-Quote signed by a service hosting TD-Quoting Enclave operating on the host. Parameters and return value are in the ``get_quote`` field of the union. The ``gpa`` field and ``size`` specify the guest physical address (without the shared bit set) and the size of a shared-memory buffer, in which the TDX guest passes a TD Report. The ``ret`` field represents the return value of the GetQuote request. When the request has been queued successfully, the TDX guest can poll the status field in the shared-memory area to check whether the Quote generation is completed or not. When completed, the generated Quote is returned via the same buffer.”h]”(jÈ)�”}”(hŒ``TDVMCALL_GET_QUOTE``”h]”hŒTDVMCALL_GET_QUOTE”…”�”}”(hj…eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�eubhŒž: the guest has requested to generate a TD-Quote signed by a service hosting TD-Quoting Enclave operating on the host. Parameters and return value are in the ”…”�”}”(hj�eh²hh³Nh´NubjÈ)�”}”(hŒ ``get_quote``”h]”hŒ get_quote”…”�”}”(hj—eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�eubhŒ field of the union. The ”…”�”}”(hj�eh²hh³Nh´NubjÈ)�”}”(hŒ``gpa``”h]”hŒgpa”…”�”}”(hj©eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�eubhŒ field and ”…”�”}”(hj�eh²hh³Nh´NubjÈ)�”}”(hŒ``size``”h]”hŒsize”…”�”}”(hj»eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�eubhŒ™ specify the guest physical address (without the shared bit set) and the size of a shared-memory buffer, in which the TDX guest passes a TD Report. The ”…”�”}”(hj�eh²hh³Nh´NubjÈ)�”}”(hŒ``ret``”h]”hŒret”…”�”}”(hjÍeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj�eubhX- field represents the return value of the GetQuote request. When the request has been queued successfully, the TDX guest can poll the status field in the shared-memory area to check whether the Quote generation is completed or not. When completed, the generated Quote is returned via the same buffer.”…”�”}”(hj�eh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj}eubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjzeubj)�”}”(hŒå``TDVMCALL_GET_TD_VM_CALL_INFO``: the guest has requested the support status of TDVMCALLs. The output values for the given leaf should be placed in fields from ``r11`` to ``r14`` of the ``get_tdvmcall_info`` field of the union. ”h]”hï)�”}”(hŒä``TDVMCALL_GET_TD_VM_CALL_INFO``: the guest has requested the support status of TDVMCALLs. The output values for the given leaf should be placed in fields from ``r11`` to ``r14`` of the ``get_tdvmcall_info`` field of the union.”h]”(jÈ)�”}”(hŒ ``TDVMCALL_GET_TD_VM_CALL_INFO``”h]”hŒTDVMCALL_GET_TD_VM_CALL_INFO”…”�”}”(hjóeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjïeubhŒ�: the guest has requested the support status of TDVMCALLs. The output values for the given leaf should be placed in fields from ”…”�”}”(hjïeh²hh³Nh´NubjÈ)�”}”(hŒ``r11``”h]”hŒr11”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjïeubhŒ to ”…”�”}”(hjïeh²hh³Nh´NubjÈ)�”}”(hŒ``r14``”h]”hŒr14”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjïeubhŒ of the ”…”�”}”(hjïeh²hh³Nh´NubjÈ)�”}”(hŒ``get_tdvmcall_info``”h]”hŒget_tdvmcall_info”…”�”}”(hj)fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjïeubhŒ field of the union.”…”�”}”(hjïeh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjëeubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjzeubj)�”}”(hŒ}``TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT``: the guest has requested to set up a notification interrupt for vector ``vector``. ”h]”hï)�”}”(hŒ|``TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT``: the guest has requested to set up a notification interrupt for vector ``vector``.”h]”(jÈ)�”}”(hŒ)``TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT``”h]”hŒ%TDVMCALL_SETUP_EVENT_NOTIFY_INTERRUPT”…”�”}”(hjOfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjKfubhŒH: the guest has requested to set up a notification interrupt for vector ”…”�”}”(hjKfh²hh³Nh´NubjÈ)�”}”(hŒ ``vector``”h]”hŒvector”…”�”}”(hjafh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjKfubhŒ.”…”�”}”(hjKfh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjGfubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjzeubeh}”(h]”h ]”h"]”h$]”h&]”j©jõØuh1jh³hÇh´Mhjveubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mhj`h²hubhï)�”}”(hX|KVM may add support for more values in the future that may cause a userspace exit, even without calls to ``KVM_ENABLE_CAP`` or similar. In this case, it will enter with output fields already valid; in the common case, the ``unknown.ret`` field of the union will be ``TDVMCALL_STATUS_SUBFUNC_UNSUPPORTED``. Userspace need not do anything if it does not wish to support a TDVMCALL.”h]”(hŒiKVM may add support for more values in the future that may cause a userspace exit, even without calls to ”…”�”}”(hj‹fh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_ENABLE_CAP``”h]”hŒKVM_ENABLE_CAP”…”�”}”(hj“fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj‹fubhŒd or similar. In this case, it will enter with output fields already valid; in the common case, the ”…”�”}”(hj‹fh²hh³Nh´NubjÈ)�”}”(hŒ``unknown.ret``”h]”hŒ unknown.ret”…”�”}”(hj¥fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj‹fubhŒ field of the union will be ”…”�”}”(hj‹fh²hh³Nh´NubjÈ)�”}”(hŒ'``TDVMCALL_STATUS_SUBFUNC_UNSUPPORTED``”h]”hŒ#TDVMCALL_STATUS_SUBFUNC_UNSUPPORTED”…”�”}”(hj·fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj‹fubhŒK. Userspace need not do anything if it does not wish to support a TDVMCALL.”…”�”}”(hj‹fh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hj`h²hubj8)�”}”(hX /* KVM_EXIT_ARM_SEA */ struct { #define KVM_EXIT_ARM_SEA_FLAG_GPA_VALID (1ULL << 0) __u64 flags; __u64 esr; __u64 gva; __u64 gpa; } arm_sea;”h]”hX /* KVM_EXIT_ARM_SEA */ struct { #define KVM_EXIT_ARM_SEA_FLAG_GPA_VALID (1ULL << 0) __u64 flags; __u64 esr; __u64 gva; __u64 gpa; } arm_sea;”…”�”}”hjÏfsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M)hj`h²hubhï)�”}”(hŒÕUsed on arm64 systems. When the VM capability ``KVM_CAP_ARM_SEA_TO_USER`` is enabled, a KVM exits to userspace if a guest access causes a synchronous external abort (SEA) and the host APEI fails to handle the SEA.”h]”(hŒ.Used on arm64 systems. When the VM capability ”…”�”}”(hjÝfh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_CAP_ARM_SEA_TO_USER``”h]”hŒKVM_CAP_ARM_SEA_TO_USER”…”�”}”(hjåfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÝfubhŒŒ is enabled, a KVM exits to userspace if a guest access causes a synchronous external abort (SEA) and the host APEI fails to handle the SEA.”…”�”}”(hjÝfh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2hj`h²hubhï)�”}”(hŒs``esr`` is set to a sanitized value of ESR_EL2 from the exception taken to KVM, consisting of the following fields:”h]”(jÈ)�”}”(hŒ``esr``”h]”hŒesr”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjýfubhŒl is set to a sanitized value of ESR_EL2 from the exception taken to KVM, consisting of the following fields:”…”�”}”(hjýfh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6hj`h²hubj )�”}”(hŒ¶- ``ESR_EL2.EC`` - ``ESR_EL2.IL`` - ``ESR_EL2.FnV`` - ``ESR_EL2.EA`` - ``ESR_EL2.CM`` - ``ESR_EL2.WNR`` - ``ESR_EL2.FSC`` - ``ESR_EL2.SET`` (when FEAT_RAS is implemented for the VM) ”h]”j)�”}”(hhh]”(j)�”}”(hŒ``ESR_EL2.EC``”h]”hï)�”}”(hj"gh]”jÈ)�”}”(hj"gh]”hŒ ESR_EL2.EC”…”�”}”(hj'gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj$gubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hj gubah}”(h]”h ]”h"]”h$]”h&]”u•h1jhjgubj)�”}”(hŒ``ESR_EL2.IL``”h]”hï)�”}”(hjBgh]”jÈ)�”}”(hjBgh]”hŒ ESR_EL2.IL”…”�”}”(hjGgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjDgubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:hj@gubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjgubj)�”}”(hŒ``ESR_EL2.FnV``”h]”hï)�”}”(hjbgh]”jÈ)�”}”(hjbgh]”hŒ ESR_EL2.FnV”…”�”}”(hjggh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjdgubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hj`gubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjgubj)�”}”(hŒ``ESR_EL2.EA``”h]”hï)�”}”(hj‚gh]”jÈ)�”}”(hj‚gh]”hŒ ESR_EL2.EA”…”�”}”(hj‡gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj„gubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<hj€gubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjgubj)�”}”(hŒ``ESR_EL2.CM``”h]”hï)�”}”(hj¢gh]”jÈ)�”}”(hj¢gh]”hŒ ESR_EL2.CM”…”�”}”(hj§gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¤gubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M=hj gubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjgubj)�”}”(hŒ``ESR_EL2.WNR``”h]”hï)�”}”(hjÂgh]”jÈ)�”}”(hjÂgh]”hŒ ESR_EL2.WNR”…”�”}”(hjÇgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjÄgubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M>hjÀgubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjgubj)�”}”(hŒ``ESR_EL2.FSC``”h]”hï)�”}”(hjâgh]”jÈ)�”}”(hjâgh]”hŒ ESR_EL2.FSC”…”�”}”(hjçgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjägubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hjàgubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjgubj)�”}”(hŒ:``ESR_EL2.SET`` (when FEAT_RAS is implemented for the VM) ”h]”hï)�”}”(hŒ9``ESR_EL2.SET`` (when FEAT_RAS is implemented for the VM)”h]”(jÈ)�”}”(hŒ``ESR_EL2.SET``”h]”hŒ ESR_EL2.SET”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjhubhŒ* (when FEAT_RAS is implemented for the VM)”…”�”}”(hjhh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M@hjhubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjgubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´M9hjgubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M9hj`h²hubhï)�”}”(hŒ�``gva`` is set to the value of FAR_EL2 from the exception taken to KVM when ``ESR_EL2.FnV == 0``. Otherwise, the value of ``gva`` is unknown.”h]”(jÈ)�”}”(hŒ``gva``”h]”hŒgva”…”�”}”(hj6hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj2hubhŒE is set to the value of FAR_EL2 from the exception taken to KVM when ”…”�”}”(hj2hh²hh³Nh´NubjÈ)�”}”(hŒ``ESR_EL2.FnV == 0``”h]”hŒESR_EL2.FnV == 0”…”�”}”(hjHhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj2hubhŒ. Otherwise, the value of ”…”�”}”(hj2hh²hh³Nh´NubjÈ)�”}”(hŒ``gva``”h]”hŒgva”…”�”}”(hjZhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj2hubhŒ is unknown.”…”�”}”(hj2hh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MBhj`h²hubhï)�”}”(hŒ¨``gpa`` is set to the faulting IPA from the exception taken to KVM when the ``KVM_EXIT_ARM_SEA_FLAG_GPA_VALID`` flag is set. Otherwise, the value of ``gpa`` is unknown.”h]”(jÈ)�”}”(hŒ``gpa``”h]”hŒgpa”…”�”}”(hjvhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjrhubhŒE is set to the faulting IPA from the exception taken to KVM when the ”…”�”}”(hjrhh²hh³Nh´NubjÈ)�”}”(hŒ#``KVM_EXIT_ARM_SEA_FLAG_GPA_VALID``”h]”hŒKVM_EXIT_ARM_SEA_FLAG_GPA_VALID”…”�”}”(hjˆhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjrhubhŒ& flag is set. Otherwise, the value of ”…”�”}”(hjrhh²hh³Nh´NubjÈ)�”}”(hŒ``gpa``”h]”hŒgpa”…”�”}”(hjšhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjrhubhŒ is unknown.”…”�”}”(hjrhh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MEhj`h²hubj8)�”}”(hXû /* Fix the size of the union. */ char padding[256]; }; /* * shared registers between kvm and userspace. * kvm_valid_regs specifies the register classes set by the host * kvm_dirty_regs specified the register classes dirtied by userspace * struct kvm_sync_regs is architecture specific, as well as the * bits for kvm_valid_regs and kvm_dirty_regs */ __u64 kvm_valid_regs; __u64 kvm_dirty_regs; union { struct kvm_sync_regs regs; char padding[SYNC_REGS_SIZE_BYTES]; } s;”h]”hXû /* Fix the size of the union. */ char padding[256]; }; /* * shared registers between kvm and userspace. * kvm_valid_regs specifies the register classes set by the host * kvm_dirty_regs specified the register classes dirtied by userspace * struct kvm_sync_regs is architecture specific, as well as the * bits for kvm_valid_regs and kvm_dirty_regs */ __u64 kvm_valid_regs; __u64 kvm_dirty_regs; union { struct kvm_sync_regs regs; char padding[SYNC_REGS_SIZE_BYTES]; } s;”…”�”}”hj²hsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MKhj`h²hubhï)�”}”(hXÂIf KVM_CAP_SYNC_REGS is defined, these fields allow userspace to access certain guest registers without having to call SET/GET_*REGS. Thus we can avoid some system call overhead if userspace has to handle the exit. Userspace can query the validity of the structure by checking kvm_valid_regs for specific bits. These bits are architecture specific and usually define the validity of a groups of registers. (e.g. one bit for general purpose registers)”h]”hXÂIf KVM_CAP_SYNC_REGS is defined, these fields allow userspace to access certain guest registers without having to call SET/GET_*REGS. Thus we can avoid some system call overhead if userspace has to handle the exit. Userspace can query the validity of the structure by checking kvm_valid_regs for specific bits. These bits are architecture specific and usually define the validity of a groups of registers. (e.g. one bit for general purpose registers)”…”�”}”(hjÀhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]hj`h²hubhï)�”}”(hŒæPlease note that the kernel is allowed to use the kvm_run structure as the primary storage for certain register types. Therefore, the kernel may use the values in kvm_run even if the corresponding bit in kvm_dirty_regs is not set.”h]”hŒæPlease note that the kernel is allowed to use the kvm_run structure as the primary storage for certain register types. Therefore, the kernel may use the values in kvm_run even if the corresponding bit in kvm_dirty_regs is not set.”…”�”}”(hjÎhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mehj`h²hubj8)�”}”(hŒ{/* KVM_EXIT_SNP_REQ_CERTS */ struct kvm_exit_snp_req_certs { __u64 gpa; __u64 npages; __u64 ret; };”h]”hŒ{/* KVM_EXIT_SNP_REQ_CERTS */ struct kvm_exit_snp_req_certs { __u64 gpa; __u64 npages; __u64 ret; };”…”�”}”hjÜhsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mkhj`h²hubhï)�”}”(hX¨KVM_EXIT_SNP_REQ_CERTS indicates an SEV-SNP guest with certificate-fetching enabled (see KVM_SEV_SNP_ENABLE_REQ_CERTS) has generated an Extended Guest Request NAE #VMGEXIT (SNP_GUEST_REQUEST) with message type MSG_REPORT_REQ, i.e. has requested an attestation report from firmware, and would like the certificate data corresponding to the attestation report signature to be provided by the hypervisor as part of the request.”h]”hX¨KVM_EXIT_SNP_REQ_CERTS indicates an SEV-SNP guest with certificate-fetching enabled (see KVM_SEV_SNP_ENABLE_REQ_CERTS) has generated an Extended Guest Request NAE #VMGEXIT (SNP_GUEST_REQUEST) with message type MSG_REPORT_REQ, i.e. has requested an attestation report from firmware, and would like the certificate data corresponding to the attestation report signature to be provided by the hypervisor as part of the request.”…”�”}”(hjêhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mrhj`h²hubhï)�”}”(hXgTo allow for userspace to provide the certificate, the 'gpa' and 'npages' are forwarded verbatim from the guest request (the RAX and RBX GHCB fields respectively). 'ret' is not an "output" from KVM, and is always '0' on exit. KVM verifies the 'gpa' is 4KiB aligned prior to exiting to userspace, but otherwise the information from the guest isn't validated.”h]”hX�To allow for userspace to provide the certificate, the ‘gpa’ and ‘npages’ are forwarded verbatim from the guest request (the RAX and RBX GHCB fields respectively). ‘ret’ is not an “outputâ€� from KVM, and is always ‘0’ on exit. KVM verifies the ‘gpa’ is 4KiB aligned prior to exiting to userspace, but otherwise the information from the guest isn’t validated.”…”�”}”(hjøhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Myhj`h²hubhï)�”}”(hX!Upon the next KVM_RUN, e.g. after userspace has serviced the request (or not), KVM will complete the #VMGEXIT, using the 'ret' field to determine whether to signal success or failure to the guest, and on failure, what reason code will be communicated via SW_EXITINFO2. If 'ret' is set to an unsupported value (see the table below), KVM_RUN will fail with -EINVAL. For a 'ret' of 'ENOSPC', KVM also consumes the 'npages' field, i.e. userspace can use the field to inform the guest of the number of pages needed to hold all the certificate data.”h]”hX5Upon the next KVM_RUN, e.g. after userspace has serviced the request (or not), KVM will complete the #VMGEXIT, using the ‘ret’ field to determine whether to signal success or failure to the guest, and on failure, what reason code will be communicated via SW_EXITINFO2. If ‘ret’ is set to an unsupported value (see the table below), KVM_RUN will fail with -EINVAL. For a ‘ret’ of ‘ENOSPC’, KVM also consumes the ‘npages’ field, i.e. userspace can use the field to inform the guest of the number of pages needed to hold all the certificate data.”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj`h²hubhï)�”}”(hŒGThe supported 'ret' values and their respective SW_EXITINFO2 encodings:”h]”hŒKThe supported ‘ret’ values and their respective SW_EXITINFO2 encodings:”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‡hj`h²hubj )�”}”(hX¬====== ============================================================= 0 0x0, i.e. success. KVM will emit an SNP_GUEST_REQUEST command to SNP firmware. ENOSPC 0x0000000100000000, i.e. not enough guest pages to hold the certificate table and certificate data. KVM will also set the RBX field in the GHBC to 'npages'. EAGAIN 0x0000000200000000, i.e. the host is busy and the guest should retry the request. EIO 0xffffffff00000000, for all other errors (this return code is a KVM-defined hypervisor value, as allowed by the GHCB) ====== ============================================================= ”h]”jZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj)iubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K>uh1jchj)iubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hjŠh]”hŒ0”…”�”}”(hjIih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhjFiubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjCiubj„)�”}”(hhh]”hï)�”}”(hŒO0x0, i.e. success. KVM will emit an SNP_GUEST_REQUEST command to SNP firmware.”h]”hŒO0x0, i.e. success. KVM will emit an SNP_GUEST_REQUEST command to SNP firmware.”…”�”}”(hj_ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠhj\iubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjCiubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj@iubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒENOSPC”h]”hŒENOSPC”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒhj|iubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjyiubj„)�”}”(hhh]”hï)�”}”(hŒ�0x0000000100000000, i.e. not enough guest pages to hold the certificate table and certificate data. KVM will also set the RBX field in the GHBC to 'npages'.”h]”hŒ¡0x0000000100000000, i.e. not enough guest pages to hold the certificate table and certificate data. KVM will also set the RBX field in the GHBC to ‘npages’.”…”�”}”(hj–ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒhj“iubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjyiubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj@iubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEAGAIN”h]”hŒEAGAIN”…”�”}”(hj¶ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hj³iubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj°iubj„)�”}”(hhh]”hï)�”}”(hŒQ0x0000000200000000, i.e. the host is busy and the guest should retry the request.”h]”hŒQ0x0000000200000000, i.e. the host is busy and the guest should retry the request.”…”�”}”(hjÍih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�hjÊiubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj°iubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj@iubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒEIO”h]”hŒEIO”…”�”}”(hjíih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘hjêiubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjçiubj„)�”}”(hhh]”hï)�”}”(hŒu0xffffffff00000000, for all other errors (this return code is a KVM-defined hypervisor value, as allowed by the GHCB)”h]”hŒu0xffffffff00000000, for all other errors (this return code is a KVM-defined hypervisor value, as allowed by the GHCB)”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘hjjubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjçiubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj@iubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj)iubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj&iubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj"iubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´M‰hj`h²hubjT)�”}”(hŒ.. _cap_enable:”h]”h}”(h]”h ]”h"]”h$]”h&]”j_Œ cap-enable”uh1jSh´M–hj`h²hh³hÇubeh}”(h]”Œ for-arm-arm64”ah ]”h"]”Œfor arm/arm64:”ah$]”h&]”uh1hÈhjâYh²hh³hÇh´M»ubeh}”(h]”(Œthe-kvm-run-structure”jÑYeh ]”h"]”(Œ5. the kvm_run structure”Œkvm_run”eh$]”h&]”uh1hÈhhÊh²hh³hÇh´M j�}”jPjjÇYsjƒ}”jÑYjÇYsubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ,6. Capabilities that can be enabled on vCPUs”h]”hŒ,6. Capabilities that can be enabled on vCPUs”…”�”}”(hjXjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjUjh²hh³hÇh´M™ubhï)�”}”(hŒ¡There are certain capabilities that change the behavior of the virtual CPU or the virtual machine when enabled. To enable them, please see :ref:`KVM_ENABLE_CAP`.”h]”(hŒ‹There are certain capabilities that change the behavior of the virtual CPU or the virtual machine when enabled. To enable them, please see ”…”�”}”(hjfjh²hh³Nh´Nubh)�”}”(hŒ:ref:`KVM_ENABLE_CAP`”h]”jà)�”}”(hjpjh]”hŒKVM_ENABLE_CAP”…”�”}”(hjrjh²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhjnjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”j|jŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjþŒkvm_enable_cap”uh1hh³hÇh´M›hjfjubhŒ.”…”�”}”(hjfjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M›hjUjh²hubhï)�”}”(hŒyBelow you can find a list of capabilities and what their effect on the vCPU or the virtual machine is when enabling them.”h]”hŒyBelow you can find a list of capabilities and what their effect on the vCPU or the virtual machine is when enabling them.”…”�”}”(hj˜jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸhjUjh²hubhï)�”}”(hŒAThe following information is provided along with the description:”h]”hŒAThe following information is provided along with the description:”…”�”}”(hj¦jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢hjUjh²hubj )�”}”(hX~Architectures: which instruction set architectures provide this ioctl. x86 includes both i386 and x86_64. Target: whether this is a per-vcpu or per-vm capability. Parameters: what parameters are accepted by the capability. Returns: the return value. General error numbers (EBADF, ENOMEM, EINVAL) are not detailed, but errors with specific meanings are. ”h]”j )�”}”(hhh]”(j)�”}”(hŒjArchitectures: which instruction set architectures provide this ioctl. x86 includes both i386 and x86_64. ”h]”(j)�”}”(hŒArchitectures:”h]”hŒArchitectures:”…”�”}”(hj¿jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M¦hj»jubj%)�”}”(hhh]”hï)�”}”(hŒZwhich instruction set architectures provide this ioctl. x86 includes both i386 and x86_64.”h]”hŒZwhich instruction set architectures provide this ioctl. x86 includes both i386 and x86_64.”…”�”}”(hjÐjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥hjÍjubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj»jubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M¦hj¸jubj)�”}”(hŒ9Target: whether this is a per-vcpu or per-vm capability. ”h]”(j)�”}”(hŒTarget:”h]”hŒTarget:”…”�”}”(hjîjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M©hjêjubj%)�”}”(hhh]”hï)�”}”(hŒ0whether this is a per-vcpu or per-vm capability.”h]”hŒ0whether this is a per-vcpu or per-vm capability.”…”�”}”(hjÿjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M©hjüjubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjêjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´M©hj¸jubj)�”}”(hŒFor mmu types KVM_MMU_FSL_BOOKE_NOHV and KVM_MMU_FSL_BOOKE_HV:”h]”hŒ>For mmu types KVM_MMU_FSL_BOOKE_NOHV and KVM_MMU_FSL_BOOKE_HV:”…”�”}”(hj˜nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mùhj�mh²hubj )�”}”(hX‰- The "params" field is of type "struct kvm_book3e_206_tlb_params". - The "array" field points to an array of type "struct kvm_book3e_206_tlb_entry". - The array consists of all entries in the first TLB, followed by all entries in the second TLB. - Within a TLB, entries are ordered first by increasing set number. Within a set, entries are ordered by way (increasing ESEL). - The hash for determining set number in TLB0 is: (MAS2 >> 12) & (num_sets - 1) where "num_sets" is the tlb_sizes[] value divided by the tlb_ways[] value. - The tsize field of mas1 shall be set to 4K on TLB0, even though the hardware ignores this value for TLB0. ”h]”j)�”}”(hhh]”(j)�”}”(hŒAThe "params" field is of type "struct kvm_book3e_206_tlb_params".”h]”hï)�”}”(hj¯nh]”hŒIThe “paramsâ€� field is of type “struct kvm_book3e_206_tlb_paramsâ€�.”…”�”}”(hj±nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mûhj­nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjªnubj)�”}”(hŒOThe "array" field points to an array of type "struct kvm_book3e_206_tlb_entry".”h]”hï)�”}”(hŒOThe "array" field points to an array of type "struct kvm_book3e_206_tlb_entry".”h]”hŒWThe “arrayâ€� field points to an array of type “struct kvm_book3e_206_tlb_entryâ€�.”…”�”}”(hjÈnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MühjÄnubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjªnubj)�”}”(hŒ^The array consists of all entries in the first TLB, followed by all entries in the second TLB.”h]”hï)�”}”(hŒ^The array consists of all entries in the first TLB, followed by all entries in the second TLB.”h]”hŒ^The array consists of all entries in the first TLB, followed by all entries in the second TLB.”…”�”}”(hjành²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MþhjÜnubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjªnubj)�”}”(hŒ~Within a TLB, entries are ordered first by increasing set number. Within a set, entries are ordered by way (increasing ESEL).”h]”hï)�”}”(hŒ~Within a TLB, entries are ordered first by increasing set number. Within a set, entries are ordered by way (increasing ESEL).”h]”hŒ~Within a TLB, entries are ordered first by increasing set number. Within a set, entries are ordered by way (increasing ESEL).”…”�”}”(hjønh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjônubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjªnubj)�”}”(hŒ˜The hash for determining set number in TLB0 is: (MAS2 >> 12) & (num_sets - 1) where "num_sets" is the tlb_sizes[] value divided by the tlb_ways[] value.”h]”hï)�”}”(hŒ˜The hash for determining set number in TLB0 is: (MAS2 >> 12) & (num_sets - 1) where "num_sets" is the tlb_sizes[] value divided by the tlb_ways[] value.”h]”hŒœThe hash for determining set number in TLB0 is: (MAS2 >> 12) & (num_sets - 1) where “num_setsâ€� is the tlb_sizes[] value divided by the tlb_ways[] value.”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj oubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjªnubj)�”}”(hŒjThe tsize field of mas1 shall be set to 4K on TLB0, even though the hardware ignores this value for TLB0. ”h]”hï)�”}”(hŒiThe tsize field of mas1 shall be set to 4K on TLB0, even though the hardware ignores this value for TLB0.”h]”hŒiThe tsize field of mas1 shall be set to 4K on TLB0, even though the hardware ignores this value for TLB0.”…”�”}”(hj(oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj$oubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjªnubeh}”(h]”h ]”h"]”h$]”h&]”j©jªuh1jh³hÇh´Mûhj¦nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Mûhj�mh²hubeh}”(h]”Œkvm-cap-sw-tlb”ah ]”h"]”Œ6.3 kvm_cap_sw_tlb”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MÙubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.4 KVM_CAP_S390_CSS_SUPPORT”h]”hŒ6.4 KVM_CAP_S390_CSS_SUPPORT”…”�”}”(hjSoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjPoh²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjgoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjdoh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjwoh]”hŒs390”…”�”}”(hjyoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjuoubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjdoubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjaoh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj•oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj’oh³hÇh´Kubj�)�”}”(hŒvcpu”h]”hï)�”}”(hj¥oh]”hŒvcpu”…”�”}”(hj§oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj£oubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj’oubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjaoh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÃoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀoh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjÓoh]”hŒnone”…”�”}”(hjÕoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÑoubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀoubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjaoh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjñoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjîoh³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÿoubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjîoubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjaoh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjPoh²hh³hÇh´M ubhï)�”}”(hŒIThis capability enables support for handling of channel I/O instructions.”h]”hŒIThis capability enables support for handling of channel I/O instructions.”…”�”}”(hj#ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjPoh²hubhï)�”}”(hŒ—TEST PENDING INTERRUPTION and the interrupt portion of TEST SUBCHANNEL are handled in-kernel, while the other I/O instructions are passed to userspace.”h]”hŒ—TEST PENDING INTERRUPTION and the interrupt portion of TEST SUBCHANNEL are handled in-kernel, while the other I/O instructions are passed to userspace.”…”�”}”(hj1ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjPoh²hubhï)�”}”(hŒ]When this capability is enabled, KVM_EXIT_S390_TSCH will occur on TEST SUBCHANNEL intercepts.”h]”hŒ]When this capability is enabled, KVM_EXIT_S390_TSCH will occur on TEST SUBCHANNEL intercepts.”…”�”}”(hj?ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjPoh²hubhï)�”}”(hŒdNote that even though this capability is enabled per-vcpu, the complete virtual machine is affected.”h]”hŒdNote that even though this capability is enabled per-vcpu, the complete virtual machine is affected.”…”�”}”(hjMph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjPoh²hubeh}”(h]”Œkvm-cap-s390-css-support”ah ]”h"]”Œ6.4 kvm_cap_s390_css_support”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.5 KVM_CAP_PPC_EPR”h]”hŒ6.5 KVM_CAP_PPC_EPR”…”�”}”(hjfph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjcph²hh³hÇh´Mubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjzph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjwph³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hjŠph]”hŒppc”…”�”}”(hjŒph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjˆpubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjwpubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjtph²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj¨ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¥ph³hÇh´Kubj�)�”}”(hŒvcpu”h]”hï)�”}”(hj¸ph]”hŒvcpu”…”�”}”(hjºph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj¶pubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¥pubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjtph²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÖph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÓph³hÇh´Kubj�)�”}”(hŒ4args[0] defines whether the proxy facility is active”h]”hï)�”}”(hjæph]”hŒ4args[0] defines whether the proxy facility is active”…”�”}”(hjèph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjäpubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÓpubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mhjtph²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjqh³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjqubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjqubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjtph²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjcph²hh³hÇh´Mubhï)�”}”(hŒcThis capability enables or disables the delivery of interrupts through the external proxy facility.”h]”hŒcThis capability enables or disables the delivery of interrupts through the external proxy facility.”…”�”}”(hj6qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hjcph²hubhï)�”}”(hŒÀWhen enabled (args[0] != 0), every time the guest gets an external interrupt delivered, it automatically exits into user space with a KVM_EXIT_EPR exit to receive the topmost interrupt vector.”h]”hŒÀWhen enabled (args[0] != 0), every time the guest gets an external interrupt delivered, it automatically exits into user space with a KVM_EXIT_EPR exit to receive the topmost interrupt vector.”…”�”}”(hjDqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hjcph²hubhï)�”}”(hŒMWhen disabled (args[0] == 0), behavior is as if this facility is unsupported.”h]”hŒMWhen disabled (args[0] == 0), behavior is as if this facility is unsupported.”…”�”}”(hjRqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)hjcph²hubhï)�”}”(hŒ8When this capability is enabled, KVM_EXIT_EPR can occur.”h]”hŒ8When this capability is enabled, KVM_EXIT_EPR can occur.”…”�”}”(hj`qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+hjcph²hubeh}”(h]”Œkvm-cap-ppc-epr”ah ]”h"]”Œ6.5 kvm_cap_ppc_epr”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.6 KVM_CAP_IRQ_MPIC”h]”hŒ6.6 KVM_CAP_IRQ_MPIC”…”�”}”(hjyqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjvqh²hh³hÇh´M.ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj�qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŠqh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hj�qh]”hŒppc”…”�”}”(hjŸqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0hj›qubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŠqubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M0hj‡qh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj»qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¸qh³hÇh´Kubj�)�”}”(hŒLargs[0] is the MPIC device fd; args[1] is the MPIC CPU number for this vcpu ”h]”hï)�”}”(hŒKargs[0] is the MPIC device fd; args[1] is the MPIC CPU number for this vcpu”h]”hŒKargs[0] is the MPIC device fd; args[1] is the MPIC CPU number for this vcpu”…”�”}”(hjÍqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1hjÉqubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¸qubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M1hj‡qh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjvqh²hh³hÇh´M0ubhï)�”}”(hŒ>This capability connects the vcpu to an in-kernel MPIC device.”h]”hŒ>This capability connects the vcpu to an in-kernel MPIC device.”…”�”}”(hjíqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4hjvqh²hubeh}”(h]”Œkvm-cap-irq-mpic”ah ]”h"]”Œ6.6 kvm_cap_irq_mpic”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´M.ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.7 KVM_CAP_IRQ_XICS”h]”hŒ6.7 KVM_CAP_IRQ_XICS”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjrh²hh³hÇh´M7ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjrh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hj*rh]”hŒppc”…”�”}”(hj,rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9hj(rubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjrubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M9hjrh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjHrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjErh³hÇh´Kubj�)�”}”(hŒvcpu”h]”hï)�”}”(hjXrh]”hŒvcpu”…”�”}”(hjZrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:hjVrubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjErubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M:hjrh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjvrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjsrh³hÇh´Kubj�)�”}”(hŒXargs[0] is the XICS device fd; args[1] is the XICS CPU number (server ID) for this vcpu ”h]”hï)�”}”(hŒWargs[0] is the XICS device fd; args[1] is the XICS CPU number (server ID) for this vcpu”h]”hŒWargs[0] is the XICS device fd; args[1] is the XICS CPU number (server ID) for this vcpu”…”�”}”(hjˆrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hj„rubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjsrubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M;hjrh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjrh²hh³hÇh´M9ubhï)�”}”(hŒ>This capability connects the vcpu to an in-kernel XICS device.”h]”hŒ>This capability connects the vcpu to an in-kernel XICS device.”…”�”}”(hj¨rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M>hjrh²hubeh}”(h]”Œkvm-cap-irq-xics”ah ]”h"]”Œ6.7 kvm_cap_irq_xics”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´M7ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.8 KVM_CAP_S390_IRQCHIP”h]”hŒ6.8 KVM_CAP_S390_IRQCHIP”…”�”}”(hjÁrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¾rh²hh³hÇh´MAubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÕrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÒrh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjårh]”hŒs390”…”�”}”(hjçrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MChjãrubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÒrubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MChjÏrh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjsh³hÇh´Kubj�)�”}”(hŒvm”h]”hï)�”}”(hjsh]”hŒvm”…”�”}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MDhjsubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjsubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MDhjÏrh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj1sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj.sh³hÇh´Kubj�)�”}”(hŒnone ”h]”hï)�”}”(hŒnone”h]”hŒnone”…”�”}”(hjCsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MEhj?subah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj.subeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MEhjÏrh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¾rh²hh³hÇh´MCubhï)�”}”(hŒnThis capability enables the in-kernel irqchip for s390. Please refer to "4.24 KVM_CREATE_IRQCHIP" for details.”h]”hŒrThis capability enables the in-kernel irqchip for s390. Please refer to “4.24 KVM_CREATE_IRQCHIPâ€� for details.”…”�”}”(hjcsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MGhj¾rh²hubeh}”(h]”Œkvm-cap-s390-irqchip”ah ]”h"]”Œ6.8 kvm_cap_s390_irqchip”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MAubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.9 KVM_CAP_MIPS_FPU”h]”hŒ6.9 KVM_CAP_MIPS_FPU”…”�”}”(hj|sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjysh²hh³hÇh´MKubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj�sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�sh³hÇh´Kubj�)�”}”(hŒmips”h]”hï)�”}”(hj sh]”hŒmips”…”�”}”(hj¢sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhjžsubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�subeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MMhjŠsh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj¾sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj»sh³hÇh´Kubj�)�”}”(hŒvcpu”h]”hï)�”}”(hjÎsh]”hŒvcpu”…”�”}”(hjÐsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MNhjÌsubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj»subeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MNhjŠsh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjìsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjésh³hÇh´Kubj�)�”}”(hŒ2args[0] is reserved for future use (should be 0). ”h]”hï)�”}”(hŒ1args[0] is reserved for future use (should be 0).”h]”hŒ1args[0] is reserved for future use (should be 0).”…”�”}”(hjþsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MOhjúsubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjésubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MOhjŠsh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjysh²hh³hÇh´MMubhï)�”}”(hX³This capability allows the use of the host Floating Point Unit by the guest. It allows the Config1.FP bit to be set to enable the FPU in the guest. Once this is done the ``KVM_REG_MIPS_FPR_*`` and ``KVM_REG_MIPS_FCR_*`` registers can be accessed (depending on the current guest FPU register mode), and the Status.FR, Config5.FRE bits are accessible via the KVM API and also from the guest, depending on them being supported by the FPU.”h]”(hŒªThis capability allows the use of the host Floating Point Unit by the guest. It allows the Config1.FP bit to be set to enable the FPU in the guest. Once this is done the ”…”�”}”(hjth²hh³Nh´NubjÈ)�”}”(hŒ``KVM_REG_MIPS_FPR_*``”h]”hŒKVM_REG_MIPS_FPR_*”…”�”}”(hj&th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjtubhŒ and ”…”�”}”(hjth²hh³Nh´NubjÈ)�”}”(hŒ``KVM_REG_MIPS_FCR_*``”h]”hŒKVM_REG_MIPS_FCR_*”…”�”}”(hj8th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjtubhŒØ registers can be accessed (depending on the current guest FPU register mode), and the Status.FR, Config5.FRE bits are accessible via the KVM API and also from the guest, depending on them being supported by the FPU.”…”�”}”(hjth²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQhjysh²hubeh}”(h]”Œkvm-cap-mips-fpu”ah ]”h"]”Œ6.9 kvm_cap_mips_fpu”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MKubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.10 KVM_CAP_MIPS_MSA”h]”hŒ6.10 KVM_CAP_MIPS_MSA”…”�”}”(hj[th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjXth²hh³hÇh´MYubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjoth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjlth³hÇh´Kubj�)�”}”(hŒmips”h]”hï)�”}”(hjth]”hŒmips”…”�”}”(hj�th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hj}tubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjltubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M[hjith²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj�th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjšth³hÇh´Kubj�)�”}”(hŒvcpu”h]”hï)�”}”(hj­th]”hŒvcpu”…”�”}”(hj¯th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\hj«tubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjštubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M\hjith²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjËth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÈth³hÇh´Kubj�)�”}”(hŒ2args[0] is reserved for future use (should be 0). ”h]”hï)�”}”(hŒ1args[0] is reserved for future use (should be 0).”h]”hŒ1args[0] is reserved for future use (should be 0).”…”�”}”(hjÝth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]hjÙtubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÈtubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M]hjith²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjXth²hh³hÇh´M[ubhï)�”}”(hXTThis capability allows the use of the MIPS SIMD Architecture (MSA) by the guest. It allows the Config3.MSAP bit to be set to enable the use of MSA by the guest. Once this is done the ``KVM_REG_MIPS_VEC_*`` and ``KVM_REG_MIPS_MSA_*`` registers can be accessed, and the Config5.MSAEn bit is accessible via the KVM API and also from the guest.”h]”(hŒ·This capability allows the use of the MIPS SIMD Architecture (MSA) by the guest. It allows the Config3.MSAP bit to be set to enable the use of MSA by the guest. Once this is done the ”…”�”}”(hjýth²hh³Nh´NubjÈ)�”}”(hŒ``KVM_REG_MIPS_VEC_*``”h]”hŒKVM_REG_MIPS_VEC_*”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjýtubhŒ and ”…”�”}”(hjýth²hh³Nh´NubjÈ)�”}”(hŒ``KVM_REG_MIPS_MSA_*``”h]”hŒKVM_REG_MIPS_MSA_*”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjýtubhŒl registers can be accessed, and the Config5.MSAEn bit is accessible via the KVM API and also from the guest.”…”�”}”(hjýth²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M_hjXth²hubeh}”(h]”Œkvm-cap-mips-msa”ah ]”h"]”Œ6.10 kvm_cap_mips_msa”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MYubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.74 KVM_CAP_SYNC_REGS”h]”hŒ6.74 KVM_CAP_SYNC_REGS”…”�”}”(hj:uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj7uh²hh³hÇh´Mfubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjNuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjKuh³hÇh´Kubj�)�”}”(hŒ s390, x86”h]”hï)�”}”(hj^uh]”hŒ s390, x86”…”�”}”(hj`uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhhj\uubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjKuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MhhjHuh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj|uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyuh³hÇh´Kubj�)�”}”(hŒs390: always enabled, x86: vcpu”h]”hï)�”}”(hjŒuh]”hŒs390: always enabled, x86: vcpu”…”�”}”(hjŽuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MihjŠuubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjyuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MihjHuh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjªuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj§uh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjºuh]”hŒnone”…”�”}”(hj¼uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mjhj¸uubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj§uubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MjhjHuh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjØuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÕuh³hÇh´Kubj�)�”}”(hŒ’x86: KVM_CHECK_EXTENSION returns a bit-array indicating which register sets are supported (bitfields defined in arch/x86/include/uapi/asm/kvm.h). ”h]”hï)�”}”(hŒ‘x86: KVM_CHECK_EXTENSION returns a bit-array indicating which register sets are supported (bitfields defined in arch/x86/include/uapi/asm/kvm.h).”h]”hŒ‘x86: KVM_CHECK_EXTENSION returns a bit-array indicating which register sets are supported (bitfields defined in arch/x86/include/uapi/asm/kvm.h).”…”�”}”(hjêuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mkhjæuubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÕuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MkhjHuh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj7uh²hh³hÇh´Mhubhï)�”}”(hXÅAs described above in the kvm_sync_regs struct info in section :ref:`kvm_run`, KVM_CAP_SYNC_REGS "allow[s] userspace to access certain guest registers without having to call SET/GET_*REGS". This reduces overhead by eliminating repeated ioctl calls for setting and/or getting register values. This is particularly important when userspace is making synchronous guest state modifications, e.g. when emulating and/or intercepting instructions in userspace.”h]”(hŒ?As described above in the kvm_sync_regs struct info in section ”…”�”}”(hj vh²hh³Nh´Nubh)�”}”(hŒ:ref:`kvm_run`”h]”jà)�”}”(hjvh]”hŒkvm_run”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhjvubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”j vŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjþŒkvm_run”uh1hh³hÇh´Mohj vubhX|, KVM_CAP_SYNC_REGS “allow[s] userspace to access certain guest registers without having to call SET/GET_*REGSâ€�. This reduces overhead by eliminating repeated ioctl calls for setting and/or getting register values. This is particularly important when userspace is making synchronous guest state modifications, e.g. when emulating and/or intercepting instructions in userspace.”…”�”}”(hj vh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mohj7uh²hubhï)�”}”(hŒ4For s390 specifics, please refer to the source code.”h]”hŒ4For s390 specifics, please refer to the source code.”…”�”}”(hjThis capability connects the vcpu to an in-kernel XIVE device.”h]”hŒ>This capability connects the vcpu to an in-kernel XIVE device.”…”�”}”(hjvwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M›hjÑvh²hubeh}”(h]”Œkvm-cap-ppc-irq-xive”ah ]”h"]”Œ6.75 kvm_cap_ppc_irq_xive”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´M”ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.76 KVM_CAP_HYPERV_SYNIC”h]”hŒ6.76 KVM_CAP_HYPERV_SYNIC”…”�”}”(hj�wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjŒwh²hh³hÇh´Mžubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj£wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj wh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj³wh]”hŒx86”…”�”}”(hjµwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj±wubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj wubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hj�wh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjÑwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÎwh³hÇh´Kubj�)�”}”(hŒvcpu ”h]”hï)�”}”(hŒvcpu”h]”hŒvcpu”…”�”}”(hjãwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡hjßwubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÎwubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¡hj�wh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjŒwh²hh³hÇh´M ubhï)�”}”(hŒÿThis capability, if KVM_CHECK_EXTENSION indicates that it is available, means that the kernel has an implementation of the Hyper-V Synthetic interrupt controller(SynIC). Hyper-V SynIC is used to support Windows Hyper-V based guest paravirt drivers(VMBus).”h]”hŒÿThis capability, if KVM_CHECK_EXTENSION indicates that it is available, means that the kernel has an implementation of the Hyper-V Synthetic interrupt controller(SynIC). Hyper-V SynIC is used to support Windows Hyper-V based guest paravirt drivers(VMBus).”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£hjŒwh²hubhï)�”}”(hXIn order to use SynIC, it has to be activated by setting this capability via KVM_ENABLE_CAP ioctl on the vcpu fd. Note that this will disable the use of APIC hardware virtualization even if supported by the CPU, as it's incompatible with SynIC auto-EOI behavior.”h]”hXIn order to use SynIC, it has to be activated by setting this capability via KVM_ENABLE_CAP ioctl on the vcpu fd. Note that this will disable the use of APIC hardware virtualization even if supported by the CPU, as it’s incompatible with SynIC auto-EOI behavior.”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨hjŒwh²hubeh}”(h]”Œkvm-cap-hyperv-synic”ah ]”h"]”Œ6.76 kvm_cap_hyperv_synic”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MžubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ6.77 KVM_CAP_HYPERV_SYNIC2”h]”hŒ6.77 KVM_CAP_HYPERV_SYNIC2”…”�”}”(hj*xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj'xh²hh³hÇh´M®ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj>xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj;xh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjNxh]”hŒx86”…”�”}”(hjPxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M°hjLxubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj;xubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M°hj8xh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjlxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjixh³hÇh´Kubj�)�”}”(hŒvcpu ”h]”hï)�”}”(hŒvcpu”h]”hŒvcpu”…”�”}”(hj~xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M±hjzxubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjixubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M±hj8xh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj'xh²hh³hÇh´M°ubhï)�”}”(hXThis capability enables a newer version of Hyper-V Synthetic interrupt controller (SynIC). The only difference with KVM_CAP_HYPERV_SYNIC is that KVM doesn't clear SynIC message and event flags pages when they are enabled by writing to the respective MSRs.”h]”hXThis capability enables a newer version of Hyper-V Synthetic interrupt controller (SynIC). The only difference with KVM_CAP_HYPERV_SYNIC is that KVM doesn’t clear SynIC message and event flags pages when they are enabled by writing to the respective MSRs.”…”�”}”(hjžxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³hj'xh²hubeh}”(h]”Œkvm-cap-hyperv-synic2”ah ]”h"]”Œ6.77 kvm_cap_hyperv_synic2”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´M®ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ#6.78 KVM_CAP_HYPERV_DIRECT_TLBFLUSH”h]”hŒ#6.78 KVM_CAP_HYPERV_DIRECT_TLBFLUSH”…”�”}”(hj·xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj´xh²hh³hÇh´M¹ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjËxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÈxh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÛxh]”hŒx86”…”�”}”(hjÝxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M»hjÙxubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÈxubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M»hjÅxh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjùxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjöxh³hÇh´Kubj�)�”}”(hŒvcpu ”h]”hï)�”}”(hŒvcpu”h]”hŒvcpu”…”�”}”(hj yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼hjyubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjöxubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¼hjÅxh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj´xh²hh³hÇh´M»ubhï)�”}”(hXmThis capability indicates that KVM running on top of Hyper-V hypervisor enables Direct TLB flush for its guests meaning that TLB flush hypercalls are handled by Level 0 hypervisor (Hyper-V) bypassing KVM. Due to the different ABI for hypercall parameters between Hyper-V and KVM, enabling this capability effectively disables all hypercall handling by KVM (as some KVM hypercall may be mistakenly treated as TLB flush hypercalls by Hyper-V) so userspace should disable KVM identification in CPUID and only exposes Hyper-V identification. In this case, guest thinks it's running on Hyper-V and only use Hyper-V hypercalls.”h]”hXoThis capability indicates that KVM running on top of Hyper-V hypervisor enables Direct TLB flush for its guests meaning that TLB flush hypercalls are handled by Level 0 hypervisor (Hyper-V) bypassing KVM. Due to the different ABI for hypercall parameters between Hyper-V and KVM, enabling this capability effectively disables all hypercall handling by KVM (as some KVM hypercall may be mistakenly treated as TLB flush hypercalls by Hyper-V) so userspace should disable KVM identification in CPUID and only exposes Hyper-V identification. In this case, guest thinks it’s running on Hyper-V and only use Hyper-V hypercalls.”…”�”}”(hj+yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾hj´xh²hubeh}”(h]”Œkvm-cap-hyperv-direct-tlbflush”ah ]”h"]”Œ#6.78 kvm_cap_hyperv_direct_tlbflush”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´M¹ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ!6.79 KVM_CAP_HYPERV_ENFORCE_CPUID”h]”hŒ!6.79 KVM_CAP_HYPERV_ENFORCE_CPUID”…”�”}”(hjDyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjAyh²hh³hÇh´MÉubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjXyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjUyh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjhyh]”hŒx86”…”�”}”(hjjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MËhjfyubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjUyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MËhjRyh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj†yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjƒyh³hÇh´Kubj�)�”}”(hŒvcpu ”h]”hï)�”}”(hŒvcpu”h]”hŒvcpu”…”�”}”(hj˜yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÌhj”yubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjƒyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÌhjRyh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjAy•h²hh³hÇh´MËubhï)�”}”(hX)When enabled, KVM will disable emulated Hyper-V features provided to the guest according to the bits Hyper-V CPUID feature leaves. Otherwise, all currently implemented Hyper-V features are provided unconditionally when Hyper-V identification is set in the HYPERV_CPUID_INTERFACE (0x40000001) leaf.”h]”hX)When enabled, KVM will disable emulated Hyper-V features provided to the guest according to the bits Hyper-V CPUID feature leaves. Otherwise, all currently implemented Hyper-V features are provided unconditionally when Hyper-V identification is set in the HYPERV_CPUID_INTERFACE (0x40000001) leaf.”…”�”}”(hj¸yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎhjAyh²hubeh}”(h]”Œkvm-cap-hyperv-enforce-cpuid”ah ]”h"]”Œ!6.79 kvm_cap_hyperv_enforce_cpuid”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MÉubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ%6.80 KVM_CAP_ENFORCE_PV_FEATURE_CPUID”h]”hŒ%6.80 KVM_CAP_ENFORCE_PV_FEATURE_CPUID”…”�”}”(hjÑyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÎyh²hh³hÇh´MÕubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjåyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjâyh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjõyh]”hŒx86”…”�”}”(hj÷yh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M×hjóyubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjâyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M×hjßyh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjzh³hÇh´Kubj�)�”}”(hŒvcpu ”h]”hï)�”}”(hŒvcpu”h]”hŒvcpu”…”�”}”(hj%zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØhj!zubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjzubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MØhjßyh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÎyh²hh³hÇh´M×ubhï)�”}”(hX When enabled, KVM will disable paravirtual features provided to the guest according to the bits in the KVM_CPUID_FEATURES CPUID leaf (0x40000001). Otherwise, a guest may use the paravirtual features regardless of what has actually been exposed through the CPUID leaf.”h]”hX When enabled, KVM will disable paravirtual features provided to the guest according to the bits in the KVM_CPUID_FEATURES CPUID leaf (0x40000001). Otherwise, a guest may use the paravirtual features regardless of what has actually been exposed through the CPUID leaf.”…”�”}”(hjEzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚhjÎyh²hubjT)�”}”(hŒ.. _KVM_CAP_DIRTY_LOG_RING:”h]”h}”(h]”h ]”h"]”h$]”h&]”j_Œkvm-cap-dirty-log-ring”uh1jSh´MßhjÎyh²hh³hÇubjT)�”}”(hŒ.. _cap_enable_vm:”h]”h}”(h]”h ]”h"]”h$]”h&]”j_Œ cap-enable-vm”uh1jSh´MâhjÎyh²hh³hÇj�}”Œkvm_cap_dirty_log_ring”jSzsjƒ}”j]zjSzsubeh}”(h]”Œ kvm-cap-enforce-pv-feature-cpuid”ah ]”h"]”Œ%6.80 kvm_cap_enforce_pv_feature_cpuid”ah$]”h&]”uh1hÈhjUjh²hh³hÇh´MÕubeh}”(h]”(Œ)capabilities-that-can-be-enabled-on-vcpus”jAjeh ]”h"]”(Œ,6. capabilities that can be enabled on vcpus”Œ cap_enable”eh$]”h&]”uh1hÈhhÊh²hh³hÇh´M™j�}”jzzj7jsjƒ}”jAjj7jsubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ*7. Capabilities that can be enabled on VMs”h]”hŒ*7. Capabilities that can be enabled on VMs”…”�”}”(hj‚zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjzh²hh³hÇh´Måubhï)�”}”(hŒ÷There are certain capabilities that change the behavior of the virtual machine when enabled. To enable them, please see section :ref:`KVM_ENABLE_CAP`. Below you can find a list of capabilities and what their effect on the VM is when enabling them.”h]”(hŒ€There are certain capabilities that change the behavior of the virtual machine when enabled. To enable them, please see section ”…”�”}”(hj�zh²hh³Nh´Nubh)�”}”(hŒ:ref:`KVM_ENABLE_CAP`”h]”jà)�”}”(hjšzh]”hŒKVM_ENABLE_CAP”…”�”}”(hjœzh²hh³Nh´Nubah}”(h]”h ]”(jëŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jßhj˜zubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jøŒ refdomain”j¦zŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjþŒkvm_enable_cap”uh1hh³hÇh´Mçhj�zubhŒb. Below you can find a list of capabilities and what their effect on the VM is when enabling them.”…”�”}”(hj�zh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mçhjzh²hubhï)�”}”(hŒAThe following information is provided along with the description:”h]”hŒAThe following information is provided along with the description:”…”�”}”(hjÂzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mìhjzh²hubj )�”}”(hX@Architectures: which instruction set architectures provide this ioctl. x86 includes both i386 and x86_64. Parameters: what parameters are accepted by the capability. Returns: the return value. General error numbers (EBADF, ENOMEM, EINVAL) are not detailed, but errors with specific meanings are. ”h]”j )�”}”(hhh]”(j)�”}”(hŒjArchitectures: which instruction set architectures provide this ioctl. x86 includes both i386 and x86_64. ”h]”(j)�”}”(hŒArchitectures:”h]”hŒArchitectures:”…”�”}”(hjÛzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´Mðhj×zubj%)�”}”(hhh]”hï)�”}”(hŒZwhich instruction set architectures provide this ioctl. x86 includes both i386 and x86_64.”h]”hŒZwhich instruction set architectures provide this ioctl. x86 includes both i386 and x86_64.”…”�”}”(hjìzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mïhjézubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj×zubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´MðhjÔzubj)�”}”(hŒrun::”h]”hŒVBefore exiting to userspace, kvm handlers should fill in s390_stsi field of vcpu->run:”…”�”}”(hjq~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;hjì}h²hubj8)�”}”(hŒýstruct { __u64 addr; __u8 ar; __u8 reserved; __u8 fc; __u8 sel1; __u16 sel2; } s390_stsi; @addr - guest address of STSI SYSIB @fc - function code @sel1 - selector 1 @sel2 - selector 2 @ar - access register number”h]”hŒýstruct { __u64 addr; __u8 ar; __u8 reserved; __u8 fc; __u8 sel1; __u16 sel2; } s390_stsi; @addr - guest address of STSI SYSIB @fc - function code @sel1 - selector 1 @sel2 - selector 2 @ar - access register number”…”�”}”hj~sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M>hjì}h²hubhï)�”}”(hŒ9KVM handlers should exit to userspace with rc = -EREMOTE.”h]”hŒ9KVM handlers should exit to userspace with rc = -EREMOTE.”…”�”}”(hj�~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MMhjì}h²hubeh}”(h]”Œkvm-cap-s390-user-stsi”ah ]”h"]”Œ7.4 kvm_cap_s390_user_stsi”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M2ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.5 KVM_CAP_SPLIT_IRQCHIP”h]”hŒ7.5 KVM_CAP_SPLIT_IRQCHIP”…”�”}”(hj¦~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj£~h²hh³hÇh´MPubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjº~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj·~h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÊ~h]”hŒx86”…”�”}”(hjÌ~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MRhjÈ~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj·~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MRhj´~h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjè~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjå~h³hÇh´Kubj�)�”}”(hŒ9args[0] - number of routes reserved for userspace IOAPICs”h]”hï)�”}”(hjø~h]”hŒ9args[0] - number of routes reserved for userspace IOAPICs”…”�”}”(hjú~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MShjö~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjå~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MShj´~h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjh³hÇh´Kubj�)�”}”(hŒ0 on success, -1 on error ”h]”hï)�”}”(hŒ0 on success, -1 on error”h]”hŒ0 on success, -1 on error”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MThj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MThj´~h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj£~h²hh³hÇh´MRubhï)�”}”(hŒáCreate a local apic for each processor in the kernel. This can be used instead of KVM_CREATE_IRQCHIP if the userspace VMM wishes to emulate the IOAPIC and PIC (and also the PIT, even though this has to be enabled separately).”h]”hŒáCreate a local apic for each processor in the kernel. This can be used instead of KVM_CREATE_IRQCHIP if the userspace VMM wishes to emulate the IOAPIC and PIC (and also the PIT, even though this has to be enabled separately).”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MVhj£~h²hubhï)�”}”(hX]This capability also enables in kernel routing of interrupt requests; when KVM_CAP_SPLIT_IRQCHIP only routes of KVM_IRQ_ROUTING_MSI type are used in the IRQ routing table. The first args[0] MSI routes are reserved for the IOAPIC pins. Whenever the LAPIC receives an EOI for these routes, a KVM_EXIT_IOAPIC_EOI vmexit will be reported to userspace.”h]”hX]This capability also enables in kernel routing of interrupt requests; when KVM_CAP_SPLIT_IRQCHIP only routes of KVM_IRQ_ROUTING_MSI type are used in the IRQ routing table. The first args[0] MSI routes are reserved for the IOAPIC pins. Whenever the LAPIC receives an EOI for these routes, a KVM_EXIT_IOAPIC_EOI vmexit will be reported to userspace.”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[hj£~h²hubhï)�”}”(hŒÔAs with ``KVM_CREATE_IRQCHIP``, subsequent vcpu creation may install a private memory slot at the APIC base address (0xfee00000) that must not overlap user memory regions. See ``KVM_CREATE_IRQCHIP`` for details.”h]”(hŒAs with ”…”�”}”(hjdh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_CREATE_IRQCHIP``”h]”hŒKVM_CREATE_IRQCHIP”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjdubhŒ“, subsequent vcpu creation may install a private memory slot at the APIC base address (0xfee00000) that must not overlap user memory regions. See ”…”�”}”(hjdh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_CREATE_IRQCHIP``”h]”hŒKVM_CREATE_IRQCHIP”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjdubhŒ for details.”…”�”}”(hjdh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mahj£~h²hubhï)�”}”(hŒ…Fails if VCPU has already been created, or if the irqchip is already in the kernel (i.e. KVM_CREATE_IRQCHIP has already been called).”h]”hŒ…Fails if VCPU has already been created, or if the irqchip is already in the kernel (i.e. KVM_CREATE_IRQCHIP has already been called).”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mehj£~h²hubeh}”(h]”Œkvm-cap-split-irqchip”ah ]”h"]”Œ7.5 kvm_cap_split_irqchip”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MPubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.6 KVM_CAP_S390_RI”h]”hŒ7.6 KVM_CAP_S390_RI”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¬h²hh³hÇh´Miubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀh³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjÓh]”hŒs390”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MkhjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mkhj½h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjîh³hÇh´Kubj�)�”}”(hŒnone ”h]”hï)�”}”(hŒnone”h]”hŒnone”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mlhjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjîubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mlhj½h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¬h²hh³hÇh´Mkubhï)�”}”(hŒÊAllows use of runtime-instrumentation introduced with zEC12 processor. Will return -EINVAL if the machine does not support runtime-instrumentation. Will return -EBUSY if a VCPU has already been created.”h]”hŒÊAllows use of runtime-instrumentation introduced with zEC12 processor. Will return -EINVAL if the machine does not support runtime-instrumentation. Will return -EBUSY if a VCPU has already been created.”…”�”}”(hj#€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mnhj¬h²hubeh}”(h]”Œkvm-cap-s390-ri”ah ]”h"]”Œ7.6 kvm_cap_s390_ri”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MiubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.7 KVM_CAP_X2APIC_API”h]”hŒ7.7 KVM_CAP_X2APIC_API”…”�”}”(hj<€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj9€h²hh³hÇh´Msubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjP€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjM€h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj`€h]”hŒx86”…”�”}”(hjb€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Muhj^€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjM€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MuhjJ€h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj~€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj{€h³hÇh´Kubj�)�”}”(hŒ)args[0] - features that should be enabled”h]”hï)�”}”(hjŽ€h]”hŒ)args[0] - features that should be enabled”…”�”}”(hj�€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MvhjŒ€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj{€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MvhjJ€h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj¬€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj©€h³hÇh´Kubj�)�”}”(hŒ=0 on success, -EINVAL when args[0] contains invalid features ”h]”hï)�”}”(hŒ<0 on success, -EINVAL when args[0] contains invalid features”h]”hŒ<0 on success, -EINVAL when args[0] contains invalid features”…”�”}”(hj¾€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mwhjº€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj©€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MwhjJ€h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj9€h²hh³hÇh´Muubhï)�”}”(hŒ$Valid feature flags in args[0] are::”h]”hŒ#Valid feature flags in args[0] are:”…”�”}”(hjÞ€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Myhj9€h²hubj8)�”}”(hX'#define KVM_X2APIC_API_USE_32BIT_IDS (1ULL << 0) #define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK (1ULL << 1) #define KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST (1ULL << 2) #define KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST (1ULL << 3)”h]”hX'#define KVM_X2APIC_API_USE_32BIT_IDS (1ULL << 0) #define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK (1ULL << 1) #define KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST (1ULL << 2) #define KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST (1ULL << 3)”…”�”}”hjì€sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M{hj9€h²hubhï)�”}”(hŒßEnabling KVM_X2APIC_API_USE_32BIT_IDS changes the behavior of KVM_SET_GSI_ROUTING, KVM_SIGNAL_MSI, KVM_SET_LAPIC, and KVM_GET_LAPIC, allowing the use of 32-bit APIC IDs. See KVM_CAP_X2APIC_API in their respective sections.”h]”hŒßEnabling KVM_X2APIC_API_USE_32BIT_IDS changes the behavior of KVM_SET_GSI_ROUTING, KVM_SIGNAL_MSI, KVM_SET_LAPIC, and KVM_GET_LAPIC, allowing the use of 32-bit APIC IDs. See KVM_CAP_X2APIC_API in their respective sections.”…”�”}”(hjú€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M€hj9€h²hubhï)�”}”(hXIKVM_X2APIC_API_DISABLE_BROADCAST_QUIRK must be enabled for x2APIC to work in logical mode or with more than 255 VCPUs. Otherwise, KVM treats 0xff as a broadcast even in x2APIC mode in order to support physical x2APIC without interrupt remapping. This is undesirable in logical mode, where 0xff represents CPUs 0-7 in cluster 0.”h]”hXIKVM_X2APIC_API_DISABLE_BROADCAST_QUIRK must be enabled for x2APIC to work in logical mode or with more than 255 VCPUs. Otherwise, KVM treats 0xff as a broadcast even in x2APIC mode in order to support physical x2APIC without interrupt remapping. This is undesirable in logical mode, where 0xff represents CPUs 0-7 in cluster 0.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M…hj9€h²hubhï)�”}”(hXISetting KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST instructs KVM to enable Suppress EOI Broadcasts. KVM will advertise support for Suppress EOI Broadcast to the guest and suppress LAPIC EOI broadcasts when the guest sets the Suppress EOI Broadcast bit in the SPIV register. This flag is supported only when using a split IRQCHIP.”h]”hXISetting KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST instructs KVM to enable Suppress EOI Broadcasts. KVM will advertise support for Suppress EOI Broadcast to the guest and suppress LAPIC EOI broadcasts when the guest sets the Suppress EOI Broadcast bit in the SPIV register. This flag is supported only when using a split IRQCHIP.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‹hj9€h²hubhï)�”}”(hŒ¢Setting KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST disables support for Suppress EOI Broadcasts entirely, i.e. instructs KVM to NOT advertise support to the guest.”h]”hŒ¢Setting KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST disables support for Suppress EOI Broadcasts entirely, i.e. instructs KVM to NOT advertise support to the guest.”…”�”}”(hj$�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‘hj9€h²hubhï)�”}”(hX|Modern VMMs should either enable KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST or KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST. If not, legacy quirky behavior will be used by KVM: in split IRQCHIP mode, KVM will advertise support for Suppress EOI Broadcasts but not actually suppress EOI broadcasts; for in-kernel IRQCHIP mode, KVM will not advertise support for Suppress EOI Broadcasts.”h]”hX|Modern VMMs should either enable KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST or KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST. If not, legacy quirky behavior will be used by KVM: in split IRQCHIP mode, KVM will advertise support for Suppress EOI Broadcasts but not actually suppress EOI broadcasts; for in-kernel IRQCHIP mode, KVM will not advertise support for Suppress EOI Broadcasts.”…”�”}”(hj2�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M•hj9€h²hubhï)�”}”(hŒÔSetting both KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST and KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST will fail with an EINVAL error, as will setting KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST without a split IRCHIP.”h]”hŒÔSetting both KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST and KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST will fail with an EINVAL error, as will setting KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST without a split IRCHIP.”…”�”}”(hj@�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mœhj9€h²hubeh}”(h]”Œkvm-cap-x2apic-api”ah ]”h"]”Œ7.7 kvm_cap_x2apic_api”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MsubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.8 KVM_CAP_S390_USER_INSTR0”h]”hŒ7.8 KVM_CAP_S390_USER_INSTR0”…”�”}”(hjY�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjV�h²hh³hÇh´M¢ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjm�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjj�h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj}�h]”hŒs390”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¤hj{�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¤hjg�h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj›�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj˜�h³hÇh´Kubj�)�”}”(hŒnone ”h]”hï)�”}”(hŒnone”h]”hŒnone”…”�”}”(hj­�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥hj©�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj˜�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¥hjg�h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjV�h²hh³hÇh´M¤ubhï)�”}”(hX5With this capability enabled, the illegal instruction 0x0000 (2 bytes) will be intercepted and forwarded to user space. User space can use this mechanism e.g. to realize 2-byte software breakpoints. The kernel will not inject an operating exception for these instructions, user space has to take care of that.”h]”hX5With this capability enabled, the illegal instruction 0x0000 (2 bytes) will be intercepted and forwarded to user space. User space can use this mechanism e.g. to realize 2-byte software breakpoints. The kernel will not inject an operating exception for these instructions, user space has to take care of that.”…”�”}”(hjÍ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M§hjV�h²hubhï)�”}”(hŒ^This capability can be enabled dynamically even if VCPUs were already created and are running.”h]”hŒ^This capability can be enabled dynamically even if VCPUs were already created and are running.”…”�”}”(hjÛ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M­hjV�h²hubeh}”(h]”Œkvm-cap-s390-user-instr0”ah ]”h"]”Œ7.8 kvm_cap_s390_user_instr0”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M¢ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.9 KVM_CAP_S390_GS”h]”hŒ7.9 KVM_CAP_S390_GS”…”�”}”(hjô�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjñ�h²hh³hÇh´M±ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‚h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj‚h]”hŒs390”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M³hj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M³hj‚h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj6‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj3‚h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjF‚h]”hŒnone”…”�”}”(hjH‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´hjD‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj3‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M´hj‚h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjd‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hja‚h³hÇh´Kubj�)�”}”(hŒr0 on success; -EINVAL if the machine does not support guarded storage; -EBUSY if a VCPU has already been created. ”h]”hï)�”}”(hŒq0 on success; -EINVAL if the machine does not support guarded storage; -EBUSY if a VCPU has already been created.”h]”hŒq0 on success; -EINVAL if the machine does not support guarded storage; -EBUSY if a VCPU has already been created.”…”�”}”(hjv‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mµhjr‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhja‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mµhj‚h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjñ�h²hh³hÇh´M³ubhï)�”}”(hŒ0Allows use of guarded storage for the KVM guest.”h]”hŒ0Allows use of guarded storage for the KVM guest.”…”�”}”(hj–‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸hjñ�h²hubeh}”(h]”Œkvm-cap-s390-gs”ah ]”h"]”Œ7.9 kvm_cap_s390_gs”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M±ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.10 KVM_CAP_S390_AIS”h]”hŒ7.10 KVM_CAP_S390_AIS”…”�”}”(hj¯‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¬‚h²hh³hÇh´M»ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀ‚h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjÓ‚h]”hŒs390”…”�”}”(hjÕ‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½hjÑ‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀ‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M½hj½‚h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjñ‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjî‚h³hÇh´Kubj�)�”}”(hŒnone ”h]”hï)�”}”(hŒnone”h]”hŒnone”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾hjÿ‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjî‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¾hj½‚h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¬‚h²hh³hÇh´M½ubhï)�”}”(hŒqAllow use of adapter-interruption suppression. :Returns: 0 on success; -EBUSY if a VCPU has already been created.”h]”hŒqAllow use of adapter-interruption suppression. :Returns: 0 on success; -EBUSY if a VCPU has already been created.”…”�”}”(hj#ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÀhj¬‚h²hubeh}”(h]”Œkvm-cap-s390-ais”ah ]”h"]”Œ7.10 kvm_cap_s390_ais”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M»ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.11 KVM_CAP_PPC_SMT”h]”hŒ7.11 KVM_CAP_PPC_SMT”…”�”}”(hj<ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj9ƒh²hh³hÇh´MÄubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjPƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjMƒh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hj`ƒh]”hŒppc”…”�”}”(hjbƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆhj^ƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjMƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÆhjJƒh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj~ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj{ƒh³hÇh´Kubj�)�”}”(hŒvsmt_mode, flags ”h]”hï)�”}”(hŒvsmt_mode, flags”h]”hŒvsmt_mode, flags”…”�”}”(hj�ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇhjŒƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj{ƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÇhjJƒh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj9ƒh²hh³hÇh´MÆubhï)�”}”(hX¹Enabling this capability on a VM provides userspace with a way to set the desired virtual SMT mode (i.e. the number of virtual CPUs per virtual core). The virtual SMT mode, vsmt_mode, must be a power of 2 between 1 and 8. On POWER8, vsmt_mode must also be no greater than the number of threads per subcore for the host. Currently flags must be 0. A successful call to enable this capability will result in vsmt_mode being returned when the KVM_CAP_PPC_SMT capability is subsequently queried for the VM. This capability is only supported by HV KVM, and can only be set before any VCPUs have been created. The KVM_CAP_PPC_SMT_POSSIBLE capability indicates which virtual SMT modes are available.”h]”hX¹Enabling this capability on a VM provides userspace with a way to set the desired virtual SMT mode (i.e. the number of virtual CPUs per virtual core). The virtual SMT mode, vsmt_mode, must be a power of 2 between 1 and 8. On POWER8, vsmt_mode must also be no greater than the number of threads per subcore for the host. Currently flags must be 0. A successful call to enable this capability will result in vsmt_mode being returned when the KVM_CAP_PPC_SMT capability is subsequently queried for the VM. This capability is only supported by HV KVM, and can only be set before any VCPUs have been created. The KVM_CAP_PPC_SMT_POSSIBLE capability indicates which virtual SMT modes are available.”…”�”}”(hj°ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÉhj9ƒh²hubeh}”(h]”Œkvm-cap-ppc-smt”ah ]”h"]”Œ7.11 kvm_cap_ppc_smt”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MÄubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.12 KVM_CAP_PPC_FWNMI”h]”hŒ7.12 KVM_CAP_PPC_FWNMI”…”�”}”(hjɃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjƃh²hh³hÇh´MÖubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj݃h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÚƒh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hjíƒh]”hŒppc”…”�”}”(hjïƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØhjëƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÚƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MØhj׃h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj „h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj„h³hÇh´Kubj�)�”}”(hŒnone ”h]”hï)�”}”(hŒnone”h]”hŒnone”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÙhj„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÙhj׃h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjƃh²hh³hÇh´MØubhï)�”}”(hX6With this capability a machine check exception in the guest address space will cause KVM to exit the guest with NMI exit reason. This enables QEMU to build error log and branch to guest kernel registered machine check handling routine. Without this capability KVM will branch to guests' 0x200 interrupt vector.”h]”hX8With this capability a machine check exception in the guest address space will cause KVM to exit the guest with NMI exit reason. This enables QEMU to build error log and branch to guest kernel registered machine check handling routine. Without this capability KVM will branch to guests’ 0x200 interrupt vector.”…”�”}”(hj=„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÛhjƃh²hubeh}”(h]”Œkvm-cap-ppc-fwnmi”ah ]”h"]”Œ7.12 kvm_cap_ppc_fwnmi”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MÖubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.13 KVM_CAP_X86_DISABLE_EXITS”h]”hŒ7.13 KVM_CAP_X86_DISABLE_EXITS”…”�”}”(hjV„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjS„h²hh³hÇh´Mâubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjg„h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjz„h]”hŒx86”…”�”}”(hj|„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mähjx„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjg„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mähjd„h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj˜„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj•„h³hÇh´Kubj�)�”}”(hŒ(args[0] defines which exits are disabled”h]”hï)�”}”(hj¨„h]”hŒ(args[0] defines which exits are disabled”…”�”}”(hjª„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Måhj¦„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj•„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Måhjd„h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÆ„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÄh³hÇh´Kubj�)�”}”(hŒd0 on success, -EINVAL when args[0] contains invalid exits or if any vCPUs have already been created ”h]”hï)�”}”(hŒc0 on success, -EINVAL when args[0] contains invalid exits or if any vCPUs have already been created”h]”hŒc0 on success, -EINVAL when args[0] contains invalid exits or if any vCPUs have already been created”…”�”}”(hjØ„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MæhjÔ„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÄubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mæhjd„h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjS„h²hh³hÇh´Mäubhï)�”}”(hŒValid bits in args[0] are::”h]”hŒValid bits in args[0] are:”…”�”}”(hjø„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MéhjS„h²hubj8)�”}”(hX#define KVM_X86_DISABLE_EXITS_MWAIT (1 << 0) #define KVM_X86_DISABLE_EXITS_HLT (1 << 1) #define KVM_X86_DISABLE_EXITS_PAUSE (1 << 2) #define KVM_X86_DISABLE_EXITS_CSTATE (1 << 3) #define KVM_X86_DISABLE_EXITS_APERFMPERF (1 << 4)”h]”hX#define KVM_X86_DISABLE_EXITS_MWAIT (1 << 0) #define KVM_X86_DISABLE_EXITS_HLT (1 << 1) #define KVM_X86_DISABLE_EXITS_PAUSE (1 << 2) #define KVM_X86_DISABLE_EXITS_CSTATE (1 << 3) #define KVM_X86_DISABLE_EXITS_APERFMPERF (1 << 4)”…”�”}”hj…sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MëhjS„h²hubhï)�”}”(hXcEnabling this capability on a VM provides userspace with a way to no longer intercept some instructions for improved latency in some workloads, and is suggested when vCPUs are associated to dedicated physical CPUs. More bits can be added in the future; userspace can just pass the KVM_CHECK_EXTENSION result to KVM_ENABLE_CAP to disable all such vmexits.”h]”hXcEnabling this capability on a VM provides userspace with a way to no longer intercept some instructions for improved latency in some workloads, and is suggested when vCPUs are associated to dedicated physical CPUs. More bits can be added in the future; userspace can just pass the KVM_CHECK_EXTENSION result to KVM_ENABLE_CAP to disable all such vmexits.”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MñhjS„h²hubhï)�”}”(hŒ=Do not enable KVM_FEATURE_PV_UNHALT if you disable HLT exits.”h]”hŒ=Do not enable KVM_FEATURE_PV_UNHALT if you disable HLT exits.”…”�”}”(hj"…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MøhjS„h²hubhï)�”}”(hXhVirtualizing the ``IA32_APERF`` and ``IA32_MPERF`` MSRs requires more than just disabling APERF/MPERF exits. While both Intel and AMD document strict usage conditions for these MSRs--emphasizing that only the ratio of their deltas over a time interval (T0 to T1) is architecturally defined--simply passing through the MSRs can still produce an incorrect ratio.”h]”(hŒVirtualizing the ”…”�”}”(hj0…h²hh³Nh´NubjÈ)�”}”(hŒ``IA32_APERF``”h]”hŒ IA32_APERF”…”�”}”(hj8…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj0…ubhŒ and ”…”�”}”(hj0…h²hh³Nh´NubjÈ)�”}”(hŒ``IA32_MPERF``”h]”hŒ IA32_MPERF”…”�”}”(hjJ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj0…ubhX6 MSRs requires more than just disabling APERF/MPERF exits. While both Intel and AMD document strict usage conditions for these MSRs--emphasizing that only the ratio of their deltas over a time interval (T0 to T1) is architecturally defined--simply passing through the MSRs can still produce an incorrect ratio.”…”�”}”(hj0…h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MúhjS„h²hubhï)�”}”(hŒ5This erroneous ratio can occur if, between T0 and T1:”h]”hŒ5This erroneous ratio can occur if, between T0 and T1:”…”�”}”(hjb…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjS„h²hubjz)�”}”(hhh]”(j)�”}”(hŒ4The vCPU thread migrates between logical processors.”h]”hï)�”}”(hju…h]”hŒ4The vCPU thread migrates between logical processors.”…”�”}”(hjw…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjs…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjp…h²hh³hÇh´Nubj)�”}”(hŒ7Live migration or suspend/resume operations take place.”h]”hï)�”}”(hjŒ…h]”hŒ7Live migration or suspend/resume operations take place.”…”�”}”(hjŽ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjŠ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjp…h²hh³hÇh´Nubj)�”}”(hŒ1Another task shares the vCPU's logical processor.”h]”hï)�”}”(hj£…h]”hŒ3Another task shares the vCPU’s logical processor.”…”�”}”(hj¥…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¡…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjp…h²hh³hÇh´Nubj)�”}”(hŒAC-states lower than C0 are emulated (e.g., via HLT interception).”h]”hï)�”}”(hjº…h]”hŒAC-states lower than C0 are emulated (e.g., via HLT interception).”…”�”}”(hj¼…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj¸…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjp…h²hh³hÇh´Nubj)�”}”(hŒ>The guest TSC frequency doesn't match the host TSC frequency. ”h]”hï)�”}”(hŒ=The guest TSC frequency doesn't match the host TSC frequency.”h]”hŒ?The guest TSC frequency doesn’t match the host TSC frequency.”…”�”}”(hjÓ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjÏ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjp…h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jjKjhjjûuh1jyhjS„h²hh³hÇh´M ubhï)�”}”(hX.Due to these complexities, KVM does not automatically associate this passthrough capability with the guest CPUID bit, ``CPUID.6:ECX.APERFMPERF[bit 0]``. Userspace VMMs that deem this mechanism adequate for virtualizing the ``IA32_APERF`` and ``IA32_MPERF`` MSRs must set the guest CPUID bit explicitly.”h]”(hŒvDue to these complexities, KVM does not automatically associate this passthrough capability with the guest CPUID bit, ”…”�”}”(hjí…h²hh³Nh´NubjÈ)�”}”(hŒ!``CPUID.6:ECX.APERFMPERF[bit 0]``”h]”hŒCPUID.6:ECX.APERFMPERF[bit 0]”…”�”}”(hjõ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjí…ubhŒH. Userspace VMMs that deem this mechanism adequate for virtualizing the ”…”�”}”(hjí…h²hh³Nh´NubjÈ)�”}”(hŒ``IA32_APERF``”h]”hŒ IA32_APERF”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjí…ubhŒ and ”…”�”}”(hjí…h²hh³Nh´NubjÈ)�”}”(hŒ``IA32_MPERF``”h]”hŒ IA32_MPERF”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjí…ubhŒ. MSRs must set the guest CPUID bit explicitly.”…”�”}”(hjí…h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjS„h²hubeh}”(h]”Œkvm-cap-x86-disable-exits”ah ]”h"]”Œ7.13 kvm_cap_x86_disable_exits”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MâubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.14 KVM_CAP_S390_HPAGE_1M”h]”hŒ7.14 KVM_CAP_S390_HPAGE_1M”…”�”}”(hj<†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj9†h²hh³hÇh´M ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjP†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjM†h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj`†h]”hŒs390”…”�”}”(hjb†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj^†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjM†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjJ†h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj~†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj{†h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjކh]”hŒnone”…”�”}”(hj�†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjŒ†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj{†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjJ†h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj¬†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj©†h³hÇh´Kubj�)�”}”(hŒ€0 on success, -EINVAL if hpage module parameter was not set or cmma is enabled, or the VM has the KVM_VM_S390_UCONTROL flag set ”h]”hï)�”}”(hŒ0 on success, -EINVAL if hpage module parameter was not set or cmma is enabled, or the VM has the KVM_VM_S390_UCONTROL flag set”h]”hŒ0 on success, -EINVAL if hpage module parameter was not set or cmma is enabled, or the VM has the KVM_VM_S390_UCONTROL flag set”…”�”}”(hj¾†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjº†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj©†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M hjJ†h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj9†h²hh³hÇh´M ubhï)�”}”(hXOWith this capability the KVM support for memory backing with 1m pages through hugetlbfs can be enabled for a VM. After the capability is enabled, cmma can't be enabled anymore and pfmfi and the storage key interpretation are disabled. If cmma has already been enabled or the hpage module parameter is not set to 1, -EINVAL is returned.”h]”hXQWith this capability the KVM support for memory backing with 1m pages through hugetlbfs can be enabled for a VM. After the capability is enabled, cmma can’t be enabled anymore and pfmfi and the storage key interpretation are disabled. If cmma has already been enabled or the hpage module parameter is not set to 1, -EINVAL is returned.”…”�”}”(hjÞ†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj9†h²hubhï)�”}”(hŒwWhile it is generally possible to create a huge page backed VM without this capability, the VM will not be able to run.”h]”hŒwWhile it is generally possible to create a huge page backed VM without this capability, the VM will not be able to run.”…”�”}”(hjì†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hj9†h²hubeh}”(h]”Œkvm-cap-s390-hpage-1m”ah ]”h"]”Œ7.14 kvm_cap_s390_hpage_1m”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.15 KVM_CAP_MSR_PLATFORM_INFO”h]”hŒ7.15 KVM_CAP_MSR_PLATFORM_INFO”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj‡h²hh³hÇh´M# ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‡h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj)‡h]”hŒx86”…”�”}”(hj+‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M% hj'‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M% hj‡h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjG‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjD‡h³hÇh´Kubj�)�”}”(hŒ1args[0] whether feature should be enabled or not ”h]”hï)�”}”(hŒ0args[0] whether feature should be enabled or not”h]”hŒ0args[0] whether feature should be enabled or not”…”�”}”(hjY‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M& hjU‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjD‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M& hj‡h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj‡h²hh³hÇh´M% ubhï)�”}”(hŒÚWith this capability, a guest may read the MSR_PLATFORM_INFO MSR. Otherwise, a #GP would be raised when the guest tries to access. Currently, this capability does not enable write permissions of this MSR for the guest.”h]”hŒÚWith this capability, a guest may read the MSR_PLATFORM_INFO MSR. Otherwise, a #GP would be raised when the guest tries to access. Currently, this capability does not enable write permissions of this MSR for the guest.”…”�”}”(hjy‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M( hj‡h²hubeh}”(h]”Œkvm-cap-msr-platform-info”ah ]”h"]”Œ7.15 kvm_cap_msr_platform_info”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M# ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.16 KVM_CAP_PPC_NESTED_HV”h]”hŒ7.16 KVM_CAP_PPC_NESTED_HV”…”�”}”(hj’‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj�‡h²hh³hÇh´M- ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¦‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj£‡h³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hj¶‡h]”hŒppc”…”�”}”(hj¸‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/ hj´‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj£‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M/ hj ‡h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÔ‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjчh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjä‡h]”hŒnone”…”�”}”(hjæ‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0 hjâ‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjчubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M0 hj ‡h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÿ‡h³hÇh´Kubj�)�”}”(hŒX0 on success, -EINVAL when the implementation doesn't support nested-HV virtualization. ”h]”hï)�”}”(hŒW0 on success, -EINVAL when the implementation doesn't support nested-HV virtualization.”h]”hŒY0 on success, -EINVAL when the implementation doesn’t support nested-HV virtualization.”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1 hjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÿ‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M1 hj ‡h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj�‡h²hh³hÇh´M/ ubhï)�”}”(hXeHV-KVM on POWER9 and later systems allows for "nested-HV" virtualization, which provides a way for a guest VM to run guests that can run using the CPU's supervisor mode (privileged non-hypervisor state). Enabling this capability on a VM depends on the CPU having the necessary functionality and on the facility being enabled with a kvm-hv module parameter.”h]”hXkHV-KVM on POWER9 and later systems allows for “nested-HVâ€� virtualization, which provides a way for a guest VM to run guests that can run using the CPU’s supervisor mode (privileged non-hypervisor state). Enabling this capability on a VM depends on the CPU having the necessary functionality and on the facility being enabled with a kvm-hv module parameter.”…”�”}”(hj4ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4 hj�‡h²hubeh}”(h]”Œkvm-cap-ppc-nested-hv”ah ]”h"]”Œ7.16 kvm_cap_ppc_nested_hv”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M- ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.17 KVM_CAP_EXCEPTION_PAYLOAD”h]”hŒ7.17 KVM_CAP_EXCEPTION_PAYLOAD”…”�”}”(hjMˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjJˆh²hh³hÇh´M< ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjaˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj^ˆh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjqˆh]”hŒx86”…”�”}”(hjsˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M> hjoˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj^ˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M> hj[ˆh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj�ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŒˆh³hÇh´Kubj�)�”}”(hŒ1args[0] whether feature should be enabled or not ”h]”hï)�”}”(hŒ0args[0] whether feature should be enabled or not”h]”hŒ0args[0] whether feature should be enabled or not”…”�”}”(hj¡ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M? hj�ˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŒˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M? hj[ˆh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjJˆh²hh³hÇh´M> ubhï)�”}”(hXÎWith this capability enabled, CR2 will not be modified prior to the emulated VM-exit when L1 intercepts a #PF exception that occurs in L2. Similarly, for kvm-intel only, DR6 will not be modified prior to the emulated VM-exit when L1 intercepts a #DB exception that occurs in L2. As a result, when KVM_GET_VCPU_EVENTS reports a pending #PF (or #DB) exception for L2, exception.has_payload will be set and the faulting address (or the new DR6 bits*) will be reported in the exception_payload field. Similarly, when userspace injects a #PF (or #DB) into L2 using KVM_SET_VCPU_EVENTS, it is expected to set exception.has_payload and to put the faulting address - or the new DR6 bits\ [#]_ - in the exception_payload field.”h]”(hX¨With this capability enabled, CR2 will not be modified prior to the emulated VM-exit when L1 intercepts a #PF exception that occurs in L2. Similarly, for kvm-intel only, DR6 will not be modified prior to the emulated VM-exit when L1 intercepts a #DB exception that occurs in L2. As a result, when KVM_GET_VCPU_EVENTS reports a pending #PF (or #DB) exception for L2, exception.has_payload will be set and the faulting address (or the new DR6 bits*) will be reported in the exception_payload field. Similarly, when userspace injects a #PF (or #DB) into L2 using KVM_SET_VCPU_EVENTS, it is expected to set exception.has_payload and to put the faulting address - or the new DR6 bits ”…”�”}”(hjÁˆh²hh³Nh´Nubj¡¡)�”}”(hŒ[#]_”h]”hŒ3”…”�”}”(hjɈh²hh³Nh´Nubah}”(h]”Œid22”ah ]”h"]”h$]”h&]”Œauto”Kj_Œid23”j²¡jøuh1j ¡hjÁˆj³¡KubhŒ" - in the exception_payload field.”…”�”}”(hjÁˆh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MA hjJˆh²hubhï)�”}”(hŒ˜This capability also enables exception.pending in struct kvm_vcpu_events, which allows userspace to distinguish between pending and injected exceptions.”h]”hŒ˜This capability also enables exception.pending in struct kvm_vcpu_events, which allows userspace to distinguish between pending and injected exceptions.”…”�”}”(hjäˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MM hjJˆh²hubjÇ£)�”}”(hŒXFor the new DR6 bits, note that bit 16 is set iff the #DB exception will clear DR6.RTM. ”h]”(jÍ£)�”}”(hhh]”hŒ3”…”�”}”(hjöˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÌ£hjòˆh²hh³Nh´Nubhï)�”}”(hŒWFor the new DR6 bits, note that bit 16 is set iff the #DB exception will clear DR6.RTM.”h]”hŒWFor the new DR6 bits, note that bit 16 is set iff the #DB exception will clear DR6.RTM.”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MR hjòˆubeh}”(h]”jÙˆah ]”h"]”Œ3”ah$]”h&]”jÓˆaj؈Kj²¡jøuh1jÆ£h³hÇh´MR hjJˆh²hubeh}”(h]”Œkvm-cap-exception-payload”ah ]”h"]”Œ7.17 kvm_cap_exception_payload”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M< ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ&7.18 KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2”h]”hŒ&7.18 KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2”…”�”}”(hj#‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj ‰h²hh³hÇh´MV ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj7‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj4‰h³hÇh´Kubj�)�”}”(hŒx86, arm64, mips”h]”hï)�”}”(hjG‰h]”hŒx86, arm64, mips”…”�”}”(hjI‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MX hjE‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj4‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MX hj1‰h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hje‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjb‰h³hÇh´Kubj�)�”}”(hŒ1args[0] whether feature should be enabled or not ”h]”hï)�”}”(hŒ0args[0] whether feature should be enabled or not”h]”hŒ0args[0] whether feature should be enabled or not”…”�”}”(hjw‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MY hjs‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjb‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MY hj1‰h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj ‰h²hh³hÇh´MX ubhï)�”}”(hŒValid flags are::”h]”hŒValid flags are:”…”�”}”(hj—‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[ hj ‰h²hubj8)�”}”(hŒm#define KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE (1 << 0) #define KVM_DIRTY_LOG_INITIALLY_SET (1 << 1)”h]”hŒm#define KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE (1 << 0) #define KVM_DIRTY_LOG_INITIALLY_SET (1 << 1)”…”�”}”hj¥‰sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M] hj ‰h²hubhï)�”}”(hŒîWith KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE is set, KVM_GET_DIRTY_LOG will not automatically clear and write-protect all pages that are returned as dirty. Rather, userspace will have to do this operation separately using KVM_CLEAR_DIRTY_LOG.”h]”hŒîWith KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE is set, KVM_GET_DIRTY_LOG will not automatically clear and write-protect all pages that are returned as dirty. Rather, userspace will have to do this operation separately using KVM_CLEAR_DIRTY_LOG.”…”�”}”(hj³‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M` hj ‰h²hubhï)�”}”(hX(At the cost of a slightly more complicated operation, this provides better scalability and responsiveness for two reasons. First, KVM_CLEAR_DIRTY_LOG ioctl can operate on a 64-page granularity rather than requiring to sync a full memslot; this ensures that KVM does not take spinlocks for an extended period of time. Second, in some cases a large amount of time can pass between a call to KVM_GET_DIRTY_LOG and userspace actually using the data in the page. Pages can be modified during this time, which is inefficient for both the guest and userspace: the guest will incur a higher penalty due to write protection faults, while userspace can see false reports of dirty pages. Manual reprotection helps reducing this time, improving guest performance and reducing the number of dirty log false positives.”h]”hX(At the cost of a slightly more complicated operation, this provides better scalability and responsiveness for two reasons. First, KVM_CLEAR_DIRTY_LOG ioctl can operate on a 64-page granularity rather than requiring to sync a full memslot; this ensures that KVM does not take spinlocks for an extended period of time. Second, in some cases a large amount of time can pass between a call to KVM_GET_DIRTY_LOG and userspace actually using the data in the page. Pages can be modified during this time, which is inefficient for both the guest and userspace: the guest will incur a higher penalty due to write protection faults, while userspace can see false reports of dirty pages. Manual reprotection helps reducing this time, improving guest performance and reducing the number of dirty log false positives.”…”�”}”(hjÁ‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Me hj ‰h²hubhï)�”}”(hXWith KVM_DIRTY_LOG_INITIALLY_SET set, all the bits of the dirty bitmap will be initialized to 1 when created. This also improves performance because dirty logging can be enabled gradually in small chunks on the first call to KVM_CLEAR_DIRTY_LOG. KVM_DIRTY_LOG_INITIALLY_SET depends on KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE (it is also only available on x86, arm64 and riscv for now).”h]”hXWith KVM_DIRTY_LOG_INITIALLY_SET set, all the bits of the dirty bitmap will be initialized to 1 when created. This also improves performance because dirty logging can be enabled gradually in small chunks on the first call to KVM_CLEAR_DIRTY_LOG. KVM_DIRTY_LOG_INITIALLY_SET depends on KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE (it is also only available on x86, arm64 and riscv for now).”…”�”}”(hjωh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mr hj ‰h²hubhï)�”}”(hX\KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 was previously available under the name KVM_CAP_MANUAL_DIRTY_LOG_PROTECT, but the implementation had bugs that make it hard or impossible to use it correctly. The availability of KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 signals that those bugs are fixed. Userspace should not try to use KVM_CAP_MANUAL_DIRTY_LOG_PROTECT.”h]”hX\KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 was previously available under the name KVM_CAP_MANUAL_DIRTY_LOG_PROTECT, but the implementation had bugs that make it hard or impossible to use it correctly. The availability of KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 signals that those bugs are fixed. Userspace should not try to use KVM_CAP_MANUAL_DIRTY_LOG_PROTECT.”…”�”}”(hj݉h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´My hj ‰h²hubeh}”(h]”Œ!kvm-cap-manual-dirty-log-protect2”ah ]”h"]”Œ&7.18 kvm_cap_manual_dirty_log_protect2”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MV ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.19 KVM_CAP_PPC_SECURE_GUEST”h]”hŒ7.19 KVM_CAP_PPC_SECURE_GUEST”…”�”}”(hjö‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjó‰h²hh³hÇh´M€ ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŠh³hÇh´Kubj�)�”}”(hŒppc ”h]”hï)�”}”(hŒppc”h]”hŒppc”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‚ hjŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‚ hjŠh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjó‰h²hh³hÇh´M‚ ubhï)�”•A}”(hXÀThis capability indicates that KVM is running on a host that has ultravisor firmware and thus can support a secure guest. On such a system, a guest can ask the ultravisor to make it a secure guest, one whose memory is inaccessible to the host except for pages which are explicitly requested to be shared with the host. The ultravisor notifies KVM when a guest requests to become a secure guest, and KVM has the opportunity to veto the transition.”h]”hXÀThis capability indicates that KVM is running on a host that has ultravisor firmware and thus can support a secure guest. On such a system, a guest can ask the ultravisor to make it a secure guest, one whose memory is inaccessible to the host except for pages which are explicitly requested to be shared with the host. The ultravisor notifies KVM when a guest requests to become a secure guest, and KVM has the opportunity to veto the transition.”…”�”}”(hj<Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M„ hjó‰h²hubhï)�”}”(hŒžIf present, this capability can be enabled for a VM, meaning that KVM will allow the transition to secure guest mode. Otherwise KVM will veto the transition.”h]”hŒžIf present, this capability can be enabled for a VM, meaning that KVM will allow the transition to secure guest mode. Otherwise KVM will veto the transition.”…”�”}”(hjJŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŒ hjó‰h²hubeh}”(h]”Œkvm-cap-ppc-secure-guest”ah ]”h"]”Œ7.19 kvm_cap_ppc_secure_guest”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M€ ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.20 KVM_CAP_HALT_POLL”h]”hŒ7.20 KVM_CAP_HALT_POLL”…”�”}”(hjcŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj`Šh²hh³hÇh´M‘ ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjwŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjtŠh³hÇh´Kubj�)�”}”(hŒall”h]”hï)�”}”(hj‡Šh]”hŒall”…”�”}”(hj‰Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“ hj…Šubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjtŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M“ hjqŠh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj¥Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¢Šh³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hjµŠh]”hŒVM”…”�”}”(hj·Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M” hj³Šubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¢Šubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M” hjqŠh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÓŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjЊh³hÇh´Kubj�)�”}”(hŒ/args[0] is the maximum poll time in nanoseconds”h]”hï)�”}”(hjãŠh]”hŒ/args[0] is the maximum poll time in nanoseconds”…”�”}”(hjåŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M• hjáŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjЊubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M• hjqŠh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjþŠh³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M– hj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjþŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M– hjqŠh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj`Šh²hh³hÇh´M“ ubhï)�”}”(hŒþKVM_CAP_HALT_POLL overrides the kvm.halt_poll_ns module parameter to set the maximum halt-polling time for all vCPUs in the target VM. This capability can be invoked at any time and any number of times to dynamically change the maximum halt-polling time.”h]”hŒþKVM_CAP_HALT_POLL overrides the kvm.halt_poll_ns module parameter to set the maximum halt-polling time for all vCPUs in the target VM. This capability can be invoked at any time and any number of times to dynamically change the maximum halt-polling time.”…”�”}”(hj3‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜ hj`Šh²hubhï)�”}”(hŒQSee Documentation/virt/kvm/halt-polling.rst for more information on halt polling.”h]”hŒQSee Documentation/virt/kvm/halt-polling.rst for more information on halt polling.”…”�”}”(hjA‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M� hj`Šh²hubeh}”(h]”Œkvm-cap-halt-poll”ah ]”h"]”Œ7.20 kvm_cap_halt_poll”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M‘ ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.21 KVM_CAP_X86_USER_SPACE_MSR”h]”hŒ7.21 KVM_CAP_X86_USER_SPACE_MSR”…”�”}”(hjZ‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjW‹h²hh³hÇh´M¡ ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjn‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjk‹h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj~‹h]”hŒx86”…”�”}”(hj€‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M£ hj|‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjk‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M£ hjh‹h²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjœ‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj™‹h³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hj¬‹h]”hŒVM”…”�”}”(hj®‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¤ hjª‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj™‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¤ hjh‹h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÊ‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÇ‹h³hÇh´Kubj�)�”}”(hŒCargs[0] contains the mask of KVM_MSR_EXIT_REASON_* events to report”h]”hï)�”}”(hjÚ‹h]”hŒCargs[0] contains the mask of KVM_MSR_EXIT_REASON_* events to report”…”�”}”(hjÜ‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¥ hjØ‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÇ‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¥ hjh‹h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjø‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjõ‹h³hÇh´Kubj�)�”}”(hŒ0 on success; -1 on error ”h]”hï)�”}”(hŒ0 on success; -1 on error”h]”hŒ0 on success; -1 on error”…”�”}”(hj Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¦ hjŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjõ‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¦ hjh‹h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjW‹h²hh³hÇh´M£ ubhï)�”}”(hŒšThis capability allows userspace to intercept RDMSR and WRMSR instructions if access to an MSR is denied. By default, KVM injects #GP on denied accesses.”h]”hŒšThis capability allows userspace to intercept RDMSR and WRMSR instructions if access to an MSR is denied. By default, KVM injects #GP on denied accesses.”…”�”}”(hj*Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¨ hjW‹h²hubhï)�”}”(hŒ£When a guest requests to read or write an MSR, KVM may not implement all MSRs that are relevant to a respective system. It also does not differentiate by CPU type.”h]”hŒ£When a guest requests to read or write an MSR, KVM may not implement all MSRs that are relevant to a respective system. It also does not differentiate by CPU type.”…”�”}”(hj8Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M« hjW‹h²hubhï)�”}”(hX´To allow more fine grained control over MSR handling, userspace may enable this capability. With it enabled, MSR accesses that match the mask specified in args[0] and would trigger a #GP inside the guest will instead trigger KVM_EXIT_X86_RDMSR and KVM_EXIT_X86_WRMSR exit notifications. Userspace can then implement model specific MSR handling and/or user notifications to inform a user that an MSR was not emulated/virtualized by KVM.”h]”hX´To allow more fine grained control over MSR handling, userspace may enable this capability. With it enabled, MSR accesses that match the mask specified in args[0] and would trigger a #GP inside the guest will instead trigger KVM_EXIT_X86_RDMSR and KVM_EXIT_X86_WRMSR exit notifications. Userspace can then implement model specific MSR handling and/or user notifications to inform a user that an MSR was not emulated/virtualized by KVM.”…”�”}”(hjFŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯ hjW‹h²hubhï)�”}”(hŒThe valid mask flags are:”h]”hŒThe valid mask flags are:”…”�”}”(hjTŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¶ hjW‹h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchjeŒubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K/uh1jchjeŒubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MSR_EXIT_REASON_UNKNOWN”h]”hŒKVM_MSR_EXIT_REASON_UNKNOWN”…”�”}”(hj…Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¹ hj‚Œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŒubj„)�”}”(hhh]”hï)�”}”(hŒ+intercept accesses to unknown (to KVM) MSRs”h]”hŒ+intercept accesses to unknown (to KVM) MSRs”…”�”}”(hjœŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¹ hj™Œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj|Œubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MSR_EXIT_REASON_INVAL”h]”hŒKVM_MSR_EXIT_REASON_INVAL”…”�”}”(hj¼Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mº hj¹Œubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¶Œubj„)�”}”(hhh]”hï)�”}”(hŒ[intercept accesses that are architecturally invalid according to the vCPU model and/or mode”h]”hŒ[intercept accesses that are architecturally invalid according to the vCPU model and/or mode”…”�”}”(hjÓŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mº hjÐŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj¶Œubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj|Œubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒKVM_MSR_EXIT_REASON_FILTER”h]”hŒKVM_MSR_EXIT_REASON_FILTER”…”�”}”(hjóŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼ hjðŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjíŒubj„)�”}”(hhh]”hï)�”}”(hŒJintercept accesses that are denied by userspace via KVM_X86_SET_MSR_FILTER”h]”hŒJintercept accesses that are denied by userspace via KVM_X86_SET_MSR_FILTER”…”�”}”(hj �h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼ hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjíŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj|Œubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhjeŒubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjbŒubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhjW‹h²hh³hÇh´Nubeh}”(h]”Œkvm-cap-x86-user-space-msr”ah ]”h"]”Œ7.21 kvm_cap_x86_user_space_msr”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M¡ ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.22 KVM_CAP_X86_BUS_LOCK_EXIT”h]”hŒ7.22 KVM_CAP_X86_BUS_LOCK_EXIT”…”�”}”(hjB�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj?�h²hh³hÇh´MÁ ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjV�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjS�h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjf�h]”hŒx86”…”�”}”(hjh�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mà hjd�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjS�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mà hjP�h²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj„�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj��h³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hj”�h]”hŒVM”…”�”}”(hj–�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÄ hj’�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj��ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÄ hjP�h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj²�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¯�h³hÇh´Kubj�)�”}”(hŒ@args[0] defines the policy used when bus locks detected in guest”h]”hï)�”}”(hjÂ�h]”hŒ@args[0] defines the policy used when bus locks detected in guest”…”�”}”(hjÄ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅ hjÀ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¯�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÅ hjP�h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjà�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÝ�h³hÇh´Kubj�)�”}”(hŒ90 on success, -EINVAL when args[0] contains invalid bits ”h]”hï)�”}”(hŒ80 on success, -EINVAL when args[0] contains invalid bits”h]”hŒ80 on success, -EINVAL when args[0] contains invalid bits”…”�”}”(hjò�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÆ hjî�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÝ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÆ hjP�h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj?�h²hh³hÇh´Mà ubhï)�”}”(hŒValid bits in args[0] are::”h]”hŒValid bits in args[0] are:”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÈ hj?�h²hubj8)�”}”(hŒa#define KVM_BUS_LOCK_DETECTION_OFF (1 << 0) #define KVM_BUS_LOCK_DETECTION_EXIT (1 << 1)”h]”hŒa#define KVM_BUS_LOCK_DETECTION_OFF (1 << 0) #define KVM_BUS_LOCK_DETECTION_EXIT (1 << 1)”…”�”}”hj Žsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MÊ hj?�h²hubhï)�”}”(hX"Enabling this capability on a VM provides userspace with a way to select a policy to handle the bus locks detected in guest. Userspace can obtain the supported modes from the result of KVM_CHECK_EXTENSION and define it through the KVM_ENABLE_CAP. The supported modes are mutually-exclusive.”h]”hX"Enabling this capability on a VM provides userspace with a way to select a policy to handle the bus locks detected in guest. Userspace can obtain the supported modes from the result of KVM_CHECK_EXTENSION and define it through the KVM_ENABLE_CAP. The supported modes are mutually-exclusive.”…”�”}”(hj.Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍ hj?�h²hubhï)�”}”(hXgThis capability allows userspace to force VM exits on bus locks detected in the guest, irrespective whether or not the host has enabled split-lock detection (which triggers an #AC exception that KVM intercepts). This capability is intended to mitigate attacks where a malicious/buggy guest can exploit bus locks to degrade the performance of the whole system.”h]”hXgThis capability allows userspace to force VM exits on bus locks detected in the guest, irrespective whether or not the host has enabled split-lock detection (which triggers an #AC exception that KVM intercepts). This capability is intended to mitigate attacks where a malicious/buggy guest can exploit bus locks to degrade the performance of the whole system.”…”�”}”(hj<Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÒ hj?�h²hubhï)�”}”(hŒ¢If KVM_BUS_LOCK_DETECTION_OFF is set, KVM doesn't force guest bus locks to VM exit, although the host kernel's split-lock #AC detection still applies, if enabled.”h]”hŒ¦If KVM_BUS_LOCK_DETECTION_OFF is set, KVM doesn’t force guest bus locks to VM exit, although the host kernel’s split-lock #AC detection still applies, if enabled.”…”�”}”(hjJŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MØ hj?�h²hubhï)�”}”(hX If KVM_BUS_LOCK_DETECTION_EXIT is set, KVM enables a CPU feature that ensures bus locks in the guest trigger a VM exit, and KVM exits to userspace for all such VM exits, e.g. to allow userspace to throttle the offending guest and/or apply some other policy-based mitigation. When exiting to userspace, KVM sets KVM_RUN_X86_BUS_LOCK in vcpu-run->flags, and conditionally sets the exit_reason to KVM_EXIT_X86_BUS_LOCK.”h]”hX If KVM_BUS_LOCK_DETECTION_EXIT is set, KVM enables a CPU feature that ensures bus locks in the guest trigger a VM exit, and KVM exits to userspace for all such VM exits, e.g. to allow userspace to throttle the offending guest and/or apply some other policy-based mitigation. When exiting to userspace, KVM sets KVM_RUN_X86_BUS_LOCK in vcpu-run->flags, and conditionally sets the exit_reason to KVM_EXIT_X86_BUS_LOCK.”…”�”}”(hjXŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜ hj?�h²hubhï)�”}”(hX&Due to differences in the underlying hardware implementation, the vCPU's RIP at the time of exit diverges between Intel and AMD. On Intel hosts, RIP points at the next instruction, i.e. the exit is trap-like. On AMD hosts, RIP points at the offending instruction, i.e. the exit is fault-like.”h]”hX(Due to differences in the underlying hardware implementation, the vCPU’s RIP at the time of exit diverges between Intel and AMD. On Intel hosts, RIP points at the next instruction, i.e. the exit is trap-like. On AMD hosts, RIP points at the offending instruction, i.e. the exit is fault-like.”…”�”}”(hjfŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã hj?�h²hubhï)�”}”(hŒØNote! Detected bus locks may be coincident with other exits to userspace, i.e. KVM_RUN_X86_BUS_LOCK should be checked regardless of the primary exit reason if userspace wants to take action on all detected bus locks.”h]”hŒØNote! Detected bus locks may be coincident with other exits to userspace, i.e. KVM_RUN_X86_BUS_LOCK should be checked regardless of the primary exit reason if userspace wants to take action on all detected bus locks.”…”�”}”(hjtŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mè hj?�h²hubeh}”(h]”Œkvm-cap-x86-bus-lock-exit”ah ]”h"]”Œ7.22 kvm_cap_x86_bus_lock_exit”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MÁ ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.23 KVM_CAP_PPC_DAWR1”h]”hŒ7.23 KVM_CAP_PPC_DAWR1”…”�”}”(hj�Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjŠŽh²hh³hÇh´Mí ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¡Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjžŽh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hj±Žh]”hŒppc”…”�”}”(hj³Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mï hj¯Žubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjžŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mï hj›Žh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÏŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÌŽh³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjߎh]”hŒnone”…”�”}”(hjáŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mð hjÝŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÌŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mð hj›Žh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjýŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjúŽh³hÇh´Kubj�)�”}”(hŒ80 on success, -EINVAL when CPU doesn't support 2nd DAWR ”h]”hï)�”}”(hŒ70 on success, -EINVAL when CPU doesn't support 2nd DAWR”h]”hŒ90 on success, -EINVAL when CPU doesn’t support 2nd DAWR”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mñ hj �ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjúŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mñ hj›Žh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjŠŽh²hh³hÇh´Mï ubhï)�”}”(hŒ]This capability can be used to check / enable 2nd DAWR feature provided by POWER10 processor.”h]”hŒ]This capability can be used to check / enable 2nd DAWR feature provided by POWER10 processor.”…”�”}”(hj/�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mó hjŠŽh²hubeh}”(h]”Œkvm-cap-ppc-dawr1”ah ]”h"]”Œ7.23 kvm_cap_ppc_dawr1”ah$]”h&]”uh1hÈhjzh²hh³hÇh´Mí ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ%7.24 KVM_CAP_VM_COPY_ENC_CONTEXT_FROM”h]”hŒ%7.24 KVM_CAP_VM_COPY_ENC_CONTEXT_FROM”…”�”}”(hjH�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjE�h²hh³hÇh´Mø ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj\�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjY�h³hÇh´Kubj�)�”}”(hŒx86 SEV enabled”h]”hï)�”}”(hjl�h]”hŒx86 SEV enabled”…”�”}”(hjn�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú hjj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjY�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mú hjV�h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjŠ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‡�h³hÇh´Kubj�)�”}”(hŒvm”h]”hï)�”}”(hjš�h]”hŒvm”…”�”}”(hjœ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mû hj˜�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‡�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mû hjV�h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj¸�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjµ�h³hÇh´Kubj�)�”}”(hŒ"args[0] is the fd of the source vm”h]”hï)�”}”(hjÈ�h]”hŒ"args[0] is the fd of the source vm”…”�”}”(hjÊ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü hjÆ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjµ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mü hjV�h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjæ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjã�h³hÇh´Kubj�)�”}”(hŒ0 on success; ENOTTY on error ”h]”hï)�”}”(hŒ0 on success; ENOTTY on error”h]”hŒ0 on success; ENOTTY on error”…”�”}”(hjø�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mý hjô�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjã�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mý hjV�h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjE�h²hh³hÇh´Mú ubhï)�”}”(hŒyThis capability enables userspace to copy encryption context from the vm indicated by the fd to the vm this is called on.”h]”hŒyThis capability enables userspace to copy encryption context from the vm indicated by the fd to the vm this is called on.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿ hjE�h²hubhï)�”}”(hŒõThis is intended to support in-guest workloads scheduled by the host. This allows the in-guest workload to maintain its own NPTs and keeps the two vms from accidentally clobbering each other with interrupts and the like (separate APIC/MSRs/etc).”h]”hŒõThis is intended to support in-guest workloads scheduled by the host. This allows the in-guest workload to maintain its own NPTs and keeps the two vms from accidentally clobbering each other with interrupts and the like (separate APIC/MSRs/etc).”…”�”}”(hj&�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hjE�h²hubeh}”(h]”Œ kvm-cap-vm-copy-enc-context-from”ah ]”h"]”Œ%7.24 kvm_cap_vm_copy_enc_context_from”ah$]”h&]”uh1hÈhjzh²hh³hÇh´Mø ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.25 KVM_CAP_SGX_ATTRIBUTE”h]”hŒ7.25 KVM_CAP_SGX_ATTRIBUTE”…”�”}”(hj?�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj<�h²hh³hÇh´M!ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjS�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjP�h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjc�h]”hŒx86”…”�”}”(hje�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M !hja�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjP�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M !hjM�h²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj��h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj~�h³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hj‘�h]”hŒVM”…”�”}”(hj“�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M !hj��ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj~�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M !hjM�h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj¯�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¬�h³hÇh´Kubj�)�”}”(hŒ>args[0] is a file handle of a SGX attribute file in securityfs”h]”hï)�”}”(hj¿�h]”hŒ>args[0] is a file handle of a SGX attribute file in securityfs”…”�”}”(hjÁ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M !hj½�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¬�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M !hjM�h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÝ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÚ�h³hÇh´Kubj�)�”}”(hŒi0 on success, -EINVAL if the file handle is invalid or if a requested attribute is not supported by KVM. ”h]”hï)�”}”(hŒh0 on success, -EINVAL if the file handle is invalid or if a requested attribute is not supported by KVM.”h]”hŒh0 on success, -EINVAL if the file handle is invalid or if a requested attribute is not supported by KVM.”…”�”}”(hjï�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M !hjë�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÚ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M !hjM�h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj<�h²hh³hÇh´M !ubhï)�”}”(hXKVM_CAP_SGX_ATTRIBUTE enables a userspace VMM to grant a VM access to one or more privileged enclave attributes. args[0] must hold a file handle to a valid SGX attribute file corresponding to an attribute that is supported/restricted by KVM (currently only PROVISIONKEY).”h]”hXKVM_CAP_SGX_ATTRIBUTE enables a userspace VMM to grant a VM access to one or more privileged enclave attributes. args[0] must hold a file handle to a valid SGX attribute file corresponding to an attribute that is supported/restricted by KVM (currently only PROVISIONKEY).”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hj<�h²hubhï)�”}”(hX’The SGX subsystem restricts access to a subset of enclave attributes to provide additional security for an uncompromised kernel, e.g. use of the PROVISIONKEY is restricted to deter malware from using the PROVISIONKEY to obtain a stable system fingerprint. To prevent userspace from circumventing such restrictions by running an enclave in a VM, KVM prevents access to privileged attributes by default.”h]”hX’The SGX subsystem restricts access to a subset of enclave attributes to provide additional security for an uncompromised kernel, e.g. use of the PROVISIONKEY is restricted to deter malware from using the PROVISIONKEY to obtain a stable system fingerprint. To prevent userspace from circumventing such restrictions by running an enclave in a VM, KVM prevents access to privileged attributes by default.”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hj<�h²hubhï)�”}”(hŒ4See Documentation/arch/x86/sgx.rst for more details.”h]”hŒ4See Documentation/arch/x86/sgx.rst for more details.”…”�”}”(hj+‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!hj<�h²hubeh}”(h]”Œkvm-cap-sgx-attribute”ah ]”h"]”Œ7.25 kvm_cap_sgx_attribute”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M!ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ&7.27 KVM_CAP_EXIT_ON_EMULATION_FAILURE”h]”hŒ&7.27 KVM_CAP_EXIT_ON_EMULATION_FAILURE”…”�”}”(hjD‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjA‘h²hh³hÇh´M!ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjX‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjU‘h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjh‘h]”hŒx86”…”�”}”(hjj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M!!hjf‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjU‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M!!hjR‘h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj†‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjƒ‘h³hÇh´Kubj�)�”}”(hŒ5args[0] whether the feature should be enabled or not ”h]”hï)�”}”(hŒ4args[0] whether the feature should be enabled or not”h]”hŒ4args[0] whether the feature should be enabled or not”…”�”}”(hj˜‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"!hj”‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjƒ‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M"!hjR‘h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjA‘h²hh³hÇh´M!!ubhï)�”}”(hX When this capability is enabled, an emulation failure will result in an exit to userspace with KVM_INTERNAL_ERROR (except when the emulator was invoked to handle a VMware backdoor instruction). Furthermore, KVM will now provide up to 15 instruction bytes for any exit to userspace resulting from an emulation failure. When these exits to userspace occur use the emulation_failure struct instead of the internal struct. They both have the same layout, but the emulation_failure struct matches the content better. It also explicitly defines the 'flags' field which is used to describe the fields in the struct that are valid (ie: if KVM_INTERNAL_ERROR_EMULATION_FLAG_INSTRUCTION_BYTES is set in the 'flags' field then both 'insn_size' and 'insn_bytes' have valid data in them.)”h]”hXWhen this capability is enabled, an emulation failure will result in an exit to userspace with KVM_INTERNAL_ERROR (except when the emulator was invoked to handle a VMware backdoor instruction). Furthermore, KVM will now provide up to 15 instruction bytes for any exit to userspace resulting from an emulation failure. When these exits to userspace occur use the emulation_failure struct instead of the internal struct. They both have the same layout, but the emulation_failure struct matches the content better. It also explicitly defines the ‘flags’ field which is used to describe the fields in the struct that are valid (ie: if KVM_INTERNAL_ERROR_EMULATION_FLAG_INSTRUCTION_BYTES is set in the ‘flags’ field then both ‘insn_size’ and ‘insn_bytes’ have valid data in them.)”…”�”}”(hj¸‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$!hjA‘h²hubeh}”(h]”Œ!kvm-cap-exit-on-emulation-failure”ah ]”h"]”Œ&7.27 kvm_cap_exit_on_emulation_failure”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M!ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.28 KVM_CAP_ARM_MTE”h]”hŒ7.28 KVM_CAP_ARM_MTE”…”�”}”(hjÑ‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjΑh²hh³hÇh´M1!ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjå‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjâ‘h³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hjõ‘h]”hŒarm64”…”�”}”(hj÷‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3!hjó‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjâ‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M3!hjß‘h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj’h³hÇh´Kubj�)�”}”(hŒnone ”h]”hï)�”}”(hŒnone”h]”hŒnone”…”�”}”(hj%’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4!hj!’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj’ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M4!hjß‘h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjΑh²hh³hÇh´M3!ubhï)�”}”(hXfThis capability indicates that KVM (and the hardware) supports exposing the Memory Tagging Extensions (MTE) to the guest. It must also be enabled by the VMM before creating any VCPUs to allow the guest access. Note that MTE is only available to a guest running in AArch64 mode and enabling this capability will cause attempts to create AArch32 VCPUs to fail.”h]”hXfThis capability indicates that KVM (and the hardware) supports exposing the Memory Tagging Extensions (MTE) to the guest. It must also be enabled by the VMM before creating any VCPUs to allow the guest access. Note that MTE is only available to a guest running in AArch64 mode and enabling this capability will cause attempts to create AArch32 VCPUs to fail.”…”�”}”(hjE’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M6!hjΑh²hubhï)�”}”(hXWhen enabled the guest is able to access tags associated with any memory given to the guest. KVM will ensure that the tags are maintained during swap or hibernation of the host; however the VMM needs to manually save/restore the tags as appropriate if the VM is migrated.”h]”hXWhen enabled the guest is able to access tags associated with any memory given to the guest. KVM will ensure that the tags are maintained during swap or hibernation of the host; however the VMM needs to manually save/restore the tags as appropriate if the VM is migrated.”…”�”}”(hjS’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜h]”hŒ2args[0] - maximum APIC ID value set for current VM”…”�”}”(hj@˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mù!hj<˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj+˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mù!hjÌ—h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj\˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjY˜h³hÇh´Kubj�)�”}”(hŒd0 on success, -EINVAL if args[0] is beyond KVM_MAX_VCPU_IDS supported in KVM or if it has been set. ”h]”hï)�”}”(hŒc0 on success, -EINVAL if args[0] is beyond KVM_MAX_VCPU_IDS supported in KVM or if it has been set.”h]”hŒc0 on success, -EINVAL if args[0] is beyond KVM_MAX_VCPU_IDS supported in KVM or if it has been set.”…”�”}”(hjn˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú!hjj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjY˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mú!hjÌ—h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj»—h²hh³hÇh´M÷!ubhï)�”}”(hXThis capability allows userspace to specify maximum possible APIC ID assigned for current VM session prior to the creation of vCPUs, saving memory for data structures indexed by the APIC ID. Userspace is able to calculate the limit to APIC ID values from designated CPU topology.”h]”hXThis capability allows userspace to specify maximum possible APIC ID assigned for current VM session prior to the creation of vCPUs, saving memory for data structures indexed by the APIC ID. Userspace is able to calculate the limit to APIC ID values from designated CPU topology.”…”�”}”(hjŽ˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mý!hj»—h²hubhï)�”}”(hX(The value can be changed only until KVM_ENABLE_CAP is set to a nonzero value or until a vCPU is created. Upon creation of the first vCPU, if the value was set to zero or KVM_ENABLE_CAP was not invoked, KVM uses the return value of KVM_CHECK_EXTENSION(KVM_CAP_MAX_VCPU_ID) as the maximum APIC ID.”h]”hX(The value can be changed only until KVM_ENABLE_CAP is set to a nonzero value or until a vCPU is created. Upon creation of the first vCPU, if the value was set to zero or KVM_ENABLE_CAP was not invoked, KVM uses the return value of KVM_CHECK_EXTENSION(KVM_CAP_MAX_VCPU_ID) as the maximum APIC ID.”…”�”}”(hjœ˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hj»—h²hubeh}”(h]”Œkvm-cap-max-vcpu-id”ah ]”h"]”Œ7.32 kvm_cap_max_vcpu_id”ah$]”h&]”uh1hÈhjzh²hh³hÇh´Mõ!ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.33 KVM_CAP_X86_NOTIFY_VMEXIT”h]”hŒ7.33 KVM_CAP_X86_NOTIFY_VMEXIT”…”�”}”(hjµ˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj²˜h²hh³hÇh´M "ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjɘh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjƘh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjÙ˜h]”hŒx86”…”�”}”(hjÛ˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M "hjטubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjƘubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M "hjØh²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj÷˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjô˜h³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hj™h]”hŒVM”…”�”}”(hj ™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M "hj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjô˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M "hjØh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj%™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj"™h³hÇh´Kubj�)�”}”(hŒ;args[0] is the value of notify window as well as some flags”h]”hï)�”}”(hj5™h]”hŒ;args[0] is the value of notify window as well as some flags”…”�”}”(hj7™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hj3™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj"™ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M"hjØh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjS™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjP™h³hÇh´Kubj�)�”}”(hŒZ0 on success, -EINVAL if args[0] contains invalid flags or notify VM exit is unsupported. ”h]”hï)�”}”(hŒY0 on success, -EINVAL if args[0] contains invalid flags or notify VM exit is unsupported.”h]”hŒY0 on success, -EINVAL if args[0] contains invalid flags or notify VM exit is unsupported.”…”�”}”(hje™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hja™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjP™ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M"hjØh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj²˜h²hh³hÇh´M "ubhï)�”}”(hŒkBits 63:32 of args[0] are used for notify window. Bits 31:0 of args[0] are for some flags. Valid bits are::”h]”hŒjBits 63:32 of args[0] are used for notify window. Bits 31:0 of args[0] are for some flags. Valid bits are:”…”�”}”(hj…™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hj²˜h²hubj8)�”}”(hŒc#define KVM_X86_NOTIFY_VMEXIT_ENABLED (1 << 0) #define KVM_X86_NOTIFY_VMEXIT_USER (1 << 1)”h]”hŒc#define KVM_X86_NOTIFY_VMEXIT_ENABLED (1 << 0) #define KVM_X86_NOTIFY_VMEXIT_USER (1 << 1)”…”�”}”hj“™sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M"hj²˜h²hubhï)�”}”(hX‡This capability allows userspace to configure the notify VM exit on/off in per-VM scope during VM creation. Notify VM exit is disabled by default. When userspace sets KVM_X86_NOTIFY_VMEXIT_ENABLED bit in args[0], VMM will enable this feature with the notify window provided, which will generate a VM exit if no event window occurs in VM non-root mode for a specified of time (notify window).”h]”hX‡This capability allows userspace to configure the notify VM exit on/off in per-VM scope during VM creation. Notify VM exit is disabled by default. When userspace sets KVM_X86_NOTIFY_VMEXIT_ENABLED bit in args[0], VMM will enable this feature with the notify window provided, which will generate a VM exit if no event window occurs in VM non-root mode for a specified of time (notify window).”…”�”}”(hj¡™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hj²˜h²hubhï)�”}”(hŒwIf KVM_X86_NOTIFY_VMEXIT_USER is set in args[0], upon notify VM exits happen, KVM would exit to userspace for handling.”h]”hŒwIf KVM_X86_NOTIFY_VMEXIT_USER is set in args[0], upon notify VM exits happen, KVM would exit to userspace for handling.”…”�”}”(hj¯™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hj²˜h²hubhï)�”}”(hŒ®This capability is aimed to mitigate the threat that malicious VMs can cause CPU stuck (due to event windows don't open up) and make the CPU unavailable to host or other VMs.”h]”hŒ°This capability is aimed to mitigate the threat that malicious VMs can cause CPU stuck (due to event windows don’t open up) and make the CPU unavailable to host or other VMs.”…”�”}”(hj½™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M""hj²˜h²hubeh}”(h]”Œkvm-cap-x86-notify-vmexit”ah ]”h"]”Œ7.33 kvm_cap_x86_notify_vmexit”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M "ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ#7.35 KVM_CAP_X86_APIC_BUS_CYCLES_NS”h]”hŒ#7.35 KVM_CAP_X86_APIC_BUS_CYCLES_NS”…”�”}”(hjÖ™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÓ™h²hh³hÇh´M'"ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjê™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjç™h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjú™h]”hŒx86”…”�”}”(hjü™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)"hjø™ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjç™ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M)"hjä™h²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjšh³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hj(šh]”hŒVM”…”�”}”(hj*šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M*"hj&šubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjšubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M*"hjä™h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjFšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjCšh³hÇh´Kubj�)�”}”(hŒ:args[0] is the desired APIC bus clock rate, in nanoseconds”h]”hï)�”}”(hjVšh]”hŒ:args[0] is the desired APIC bus clock rate, in nanoseconds”…”�”}”(hjXšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+"hjTšubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjCšubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M+"hjä™h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjtšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjqšh³hÇh´Kubj�)�”}”(hŒ¾0 on success, -EINVAL if args[0] contains an invalid value for the frequency or if any vCPUs have been created, -ENXIO if a virtual local APIC has not been created using KVM_CREATE_IRQCHIP. ”h]”hï)�”}”(hŒ½0 on success, -EINVAL if args[0] contains an invalid value for the frequency or if any vCPUs have been created, -ENXIO if a virtual local APIC has not been created using KVM_CREATE_IRQCHIP.”h]”hŒ½0 on success, -EINVAL if args[0] contains an invalid value for the frequency or if any vCPUs have been created, -ENXIO if a virtual local APIC has not been created using KVM_CREATE_IRQCHIP.”…”�”}”(hj†šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M,"hj‚šubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjqšubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M,"hjä™h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÓ™h²hh³hÇh´M)"ubhï)�”}”(hŒ¶This capability sets the VM's APIC bus clock frequency, used by KVM's in-kernel virtual APIC when emulating APIC timers. KVM's default value can be retrieved by KVM_CHECK_EXTENSION.”h]”hŒ¼This capability sets the VM’s APIC bus clock frequency, used by KVM’s in-kernel virtual APIC when emulating APIC timers. KVM’s default value can be retrieved by KVM_CHECK_EXTENSION.”…”�”}”(hj¦šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0"hjÓ™h²hubhï)�”}”(hŒŸNote: Userspace is responsible for correctly configuring CPUID 0x15, a.k.a. the core crystal clock frequency, if a non-zero CPUID 0x15 is exposed to the guest.”h]”hŒŸNote: Userspace is responsible for correctly configuring CPUID 0x15, a.k.a. the core crystal clock frequency, if a non-zero CPUID 0x15 is exposed to the guest.”…”�”•}”(hj´šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M4"hjÓ™h²hubeh}”(h]”Œkvm-cap-x86-apic-bus-cycles-ns”ah ]”h"]”Œ#7.35 kvm_cap_x86_apic_bus_cycles_ns”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M'"ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ:7.36 KVM_CAP_DIRTY_LOG_RING/KVM_CAP_DIRTY_LOG_RING_ACQ_REL”h]”hŒ:7.36 KVM_CAP_DIRTY_LOG_RING/KVM_CAP_DIRTY_LOG_RING_ACQ_REL”…”�”}”(hjÍšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÊšh²hh³hÇh´M8"ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjášh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÞšh³hÇh´Kubj�)�”}”(hŒx86, arm64, riscv”h]”hï)�”}”(hjñšh]”hŒx86, arm64, riscv”…”�”}”(hjóšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M:"hjïšubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÞšubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M:"hjÛšh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ›h³hÇh´Kubj�)�”}”(hŒvm”h]”hï)�”}”(hj›h]”hŒvm”…”�”}”(hj!›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;"hj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M;"hjÛšh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj=›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj:›h³hÇh´Kubj�)�”}”(hŒ%args[0] - size of the dirty log ring ”h]”hï)�”}”(hŒ$args[0] - size of the dirty log ring”h]”hŒ$args[0] - size of the dirty log ring”…”�”}”(hjO›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<"hjK›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj:›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M<"hjÛšh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÊšh²hh³hÇh´M:"ubhï)�”}”(hŒ}KVM is capable of tracking dirty memory using ring buffers that are mmapped into userspace; there is one dirty ring per vcpu.”h]”hŒ}KVM is capable of tracking dirty memory using ring buffers that are mmapped into userspace; there is one dirty ring per vcpu.”…”�”}”(hjo›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M>"hjÊšh²hubhï)�”}”(hŒsThe dirty ring is available to userspace as an array of ``struct kvm_dirty_gfn``. Each dirty entry is defined as::”h]”(hŒ8The dirty ring is available to userspace as an array of ”…”�”}”(hj}›h²hh³Nh´NubjÈ)�”}”(hŒ``struct kvm_dirty_gfn``”h]”hŒstruct kvm_dirty_gfn”…”�”}”(hj…›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj}›ubhŒ". Each dirty entry is defined as:”…”�”}”(hj}›h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MA"hjÊšh²hubj8)�”}”(hŒnstruct kvm_dirty_gfn { __u32 flags; __u32 slot; /* as_id | slot_id */ __u64 offset; };”h]”hŒnstruct kvm_dirty_gfn { __u32 flags; __u32 slot; /* as_id | slot_id */ __u64 offset; };”…”�”}”hj�›sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MD"hjÊšh²hubhï)�”}”(hŒ_The following values are defined for the flags field to define the current state of the entry::”h]”hŒ^The following values are defined for the flags field to define the current state of the entry:”…”�”}”(hj«›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJ"hjÊšh²hubj8)�”}”(hŒ‰#define KVM_DIRTY_GFN_F_DIRTY BIT(0) #define KVM_DIRTY_GFN_F_RESET BIT(1) #define KVM_DIRTY_GFN_F_MASK 0x3”h]”hŒ‰#define KVM_DIRTY_GFN_F_DIRTY BIT(0) #define KVM_DIRTY_GFN_F_RESET BIT(1) #define KVM_DIRTY_GFN_F_MASK 0x3”…”�”}”hj¹›sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´MM"hjÊšh²hubhï)�”}”(hXÝUserspace should call KVM_ENABLE_CAP ioctl right after KVM_CREATE_VM ioctl to enable this capability for the new guest and set the size of the rings. Enabling the capability is only allowed before creating any vCPU, and the size of the ring must be a power of two. The larger the ring buffer, the less likely the ring is full and the VM is forced to exit to userspace. The optimal size depends on the workload, but it is recommended that it be at least 64 KiB (4096 entries).”h]”hXÝUserspace should call KVM_ENABLE_CAP ioctl right after KVM_CREATE_VM ioctl to enable this capability for the new guest and set the size of the rings. Enabling the capability is only allowed before creating any vCPU, and the size of the ring must be a power of two. The larger the ring buffer, the less likely the ring is full and the VM is forced to exit to userspace. The optimal size depends on the workload, but it is recommended that it be at least 64 KiB (4096 entries).”…”�”}”(hjÇ›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQ"hjÊšh²hubhï)�”}”(hXJust like for dirty page bitmaps, the buffer tracks writes to all user memory regions for which the KVM_MEM_LOG_DIRTY_PAGES flag was set in KVM_SET_USER_MEMORY_REGION. Once a memory region is registered with the flag set, userspace can start harvesting dirty pages from the ring buffer.”h]”hXJust like for dirty page bitmaps, the buffer tracks writes to all user memory regions for which the KVM_MEM_LOG_DIRTY_PAGES flag was set in KVM_SET_USER_MEMORY_REGION. Once a memory region is registered with the flag set, userspace can start harvesting dirty pages from the ring buffer.”…”�”}”(hjÕ›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MY"hjÊšh²hubhï)�”}”(hŒ¨An entry in the ring buffer can be unused (flag bits ``00``), dirty (flag bits ``01``) or harvested (flag bits ``1X``). The state machine for the entry is as follows::”h]”(hŒ5An entry in the ring buffer can be unused (flag bits ”…”�”}”(hjã›h²hh³Nh´NubjÈ)�”}”(hŒ``00``”h]”hŒ00”…”�”}”(hjë›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjã›ubhŒ), dirty (flag bits ”…”�”}”(hjã›h²hh³Nh´NubjÈ)�”}”(hŒ``01``”h]”hŒ01”…”�”}”(hjý›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjã›ubhŒ) or harvested (flag bits ”…”�”}”(hjã›h²hh³Nh´NubjÈ)�”}”(hŒ``1X``”h]”hŒ1X”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjã›ubhŒ2). The state machine for the entry is as follows:”…”�”}”(hjã›h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M_"hjÊšh²hubj8)�”}”(hŒã dirtied harvested reset 00 -----------> 01 -------------> 1X -------+ ^ | | | +------------------------------------------+”h]”hŒã dirtied harvested reset 00 -----------> 01 -------------> 1X -------+ ^ | | | +------------------------------------------+”…”�”}”hj'œsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mc"hjÊšh²hubhï)�”}”(hXcTo harvest the dirty pages, userspace accesses the mmapped ring buffer to read the dirty GFNs. If the flags has the DIRTY bit set (at this stage the RESET bit must be cleared), then it means this GFN is a dirty GFN. The userspace should harvest this GFN and mark the flags from state ``01b`` to ``1Xb`` (bit 0 will be ignored by KVM, but bit 1 must be set to show that this GFN is harvested and waiting for a reset), and move on to the next GFN. The userspace should continue to do this until the flags of a GFN have the DIRTY bit cleared, meaning that it has harvested all the dirty GFNs that were available.”h]”(hXTo harvest the dirty pages, userspace accesses the mmapped ring buffer to read the dirty GFNs. If the flags has the DIRTY bit set (at this stage the RESET bit must be cleared), then it means this GFN is a dirty GFN. The userspace should harvest this GFN and mark the flags from state ”…”�”}”(hj5œh²hh³Nh´NubjÈ)�”}”(hŒ``01b``”h]”hŒ01b”…”�”}”(hj=œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5œubhŒ to ”…”�”}”(hj5œh²hh³Nh´NubjÈ)�”}”(hŒ``1Xb``”h]”hŒ1Xb”…”�”}”(hjOœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj5œubhX4 (bit 0 will be ignored by KVM, but bit 1 must be set to show that this GFN is harvested and waiting for a reset), and move on to the next GFN. The userspace should continue to do this until the flags of a GFN have the DIRTY bit cleared, meaning that it has harvested all the dirty GFNs that were available.”…”�”}”(hj5œh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mi"hjÊšh²hubhï)�”}”(hXNote that on weakly ordered architectures, userspace accesses to the ring buffer (and more specifically the 'flags' field) must be ordered, using load-acquire/store-release accessors when available, or any other memory barrier that will ensure this ordering.”h]”hXNote that on weakly ordered architectures, userspace accesses to the ring buffer (and more specifically the ‘flags’ field) must be ordered, using load-acquire/store-release accessors when available, or any other memory barrier that will ensure this ordering.”…”�”}”(hjgœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Ms"hjÊšh²hubhï)�”}”(hŒÐIt's not necessary for userspace to harvest the all dirty GFNs at once. However it must collect the dirty GFNs in sequence, i.e., the userspace program cannot skip one dirty GFN to collect the one next to it.”h]”hŒÒIt’s not necessary for userspace to harvest the all dirty GFNs at once. However it must collect the dirty GFNs in sequence, i.e., the userspace program cannot skip one dirty GFN to collect the one next to it.”…”�”}”(hjuœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mx"hjÊšh²hubhï)�”}”(hXAfter processing one or more entries in the ring buffer, userspace calls the VM ioctl KVM_RESET_DIRTY_RINGS to notify the kernel about it, so that the kernel will reprotect those collected GFNs. Therefore, the ioctl must be called *before* reading the content of the dirty pages.”h]”(hŒçAfter processing one or more entries in the ring buffer, userspace calls the VM ioctl KVM_RESET_DIRTY_RINGS to notify the kernel about it, so that the kernel will reprotect those collected GFNs. Therefore, the ioctl must be called ”…”�”}”(hjƒœh²hh³Nh´Nubj‚)�”}”(hŒ*before*”h]”hŒbefore”…”�”}”(hj‹œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjƒœubhŒ( reading the content of the dirty pages.”…”�”}”(hjƒœh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M|"hjÊšh²hubhï)�”}”(hŒ}The dirty ring can get full. When it happens, the KVM_RUN of the vcpu will return with exit reason KVM_EXIT_DIRTY_RING_FULL.”h]”hŒ}The dirty ring can get full. When it happens, the KVM_RUN of the vcpu will return with exit reason KVM_EXIT_DIRTY_RING_FULL.”…”�”}”(hj£œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‚"hjÊšh²hubhï)�”}”(hXìThe dirty ring interface has a major difference comparing to the KVM_GET_DIRTY_LOG interface in that, when reading the dirty ring from userspace, it's still possible that the kernel has not yet flushed the processor's dirty page buffers into the kernel buffer (with dirty bitmaps, the flushing is done by the KVM_GET_DIRTY_LOG ioctl). To achieve that, one needs to kick the vcpu out of KVM_RUN using a signal. The resulting vmexit ensures that all dirty GFNs are flushed to the dirty rings.”h]”hXðThe dirty ring interface has a major difference comparing to the KVM_GET_DIRTY_LOG interface in that, when reading the dirty ring from userspace, it’s still possible that the kernel has not yet flushed the processor’s dirty page buffers into the kernel buffer (with dirty bitmaps, the flushing is done by the KVM_GET_DIRTY_LOG ioctl). To achieve that, one needs to kick the vcpu out of KVM_RUN using a signal. The resulting vmexit ensures that all dirty GFNs are flushed to the dirty rings.”…”�”}”(hj±œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M…"hjÊšh²hubhï)�”}”(hX©NOTE: KVM_CAP_DIRTY_LOG_RING_ACQ_REL is the only capability that should be exposed by weakly ordered architecture, in order to indicate the additional memory ordering requirements imposed on userspace when reading the state of an entry and mutating it from DIRTY to HARVESTED. Architecture with TSO-like ordering (such as x86) are allowed to expose both KVM_CAP_DIRTY_LOG_RING and KVM_CAP_DIRTY_LOG_RING_ACQ_REL to userspace.”h]”hX©NOTE: KVM_CAP_DIRTY_LOG_RING_ACQ_REL is the only capability that should be exposed by weakly ordered architecture, in order to indicate the additional memory ordering requirements imposed on userspace when reading the state of an entry and mutating it from DIRTY to HARVESTED. Architecture with TSO-like ordering (such as x86) are allowed to expose both KVM_CAP_DIRTY_LOG_RING and KVM_CAP_DIRTY_LOG_RING_ACQ_REL to userspace.”…”�”}”(hj¿œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�"hjÊšh²hubhï)�”}”(hXAfter enabling the dirty rings, the userspace needs to detect the capability of KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP to see whether the ring structures can be backed by per-slot bitmaps. With this capability advertised, it means the architecture can dirty guest pages without vcpu/ring context, so that some of the dirty information will still be maintained in the bitmap structure. KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP can't be enabled if the capability of KVM_CAP_DIRTY_LOG_RING_ACQ_REL hasn't been enabled, or any memslot has been existing.”h]”hXAfter enabling the dirty rings, the userspace needs to detect the capability of KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP to see whether the ring structures can be backed by per-slot bitmaps. With this capability advertised, it means the architecture can dirty guest pages without vcpu/ring context, so that some of the dirty information will still be maintained in the bitmap structure. KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP can’t be enabled if the capability of KVM_CAP_DIRTY_LOG_RING_ACQ_REL hasn’t been enabled, or any memslot has been existing.”…”�”}”(hjÍœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M•"hjÊšh²hubhï)�”}”(hX%Note that the bitmap here is only a backup of the ring structure. The use of the ring and bitmap combination is only beneficial if there is only a very small amount of memory that is dirtied out of vcpu/ring context. Otherwise, the stand-alone per-slot bitmap mechanism needs to be considered.”h]”hX%Note that the bitmap here is only a backup of the ring structure. The use of the ring and bitmap combination is only beneficial if there is only a very small amount of memory that is dirtied out of vcpu/ring context. Otherwise, the stand-alone per-slot bitmap mechanism needs to be considered.”…”�”}”(hjÛœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž"hjÊšh²hubhï)�”}”(hXÈTo collect dirty bits in the backup bitmap, userspace can use the same KVM_GET_DIRTY_LOG ioctl. KVM_CLEAR_DIRTY_LOG isn't needed as long as all the generation of the dirty bits is done in a single pass. Collecting the dirty bitmap should be the very last thing that the VMM does before considering the state as complete. VMM needs to ensure that the dirty state is final and avoid missing dirty pages from another ioctl ordered after the bitmap collection.”h]”hXÊTo collect dirty bits in the backup bitmap, userspace can use the same KVM_GET_DIRTY_LOG ioctl. KVM_CLEAR_DIRTY_LOG isn’t needed as long as all the generation of the dirty bits is done in a single pass. Collecting the dirty bitmap should be the very last thing that the VMM does before considering the state as complete. VMM needs to ensure that the dirty state is final and avoid missing dirty pages from another ioctl ordered after the bitmap collection.”…”�”}”(hjéœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¤"hjÊšh²hubhï)�”}”(hXÏNOTE: Multiple examples of using the backup bitmap: (1) save vgic/its tables through command KVM_DEV_ARM_{VGIC_GRP_CTRL, ITS_SAVE_TABLES} on KVM device "kvm-arm-vgic-its". (2) restore vgic/its tables through command KVM_DEV_ARM_{VGIC_GRP_CTRL, ITS_RESTORE_TABLES} on KVM device "kvm-arm-vgic-its". VGICv3 LPI pending status is restored. (3) save vgic3 pending table through KVM_DEV_ARM_VGIC_{GRP_CTRL, SAVE_PENDING_TABLES} command on KVM device "kvm-arm-vgic-v3".”h]”hXÛNOTE: Multiple examples of using the backup bitmap: (1) save vgic/its tables through command KVM_DEV_ARM_{VGIC_GRP_CTRL, ITS_SAVE_TABLES} on KVM device “kvm-arm-vgic-itsâ€�. (2) restore vgic/its tables through command KVM_DEV_ARM_{VGIC_GRP_CTRL, ITS_RESTORE_TABLES} on KVM device “kvm-arm-vgic-itsâ€�. VGICv3 LPI pending status is restored. (3) save vgic3 pending table through KVM_DEV_ARM_VGIC_{GRP_CTRL, SAVE_PENDING_TABLES} command on KVM device “kvm-arm-vgic-v3â€�.”…”�”}”(hj÷œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬"hjÊšh²hubeh}”(h]”Œ5kvm-cap-dirty-log-ring-kvm-cap-dirty-log-ring-acq-rel”ah ]”h"]”Œ:7.36 kvm_cap_dirty_log_ring/kvm_cap_dirty_log_ring_acq_rel”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M8"ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.37 KVM_CAP_PMU_CAPABILITY”h]”hŒ7.37 KVM_CAP_PMU_CAPABILITY”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj �h²hh³hÇh´Mµ"ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj$�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj!�h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj4�h]”hŒx86”…”�”}”(hj6�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M·"hj2�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj!�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M·"hj�h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjR�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjO�h³hÇh´Kubj�)�”}”(hŒvm”h]”hï)�”}”(hjb�h]”hŒvm”…”�”}”(hjd�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸"hj`�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjO�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¸"hj�h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj€�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj}�h³hÇh´Kubj�)�”}”(hŒ5arg[0] is bitmask of PMU virtualization capabilities.”h]”hï)�”}”(hj��h]”hŒ5arg[0] is bitmask of PMU virtualization capabilities.”…”�”}”(hj’�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¹"hjŽ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj}�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M¹"hj�h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj®�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj«�h³hÇh´Kubj�)�”}”(hŒ80 on success, -EINVAL when arg[0] contains invalid bits ”h]”hï)�”}”(hŒ70 on success, -EINVAL when arg[0] contains invalid bits”h]”hŒ70 on success, -EINVAL when arg[0] contains invalid bits”…”�”}”(hjÀ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mº"hj¼�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj«�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mº"hj�h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj �h²hh³hÇh´M·"ubhï)�”}”(hŒ1This capability alters PMU virtualization in KVM.”h]”hŒ1This capability alters PMU virtualization in KVM.”…”�”}”(hjà�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¼"hj �h²hubhï)�”}”(hŒ‚Calling KVM_CHECK_EXTENSION for this capability returns a bitmask of PMU virtualization capabilities that can be adjusted on a VM.”h]”hŒ‚Calling KVM_CHECK_EXTENSION for this capability returns a bitmask of PMU virtualization capabilities that can be adjusted on a VM.”…”�”}”(hjî�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾"hj �h²hubhï)�”}”(hŒÀThe argument to KVM_ENABLE_CAP is also a bitmask and selects specific PMU virtualization capabilities to be applied to the VM. This can only be invoked on a VM prior to the creation of VCPUs.”h]”hŒÀThe argument to KVM_ENABLE_CAP is also a bitmask and selects specific PMU virtualization capabilities to be applied to the VM. This can only be invoked on a VM prior to the creation of VCPUs.”…”�”}”(hjü�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÁ"hj �h²hubhï)�”}”(hŒËAt this time, KVM_PMU_CAP_DISABLE is the only capability. Setting this capability will disable PMU virtualization for that VM. Usermode should adjust CPUID leaf 0xA to reflect that the PMU is disabled.”h]”hŒËAt this time, KVM_PMU_CAP_DISABLE is the only capability. Setting this capability will disable PMU virtualization for that VM. Usermode should adjust CPUID leaf 0xA to reflect that the PMU is disabled.”…”�”}”(hj žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅ"hj �h²hubeh}”(h]”Œkvm-cap-pmu-capability”ah ]”h"]”Œ7.37 kvm_cap_pmu_capability”ah$]”h&]”uh1hÈhjzh²hh³hÇh´Mµ"ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ%7.38 KVM_CAP_VM_DISABLE_NX_HUGE_PAGES”h]”hŒ%7.38 KVM_CAP_VM_DISABLE_NX_HUGE_PAGES”…”�”}”(hj#žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj žh²hh³hÇh´MÊ"ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj7žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj4žh³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjGžh]”hŒx86”…”�”}”(hjIžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÌ"hjEžubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj4žubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÌ"hj1žh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hježh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjbžh³hÇh´Kubj�)�”}”(hŒvm”h]”hï)�”}”(hjužh]”hŒvm”…”�”}”(hjwžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÍ"hjsžubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjbžubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÍ"hj1žh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj“žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�žh³hÇh´Kubj�)�”}”(hŒarg[0] must be 0.”h]”hï)�”}”(hj£žh]”hŒarg[0] must be 0.”…”�”}”(hj¥žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÎ"hj¡žubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�žubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÎ"hj1žh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÁžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾žh³hÇh´Kubj�)�”}”(hŒ†0 on success, -EPERM if the userspace process does not have CAP_SYS_BOOT, -EINVAL if args[0] is not 0 or any vCPUs have been created. ”h]”hï)�”}”(hŒ…0 on success, -EPERM if the userspace process does not have CAP_SYS_BOOT, -EINVAL if args[0] is not 0 or any vCPUs have been created.”h]”hŒ…0 on success, -EPERM if the userspace process does not have CAP_SYS_BOOT, -EINVAL if args[0] is not 0 or any vCPUs have been created.”…”�”}”(hjÓžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏ"hjÏžubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¾žubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÏ"hj1žh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj žh²hh³hÇh´MÌ"ubhï)�”}”(hŒHThis capability disables the NX huge pages mitigation for iTLB MULTIHIT.”h]”hŒHThis capability disables the NX huge pages mitigation for iTLB MULTIHIT.”…”�”}”(hjóžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÓ"hj žh²hubhï)�”}”(hŒNThe capability has no effect if the nx_huge_pages module parameter is not set.”h]”hŒNThe capability has no effect if the nx_huge_pages module parameter is not set.”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÕ"hj žh²hubhï)�”}”(hŒ=This capability may only be set before any vCPUs are created.”h]”hŒ=This capability may only be set before any vCPUs are created.”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M×"hj žh²hubeh}”(h]”Œ kvm-cap-vm-disable-nx-huge-pages”ah ]”h"]”Œ%7.38 kvm_cap_vm_disable_nx_huge_pages”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MÊ"ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ'7.39 KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE”h]”hŒ'7.39 KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE”…”�”}”(hj(Ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj%Ÿh²hh³hÇh´MÚ"ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj<Ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj9Ÿh³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hjLŸh]”hŒarm64”…”�”}”(hjNŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÜ"hjJŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj9Ÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÜ"hj6Ÿh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjgŸh³hÇh´Kubj�)�”}”(hŒvm”h]”hï)�”}”(hjzŸh]”hŒvm”…”�”}”(hj|Ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝ"hjxŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjgŸubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÝ"hj6Ÿh²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj˜Ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj•Ÿh³hÇh´Kubj�)�”}”(hŒ#arg[0] is the new split chunk size.”h]”hï)�”}”(hj¨Ÿh]”hŒ#arg[0] is the new split chunk size.”…”�”}”(hjªŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞ"hj¦Ÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj•Ÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÞ"hj6Ÿh²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÆŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjßh³hÇh´Kubj�)�”}”(hŒ:0 on success, -EINVAL if any memslot was already created. ”h]”hï)�”}”(hŒ90 on success, -EINVAL if any memslot was already created.”h]”hŒ90 on success, -EINVAL if any memslot was already created.”…”�”}”(hjØŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mß"hjÔŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjßubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mß"hj6Ÿh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj%Ÿh²hh³hÇh´MÜ"ubhï)�”}”(hŒAThis capability sets the chunk size used in Eager Page Splitting.”h]”hŒAThis capability sets the chunk size used in Eager Page Splitting.”…”�”}”(hjøŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Má"hj%Ÿh²hubhï)�”}”(hXTEager Page Splitting improves the performance of dirty-logging (used in live migrations) when guest memory is backed by huge-pages. It avoids splitting huge-pages (into PAGE_SIZE pages) on fault, by doing it eagerly when enabling dirty logging (with the KVM_MEM_LOG_DIRTY_PAGES flag for a memory region), or when using KVM_CLEAR_DIRTY_LOG.”h]”hXTEager Page Splitting improves the performance of dirty-logging (used in live migrations) when guest memory is backed by huge-pages. It avoids splitting huge-pages (into PAGE_SIZE pages) on fault, by doing it eagerly when enabling dirty logging (with the KVM_MEM_LOG_DIRTY_PAGES flag for a memory region), or when using KVM_CLEAR_DIRTY_LOG.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mã"hj%Ÿh²hubhï)�”}”(hŒ«The chunk size specifies how many pages to break at a time, using a single allocation for each chunk. Bigger the chunk size, more pages need to be allocated ahead of time.”h]”hŒ«The chunk size specifies how many pages to break at a time, using a single allocation for each chunk. Bigger the chunk size, more pages need to be allocated ahead of time.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mê"hj%Ÿh²hubhï)�”}”(hŒõThe chunk size needs to be a valid block size. The list of acceptable block sizes is exposed in KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES as a 64-bit bitmap (each bit describing a block size). The default value is 0, to disable the eager page splitting.”h]”hŒõThe chunk size needs to be a valid block size. The list of acceptable block sizes is exposed in KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES as a 64-bit bitmap (each bit describing a block size). The default value is 0, to disable the eager page splitting.”…”�”}”(hj" h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mî"hj%Ÿh²hubeh}”(h]”Œ"kvm-cap-arm-eager-split-chunk-size”ah ]”h"]”Œ'7.39 kvm_cap_arm_eager_split_chunk_size”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MÚ"ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.40 KVM_CAP_EXIT_HYPERCALL”h]”hŒ7.40 KVM_CAP_EXIT_HYPERCALL”…”�”}”(hj; h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj8 h²hh³hÇh´Mô"ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjO h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjL h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hj_ h]”hŒx86”…”�”}”(hja h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mö"hj] ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjL ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mö"hjI h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj} h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjz h³hÇh´Kubj�)�”}”(hŒvm ”h]”hï)�”}”(hŒvm”h]”hŒvm”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷"hj‹ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjz ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M÷"hjI h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj8 h²hh³hÇh´Mö"ubhï)�”}”(hX/This capability, if enabled, will cause KVM to exit to userspace with KVM_EXIT_HYPERCALL exit reason to process some hypercalls. Userspace may fail the hypercall by setting hypercall.ret to EINVAL or may request the hypercall to be retried the next time the guest run by setting hypercall.ret to EAGAIN.”h]”hX/This capability, if enabled, will cause KVM to exit to userspace with KVM_EXIT_HYPERCALL exit reason to process some hypercalls. Userspace may fail the hypercall by setting hypercall.ret to EINVAL or may request the hypercall to be retried the next time the guest run by setting hypercall.ret to EAGAIN.”…”�”}”(hj¯ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mù"hj8 h²hubhï)�”}”(hŒ¼Calling KVM_CHECK_EXTENSION for this capability will return a bitmask of hypercalls that can be configured to exit to userspace. Right now, the only such hypercall is KVM_HC_MAP_GPA_RANGE.”h]”hŒ¼Calling KVM_CHECK_EXTENSION for this capability will return a bitmask of hypercalls that can be configured to exit to userspace. Right now, the only such hypercall is KVM_HC_MAP_GPA_RANGE.”…”�”}”(hj½ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mÿ"hj8 h²hubhï)�”}”(hŒèThe argument to KVM_ENABLE_CAP is also a bitmask, and must be a subset of the result of KVM_CHECK_EXTENSION. KVM will forward to userspace the hypercalls whose corresponding bit is in the argument, and return ENOSYS for the others.”h]”hŒèThe argument to KVM_ENABLE_CAP is also a bitmask, and must be a subset of the result of KVM_CHECK_EXTENSION. KVM will forward to userspace the hypercalls whose corresponding bit is in the argument, and return ENOSYS for the others.”…”�”}”(hjË h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hj8 h²hubeh}”(h]”Œkvm-cap-exit-hypercall”ah ]”h"]”Œ7.40 kvm_cap_exit_hypercall”ah$]”h&]”uh1hÈhjzh²hh³hÇh´Mô"ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.41 KVM_CAP_ARM_SYSTEM_SUSPEND”h]”hŒ7.41 KVM_CAP_ARM_SYSTEM_SUSPEND”…”�”}”(hjä h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjá h²hh³hÇh´M #ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjø h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjõ h³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hj¡h]”hŒarm64”…”�”}”(hj ¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M #hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjõ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M #hjò h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj&¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj#¡h³hÇh´Kubj�)�”}”(hŒvm ”h]”hï)�”}”(hŒvm”h]”hŒvm”…”�”}”(hj8¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M #hj4¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj#¡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M #hjò h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjá h²hh³hÇh´M #ubhï)�”}”(hŒŠWhen enabled, KVM will exit to userspace with KVM_EXIT_SYSTEM_EVENT of type KVM_SYSTEM_EVENT_SUSPEND to process the guest suspend request.”h]”hŒŠWhen enabled, KVM will exit to userspace with KVM_EXIT_SYSTEM_EVENT of type KVM_SYSTEM_EVENT_SUSPEND to process the guest suspend request.”…”�”}”(hjX¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjá h²hubeh}”(h]”Œkvm-cap-arm-system-suspend”ah ]”h"]”Œ7.41 kvm_cap_arm_system_suspend”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M #ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ%7.42 KVM_CAP_ARM_WRITABLE_IMP_ID_REGS”h]”hŒ%7.42 KVM_CAP_ARM_WRITABLE_IMP_ID_REGS”…”�”}”(hjq¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjn¡h²hh³hÇh´M#ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj…¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj‚¡h³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hj•¡h]”hŒarm64”…”�”}”(hj—¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hj“¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj‚¡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M#hj¡h²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj³¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj°¡h³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hjáh]”hŒVM”…”�”}”(hjÅ¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjÁ¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj°¡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M#hj¡h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjá¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÞ¡h³hÇh´Kubj�)�”}”(hŒNone”h]”hï)�”}”(hjñ¡h]”hŒNone”…”�”}”(hjó¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjï¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÞ¡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M#hj¡h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ¢h³hÇh´Kubj�)�”}”(hŒR0 on success, -EINVAL if vCPUs have been created before enabling this capability. ”h]”hï)�”}”(hŒQ0 on success, -EINVAL if vCPUs have been created before enabling this capability.”h]”hŒQ0 on success, -EINVAL if vCPUs have been created before enabling this capability.”…”�”}”(hj!¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M#hj¡h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjn¡h²hh³hÇh´M#ubhï)�”}”(hŒãThis capability changes the behavior of the registers that identify a PE implementation of the Arm architecture: MIDR_EL1, REVIDR_EL1, and AIDR_EL1. By default, these registers are visible to userspace but treated as invariant.”h]”hŒãThis capability changes the behavior of the registers that identify a PE implementation of the Arm architecture: MIDR_EL1, REVIDR_EL1, and AIDR_EL1. By default, these registers are visible to userspace but treated as invariant.”…”�”}”(hjA¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjn¡h²hubhï)�”}”(hŒãWhen this capability is enabled, KVM allows userspace to change the aforementioned registers before the first KVM_RUN. These registers are VM scoped, meaning that the same set of values are presented on all vCPUs in a given VM.”h]”hŒãWhen this capability is enabled, KVM allows userspace to change the aforementioned registers before the first KVM_RUN. These registers are VM scoped, meaning that the same set of values are presented on all vCPUs in a given VM.”…”�”}”(hjO¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M#hjn¡h²hubeh}”(h]”Œ kvm-cap-arm-writable-imp-id-regs”ah ]”h"]”Œ%7.42 kvm_cap_arm_writable_imp_id_regs”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ!7.43 KVM_CAP_RISCV_MP_STATE_RESET”h]”hŒ!7.43 KVM_CAP_RISCV_MP_STATE_RESET”…”�”}”(hjh¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhje¢h²hh³hÇh´M$#ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj|¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjy¢h³hÇh´Kubj�)�”}”(hŒriscv”h]”hï)�”}”(hjŒ¢h]”hŒriscv”…”�”}”(hjŽ¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&#hjŠ¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjy¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M&#hjv¢h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjª¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj§¢h³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hjº¢h]”hŒVM”…”�”}”(hj¼¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'#hj¸¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj§¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M'#hjv¢h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjØ¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÕ¢h³hÇh´Kubj�)�”}”(hŒNone”h]”hï)�”}”(hjè¢h]”hŒNone”…”�”}”(hjê¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M(#hjæ¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÕ¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M(#hjv¢h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj£h³hÇh´Kubj�)�”}”(hŒ,0 on success, -EINVAL if arg[0] is not zero ”h]”hï)�”}”(hŒ+0 on success, -EINVAL if arg[0] is not zero”h]”hŒ+0 on success, -EINVAL if arg[0] is not zero”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M)#hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M)#hjv¢h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhje¢h²hh³hÇh´M&#ubhï)�”}”(hŒŒWhen this capability is enabled, KVM resets the VCPU when setting MP_STATE_INIT_RECEIVED through IOCTL. The original MP_STATE is preserved.”h]”hŒŒWhen this capability is enabled, KVM resets the VCPU when setting MP_STATE_INIT_RECEIVED through IOCTL. The original MP_STATE is preserved.”…”�”}”(hj8£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M+#hje¢h²hubeh}”(h]”Œkvm-cap-riscv-mp-state-reset”ah ]”h"]”Œ!7.43 kvm_cap_riscv_mp_state_reset”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M$#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ+7.44 KVM_CAP_ARM_CACHEABLE_PFNMAP_SUPPORTED”h]”hŒ+7.44 KVM_CAP_ARM_CACHEABLE_PFNMAP_SUPPORTED”…”�”}”(hjQ£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjN£h²hh³hÇh´M/#ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hje£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjb£h³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hju£h]”hŒarm64”…”�”}”(hjw£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1#hjs£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjb£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M1#hj_£h²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hj“£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�£h³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hj££h]”hŒVM”…”�”}”(hj¥£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M2#hj¡£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M2#hj_£h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÁ£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾£h³hÇh´Kubj�)�”}”(hŒNone ”h]”hï)�”}”(hŒNone”h]”hŒNone”…”�”}”(hjÓ£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3#hjÏ£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¾£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M3#hj_£h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjN£h²hh³hÇh´M1#ubhï)�”}”(hŒÂThis capability indicate to the userspace whether a PFNMAP memory region can be safely mapped as cacheable. This relies on the presence of force write back (FWB) feature support on the hardware.”h]”hŒÂThis capability indicate to the userspace whether a PFNMAP memory region can be safely mapped as cacheable. This relies on the presence of force write back (FWB) feature support on the hardware.”…”�”}”(hjó£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5#hjN£h²hubeh}”(h]”Œ&kvm-cap-arm-cacheable-pfnmap-supported”ah ]”h"]”Œ+7.44 kvm_cap_arm_cacheable_pfnmap_supported”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M/#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.45 KVM_CAP_ARM_SEA_TO_USER”h]”hŒ7.45 KVM_CAP_ARM_SEA_TO_USER”…”�”}”(hj ¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj ¤h²hh³hÇh´M:#ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architecture”h]”hŒ Architecture”…”�”}”(hj ¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¤h³hÇh´Kubj�)�”}”(hŒarm64”h]”hï)�”}”(hj0¤h]”hŒarm64”…”�”}”(hj2¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M<#hj.¤ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¤ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M<#hj¤h²hubjx)�”}”(hhh]”(j})�”}”(hŒTarget”h]”hŒTarget”…”�”}”(hjN¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjK¤h³hÇh´Kubj�)�”}”(hŒVM”h]”hï)�”}”(hj^¤h]”hŒVM”…”�”}”(hj`¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M=#hj\¤ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjK¤ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M=#hj¤h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj|¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjy¤h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjŒ¤h]”hŒnone”…”�”}”(hjޤh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M>#hjФubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjy¤ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M>#hj¤h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjª¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj§¤h³hÇh´Kubj�)�”}”(hŒ&0 on success, -EINVAL if unsupported. ”h]”hï)�”}”(hŒ%0 on success, -EINVAL if unsupported.”h]”hŒ%0 on success, -EINVAL if unsupported.”…”�”}”(hj¼¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?#hj¸¤ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj§¤ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M?#hj¤h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj ¤h²hh³hÇh´M<#ubhï)�”}”(hŒžWhen this capability is enabled, KVM may exit to userspace for SEAs taken to EL2 resulting from a guest access. See ``KVM_EXIT_ARM_SEA`` for more information.”h]”(hŒtWhen this capability is enabled, KVM may exit to userspace for SEAs taken to EL2 resulting from a guest access. See ”…”�”}”(hjܤh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_EXIT_ARM_SEA``”h]”hŒKVM_EXIT_ARM_SEA”…”�”}”(hjä¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjܤubhŒ for more information.”…”�”}”(hjܤh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MA#hj ¤h²hubeh}”(h]”Œkvm-cap-arm-sea-to-user”ah ]”h"]”Œ7.45 kvm_cap_arm_sea_to_user”ah$]”h&]”uh1hÈhjzh²hh³hÇh´M:#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.46 KVM_CAP_S390_USER_OPEREXEC”h]”hŒ7.46 KVM_CAP_S390_USER_OPEREXEC”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¥h²hh³hÇh´MF#ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¥h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hj+¥h]”hŒs390”…”�”}”(hj-¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH#hj)¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¥ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MH#hj¥h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjI¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjF¥h³hÇh´Kubj�)�”}”(hŒnone ”h]”hï)�”}”(hŒnone”h]”hŒnone”…”�”}”(hj[¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MI#hjW¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjF¥ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MI#hj¥h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¥h²hh³hÇh´MH#ubhï)�”}”(hX+When this capability is enabled KVM forwards all operation exceptions that it doesn't handle itself to user space. This also includes the 0x0000 instructions managed by KVM_CAP_S390_USER_INSTR0. This is helpful if user space wants to emulate instructions which are not (yet) implemented in hardware.”h]”hX-When this capability is enabled KVM forwards all operation exceptions that it doesn’t handle itself to user space. This also includes the 0x0000 instructions managed by KVM_CAP_S390_USER_INSTR0. This is helpful if user space wants to emulate instructions which are not (yet) implemented in hardware.”…”�”}”(hj{¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MK#hj¥h²hubhï)�”}”(hŒ^This capability can be enabled dynamically even if VCPUs were already created and are running.”h]”hŒ^This capability can be enabled dynamically even if VCPUs were already created and are running.”…”�”}”(hj‰¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQ#hj¥h²hubeh}”(h]”Œkvm-cap-s390-user-operexec”ah ]”h"]”Œ7.46 kvm_cap_s390_user_operexec”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MF#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ7.47 KVM_CAP_S390_HPAGE_2G”h]”hŒ7.47 KVM_CAP_S390_HPAGE_2G”…”�”}”(hj¢¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjŸ¥h²hh³hÇh´MU#ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¶¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj³¥h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjÆ¥h]”hŒs390”…”�”}”(hjÈ¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MW#hjÄ¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj³¥ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MW#hj°¥h²hubjx)�”}”(hhh]”(j})�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjä¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjá¥h³hÇh´Kubj�)�”}”(hŒnone”h]”hï)�”}”(hjô¥h]”hŒnone”…”�”}”(hjö¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MX#hjò¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjá¥ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MX#hj°¥h²hubjx)�”}”(hhh]”(j})�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¦h³hÇh´Kubj�)�”}”(hŒ³0 on success; -EINVAL if hpage_2g module parameter was not set, cmma is enabled, or the VM has the KVM_VM_S390_UCONTROL flag set; -EBUSY if vCPUs were already created for the VM. ”h]”hï)�”}”(hŒ²0 on success; -EINVAL if hpage_2g module parameter was not set, cmma is enabled, or the VM has the KVM_VM_S390_UCONTROL flag set; -EBUSY if vCPUs were already created for the VM.”h]”hŒ²0 on success; -EINVAL if hpage_2g module parameter was not set, cmma is enabled, or the VM has the KVM_VM_S390_UCONTROL flag set; -EBUSY if vCPUs were already created for the VM.”…”�”}”(hj$¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MY#hj ¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¦ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MY#hj°¥h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjŸ¥h²hh³hÇh´MW#ubhï)�”}”(hXRWith this capability the KVM support for memory backing with 2g pages through hugetlbfs can be enabled for a VM. After the capability is enabled, cmma can't be enabled anymore and pfmfi and the storage key interpretation are disabled. If cmma has already been enabled or the hpage_2g module parameter is not set to 1, -EINVAL is returned.”h]”hXTWith this capability the KVM support for memory backing with 2g pages through hugetlbfs can be enabled for a VM. After the capability is enabled, cmma can’t be enabled anymore and pfmfi and the storage key interpretation are disabled. If cmma has already been enabled or the hpage_2g module parameter is not set to 1, -EINVAL is returned.”…”�”}”(hjD¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M]#hjŸ¥h²hubeh}”(h]”Œkvm-cap-s390-hpage-2g”ah ]”h"]”Œ7.47 kvm_cap_s390_hpage_2g”ah$]”h&]”uh1hÈhjzh²hh³hÇh´MU#ubeh}”(h]”(Œ'capabilities-that-can-be-enabled-on-vms”jhzj]zeh ]”h"]”(Œ*7. capabilities that can be enabled on vms”Œ cap_enable_vm”jjzeh$]”h&]”uh1hÈhhÊh²hh³hÇh´Måj�}”(j`¦j^zjjzjSzujƒ}”(jhzj^zj]zjSzuubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8. Other capabilities.”h]”hŒ8. Other capabilities.”…”�”}”(hjh¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhje¦h²hh³hÇh´Md#ubhï)�”}”(hŒeThis section lists capabilities that give information about other features of the KVM implementation.”h]”hŒeThis section lists capabilities that give information about other features of the KVM implementation.”…”�”}”(hjv¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mf#hje¦h²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.1 KVM_CAP_PPC_HWRNG”h]”hŒ8.1 KVM_CAP_PPC_HWRNG”…”�”}”(hj‡¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj„¦h²hh³hÇh´Mj#ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj›¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj˜¦h³hÇh´Kubj�)�”}”(hŒppc ”h]”hï)�”}”(hŒppc”h]”hŒppc”…”�”}”(hj­¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Ml#hj©¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj˜¦ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Ml#hj•¦h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj„¦h²hh³hÇh´Ml#ubhï)�”}”(hX.This capability, if KVM_CHECK_EXTENSION indicates that it is available, means that the kernel has an implementation of the H_RANDOM hypercall backed by a hardware random-number generator. If present, the kernel H_RANDOM handler can be enabled for guest use with the KVM_CAP_PPC_ENABLE_HCALL capability.”h]”hX.This capability, if KVM_CHECK_EXTENSION indicates that it is available, means that the kernel has an implementation of the H_RANDOM hypercall backed by a hardware random-number generator. If present, the kernel H_RANDOM handler can be enabled for guest use with the KVM_CAP_PPC_ENABLE_HCALL capability.”…”�”}”(hjͦh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mn#hj„¦h²hubeh}”(h]”Œkvm-cap-ppc-hwrng”ah ]”h"]”Œ8.1 kvm_cap_ppc_hwrng”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mj#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.3 KVM_CAP_PPC_MMU_RADIX”h]”hŒ8.3 KVM_CAP_PPC_MMU_RADIX”…”�”}”(hjæ¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjã¦h²hh³hÇh´Mu#ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjú¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj÷¦h³hÇh´Kubj�)�”}”(hŒppc ”h]”hï)�”}”(hŒppc”h]”hŒppc”…”�”}”(hj §h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mw#hj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj÷¦ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mw#hjô¦h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjã¦h²hh³hÇh´Mw#ubhï)�”}”(hŒÉThis capability, if KVM_CHECK_EXTENSION indicates that it is available, means that the kernel can support guests using the radix MMU defined in Power ISA V3.00 (as implemented in the POWER9 processor).”h]”hŒÉThis capability, if KVM_CHECK_EXTENSION indicates that it is available, means that the kernel can support guests using the radix MMU defined in Power ISA V3.00 (as implemented in the POWER9 processor).”…”�”}”(hj,§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´My#hjã¦h²hubeh}”(h]”Œkvm-cap-ppc-mmu-radix”ah ]”h"]”Œ8.3 kvm_cap_ppc_mmu_radix”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mu#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.4 KVM_CAP_PPC_MMU_HASH_V3”h]”hŒ8.4 KVM_CAP_PPC_MMU_HASH_V3”…”�”}”(hjE§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjB§h²hh³hÇh´M#ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjY§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjV§h³hÇh´Kubj�)�”}”(hŒppc ”h]”hï)�”}”(hŒppc”h]”hŒppc”…”�”}”(hjk§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�#hjg§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjV§ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�#hjS§h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjB§h²hh³hÇh´M�#ubhï)�”}”(hŒùThis capability, if KVM_CHECK_EXTENSION indicates that it is available, means that the kernel can support guests using the hashed page table MMU defined in Power ISA V3.00 (as implemented in the POWER9 processor), including in-memory segment tables.”h]”hŒùThis capability, if KVM_CHECK_EXTENSION indicates that it is available, means that the kernel can support guests using the hashed page table MMU defined in Power ISA V3.00 (as implemented in the POWER9 processor), including in-memory segment tables.”…”�”}”(hj‹§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mƒ#hjB§h²hubeh}”(h]”Œkvm-cap-ppc-mmu-hash-v3”ah ]”h"]”Œ8.4 kvm_cap_ppc_mmu_hash_v3”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.5 KVM_CAP_MIPS_VZ”h]”hŒ8.5 KVM_CAP_MIPS_VZ”…”�”}”(hj¤§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¡§h²hh³hÇh´M‰#ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¸§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjµ§h³hÇh´Kubj�)�”}”(hŒmips ”h]”hï)�”}”(hŒmips”h]”hŒmips”…”�”}”(hjʧh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‹#hjƧubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjµ§ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M‹#hj²§h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¡§h²hh³hÇh´M‹#ubhï)�”}”(hX3This capability, if KVM_CHECK_EXTENSION on the main kvm handle indicates that it is available, means that full hardware assisted virtualization capabilities of the hardware are available for use through KVM. An appropriate KVM_VM_MIPS_* type must be passed to KVM_CREATE_VM to create a VM which utilises it.”h]”hX3This capability, if KVM_CHECK_EXTENSION on the main kvm handle indicates that it is available, means that full hardware assisted virtualization capabilities of the hardware are available for use through KVM. An appropriate KVM_VM_MIPS_* type must be passed to KVM_CREATE_VM to create a VM which utilises it.”…”�”}”(hjê§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�#hj¡§h²hubhï)�”}”(hŒþIf KVM_CHECK_EXTENSION on a kvm VM handle indicates that this capability is available, it means that the VM is using full hardware assisted virtualization capabilities of the hardware. This is useful to check after creating a VM with KVM_VM_MIPS_DEFAULT.”h]”hŒþIf KVM_CHECK_EXTENSION on a kvm VM handle indicates that this capability is available, it means that the VM is using full hardware assisted virtualization capabilities of the hardware. This is useful to check after creating a VM with KVM_VM_MIPS_DEFAULT.”…”�”}”(hjø§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“#hj¡§h²hubhï)�”}”(hX The value returned by KVM_CHECK_EXTENSION should be compared against known values (see below). All other values are reserved. This is to allow for the possibility of other hardware assisted virtualization implementations which may be incompatible with the MIPS VZ ASE.”h]”hX The value returned by KVM_CHECK_EXTENSION should be compared against known values (see below). All other values are reserved. This is to allow for the possibility of other hardware assisted virtualization implementations which may be incompatible with the MIPS VZ ASE.”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M˜#hj¡§h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj¨ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”KJuh1jchj¨ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hjŠh]”hŒ0”…”�”}”(hj7¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž#hj4¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj1¨ubj„)�”}”(hhh]”hï)�”}”(hŒ©The trap & emulate implementation is in use to run guest code in user mode. Guest virtual memory segments are rearranged to fit the guest in the user mode address space.”h]”hŒ©The trap & emulate implementation is in use to run guest code in user mode. Guest virtual memory segments are rearranged to fit the guest in the user mode address space.”…”�”}”(hjM¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž#hjJ¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj1¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj.¨ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ1”h]”hŒ1”…”�”}”(hjm¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢#hjj¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjg¨ubj„)�”}”(hhh]”hï)�”}”(hŒ}The MIPS VZ ASE is in use, providing full hardware assisted virtualization, including standard guest virtual memory segments.”h]”hŒ}The MIPS VZ ASE is in use, providing full hardware assisted virtualization, including standard guest virtual memory segments.”…”�”}”(hj„¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¢#hj�¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjg¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj.¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj¨ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj¡§h²hh³hÇh´Nubeh}”(h]”Œkvm-cap-mips-vz”ah ]”h"]”Œ8.5 kvm_cap_mips_vz”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M‰#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.7 KVM_CAP_MIPS_64BIT”h]”hŒ8.7 KVM_CAP_MIPS_64BIT”…”�”}”(hj¼¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¹¨h²hh³hÇh´M§#ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjШh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjͨh³hÇh´Kubj�)�”}”(hŒmips ”h]”hï)�”}”(hŒmips”h]”hŒmips”…”�”}”(hjâ¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M©#hjÞ¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjͨubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M©#hjʨh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¹¨h²hh³hÇh´M©#ubhï)�”}”(hŒvThis capability indicates the supported architecture type of the guest, i.e. the supported register and address width.”h]”hŒvThis capability indicates the supported architecture type of the guest, i.e. the supported register and address width.”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M«#hj¹¨h²hubhï)�”}”(hŒùThe values returned when this capability is checked by KVM_CHECK_EXTENSION on a kvm VM handle correspond roughly to the CP0_Config.AT register field, and should be checked specifically against known values (see below). All other values are reserved.”h]”hŒùThe values returned when this capability is checked by KVM_CHECK_EXTENSION on a kvm VM handle correspond roughly to the CP0_Config.AT register field, and should be checked specifically against known values (see below). All other values are reserved.”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M®#hj¹¨h²hubjZ)�”}”(hhh]”j_)�”}”(hhh]”(jd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj!©ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”KHuh1jchj!©ubjz)�”}”(hhh]”(j)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hjŠh]”hŒ0”…”�”}”(hjA©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´#hj>©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj;©ubj„)�”}”(hhh]”hï)�”}”(hŒxMIPS32 or microMIPS32. Both registers and addresses are 32-bits wide. It will only be possible to run 32-bit guest code.”h]”hŒxMIPS32 or microMIPS32. Both registers and addresses are 32-bits wide. It will only be possible to run 32-bit guest code.”…”�”}”(hjW©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´#hjT©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj;©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj8©ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hjo¨h]”hŒ1”…”�”}”(hjw©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸#hjt©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq©ubj„)�”}”(hhh]”hï)�”}”(hŒûMIPS64 or microMIPS64 with access only to 32-bit compatibility segments. Registers are 64-bits wide, but addresses are 32-bits wide. 64-bit guest code may run but cannot access MIPS64 memory segments. It will also be possible to run 32-bit guest code.”h]”hŒûMIPS64 or microMIPS64 with access only to 32-bit compatibility segments. Registers are 64-bits wide, but addresses are 32-bits wide. 64-bit guest code may run but cannot access MIPS64 memory segments. It will also be possible to run 32-bit guest code.”…”�”}”(hj�©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¸#hjŠ©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhjq©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj8©ubj)�”}”(hhh]”(j„)�”}”(hhh]”hï)�”}”(hŒ2”h]”hŒ2”…”�”}”(hj­©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½#hjª©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§©ubj„)�”}”(hhh]”hï)�”}”(hŒ¡MIPS64 or microMIPS64 with access to all address segments. Both registers and addresses are 64-bits wide. It will be possible to run 64-bit or 32-bit guest code.”h]”hŒ¡MIPS64 or microMIPS64 with access to all address segments. Both registers and addresses are 64-bits wide. It will be possible to run 64-bit or 32-bit guest code.”…”�”}”(hjÄ©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M½#hjÁ©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj§©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hj8©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jyhj!©ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jYhj¹¨h²hh³hÇh´Nubeh}”(h]”Œkvm-cap-mips-64bit”ah ]”h"]”Œ8.7 kvm_cap_mips_64bit”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M§#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.9 KVM_CAP_ARM_USER_IRQ”h]”hŒ8.9 KVM_CAP_ARM_USER_IRQ”…”�”}”(hjü©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjù©h²hh³hÇh´MÃ#ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ªh³hÇh´Kubj�)�”}”(hŒarm64 ”h]”hï)�”}”(hŒarm64”h]”hŒarm64”…”�”}”(hj"ªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÅ#hjªubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ªubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÅ#hj ªh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjù©h²hh³hÇh´MÅ#ubhï)�”}”(hXÆThis capability, if KVM_CHECK_EXTENSION indicates that it is available, means that if userspace creates a VM without an in-kernel interrupt controller, it will be notified of changes to the output level of in-kernel emulated devices, which can generate virtual interrupts, presented to the VM. For such VMs, on every return to userspace, the kernel updates the vcpu's run->s.regs.device_irq_level field to represent the actual output level of the device.”h]”hXÈThis capability, if KVM_CHECK_EXTENSION indicates that it is available, means that if userspace creates a VM without an in-kernel interrupt controller, it will be notified of changes to the output level of in-kernel emulated devices, which can generate virtual interrupts, presented to the VM. For such VMs, on every return to userspace, the kernel updates the vcpu’s run->s.regs.device_irq_level field to represent the actual output level of the device.”…”�”}”(hjBªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÇ#hjù©h²hubhï)�”}”(hX¼Whenever kvm detects a change in the device output level, kvm guarantees at least one return to userspace before running the VM. This exit could either be a KVM_EXIT_INTR or any other exit event, like KVM_EXIT_MMIO. This way, userspace can always sample the device output level and re-compute the state of the userspace interrupt controller. Userspace should always check the state of run->s.regs.device_irq_level on every kvm exit. The value in run->s.regs.device_irq_level can represent both level and edge triggered interrupt signals, depending on the device. Edge triggered interrupt signals will exit to userspace with the bit in run->s.regs.device_irq_level set exactly once per edge signal.”h]”hX¼Whenever kvm detects a change in the device output level, kvm guarantees at least one return to userspace before running the VM. This exit could either be a KVM_EXIT_INTR or any other exit event, like KVM_EXIT_MMIO. This way, userspace can always sample the device output level and re-compute the state of the userspace interrupt controller. Userspace should always check the state of run->s.regs.device_irq_level on every kvm exit. The value in run->s.regs.device_irq_level can represent both level and edge triggered interrupt signals, depending on the device. Edge triggered interrupt signals will exit to userspace with the bit in run->s.regs.device_irq_level set exactly once per edge signal.”…”�”}”(hjPªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÏ#hjù©h²hubhï)�”}”(hŒsThe field run->s.regs.device_irq_level is available independent of run->kvm_valid_regs or run->kvm_dirty_regs bits.”h]”hŒsThe field run->s.regs.device_irq_level is available independent of run->kvm_valid_regs or run->kvm_dirty_regs bits.”…”�”}”(hj^ªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÚ#hjù©h²hubhï)�”}”(hŒåIf KVM_CAP_ARM_USER_IRQ is supported, the KVM_CHECK_EXTENSION ioctl returns a number larger than 0 indicating the version of this capability is implemented and thereby which bits in run->s.regs.device_irq_level can signal values.”h]”hŒåIf KVM_CAP_ARM_USER_IRQ is supported, the KVM_CHECK_EXTENSION ioctl returns a number larger than 0 indicating the version of this capability is implemented and thereby which bits in run->s.regs.device_irq_level can signal values.”…”�”}”(hjlªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÝ#hjù©h²hubhï)�”}”(hŒJCurrently the following bits are defined for the device_irq_level bitmap::”h]”hŒICurrently the following bits are defined for the device_irq_level bitmap:”…”�”}”(hjzªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Má#hjù©h²hubj8)�”}”(hŒ¶KVM_CAP_ARM_USER_IRQ >= 1: KVM_ARM_DEV_EL1_VTIMER - EL1 virtual timer KVM_ARM_DEV_EL1_PTIMER - EL1 physical timer KVM_ARM_DEV_PMU - ARM PMU overflow interrupt signal”h]”hŒ¶KVM_CAP_ARM_USER_IRQ >= 1: KVM_ARM_DEV_EL1_VTIMER - EL1 virtual timer KVM_ARM_DEV_EL1_PTIMER - EL1 physical timer KVM_ARM_DEV_PMU - ARM PMU overflow interrupt signal”…”�”}”hjˆªsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´Mã#hjù©h²hubhï)�”}”(hŒ Future versions of kvm may implement additional events. These will get indicated by returning a higher number from KVM_CHECK_EXTENSION and will be listed above.”h]”hŒ Future versions of kvm may implement additional events. These will get indicated by returning a higher number from KVM_CHECK_EXTENSION and will be listed above.”…”�”}”(hj–ªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mé#hjù©h²hubeh}”(h]”Œkvm-cap-arm-user-irq”ah ]”h"]”Œ8.9 kvm_cap_arm_user_irq”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´MÃ#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.10 KVM_CAP_PPC_SMT_POSSIBLE”h]”hŒ8.10 KVM_CAP_PPC_SMT_POSSIBLE”…”�”}”(hj¯ªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¬ªh²hh³hÇh´Mî#ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjêh²•hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÀªh³hÇh´Kubj�)�”}”(hŒppc ”h]”hï)�”}”(hŒppc”h]”hŒppc”…”�”}”(hjÕªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mð#hjѪubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÀªubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mð#hj½ªh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¬ªh²hh³hÇh´Mð#ubhï)�”}”(hŒÓQuerying this capability returns a bitmap indicating the possible virtual SMT modes that can be set using KVM_CAP_PPC_SMT. If bit N (counting from the right) is set, then a virtual SMT mode of 2^N is available.”h]”hŒÓQuerying this capability returns a bitmap indicating the possible virtual SMT modes that can be set using KVM_CAP_PPC_SMT. If bit N (counting from the right) is set, then a virtual SMT mode of 2^N is available.”…”�”}”(hjõªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mò#hj¬ªh²hubeh}”(h]”Œkvm-cap-ppc-smt-possible”ah ]”h"]”Œ8.10 kvm_cap_ppc_smt_possible”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mî#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.12 KVM_CAP_HYPERV_VP_INDEX”h]”hŒ8.12 KVM_CAP_HYPERV_VP_INDEX”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj «h²hh³hÇh´Mø#ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj"«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj«h³hÇh´Kubj�)�”}”(hŒx86 ”h]”hï)�”}”(hŒx86”h]”hŒx86”…”�”}”(hj4«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mú#hj0«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mú#hj«h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj «h²hh³hÇh´Mú#ubhï)�”}”(hX&This capability indicates that userspace can load HV_X64_MSR_VP_INDEX msr. Its value is used to denote the target vcpu for a SynIC interrupt. For compatibility, KVM initializes this msr to KVM's internal vcpu index. When this capability is absent, userspace can still query this msr's value.”h]”hX*This capability indicates that userspace can load HV_X64_MSR_VP_INDEX msr. Its value is used to denote the target vcpu for a SynIC interrupt. For compatibility, KVM initializes this msr to KVM’s internal vcpu index. When this capability is absent, userspace can still query this msr’s value.”…”�”}”(hjT«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mü#hj «h²hubeh}”(h]”Œkvm-cap-hyperv-vp-index”ah ]”h"]”Œ8.12 kvm_cap_hyperv_vp_index”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mø#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.13 KVM_CAP_S390_AIS_MIGRATION”h]”hŒ8.13 KVM_CAP_S390_AIS_MIGRATION”…”�”}”(hjm«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjj«h²hh³hÇh´M$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj�«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj~«h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hj“«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hj�«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj~«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M$hj{«h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjj«h²hh³hÇh´M$ubhï)�”}”(hŒÍThis capability indicates if the flic device will be able to get/set the AIS states for migration via the KVM_DEV_FLIC_AISM_ALL attribute and allows to discover this without having to create a flic device.”h]”hŒÍThis capability indicates if the flic device will be able to get/set the AIS states for migration via the KVM_DEV_FLIC_AISM_ALL attribute and allows to discover this without having to create a flic device.”…”�”}”(hj³«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hjj«h²hubeh}”(h]”Œkvm-cap-s390-ais-migration”ah ]”h"]”Œ8.13 kvm_cap_s390_ais_migration”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.14 KVM_CAP_S390_PSW”h]”hŒ8.14 KVM_CAP_S390_PSW”…”�”}”(hjÌ«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÉ«h²hh³hÇh´M $ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjà«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÝ«h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hjò«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M $hjî«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÝ«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M $hjÚ«h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÉ«h²hh³hÇh´M $ubhï)�”}”(hŒLThis capability indicates that the PSW is exposed via the kvm_run structure.”h]”hŒLThis capability indicates that the PSW is exposed via the kvm_run structure.”…”�”}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hjÉ«h²hubeh}”(h]”Œkvm-cap-s390-psw”ah ]”h"]”Œ8.14 kvm_cap_s390_psw”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M $ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.15 KVM_CAP_S390_GMAP”h]”hŒ8.15 KVM_CAP_S390_GMAP”…”�”}”(hj+¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj(¬h²hh³hÇh´M$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj?¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj<¬h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hjQ¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hjM¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj<¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M$hj9¬h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj(¬h²hh³hÇh´M$ubhï)�”}”(hŒËThis capability indicates that the user space memory used as guest mapping can be anywhere in the user memory address space, as long as the memory slots are aligned and sized to a segment (1MB) boundary.”h]”hŒËThis capability indicates that the user space memory used as guest mapping can be anywhere in the user memory address space, as long as the memory slots are aligned and sized to a segment (1MB) boundary.”…”�”}”(hjq¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hj(¬h²hubeh}”(h]”Œkvm-cap-s390-gmap”ah ]”h"]”Œ8.15 kvm_cap_s390_gmap”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.16 KVM_CAP_S390_COW”h]”hŒ8.16 KVM_CAP_S390_COW”…”�”}”(hjЬh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj‡¬h²hh³hÇh´M$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjž¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj›¬h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hj°¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hj¬¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj›¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M$hj˜¬h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj‡¬h²hh³hÇh´M$ubhï)�”}”(hŒ¥This capability indicates that the user space memory used as guest mapping can use copy-on-write semantics as well as dirty pages tracking via read-only page tables.”h]”hŒ¥This capability indicates that the user space memory used as guest mapping can use copy-on-write semantics as well as dirty pages tracking via read-only page tables.”…”�”}”(hjЬh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hj‡¬h²hubeh}”(h]”Œkvm-cap-s390-cow”ah ]”h"]”Œ8.16 kvm_cap_s390_cow”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.17 KVM_CAP_S390_BPB”h]”hŒ8.17 KVM_CAP_S390_BPB”…”�”}”(hjé¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjæ¬h²hh³hÇh´M$$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjý¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjú¬h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M&$hj ­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjú¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M&$hj÷¬h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjæ¬h²hh³hÇh´M&$ubhï)�”}”(hŒÝThis capability indicates that kvm will implement the interfaces to handle reset, migration and nested KVM for branch prediction blocking. The stfle facility 82 should not be provided to the guest without this capability.”h]”hŒÝThis capability indicates that kvm will implement the interfaces to handle reset, migration and nested KVM for branch prediction blocking. The stfle facility 82 should not be provided to the guest without this capability.”…”�”}”(hj/­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M($hjæ¬h²hubeh}”(h]”Œkvm-cap-s390-bpb”ah ]”h"]”Œ8.17 kvm_cap_s390_bpb”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M$$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.18 KVM_CAP_HYPERV_TLBFLUSH”h]”hŒ8.18 KVM_CAP_HYPERV_TLBFLUSH”…”�”}”(hjH­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjE­h²hh³hÇh´M-$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj\­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjY­h³hÇh´Kubj�)�”}”(hŒx86 ”h]”hï)�”}”(hŒx86”h]”hŒx86”…”�”}”(hjn­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M/$hjj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjY­ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M/$hjV­h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjE­h²hh³hÇh´M/$ubhï)�”}”(hŒËThis capability indicates that KVM supports paravirtualized Hyper-V TLB Flush hypercalls: HvFlushVirtualAddressSpace, HvFlushVirtualAddressSpaceEx, HvFlushVirtualAddressList, HvFlushVirtualAddressListEx.”h]”hŒËThis capability indicates that KVM supports paravirtualized Hyper-V TLB Flush hypercalls: HvFlushVirtualAddressSpace, HvFlushVirtualAddressSpaceEx, HvFlushVirtualAddressList, HvFlushVirtualAddressListEx.”…”�”}”(hjŽ­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1$hjE­h²hubeh}”(h]”Œkvm-cap-hyperv-tlbflush”ah ]”h"]”Œ8.18 kvm_cap_hyperv_tlbflush”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M-$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ"8.19 KVM_CAP_ARM_INJECT_SERROR_ESR”h]”hŒ"8.19 KVM_CAP_ARM_INJECT_SERROR_ESR”…”�”}”(hj§­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¤­h²hh³hÇh´M7$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj»­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¸­h³hÇh´Kubj�)�”}”(hŒarm64 ”h]”hï)�”}”(hŒarm64”h]”hŒarm64”…”�”}”(hjÍ­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9$hjÉ­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¸­ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M9$hjµ­h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¤­h²hh³hÇh´M9$ubhï)�”}”(hXãThis capability indicates that userspace can specify (via the KVM_SET_VCPU_EVENTS ioctl) the syndrome value reported to the guest when it takes a virtual SError interrupt exception. If KVM advertises this capability, userspace can only specify the ISS field for the ESR syndrome. Other parts of the ESR, such as the EC are generated by the CPU when the exception is taken. If this virtual SError is taken to EL1 using AArch64, this value will be reported in the ISS field of ESR_ELx.”h]”hXãThis capability indicates that userspace can specify (via the KVM_SET_VCPU_EVENTS ioctl) the syndrome value reported to the guest when it takes a virtual SError interrupt exception. If KVM advertises this capability, userspace can only specify the ISS field for the ESR syndrome. Other parts of the ESR, such as the EC are generated by the CPU when the exception is taken. If this virtual SError is taken to EL1 using AArch64, this value will be reported in the ISS field of ESR_ELx.”…”�”}”(hjí­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;$hj¤­h²hubhï)�”}”(hŒ)See KVM_CAP_VCPU_EVENTS for more details.”h]”hŒ)See KVM_CAP_VCPU_EVENTS for more details.”…”�”}”(hjû­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MC$hj¤­h²hubeh}”(h]”Œkvm-cap-arm-inject-serror-esr”ah ]”h"]”Œ"8.19 kvm_cap_arm_inject_serror_esr”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M7$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.20 KVM_CAP_HYPERV_SEND_IPI”h]”hŒ8.20 KVM_CAP_HYPERV_SEND_IPI”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj®h²hh³hÇh´MF$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj(®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj%®h³hÇh´Kubj�)�”}”(hŒx86 ”h]”hï)�”}”(hŒx86”h]”hŒx86”…”�”}”(hj:®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MH$hj6®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj%®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MH$hj"®h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj®h²hh³hÇh´MH$ubhï)�”}”(hŒ˜This capability indicates that KVM supports paravirtualized Hyper-V IPI send hypercalls: HvCallSendSyntheticClusterIpi, HvCallSendSyntheticClusterIpiEx.”h]”hŒ˜This capability indicates that KVM supports paravirtualized Hyper-V IPI send hypercalls: HvCallSendSyntheticClusterIpi, HvCallSendSyntheticClusterIpiEx.”…”�”}”(hjZ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJ$hj®h²hubeh}”(h]”Œkvm-cap-hyperv-send-ipi”ah ]”h"]”Œ8.20 kvm_cap_hyperv_send_ipi”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´MF$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.22 KVM_CAP_S390_VCPU_RESETS”h]”hŒ8.22 KVM_CAP_S390_VCPU_RESETS”…”�”}”(hjs®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjp®h²hh³hÇh´MO$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj‡®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj„®h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hj™®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MQ$hj•®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj„®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MQ$hj�®h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjp®h²hh³hÇh´MQ$ubhï)�”}”(hŒgThis capability indicates that the KVM_S390_NORMAL_RESET and KVM_S390_CLEAR_RESET ioctls are available.”h]”hŒgThis capability indicates that the KVM_S390_NORMAL_RESET and KVM_S390_CLEAR_RESET ioctls are available.”…”�”}”(hj¹®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MS$hjp®h²hubeh}”(h]”Œkvm-cap-s390-vcpu-resets”ah ]”h"]”Œ8.22 kvm_cap_s390_vcpu_resets”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´MO$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.23 KVM_CAP_S390_PROTECTED”h]”hŒ8.23 KVM_CAP_S390_PROTECTED”…”�”}”(hjÒ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÏ®h²hh³hÇh´MW$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjæ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjã®h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hjø®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MY$hjô®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjã®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MY$hjà®h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÏ®h²hh³hÇh´MY$ubhï)�”}”(hXThis capability indicates that the Ultravisor has been initialized and KVM can therefore start protected VMs. This capability governs the KVM_S390_PV_COMMAND ioctl and the KVM_MP_STATE_LOAD MP_STATE. KVM_SET_MP_STATE can fail for protected guests when the state change is invalid.”h]”hXThis capability indicates that the Ultravisor has been initialized and KVM can therefore start protected VMs. This capability governs the KVM_S390_PV_COMMAND ioctl and the KVM_MP_STATE_LOAD MP_STATE. KVM_SET_MP_STATE can fail for protected guests when the state change is invalid.”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M[$hjÏ®h²hubeh}”(h]”Œkvm-cap-s390-protected”ah ]”h"]”Œ8.23 kvm_cap_s390_protected”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´MW$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.24 KVM_CAP_STEAL_TIME”h]”hŒ8.24 KVM_CAP_STEAL_TIME”…”�”}”(hj1¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj.¯h²hh³hÇh´Mb$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjE¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjB¯h³hÇh´Kubj�)�”}”(hŒ arm64, x86 ”h]”hï)�”}”(hŒ arm64, x86”h]”hŒ arm64, x86”…”�”}”(hjW¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Md$hjS¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjB¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Md$hj?¯h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj.¯h²hh³hÇh´Md$ubhï)�”}”(hXãThis capability indicates that KVM supports steal time accounting. When steal time accounting is supported it may be enabled with architecture-specific interfaces. This capability and the architecture- specific interfaces must be consistent, i.e. if one says the feature is supported, than the other should as well and vice versa. For arm64 see Documentation/virt/kvm/devices/vcpu.rst "KVM_ARM_VCPU_PVTIME_CTRL". For x86 see Documentation/virt/kvm/x86/msr.rst "MSR_KVM_STEAL_TIME".”h]”hXëThis capability indicates that KVM supports steal time accounting. When steal time accounting is supported it may be enabled with architecture-specific interfaces. This capability and the architecture- specific interfaces must be consistent, i.e. if one says the feature is supported, than the other should as well and vice versa. For arm64 see Documentation/virt/kvm/devices/vcpu.rst “KVM_ARM_VCPU_PVTIME_CTRLâ€�. For x86 see Documentation/virt/kvm/x86/msr.rst “MSR_KVM_STEAL_TIMEâ€�.”…”�”}”(hjw¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mf$hj.¯h²hubeh}”(h]”Œkvm-cap-steal-time”ah ]”h"]”Œ8.24 kvm_cap_steal_time”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mb$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.25 KVM_CAP_S390_DIAG318”h]”hŒ8.25 KVM_CAP_S390_DIAG318”…”�”}”(hj�¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj�¯h²hh³hÇh´Mo$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¤¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¡¯h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hj¶¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mq$hj²¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¡¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mq$hjž¯h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj�¯h²hh³hÇh´Mq$ubhï)�”}”(hXThis capability enables a guest to set information about its control program (i.e. guest kernel type and version). The information is helpful during system/firmware service events, providing additional data about the guest environments running on the machine.”h]”hXThis capability enables a guest to set information about its control program (i.e. guest kernel type and version). The information is helpful during system/firmware service events, providing additional data about the guest environments running on the machine.”…”�”}”(hjÖ¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Ms$hj�¯h²hubhï)�”}”(hX‡The information is associated with the DIAGNOSE 0x318 instruction, which sets an 8-byte value consisting of a one-byte Control Program Name Code (CPNC) and a 7-byte Control Program Version Code (CPVC). The CPNC determines what environment the control program is running in (e.g. Linux, z/VM...), and the CPVC is used for information specific to OS (e.g. Linux version, Linux distribution...)”h]”hX‡The information is associated with the DIAGNOSE 0x318 instruction, which sets an 8-byte value consisting of a one-byte Control Program Name Code (CPNC) and a 7-byte Control Program Version Code (CPVC). The CPNC determines what environment the control program is running in (e.g. Linux, z/VM...), and the CPVC is used for information specific to OS (e.g. Linux version, Linux distribution...)”…”�”}”(hjä¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mx$hj�¯h²hubhï)�”}”(hŒ•If this capability is available, then the CPNC and CPVC can be synchronized between KVM and userspace via the sync regs mechanism (KVM_SYNC_DIAG318).”h]”hŒ•If this capability is available, then the CPNC and CPVC can be synchronized between KVM and userspace via the sync regs mechanism (KVM_SYNC_DIAG318).”…”�”}”(hjò¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$hj�¯h²hubeh}”(h]”Œkvm-cap-s390-diag318”ah ]”h"]”Œ8.25 kvm_cap_s390_diag318”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mo$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.26 KVM_CAP_X86_USER_SPACE_MSR”h]”hŒ8.26 KVM_CAP_X86_USER_SPACE_MSR”…”�”}”(hj °h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj°h²hh³hÇh´Mƒ$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj°h³hÇh´Kubj�)�”}”(hŒx86 ”h]”hï)�”}”(hŒx86”h]”hŒx86”…”�”}”(hj1°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M…$hj-°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M…$hj°h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj°h²hh³hÇh´M…$ubhï)�”}”(hX?This capability indicates that KVM supports deflection of MSR reads and writes to user space. It can be enabled on a VM level. If enabled, MSR accesses that would usually trigger a #GP by KVM into the guest will instead get bounced to user space through the KVM_EXIT_X86_RDMSR and KVM_EXIT_X86_WRMSR exit notifications.”h]”hX?This capability indicates that KVM supports deflection of MSR reads and writes to user space. It can be enabled on a VM level. If enabled, MSR accesses that would usually trigger a #GP by KVM into the guest will instead get bounced to user space through the KVM_EXIT_X86_RDMSR and KVM_EXIT_X86_WRMSR exit notifications.”…”�”}”(hjQ°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M‡$hj°h²hubeh}”(h]”Œid24”ah ]”h"]”Œ8.26 kvm_cap_x86_user_space_msr”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mƒ$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.27 KVM_CAP_X86_MSR_FILTER”h]”hŒ8.27 KVM_CAP_X86_MSR_FILTER”…”�”}”(hjj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjg°h²hh³hÇh´MŽ$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj~°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj{°h³hÇh´Kubj�)�”}”(hŒx86 ”h]”hï)�”}”(hŒx86”h]”hŒx86”…”�”}”(hj�°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M�$hjŒ°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj{°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M�$hjx°h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjg°h²hh³hÇh´M�$ubhï)�”}”(hXThis capability indicates that KVM supports that accesses to user defined MSRs may be rejected. With this capability exposed, KVM exports new VM ioctl KVM_X86_SET_MSR_FILTER which user space can call to specify bitmaps of MSR ranges that KVM should deny access to.”h]”hXThis capability indicates that KVM supports that accesses to user defined MSRs may be rejected. With this capability exposed, KVM exports new VM ioctl KVM_X86_SET_MSR_FILTER which user space can call to specify bitmaps of MSR ranges that KVM should deny access to.”…”�”}”(hj°°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M’$hjg°h²hubhï)�”}”(hŒÅIn combination with KVM_CAP_X86_USER_SPACE_MSR, this allows user space to trap and emulate MSRs that are outside of the scope of KVM as well as limit the attack surface on KVM's MSR emulation code.”h]”hŒÇIn combination with KVM_CAP_X86_USER_SPACE_MSR, this allows user space to trap and emulate MSRs that are outside of the scope of KVM as well as limit the attack surface on KVM’s MSR emulation code.”…”�”}”(hj¾°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M—$hjg°h²hubeh}”(h]”Œkvm-cap-x86-msr-filter”ah ]”h"]”Œ8.27 kvm_cap_x86_msr_filter”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´MŽ$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.30 KVM_CAP_XEN_HVM”h]”hŒ8.30 KVM_CAP_XEN_HVM”…”�”}”(hj×°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÔ°h²hh³hÇh´Mœ$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjë°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjè°h³hÇh´Kubj�)�”}”(hŒx86 ”h]”hï)�”}”(hŒx86”h]”hŒx86”…”�”}”(hjý°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mž$hjù°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjè°ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mž$hjå°h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjÔ°h²hh³hÇh´Mž$ubhï)�”}”(hŒhThis capability indicates the features that Xen supports for hosting Xen PVHVM guests. Valid flags are::”h]”hŒgThis capability indicates the features that Xen supports for hosting Xen PVHVM guests. Valid flags are:”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M $hjÔ°h²hubj8)�”}”(hX÷#define KVM_XEN_HVM_CONFIG_HYPERCALL_MSR (1 << 0) #define KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL (1 << 1) #define KVM_XEN_HVM_CONFIG_SHARED_INFO (1 << 2) #define KVM_XEN_HVM_CONFIG_RUNSTATE (1 << 3) #define KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL (1 << 4) #define KVM_XEN_HVM_CONFIG_EVTCHN_SEND (1 << 5) #define KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG (1 << 6) #define KVM_XEN_HVM_CONFIG_PVCLOCK_TSC_UNSTABLE (1 << 7)”h]”hX÷#define KVM_XEN_HVM_CONFIG_HYPERCALL_MSR (1 << 0) #define KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL (1 << 1) #define KVM_XEN_HVM_CONFIG_SHARED_INFO (1 << 2) #define KVM_XEN_HVM_CONFIG_RUNSTATE (1 << 3) #define KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL (1 << 4) #define KVM_XEN_HVM_CONFIG_EVTCHN_SEND (1 << 5) #define KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG (1 << 6) #define KVM_XEN_HVM_CONFIG_PVCLOCK_TSC_UNSTABLE (1 << 7)”…”�”}”hj+±sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M£$hjÔ°h²hubhï)�”}”(hŒŒThe KVM_XEN_HVM_CONFIG_HYPERCALL_MSR flag indicates that the KVM_XEN_HVM_CONFIG ioctl is available, for the guest to set its hypercall page.”h]”hŒŒThe KVM_XEN_HVM_CONFIG_HYPERCALL_MSR flag indicates that the KVM_XEN_HVM_CONFIG ioctl is available, for the guest to set its hypercall page.”…”�”}”(hj9±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¬$hjÔ°h²hubhï)�”}”(hX*If KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL is also set, the same flag may also be provided in the flags to KVM_XEN_HVM_CONFIG, without providing hypercall page contents, to request that KVM generate hypercall page content automatically and also enable interception of guest hypercalls with KVM_EXIT_XEN.”h]”hX*If KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL is also set, the same flag may also be provided in the flags to KVM_XEN_HVM_CONFIG, without providing hypercall page contents, to request that KVM generate hypercall page content automatically and also enable interception of guest hypercalls with KVM_EXIT_XEN.”…”�”}”(hjG±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¯$hjÔ°h²hubhï)�”}”(hX7The KVM_XEN_HVM_CONFIG_SHARED_INFO flag indicates the availability of the KVM_XEN_HVM_SET_ATTR, KVM_XEN_HVM_GET_ATTR, KVM_XEN_VCPU_SET_ATTR and KVM_XEN_VCPU_GET_ATTR ioctls, as well as the delivery of exception vectors for event channel upcalls when the evtchn_upcall_pending field of a vcpu's vcpu_info is set.”h]”hX9The KVM_XEN_HVM_CONFIG_SHARED_INFO flag indicates the availability of the KVM_XEN_HVM_SET_ATTR, KVM_XEN_HVM_GET_ATTR, KVM_XEN_VCPU_SET_ATTR and KVM_XEN_VCPU_GET_ATTR ioctls, as well as the delivery of exception vectors for event channel upcalls when the evtchn_upcall_pending field of a vcpu’s vcpu_info is set.”…”�”}”(hjU±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M´$hjÔ°h²hubhï)�”}”(hŒÖThe KVM_XEN_HVM_CONFIG_RUNSTATE flag indicates that the runstate-related features KVM_XEN_VCPU_ATTR_TYPE_RUNSTATE_ADDR/_CURRENT/_DATA/_ADJUST are supported by the KVM_XEN_VCPU_SET_ATTR/KVM_XEN_VCPU_GET_ATTR ioctls.”h]”hŒÖThe KVM_XEN_HVM_CONFIG_RUNSTATE flag indicates that the runstate-related features KVM_XEN_VCPU_ATTR_TYPE_RUNSTATE_ADDR/_CURRENT/_DATA/_ADJUST are supported by the KVM_XEN_VCPU_SET_ATTR/KVM_XEN_VCPU_GET_ATTR ioctls.”…”�”}”(hjc±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mº$hjÔ°h²hubhï)�”}”(hŒÊThe KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL flag indicates that IRQ routing entries of the type KVM_IRQ_ROUTING_XEN_EVTCHN are supported, with the priority field set to indicate 2 level event channel delivery.”h]”hŒÊThe KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL flag indicates that IRQ routing entries of the type KVM_IRQ_ROUTING_XEN_EVTCHN are supported, with the priority field set to indicate 2 level event channel delivery.”…”�”}”(hjq±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾$hjÔ°h²hubhï)�”}”(hX”The KVM_XEN_HVM_CONFIG_EVTCHN_SEND flag indicates that KVM supports injecting event channel events directly into the guest with the KVM_XEN_HVM_EVTCHN_SEND ioctl. It also indicates support for the KVM_XEN_ATTR_TYPE_EVTCHN/XEN_VERSION HVM attributes and the KVM_XEN_VCPU_ATTR_TYPE_VCPU_ID/TIMER/UPCALL_VECTOR vCPU attributes. related to event channel delivery, timers, and the XENVER_version interception.”h]”hX”The KVM_XEN_HVM_CONFIG_EVTCHN_SEND flag indicates that KVM supports injecting event channel events directly into the guest with the KVM_XEN_HVM_EVTCHN_SEND ioctl. It also indicates support for the KVM_XEN_ATTR_TYPE_EVTCHN/XEN_VERSION HVM attributes and the KVM_XEN_VCPU_ATTR_TYPE_VCPU_ID/TIMER/UPCALL_VECTOR vCPU attributes. related to event channel delivery, timers, and the XENVER_version interception.”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÂ$hjÔ°h²hubhï)�”}”(hX)The KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG flag indicates that KVM supports the KVM_XEN_ATTR_TYPE_RUNSTATE_UPDATE_FLAG attribute in the KVM_XEN_SET_ATTR and KVM_XEN_GET_ATTR ioctls. This controls whether KVM will set the XEN_RUNSTATE_UPDATE flag in guest memory mapped vcpu_runstate_info during updates of the runstate information. Note that versions of KVM which support the RUNSTATE feature above, but not the RUNSTATE_UPDATE_FLAG feature, will always set the XEN_RUNSTATE_UPDATE flag when updating the guest structure, which is perhaps counterintuitive. When this flag is advertised, KVM will behave more correctly, not using the XEN_RUNSTATE_UPDATE flag until/unless specifically enabled (by the guest making the hypercall, causing the VMM to enable the KVM_XEN_ATTR_TYPE_RUNSTATE_UPDATE_FLAG attribute).”h]”hX)The KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG flag indicates that KVM supports the KVM_XEN_ATTR_TYPE_RUNSTATE_UPDATE_FLAG attribute in the KVM_XEN_SET_ATTR and KVM_XEN_GET_ATTR ioctls. This controls whether KVM will set the XEN_RUNSTATE_UPDATE flag in guest memory mapped vcpu_runstate_info during updates of the runstate information. Note that versions of KVM which support the RUNSTATE feature above, but not the RUNSTATE_UPDATE_FLAG feature, will always set the XEN_RUNSTATE_UPDATE flag when updating the guest structure, which is perhaps counterintuitive. When this flag is advertised, KVM will behave more correctly, not using the XEN_RUNSTATE_UPDATE flag until/unless specifically enabled (by the guest making the hypercall, causing the VMM to enable the KVM_XEN_ATTR_TYPE_RUNSTATE_UPDATE_FLAG attribute).”…”�”}”(hj�±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÊ$hjÔ°h²hubhï)�”}”(hŒõThe KVM_XEN_HVM_CONFIG_PVCLOCK_TSC_UNSTABLE flag indicates that KVM supports clearing the PVCLOCK_TSC_STABLE_BIT flag in Xen pvclock sources. This will be done when the KVM_CAP_XEN_HVM ioctl sets the KVM_XEN_HVM_CONFIG_PVCLOCK_TSC_UNSTABLE flag.”h]”hŒõThe KVM_XEN_HVM_CONFIG_PVCLOCK_TSC_UNSTABLE flag indicates that KVM supports clearing the PVCLOCK_TSC_STABLE_BIT flag in Xen pvclock sources. This will be done when the KVM_CAP_XEN_HVM ioctl sets the KVM_XEN_HVM_CONFIG_PVCLOCK_TSC_UNSTABLE flag.”…”�”}”(hj›±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÖ$hjÔ°h²hubeh}”(h]”Œkvm-cap-xen-hvm”ah ]”h"]”Œ8.30 kvm_cap_xen_hvm”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mœ$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.31 KVM_CAP_SPAPR_MULTITCE”h]”hŒ8.31 KVM_CAP_SPAPR_MULTITCE”…”�”}”(hj´±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj±±h²hh³hÇh´MÜ$ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjȱh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjűh³hÇh´Kubj�)�”}”(hŒppc”h]”hï)�”}”(hjرh]”hŒppc”…”�”}”(hjÚ±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MÞ$hjÖ±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjűubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MÞ$hj±h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjö±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjó±h³hÇh´Kubj�)�”}”(hŒvm ”h]”hï)�”}”(hŒvm”h]”hŒvm”…”�”}”(hj²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mß$hj²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjó±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mß$hj±h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj±±h²hh³hÇh´MÞ$ubhï)�”}”(hX‹This capability means the kernel is capable of handling hypercalls H_PUT_TCE_INDIRECT and H_STUFF_TCE without passing those into the user space. This significantly accelerates DMA operations for PPC KVM guests. User space should expect that its handlers for these hypercalls are not going to be called if user space previously registered LIOBN in KVM (via KVM_CREATE_SPAPR_TCE or similar calls).”h]”hX‹This capability means the kernel is capable of handling hypercalls H_PUT_TCE_INDIRECT and H_STUFF_TCE without passing those into the user space. This significantly accelerates DMA operations for PPC KVM guests. User space should expect that its handlers for these hypercalls are not going to be called if user space previously registered LIOBN in KVM (via KVM_CREATE_SPAPR_TCE or similar calls).”…”�”}”(hj(²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Má$hj±±h²hubhï)�”}”(hX In order to enable H_PUT_TCE_INDIRECT and H_STUFF_TCE use in the guest, user space might have to advertise it for the guest. For example, IBM pSeries (sPAPR) guest starts using them if "hcall-multi-tce" is present in the "ibm,hypertas-functions" device-tree property.”h]”hXIn order to enable H_PUT_TCE_INDIRECT and H_STUFF_TCE use in the guest, user space might have to advertise it for the guest. For example, IBM pSeries (sPAPR) guest starts using them if “hcall-multi-tceâ€� is present in the “ibm,hypertas-functionsâ€� device-tree property.”…”�”}”(hj6²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mè$hj±±h²hubhï)�”}”(hXThe hypercalls mentioned above may or may not be processed successfully in the kernel based fast path. If they can not be handled by the kernel, they will get passed on to user space. So user space still has to have an implementation for these despite the in kernel acceleration.”h]”hXThe hypercalls mentioned above may or may not be processed successfully in the kernel based fast path. If they can not be handled by the kernel, they will get passed on to user space. So user space still has to have an implementation for these despite the in kernel acceleration.”…”�”}”(hjD²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mí$hj±±h²hubhï)�”}”(hŒ"This capability is always enabled.”h]”hŒ"This capability is always enabled.”…”�”}”(hjR²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mò$hj±±h²hubeh}”(h]”Œkvm-cap-spapr-multitce”ah ]”h"]”Œ8.31 kvm_cap_spapr_multitce”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´MÜ$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.32 KVM_CAP_PTP_KVM”h]”hŒ8.32 KVM_CAP_PTP_KVM”…”�”}”(hjk²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²h²hh³hÇh´Mõ$ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj|²h³hÇh´Kubj�)�”}”(hŒarm64 ”h]”hï)�”}”(hŒarm64”h]”hŒarm64”…”�”}”(hj‘²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M÷$hj�²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj|²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M÷$hjy²h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjh²h²hh³hÇh´M÷$ubhï)�”}”(hŒ This capability indicates that the KVM virtual PTP service is supported in the host. A VMM can check whether the service is available to the guest on migration.”h]”hŒ This capability indicates that the KVM virtual PTP service is supported in the host. A VMM can check whether the service is available to the guest on migration.”…”�”}”(hj±²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mù$hjh²h²hubeh}”(h]”Œkvm-cap-ptp-kvm”ah ]”h"]”Œ8.32 kvm_cap_ptp_kvm”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mõ$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ 8.37 KVM_CAP_S390_PROTECTED_DUMP”h]”hŒ 8.37 KVM_CAP_S390_PROTECTED_DUMP”…”�”}”(hjʲh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjDzh²hh³hÇh´Mþ$ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjÞ²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÛ²h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjî²h]”hŒs390”…”�”}”(hjð²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hjì²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjÛ²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M%hjزh²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hj ³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ³h³hÇh´Kubj�)�”}”(hŒvm ”h]”hï)�”}”(hŒvm”h]”hŒvm”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hj³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M%hjزh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjDzh²hh³hÇh´M%ubhï)�”}”(hXBThis capability indicates that KVM and the Ultravisor support dumping PV guests. The `KVM_PV_DUMP` command is available for the `KVM_S390_PV_COMMAND` ioctl and the `KVM_PV_INFO` command provides dump related UV data. Also the vcpu ioctl `KVM_S390_PV_CPU_COMMAND` is available and supports the `KVM_PV_DUMP_CPU` subcommand.”h]”(hŒUThis capability indicates that KVM and the Ultravisor support dumping PV guests. The ”…”�”}”(hj>³h²hh³Nh´NubjÀ,)�”}”(hŒ `KVM_PV_DUMP`”h]”hŒ KVM_PV_DUMP”…”�”}”(hjF³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj>³ubhŒ command is available for the ”…”�”}”(hj>³h²hh³Nh´NubjÀ,)�”}”(hŒ`KVM_S390_PV_COMMAND`”h]”hŒKVM_S390_PV_COMMAND”…”�”}”(hjX³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj>³ubhŒ ioctl and the ”…”�”}”(hj>³h²hh³Nh´NubjÀ,)�”}”(hŒ `KVM_PV_INFO`”h]”hŒ KVM_PV_INFO”…”�”}”(hjj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj>³ubhŒ< command provides dump related UV data. Also the vcpu ioctl ”…”�”}”(hj>³h²hh³Nh´NubjÀ,)�”}”(hŒ`KVM_S390_PV_CPU_COMMAND`”h]”hŒKVM_S390_PV_CPU_COMMAND”…”�”}”(hj|³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj>³ubhŒ is available and supports the ”…”�”}”(hj>³h²hh³Nh´NubjÀ,)�”}”(hŒ`KVM_PV_DUMP_CPU`”h]”hŒKVM_PV_DUMP_CPU”…”�”}”(hj޳h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿,hj>³ubhŒ subcommand.”…”�”}”(hj>³h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hjDzh²hubeh}”(h]”Œkvm-cap-s390-protected-dump”ah ]”h"]”Œ 8.37 kvm_cap_s390_protected_dump”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mþ$ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.39 KVM_CAP_S390_CPU_TOPOLOGY”h]”hŒ8.39 KVM_CAP_S390_CPU_TOPOLOGY”…”�”}”(hj±³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj®³h²hh³hÇh´M %ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjųh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj³h³hÇh´Kubj�)�”}”(hŒs390”h]”hï)�”}”(hjÕ³h]”hŒs390”…”�”}”(hj׳h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M %hjÓ³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M %hj¿³h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjó³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjð³h³hÇh´Kubj�)�”}”(hŒvm ”h]”hï)�”}”(hŒvm”h]”hŒvm”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M %hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjð³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M %hj¿³h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhj®³h²hh³hÇh´M %ubhï)�”}”(hX<This capability indicates that KVM will provide the S390 CPU Topology facility which consist of the interpretation of the PTF instruction for the function code 2 along with interception and forwarding of both the PTF instruction with function codes 0 or 1 and the STSI(15,1,x) instruction to the userland hypervisor.”h]”hX<This capability indicates that KVM will provide the S390 CPU Topology facility which consist of the interpretation of the PTF instruction for the function code 2 along with interception and forwarding of both the PTF instruction with function codes 0 or 1 and the STSI(15,1,x) instruction to the userland hypervisor.”…”�”}”(hj%´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hj®³h²hubhï)�”}”(hŒkThe stfle facility 11, CPU Topology facility, should not be indicated to the guest without this capability.”h]”hŒkThe stfle facility 11, CPU Topology facility, should not be indicated to the guest without this capability.”…”�”}”(hj3´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hj®³h²hubhï)�”}”(hŒ÷When this capability is present, KVM provides a new attribute group on vm fd, KVM_S390_VM_CPU_TOPOLOGY. This new attribute allows to get, set or clear the Modified Change Topology Report (MTCR) bit of the SCA through the kvm_device_attr structure.”h]”hŒ÷When this capability is present, KVM provides a new attribute group on vm fd, KVM_S390_VM_CPU_TOPOLOGY. This new attribute allows to get, set or clear the Modified Change Topology Report (MTCR) bit of the SCA through the kvm_device_attr structure.”…”�”}”(hjA´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hj®³h²hubhï)�”}”(hŒ�When getting the Modified Change Topology Report value, the attr->addr must point to a byte where the value will be stored or retrieved from.”h]”hŒ�When getting the Modified Change Topology Report value, the attr->addr must point to a byte where the value will be stored or retrieved from.”…”�”}”(hjO´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%hj®³h²hubeh}”(h]”Œkvm-cap-s390-cpu-topology”ah ]”h"]”Œ8.39 kvm_cap_s390_cpu_topology”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M %ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.41 KVM_CAP_VM_TYPES”h]”hŒ8.41 KVM_CAP_VM_TYPES”…”�”}”(hjh´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhje´h²hh³hÇh´M"%ubjs)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj|´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjy´h³hÇh´Kubj�)�”}”(hŒx86”h]”hï)�”}”(hjŒ´h]”hŒx86”…”�”}”(hjŽ´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M$%hjŠ´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjy´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M$%hjv´h²hubjx)�”}”(hhh]”(j})�”}”(hŒType”h]”hŒType”…”�”}”(hjª´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj§´h³hÇh´Kubj�)�”}”(hŒ system ioctl ”h]”hï)�”}”(hŒ system ioctl”h]”hŒ system ioctl”…”�”}”(hj¼´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M%%hj¸´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj§´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M%%hjv´h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhje´h²hh³hÇh´M$%ubhï)�”}”(hŒ™This capability returns a bitmap of support VM types. The 1-setting of bit @n means the VM type with value @n is supported. Possible values of @n are::”h]”hŒ˜This capability returns a bitmap of support VM types. The 1-setting of bit @n means the VM type with value @n is supported. Possible values of @n are:”…”�”}”(hjÜ´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M'%hje´h²hubj8)�”}”(hŒÇ#define KVM_X86_DEFAULT_VM 0 #define KVM_X86_SW_PROTECTED_VM 1 #define KVM_X86_SEV_VM 2 #define KVM_X86_SEV_ES_VM 3 #define KVM_X86_SNP_VM 4 #define KVM_X86_TDX_VM 5”h]”hŒÇ#define KVM_X86_DEFAULT_VM 0 #define KVM_X86_SW_PROTECTED_VM 1 #define KVM_X86_SEV_VM 2 #define KVM_X86_SEV_ES_VM 3 #define KVM_X86_SNP_VM 4 #define KVM_X86_TDX_VM 5”…”�”}”hjê´sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j7h³hÇh´M*%hje´h²hubhï)�”}”(hŒéNote, KVM_X86_SW_PROTECTED_VM is currently only for development and testing. Do not use KVM_X86_SW_PROTECTED_VM for "real" VMs, and especially not in production. The behavior and effective ABI for software-protected VMs is unstable.”h]”hŒíNote, KVM_X86_SW_PROTECTED_VM is currently only for development and testing. Do not use KVM_X86_SW_PROTECTED_VM for “realâ€� VMs, and especially not in production. The behavior and effective ABI for software-protected VMs is unstable.”…”�”}”(hjø´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M1%hje´h²hubeh}”(h]”Œkvm-cap-vm-types”ah ]”h"]”Œ8.41 kvm_cap_vm_types”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M"%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.42 KVM_CAP_PPC_RPT_INVALIDATE”h]”hŒ8.42 KVM_CAP_PPC_RPT_INVALIDATE”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjµh²hh³hÇh´M7%ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj%µh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj"µh³hÇh´Kubj�)�”}”(hŒppc ”h]”hï)�”}”(hŒppc”h]”hŒppc”…”�”}”(hj7µh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M9%hj3µubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj"µubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M9%hjµh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjµh²hh³hÇh´M9%ubhï)�”}”(hŒXThis capability indicates that the kernel is capable of handling H_RPT_INVALIDATE hcall.”h]”hŒXThis capability indicates that the kernel is capable of handling H_RPT_INVALIDATE hcall.”…”�”}”(hjWµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M;%hjµh²hubhï)�”}”(hXIn order to enable the use of H_RPT_INVALIDATE in the guest, user space might have to advertise it for the guest. For example, IBM pSeries (sPAPR) guest starts using it if "hcall-rpt-invalidate" is present in the "ibm,hypertas-functions" device-tree property.”h]”hX In order to enable the use of H_RPT_INVALIDATE in the guest, user space might have to advertise it for the guest. For example, IBM pSeries (sPAPR) guest starts using it if “hcall-rpt-invalidateâ€� is present in the “ibm,hypertas-functionsâ€� device-tree property.”…”�”}”(hjeµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M>%hjµh²hubhï)�”}”(hŒ[This capability is enabled for hypervisors on platforms like POWER9 that support radix MMU.”h]”hŒ[This capability is enabled for hypervisors on platforms like POWER9 that support radix MMU.”…”�”}”(hjsµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MC%hjµh²hubeh}”(h]”Œkvm-cap-ppc-rpt-invalidate”ah ]”h"]”Œ8.42 kvm_cap_ppc_rpt_invalidate”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M7%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.43 KVM_CAP_PPC_AIL_MODE_3”h]”hŒ8.43 KVM_CAP_PPC_AIL_MODE_3”…”�”}”(hjŒµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj‰µh²hh³hÇh´MG%ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj µh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj�µh³hÇh´Kubj�)�”}”(hŒppc ”h]”hï)�”}”(hŒppc”h]”hŒppc”…”�”}”(hj²µh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MI%hj®µubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj�µubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MI%hjšµh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj‰µh²hh³hÇh´MI%ubhï)�”}”(hŒÓThis capability indicates that the kernel supports the mode 3 setting for the "Address Translation Mode on Interrupt" aka "Alternate Interrupt Location" resource that is controlled with the H_SET_MODE hypercall.”h]”hŒÛThis capability indicates that the kernel supports the mode 3 setting for the “Address Translation Mode on Interruptâ€� aka “Alternate Interrupt Locationâ€� resource that is controlled with the H_SET_MODE hypercall.”…”�”}”(hjÒµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MK%hj‰µh²hubhï)�”}”(hŒpThis capability allows a guest kernel to use a better-performance mode for handling interrupts and system calls.”h]”hŒpThis capability allows a guest kernel to use a better-performance mode for handling interrupts and system calls.”…”�”}”(hjàµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MO%hj‰µh²hubeh}”(h]”Œkvm-cap-ppc-ail-mode-3”ah ]”h"]”Œ8.43 kvm_cap_ppc_ail_mode_3”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´MG%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.44 KVM_CAP_MEMORY_FAULT_INFO”h]”hŒ8.44 KVM_CAP_MEMORY_FAULT_INFO”…”�”}”(hjùµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjöµh²hh³hÇh´MS%ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj ¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ¶h³hÇh´Kubj�)�”}”(hŒx86 ”h]”hï)�”}”(hŒx86”h]”hŒx86”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MU%hj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj ¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´MU%hj¶h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjöµh²hh³hÇh´MU%ubhï)�”}”(hŒçThe presence of this capability indicates that KVM_RUN will fill kvm_run.memory_fault if KVM cannot resolve a guest page fault VM-Exit, e.g. if there is a valid memslot but no backing VMA for the corresponding host virtual address.”h]”hŒçThe presence of this capability indicates that KVM_RUN will fill kvm_run.memory_fault if KVM cannot resolve a guest page fault VM-Exit, e.g. if there is a valid memslot but no backing VMA for the corresponding host virtual address.”…”�”}”(hj?¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MW%hjöµh²hubhï)�”}”(hŒ¸The information in kvm_run.memory_fault is valid if and only if KVM_RUN returns an error with errno=EFAULT or errno=EHWPOISON *and* kvm_run.exit_reason is set to KVM_EXIT_MEMORY_FAULT.”h]”(hŒ~The information in kvm_run.memory_fault is valid if and only if KVM_RUN returns an error with errno=EFAULT or errno=EHWPOISON ”…”�”}”(hjM¶h²hh³Nh´Nubj‚)�”}”(hŒ*and*”h]”hŒand”…”�”}”(hjU¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjM¶ubhŒ5 kvm_run.exit_reason is set to KVM_EXIT_MEMORY_FAULT.”…”�”}”(hjM¶h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M\%hjöµh²hubhï)�”}”(hŒ«Note: Userspaces which attempt to resolve memory faults so that they can retry KVM_RUN are encouraged to guard against repeatedly receiving the same error/annotated fault.”h]”hŒ«Note: Userspaces which attempt to resolve memory faults so that they can retry KVM_RUN are encouraged to guard against repeatedly receiving the same error/annotated fault.”…”�”}”(hjm¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M`%hjöµh²hubhï)�”}”(hŒ/See KVM_EXIT_MEMORY_FAULT for more information.”h]”hŒ/See KVM_EXIT_MEMORY_FAULT for more information.”…”�”}”(hj{¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Md%hjöµh²hubeh}”(h]”Œkvm-cap-memory-fault-info”ah ]”h"]”Œ8.44 kvm_cap_memory_fault_info”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´MS%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.45 KVM_CAP_X86_GUEST_MODE”h]”hŒ8.45 KVM_CAP_X86_GUEST_MODE”…”�”}”(hj”¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj‘¶h²hh³hÇh´Mg%ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¨¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¥¶h³hÇh´Kubj�)�”}”(hŒx86 ”h]”hï)�”}”(hŒx86”h]”hŒx86”…”�”}”(hjº¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mi%hj¶¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj¥¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mi%hj¢¶h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj‘¶h²hh³hÇh´Mi%ubhï)�”}”(hŒ¿The presence of this capability indicates that KVM_RUN will update the KVM_RUN_X86_GUEST_MODE bit in kvm_run.flags to indicate whether the vCPU was executing nested guest code when it exited.”h]”hŒ¿The presence of this capability indicates that KVM_RUN will update the KVM_RUN_X86_GUEST_MODE bit in kvm_run.flags to indicate whether the vCPU was executing nested guest code when it exited.”…”�”}”(hjÚ¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mk%hj‘¶h²hubeh}”(h]”Œkvm-cap-x86-guest-mode”ah ]”h"]”Œ8.45 kvm_cap_x86_guest_mode”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mg%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.46 KVM_CAP_S390_KEYOP”h]”hŒ8.46 KVM_CAP_S390_KEYOP”…”�”}”(hjó¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjð¶h²hh³hÇh´Mp%ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj·h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mr%hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´Mr%hj·h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjð¶h²hh³hÇh´Mr%ubhï)�”}”(hŒUThe presence of this capability indicates that the KVM_S390_KEYOP ioctl is available.”h]”hŒUThe presence of this capability indicates that the KVM_S390_KEYOP ioctl is available.”…”�”}”(hj9·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mt%hjð¶h²hubhï)�”}”(hŒ±KVM exits with the register state of either the L1 or L2 guest depending on which executed at the time of an exit. Userspace must take care to differentiate between these cases.”h]”hŒ±KVM exits with the register state of either the L1 or L2 guest depending on which executed at the time of an exit. Userspace must take care to differentiate between these cases.”…”�”}”(hjG·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mw%hjð¶h²hubeh}”(h]”Œkvm-cap-s390-keyop”ah ]”h"]”Œ8.46 kvm_cap_s390_keyop”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´Mp%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ8.47 KVM_CAP_S390_VSIE_ESAMODE”h]”hŒ8.47 KVM_CAP_S390_VSIE_ESAMODE”…”�”}”(hj`·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj]·h²hh³hÇh´M|%ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hjt·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjq·h³hÇh´Kubj�)�”}”(hŒs390 ”h]”hï)�”}”(hŒs390”h]”hŒs390”…”�”}”(hj†·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M~%hj‚·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjq·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwh³hÇh´M~%hjn·h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj]·h²hh³hÇh´M~%ubhï)�”}”(hŒZThe presence of this capability indicates that the nested KVM guest can start in ESA mode.”h]”hŒZThe presence of this capability indicates that the nested KVM guest can start in ESA mode.”…”�”}”(hj¦·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M€%hj]·h²hubeh}”(h]”Œkvm-cap-s390-vsie-esamode”ah ]”h"]”Œ8.47 kvm_cap_s390_vsie_esamode”ah$]”h&]”uh1hÈhje¦h²hh³hÇh´M|%ubeh}”(h]”Œother-capabilities”ah ]”h"]”Œ8. other capabilities.”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´Md#ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ9. Known KVM API problems”h]”hŒ9. Known KVM API problems”…”�”}”(hjÇ·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÄ·h²hh³hÇh´M„%ubhï)�”}”(hŒ”In some cases, KVM's API has some inconsistencies or common pitfalls that userspace need to be aware of. This section details some of these issues.”h]”hŒ–In some cases, KVM’s API has some inconsistencies or common pitfalls that userspace need to be aware of. This section details some of these issues.”…”�”}”(hjÕ·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M†%hjÄ·h²hubhï)�”}”(hŒPMost of them are architecture specific, so the section is split by architecture.”h]”hŒPMost of them are architecture specific, so the section is split by architecture.”…”�”}”(hjã·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŠ%hjÄ·h²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ9.1. x86”h]”hŒ9.1. x86”…”�”}”(hjô·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjñ·h²hh³hÇh´MŽ%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ"``KVM_GET_SUPPORTED_CPUID`` issues”h]”(jÈ)�”}”(hŒ``KVM_GET_SUPPORTED_CPUID``”h]”hŒKVM_GET_SUPPORTED_CPUID”…”�”}”(hj ¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¸ubhŒ issues”…”�”}”(hj¸h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¸h²hh³hÇh´M‘%ubhï)�”}”(hŒÎIn general, ``KVM_GET_SUPPORTED_CPUID`` is designed so that it is possible to take its result and pass it directly to ``KVM_SET_CPUID2``. This section documents some cases in which that requires some care.”h]”(hŒ In general, ”…”�”}”(hj!¸h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_GET_SUPPORTED_CPUID``”h]”hŒKVM_GET_SUPPORTED_CPUID”…”�”}”(hj)¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj!¸ubhŒO is designed so that it is possible to take its result and pass it directly to ”…”�”}”(hj!¸h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_SET_CPUID2``”h]”hŒKVM_SET_CPUID2”…”�”}”(hj;¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj!¸ubhŒF. This section documents some cases in which that requires some care.”…”�”}”(hj!¸h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M“%hj¸h²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒLocal APIC features”h]”hŒLocal APIC features”…”�”}”(hjV¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjS¸h²hh³hÇh´M˜%ubhï)�”}”(hŒãCPU[EAX=1]:ECX[21] (X2APIC) is reported by ``KVM_GET_SUPPORTED_CPUID``, but it can only be enabled if ``KVM_CREATE_IRQCHIP`` or ``KVM_ENABLE_CAP(KVM_CAP_IRQCHIP_SPLIT)`` are used to enable in-kernel emulation of the local APIC.”h]”(hŒ+CPU[EAX=1]:ECX[21] (X2APIC) is reported by ”…”�”}”(hjd¸h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_GET_SUPPORTED_CPUID``”h]”hŒKVM_GET_SUPPORTED_CPUID”…”�”}”(hjl¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjd¸ubhŒ , but it can only be enabled if ”…”�”}”(hjd¸h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_CREATE_IRQCHIP``”h]”hŒKVM_CREATE_IRQCHIP”…”�”}”(hj~¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjd¸ubhŒ or ”…”�”}”(hjd¸h²hh³Nh´NubjÈ)�”}”(hŒ)``KVM_ENABLE_CAP(KVM_CAP_IRQCHIP_SPLIT)``”h]”hŒ%KVM_ENABLE_CAP(KVM_CAP_IRQCHIP_SPLIT)”…”�”}”(hj�¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjd¸ubhŒ: are used to enable in-kernel emulation of the local APIC.”…”�”}”(hjd¸h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mš%hjS¸h²hubhï)�”}”(hŒKThe same is true for the ``KVM_FEATURE_PV_UNHALT`` paravirtualized feature.”h]”(hŒThe same is true for the ”…”�”}”(hj¨¸h²hh³Nh´NubjÈ)�”}”(hŒ``KVM_FEATURE_PV_UNHALT``”h]”hŒKVM_FEATURE_PV_UNHALT”…”�”}”(hj°¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj¨¸ubhŒ paravirtualized feature.”…”�”}”(hj¨¸h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MŸ%hjS¸h²hubhï)�”}”(hXCOn older versions of Linux, CPU[EAX=1]:ECX[24] (TSC_DEADLINE) is not reported by ``KVM_GET_SUPPORTED_CPUID``, but it can be enabled if ``KVM_CAP_TSC_DEADLINE_TIMER`` is present and the kernel has enabled in-kernel emulation of the local APIC. On newer versions, ``KVM_GET_SUPPORTED_CPUID`` does report the bit as available.”h]”(hŒQOn older versions of Linux, CPU[EAX=1]:ECX[24] (TSC_DEADLINE) is not reported by ”…”�”}”(hjȸh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_GET_SUPPORTED_CPUID``”h]”hŒKVM_GET_SUPPORTED_CPUID”…”�”}”(hjиh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjȸubhŒ, but it can be enabled if ”…”�”}”(hjȸh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_CAP_TSC_DEADLINE_TIMER``”h]”hŒKVM_CAP_TSC_DEADLINE_TIMER”…”�”}”(hjâ¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjȸubhŒa is present and the kernel has enabled in-kernel emulation of the local APIC. On newer versions, ”…”�”}”(hjȸh²hh³Nh´NubjÈ)�”}”(hŒ``KVM_GET_SUPPORTED_CPUID``”h]”hŒKVM_GET_SUPPORTED_CPUID”…”�”}”(hjô¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjȸubhŒ" does report the bit as available.”…”�”}”(hjȸh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¡%hjS¸h²hubeh}”(h]”Œlocal-apic-features”ah ]”h"]”Œlocal apic features”ah$]”h&]”uh1hÈhj¸h²hh³hÇh´M˜%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ CPU topology”h]”hŒ CPU topology”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¹h²hh³hÇh´M§%ubhï)�”}”(hXSeveral CPUID values include topology information for the host CPU: 0x0b and 0x1f for Intel systems, 0x8000001e for AMD systems. Different versions of KVM return different values for this information and userspace should not rely on it. Currently they return all zeroes.”h]”hXSeveral CPUID values include topology information for the host CPU: 0x0b and 0x1f for Intel systems, 0x8000001e for AMD systems. Different versions of KVM return different values for this information and userspace should not rely on it. Currently they return all zeroes.”…”�”}”(hj%¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M©%hj¹h²hubhï)�”}”(hXCIf userspace wishes to set up a guest topology, it should be careful that the values of these three leaves differ for each CPU. In particular, the APIC ID is found in EDX for all subleaves of 0x0b and 0x1f, and in EAX for 0x8000001e; the latter also encodes the core id and node id in bits 7:0 of EBX and ECX respectively.”h]”hXCIf userspace wishes to set up a guest topology, it should be careful that the values of these three leaves differ for each CPU. In particular, the APIC ID is found in EDX for all subleaves of 0x0b and 0x1f, and in EAX for 0x8000001e; the latter also encodes the core id and node id in bits 7:0 of EBX and ECX respectively.”…”�”}”(hj3¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M®%hj¹h²hubeh}”(h]”Œ cpu-topology”ah ]”h"]”Œ cpu topology”ah$]”h&]”uh1hÈhj¸h²hh³hÇh´M§%ubeh}”(h]”Œkvm-get-supported-cpuid-issues”ah ]”h"]”Œkvm_get_supported_cpuid issues”ah$]”h&]”uh1hÈhjñ·h²hh³hÇh´M‘%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Obsolete ioctls and capabilities”h]”hŒ Obsolete ioctls and capabilities”…”�”}”(hjT¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjQ¹h²hh³hÇh´Mµ%ubhï)�”}”(hŒ£KVM_CAP_DISABLE_QUIRKS does not let userspace know which quirks are actually available. Use ``KVM_CHECK_EXTENSION(KVM_CAP_DISABLE_QUIRKS2)`` instead if available.”h]”(hŒ]KVM_CAP_DISABLE_QUIRKS does not let userspace know which quirks are actually available. Use ”…”�”}”(hjb¹h²hh³Nh´NubjÈ)�”}”(hŒ0``KVM_CHECK_EXTENSION(KVM_CAP_DISABLE_QUIRKS2)``”h]”hŒ,KVM_CHECK_EXTENSION(KVM_CAP_DISABLE_QUIRKS2)”…”�”}”(hjj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjb¹ubhŒ instead if available.”…”�”}”(hjb¹h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M·%hjQ¹h²hubeh}”(h]”Œ obsolete-ioctls-and-capabilities”ah ]”h"]”Œ obsolete ioctls and capabilities”ah$]”h&]”uh1hÈhjñ·h²hh³hÇh´Mµ%ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ&Ordering of KVM_GET_*/KVM_SET_* ioctls”h]”hŒ&Ordering of KVM_GET_*/KVM_SET_* ioctls”…”�”}”(hj�¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjйh²hh³hÇh´M¼%ubhï)�”}”(hŒTBD”h]”hŒTBD”…”�”}”(hj›¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M¾%hjйh²hubeh}”(h]”Œ"ordering-of-kvm-get-kvm-set-ioctls”ah ]”h"]”Œ&ordering of kvm_get_*/kvm_set_* ioctls”ah$]”h&]”uh1hÈhjñ·h²hh³hÇh´M¼%ubeh}”(h]”Œid25”ah ]”h"]”Œ9.1. x86”ah$]”h&]”uh1hÈhjÄ·h²hh³hÇh´MŽ%ubeh}”(h]”Œknown-kvm-api-problems”ah ]”h"]”Œ9. known kvm api problems”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´M„%ubeh}”(h]”ŒAthe-definitive-kvm-kernel-based-virtual-machine-api-documentation”ah ]”h"]”ŒCthe definitive kvm (kernel-based virtual machine) api documentation”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hÍNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”jƒŒfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j빌error_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”(Œ1”]”(j¢¡j¢jÈ¢eŒ2”]”j³¤auŒrefids”}”(j`]”jUajJ ]”j@ ajŽ9]”j„9aj·Ö]”j­ÖajªG]”j GajÑY]”jÇYajAj]”j7jaj]z]”jSzajhz]”j^zajÙˆ]”jɈauŒnameids”}”(jƹjùjWjTj®j«jãjàjßYjÜYj~j`j}jzj@j=Œx86:”NŒs390:”NŒmips:”NŒarm64:”NjP jM jv jJ ju jr jú j÷ jejbj´j±jïjìjjj9j6jljijƒj€j¨j¥j3j0j8j5jöjój+j(jtjqj§j¤jG jD jz!jw!jŸ"jœ"jÄ#jÁ#j%j%j�'jŠ'j²(j¯(j×)jÔ)jB+j?+jc-j`-j/jý.jy1jv1j_4j\4j„5j�5j©6j¦6jd8ja8j”9j‘9j+<jŽ9j*<j'<j`@j]@Œ for arm64:”NjX@jU@jºAj·Aj²Aj¯AjûBjøBjDjDj7Ej4Ej|FjyFj¡GjžGjÆHjÃHj‘KjŽKjîLjëLjùNjöNj:Pj7PjQQjNQj’Rj�RjÅSjÂSj>Uj;Uj­VjªVjüWjùWj¶Yj³YjéZjæZj\j\j3]j0]j½j ½j ¤j±¡j)¥j¤j0¿j-¿jUÀjRÀjÎÁjËÁjGÃjDÃj–Äj“Äj,Æj)ÆjÆjÆj¶Èj³Èj9Êj6ÊjˆËj…ËjïÏjìÏjZÑjWÑj_Ój\ÓjIÕjFÕj½ÖjºÖjÜj·ÖjÜjÜjÑÝjÎÝjràjoàj*ãj'ãjAäj>äj¿æj¼æjJéjGéjëíjèíjŠìj‡ìj3íj0íj®íj«íjãíjàíj:ïj7ïj‰ðj†ðjuójrójÄôjÁôjöjöj*÷j'÷jóùjðùjPûjMûjƒüj€üjÄýjÁýjÿjÿjØjÕj5j2jLjIjcj`j¤j¡j= j: jÄ jÁ j! j jF jC jyjvj�j�j÷jôj©j¦jÀj½jjÿjCj@jájÞjijfjÇjÄj¢!jŸ!j¸"jµ"jÎ#jË#jä$já$j—+j”+j8.j5.jO/jL/je2jb2jŠ3j‡3j­5jª5j!7j7j88j58jº@j·@jÿAjüAj$Cj!CjëDjèDjHFjEFj°Gj­Gj×IjªGjÖIjÓIjÎIjËIjAKj>Kj�Lj�LjµNj²Nj>Rj;Rj©T•Y;j¦Tj×YjÔYjPjjÑYjOjjLjjGjjDjjzzjAjjyzjvzjwljtljŠmj‡mjMojJoj`pj]pjsqjpqjrjýqj»rj¸rjvsjssjUtjRtj4uj1ujÎvjËvj‰wj†wj$xj!xj±xj®xj>yj;yjËyjÈyjqzjnzjjzj]zj`¦jhzj_¦j\¦j|j|j.}j+}jé}jæ}j ~j�~j©j¦j6€j3€jS�jP�jî�jë�j©‚j¦‚j6ƒj3ƒjÃjÀƒjP„jM„j6†j3†jÿ†jü†jŒ‡j‰‡jGˆjDˆj‰j‰jð‰jí‰j]ŠjZŠjT‹jQ‹j<�j9�j‡Žj„ŽjB�j?�j9�j6�j>‘j;‘jË‘jÈ‘j “j“j”jþ“j¸—jµ—j¯˜j¬˜jЙjÍ™jÇšjÄšj �j�jžjžj"ŸjŸj5 j2 jÞ jÛ jk¡jh¡jb¢j_¢jK£jH£j¤j¤j¥jþ¤jœ¥j™¥jW¦jT¦jÁ·j¾·jà¦jݦj?§j<§jž§j›§j¶¨j³¨jö©jó©j©ªj¦ªj«j«jg«jd«jÆ«jëj%¬j"¬j„¬j�¬jã¬jà¬jB­j?­j¡­jž­j®j ®jm®jj®jÌ®jÉ®j+¯j(¯jНj‡¯j°j°jd°ja°jѰjΰj®±j«±je²jb²jIJjÁ²j«³j¨³jb´j_´j µjµj†µjƒµjóµjðµj޶j‹¶jí¶jê¶jZ·jW·j¹·j¶·j¾¹j»¹j¶¹j³¹jN¹jK¹j¹j¹jF¹jC¹j‡¹j„¹j®¹j«¹j‰jÙˆuŒ nametypes”}”(jƹ‰jW‰j®‰jã‰jßY‰j~ˆj}‰j@‰j=º‰j>º‰j?º‰j@º‰jP ‰jv ˆju ‰jú ‰je‰j´‰jï‰j‰j9‰jl‰jƒ‰j¨‰j3‰j8‰jö‰j+‰jt‰j§‰jG ‰jz!‰jŸ"‰jÄ#‰j%‰j�'‰j²(‰j×)‰jB+‰jc-‰j/‰jy1‰j_4‰j„5‰j©6‰jd8‰j”9‰j+<ˆj*<‰j`@‰jAº‰jX@‰jºA‰j²A‰jûB‰jD‰j7E‰j|F‰j¡G‰jÆH‰j‘K‰jîL‰jùN‰j:P‰jQQ‰j’R‰jÅS‰j>U‰j­V‰jüW‰j¶Y‰jéZ‰j\‰j3]‰j½‰j ¤ˆj)¥ˆj0¿‰jUÀ‰jÎÁ‰jGÉj–ĉj,Ɖjƈj¶È‰j9ʉjˆË‰jïωjZщj_Ó‰jIÕ‰j½Ö‰j܈j܉jÑ݉jrà‰j*ã‰jAä‰j¿æ‰jJé‰jëí‰jŠì‰j3í‰j®í‰jãí‰j:ï‰j‰ð‰juó‰jÄô‰jö‰j*÷‰jóù‰jPû‰jƒü‰jÄý‰jÿ‰j؉j5‰jL‰jc‰j¤‰j= ‰jÄ ‰j! ‰jF ‰jy‰j�‰j÷‰j©‰jÀ‰j‰jC‰já‰ji‰jljj¢!‰j¸"‰jÎ#‰jä$‰j—+‰j8.‰jO/‰je2‰jŠ3‰j­5‰j!7‰j88‰jº@‰jÿA‰j$C‰jëD‰jHF‰j°G‰j×IˆjÖI‰jÎI‰jAK‰j�L‰jµN‰j>R‰j©T‰j×Y‰jPjˆjOj‰jGj‰jzzˆjyz‰jwl‰jŠm‰jMo‰j`p‰jsq‰jr‰j»r‰jvs‰jUt‰j4u‰jÎv‰j‰w‰j$x‰j±x‰j>y‰jËy‰jqz‰jjzˆj`¦ˆj_¦‰j|‰j.}‰jé}‰j ~‰j©‰j6€‰jS�‰jî�‰j©‚‰j6ƒ‰jÉjP„‰j6†‰jÿ†‰jŒ‡‰jGˆ‰j‰‰jð‰‰j]ЉjT‹‰j<�‰j‡Ž‰jB�‰j9�‰j>‘‰jË‘‰j “‰j”‰j¸—‰j¯˜‰jЙ‰jÇš‰j �‰jž‰j"Ÿ‰j5 ‰jÞ ‰jk¡‰jb¢‰jK£‰j¤‰j¥‰jœ¥‰jW¦‰jÁ·‰jউj?§‰jž§‰j¶¨‰jö©‰j©ª‰j«‰jg«‰jÆ«‰j%¬‰j„¬‰j㬉jB­‰j¡­‰j®‰jm®‰jÌ®‰j+¯‰jН‰j°‰jd°‰jѰ‰j®±‰je²‰jIJ‰j«³‰jb´‰j µ‰j†µ‰jóµ‰j޶‰jí¶‰jZ·‰j¹·‰j¾¹‰j¶¹‰jN¹‰j¹‰jF¹‰j‡¹‰j®¹‰j‰ˆuh}”(jùhÊjThÝj«jZjàj±jÜYjæj`jajzjaj=j…jµj”jÝj¼jjãj5j jM jCjJ jS jr jS j÷ j{ jbjý j±jhjìj·jjòj6jjij<j€joj¥j†j0j«jUjÈj5jZjjj;jójoj(jùjqj6j¤jwjD jªjw!jJ jœ"j}!jÁ#j¢"j%jÇ#jŠ'j%j¯(j�'jÔ)jµ(j?+jÚ)j`-jE+jý.jf-jv1j/jØ0j20jo1jÞ0j\4j|1jõ3j«2jT4jû3j�5jb4j¦6j‡5ja8j¬6jZ8j98j‘9jg8jŽ9j—9j'<j—9j]@j0<j @jÉ?jU@j&@j·Ajc@j¯Aj€AjøBj½AjDjþBj4EjDjyFj:EjžGjFjÃHj¤GjŽKjÉHjëLj”KjöNjñLj7PjüNjNQj=Pj�RjTQjÂSj•Rj;UjÈSjªVjAUjùWj°Vj³YjÿWjæZj¹Yj\jìZj0]j\j ½j6]j¬¡j¢¡j#¢j¢jÒ¢jÈ¢j±¡jÈ£j½¤j³¤j¤j¥j-¿j½jRÀj3¿jËÁjXÀjDÃjÑÁj“ÄjJÃj)Æj™ÄjÆjüÅj³Èj/Æj6Êj¹Èj…Ëj<ÊjìÏj‹ËjWÑjòÏj\Ój]ÑjFÕjbÓjºÖjLÕj·ÖjÀÖjÜjÀÖjÎÝj"ÜjoàjÔÝj'ãjuàj>äj-ãj¼æjDäjGéjÂæjèíjMéj‡ìj¨ëj0íj�ìj«íj6íjàíj±íj7ïjîíj†ðj=ïjrójŒðjÁôjxójöjÇôj'÷jöjðùj-÷jMûjöùj€üjSûjÁýj†üjÿjÇýjÕjÿj2jÛjIj8j`jOj¡jfj: j§jÁ j@ j jÇ jC j$ jvjI j�j|jôj“j¦júj½j¬jÿjÃj@jjÞjFjfjäjÄjljŸ!jÊjµ"j¥!jË#j»"já$jÑ#j”+jç$j5.jš+jL/j;.jb2jR/j‡3jh2jª5j�3j7j°5j58j$7j·@j;8jüAj½@j!CjBjèDj'CjEFjîDj­GjKFjªGj³GjÓIj³GjËIjfIj>KjÜIj6KjKj�LjDKj²Nj“Lj;Rj¸Nj¦TjARjÔYj¬TjÑYjâYjLjjâYj `j0\jDjj`jAjjUjjvzjUjjtljƒkj‡mjzljJoj�mj]pjPojpqjcpjýqjvqj¸rjrjssj¾rjRtjysj1ujXtjËvj7uj†wjÑvj!xjŒwj®xj'xj;yj´xjÈyjAyjnzjÎyj]zjzjhzjzj\¦jzj|jp{j+}j |jæ}j1}j�~jì}j¦j£~j3€j¬jP�j9€jë�jV�j¦‚jñ�j3ƒj¬‚jÀƒj9ƒjM„jƃj3†jS„jü†j9†j‰‡j‡jDˆj�‡j‰jJˆjÓˆjɈjÙˆjòˆjí‰j ‰jZŠjó‰jQ‹j`Šj9�jW‹j„Žj?�j?�jŠŽj6�jE�j;‘j<�jÈ‘jA‘j“jΑjþ“j “jµ—j”j¬˜j»—jÍ™j²˜jÄšjÓ™j�jÊšjžj �jŸj žj2 j%ŸjÛ j8 jh¡já j_¢jn¡jH£je¢j¤jN£jþ¤j ¤j™¥j¥jT¦jŸ¥j¾·je¦jݦj„¦j<§jã¦j›§jB§j³¨j¡§jó©j¹¨j¦ªjù©j«j¬ªjd«j «jëjj«j"¬jÉ«j�¬j(¬jà¬j‡¬j?­jæ¬jž­jE­j ®j¤­jj®j®jÉ®jp®j(¯jÏ®j‡¯j.¯j°j�¯ja°j°jΰjg°j«±jÔ°jb²j±±jÁ²jh²j¨³jDzj_´j®³jµje´jƒµjµjðµj‰µj‹¶jöµjê¶j‘¶jW·jð¶j¶·j]·j»¹jÄ·j³¹jñ·jK¹j¸j¹jS¸jC¹j¹j„¹jQ¹j«¹jйuŒ footnote_refs”}”(j+º]”(j¢¡j¢jÈ¢ej-º]”j³¤auŒ citation_refs”}”Œ autofootnotes”]”jòˆaŒautofootnote_refs”]”jɈaŒsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”(jÈ£j¥eŒ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”jù¹Ks…”R”Œparse_messages”]”(hŒsystem_message”“”)�”}”(hhh]”hï)�”}”(hŒ'Duplicate implicit target name: "x86:".”h]”hŒ+Duplicate implicit target name: “x86:â€�.”…”�”}”(hjgºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjdºubah}”(h]”h ]”h"]”h$]”h&]”jUaŒlevel”KŒtype”ŒINFO”Œsource”hÇŒline”M4uh1jbºhjÈh²hh³hÇh´M4ubjcº)�”}”(hhh]”hï)�”}”(hŒ(Duplicate implicit target name: "mips:".”h]”hŒ,Duplicate implicit target name: “mips:â€�.”…”�”}”(hjƒºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj€ºubah}”(h]”h ]”h"]”h$]”h&]”jjaŒlevel”KŒtype”j}ºŒsource”hÇŒline”Mbuh1jbºhj;h²hh³hÇh´Mbubjcº)�”}”(hhh]”hï)�”}”(hŒ'Duplicate implicit target name: "x86:".”h]”hŒ+Duplicate implicit target name: “x86:â€�.”…”�”}”(hjžºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj›ºubah}”(h]”h ]”h"]”h$]”h&]”jØ0aŒlevel”KŒtype”j}ºŒsource”hÇŒline”Myuh1jbºhj20h²hh³hÇh´Myubjcº)�”}”(hhh]”hï)�”}”(hŒ)Duplicate implicit target name: "arm64:".”h]”hŒ-Duplicate implicit target name: “arm64:â€�.”…”�”}”(hj¹ºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj¶ºubah}”(h]”h ]”h"]”h$]”h&]”jo1aŒlevel”KŒtype”j}ºŒsource”hÇŒline”M³uh1jbºhjÞ0h²hh³hÇh´M³ubjcº)�”}”(hhh]”hï)�”}”(hŒ'Duplicate implicit target name: "x86:".”h]”hŒ+Duplicate implicit target name: “x86:â€�.”…”�”}”(hjÔºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjѺubah}”(h]”h ]”h"]”h$]”h&]”jõ3aŒlevel”KŒtype”j}ºŒsource”hÇŒline”M÷uh1jbºhj«2h²hh³hÇh´M÷ubjcº)�”}”(hhh]”hï)�”}”(hŒ)Duplicate implicit target name: "arm64:".”h]”hŒ-Duplicate implicit target name: “arm64:â€�.”…”�”}”(hjïºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjìºubah}”(h]”h ]”h"]”h$]”h&]”jT4aŒlevel”KŒtype”j}ºŒsource”hÇŒline”Muh1jbºhjû3h²hh³hÇh´Mubjcº)�”}”(hhh]”hï)�”}”(hŒ(Duplicate implicit target name: "s390:".”h]”hŒ,Duplicate implicit target name: “s390:â€�.”…”�”}”(hj »h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj»ubah}”(h]”h ]”h"]”h$]”h&]”jZ8aŒlevel”KŒtype”j}ºŒsource”hÇŒline”M¢uh1jbºhj98h²hh³hÇh´M¢ubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hj%»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj"»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”MU Œsource”hÇuh1jbºhj¶jubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hj@»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj=»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”MX Œsource”hÇuh1jbºhj„kubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hj[»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjX»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”M[ Œsource”hÇuh1jbºhjRlubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hjv»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjs»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”M¥ Œsource”hÇuh1jbºhj‚ubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hj‘»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjŽ»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”M¨ Œsource”hÇuh1jbºhj�ƒubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hj¬»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj©»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”M· Œsource”hÇuh1jbºhj¸‡ubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hjÇ»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjÄ»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”M' Œsource”hÇuh1jbºhj¾œubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hjâ»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjß»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”M5 Œsource”hÇuh1jbºhj=¢ubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hjý»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjú»ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”ML Œsource”hÇuh1jbºhjë¸ubjcº)�”}”(hhh]”hï)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj¼ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”M] Œsource”hÇuh1jbºhjºubjcº)�”}”(hhh]”hï)�”}”(hŒ`Blank line missing before literal block (after the "::")? Interpreted as a definition list item.”h]”hŒdBlank line missing before literal block (after the “::â€�)? Interpreted as a definition list item.”…”�”}”(hj3¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj0¼ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒline”Mp Œsource”hÇuh1jbºhjû»ubjcº)�”}”(hhh]”hï)�”}”(hŒ(Duplicate implicit target name: "s390:".”h]”hŒ,Duplicate implicit target name: “s390:â€�.”…”�”}”(hjN¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjK¼ubah}”(h]”h ]”h"]”h$]”h&]”j6KaŒlevel”KŒtype”j}ºŒsource”hÇŒline”M÷uh1jbºhjKh²hh³hÇh´M÷ubjcº)�”}”(hhh]”hï)�”}”(hŒ-Duplicate implicit target name: "for arm64:".”h]”hŒ1Duplicate implicit target name: “for arm64:â€�.”…”�”}”(hji¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjf¼ubah}”(h]”h ]”h"]”h$]”h&]”j `aŒlevel”KŒtype”j}ºŒsource”hÇŒline”MØuh1jbºhj0\h²hh³hÇh´MØubeŒtransform_messages”]”(jcº)�”}”(hhh]”hï)�”}”(hhh]”hŒ9Hyperlink target "kvm-get-api-version" is not referenced.”…”�”}”hj†¼sbah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjƒ¼ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒsource”hÇŒline”K‚uh1jbºubjcº)�”}”(hhh]”hï)�”}”(hhh]”hŒ9Hyperlink target "kvm-check-extension" is not referenced.”…”�”}”hj ¼sbah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj�¼ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒsource”hÇŒline”Muh1jbºubjcº)�”}”(hhh]”hï)�”}”(hhh]”hŒ4Hyperlink target "kvm-enable-cap" is not referenced.”…”�”}”hjº¼sbah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj·¼ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒsource”hÇŒline”M»uh1jbºubjcº)�”}”(hhh]”hï)�”}”(hhh]”hŒ7Hyperlink target "kvm-arm-vcpu-init" is not referenced.”…”�”}”hjÔ¼sbah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjѼubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒsource”hÇŒline”M� uh1jbºubjcº)�”}”(hhh]”hï)�”}”(hhh]”hŒDHyperlink target "kvm-arm-get-reg-writable-masks" is not referenced.”…”�”}”hjî¼sbah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjë¼ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒsource”hÇŒline”M—uh1jbºubjcº)�”}”(hhh]”hï)�”}”(hhh]”hŒ*Hyperlink target "id20" is not referenced.”…”�”}”hj½sbah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj½ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒsource”hÇŒline”M uh1jbºubjcº)�”}”(hhh]”hï)�”}”(hhh]”hŒ0Hyperlink target "cap-enable" is not referenced.”…”�”}”hj"½sbah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj½ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}ºŒsource”hÇŒline”M–uh1jbºubjcº)�”}”(hhh]”hï)�”}”(hhh]”hŒ