€• Œ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/devices/vm”Œmodname”NŒ classname”NŒrefexplicit”ˆuŒtagname”hhhubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/zh_TW/virt/kvm/devices/vm”Œmodname”NŒ classname”NŒrefexplicit”ˆuh1hhhubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/it_IT/virt/kvm/devices/vm”Œmodname”NŒ classname”NŒrefexplicit”ˆuh1hhhubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/ja_JP/virt/kvm/devices/vm”Œmodname”NŒ classname”NŒrefexplicit”ˆuh1hhhubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/ko_KR/virt/kvm/devices/vm”Œmodname”NŒ classname”NŒrefexplicit”ˆuh1hhhubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/pt_BR/virt/kvm/devices/vm”Œmodname”NŒ classname”NŒrefexplicit”ˆuh1hhhubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/sp_SP/virt/kvm/devices/vm”Œmodname”NŒ classname”NŒrefexplicit”ˆuh1hhhubeh}”(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³ŒA/var/lib/git/docbuild/linux/Documentation/virt/kvm/devices/vm.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒGeneric vm interface”h]”hŒGeneric vm interface”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hŒçThe virtual machine "device" also accepts the ioctls KVM_SET_DEVICE_ATTR, KVM_GET_DEVICE_ATTR, and KVM_HAS_DEVICE_ATTR. The interface uses the same struct kvm_device_attr as other devices, but targets VM-wide settings and controls.”h]”hŒëThe virtual machine “deviceâ€� also accepts the ioctls KVM_SET_DEVICE_ATTR, KVM_GET_DEVICE_ATTR, and KVM_HAS_DEVICE_ATTR. The interface uses the same struct kvm_device_attr as other devices, but targets VM-wide settings and controls.”…”�”}”(hhßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hŒQThe groups and attributes per virtual machine, if any, are architecture specific.”h]”hŒQThe groups and attributes per virtual machine, if any, are architecture specific.”…”�”}”(hhíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ1. GROUP: KVM_S390_VM_MEM_CTRL”h]”hŒ1. GROUP: KVM_S390_VM_MEM_CTRL”…”�”}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhûh²hh³hÇh´KubhŒ field_list”“”)�”}”(hhh]”hŒfield”“”)�”}”(hhh]”(hŒ field_name”“”)�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj h³hÇh´K ubhŒ field_body”“”)�”}”(hŒs390 ”h]”hÞ)�”}”(hŒs390”h]”hŒs390”…”�”}”(hj, h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj( ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khj h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1j hhûh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ+1.1. ATTRIBUTE: KVM_S390_VM_MEM_ENABLE_CMMA”h]”hŒ+1.1. ATTRIBUTE: KVM_S390_VM_MEM_ENABLE_CMMA”…”�”}”(hjO h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjL h²hh³hÇh´Kubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjc h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj` h³hÇh´K ubj' )�”}”(hŒnone”h]”hÞ)�”}”(hjs h]”hŒnone”…”�”}”(hju h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjq ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hj` ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khj] h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj‘ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjŽ h³hÇh´K ubj' )�”}”(hŒ1-EBUSY if a vcpu is already defined, otherwise 0 ”h]”hÞ)�”}”(hŒ0-EBUSY if a vcpu is already defined, otherwise 0”h]”hŒ0-EBUSY if a vcpu is already defined, otherwise 0”…”�”}”(hj£ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhjŸ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hjŽ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khj] h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjL h²hh³hÇh´KubhÞ)�”}”(hŒNEnables Collaborative Memory Management Assist (CMMA) for the virtual machine.”h]”hŒNEnables Collaborative Memory Management Assist (CMMA) for the virtual machine.”…”�”}”(hjà h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhjL h²hubeh}”(h]”Œ%attribute-kvm-s390-vm-mem-enable-cmma”ah ]”h"]”Œ+1.1. attribute: kvm_s390_vm_mem_enable_cmma”ah$]”h&]”uh1hÈhhûh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ(1.2. ATTRIBUTE: KVM_S390_VM_MEM_CLR_CMMA”h]”hŒ(1.2. ATTRIBUTE: KVM_S390_VM_MEM_CLR_CMMA”…”�”}”(hjÜ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÙ h²hh³hÇh´Kubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjð h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjí h³hÇh´K ubj' )�”}”(hŒnone”h]”hÞ)�”}”(hj h]”hŒnone”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khjþ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hjí ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khjê h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj h³hÇh´K ubj' )�”}”(hŒ--EINVAL if CMMA was not enabled; 0 otherwise ”h]”hÞ)�”}”(hŒ,-EINVAL if CMMA was not enabled; 0 otherwise”h]”hŒ,-EINVAL if CMMA was not enabled; 0 otherwise”…”�”}”(hj0 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 h³hÇh´K hjê h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjÙ h²hh³hÇh´KubhÞ)�”}”(hŒ‡Clear the CMMA status for all guest pages, so any pages the guest marked as unused are again used any may not be reclaimed by the host.”h]”hŒ‡Clear the CMMA status for all guest pages, so any pages the guest marked as unused are again used any may not be reclaimed by the host.”…”�”}”(hjP h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K#hjÙ h²hubeh}”(h]”Œ"attribute-kvm-s390-vm-mem-clr-cmma”ah ]”h"]”Œ(1.2. attribute: kvm_s390_vm_mem_clr_cmma”ah$]”h&]”uh1hÈhhûh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ)1.3. ATTRIBUTE KVM_S390_VM_MEM_LIMIT_SIZE”h]”hŒ)1.3. ATTRIBUTE KVM_S390_VM_MEM_LIMIT_SIZE”…”�”}”(hji h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjf h²hh³hÇh´K'ubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj} h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjz h³hÇh´K ubj' )�”}”(hŒ;in attr->addr the address for the new limit of guest memory”h]”hÞ)�”}”(hj� h]”hŒ;in attr->addr the address for the new limit of guest memory”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K)hj‹ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hjz ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K)hjw h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj« h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj¨ h³hÇh´K ubj' )�”}”(hX -EFAULT if the given address is not accessible; -EINVAL if the virtual machine is of type UCONTROL; -E2BIG if the given guest memory is to big for that machine; -EBUSY if a vcpu is already defined; -ENOMEM if not enough memory is available for a new shadow guest mapping; 0 otherwise. ”h]”hÞ)�”}”(hX -EFAULT if the given address is not accessible; -EINVAL if the virtual machine is of type UCONTROL; -E2BIG if the given guest memory is to big for that machine; -EBUSY if a vcpu is already defined; -ENOMEM if not enough memory is available for a new shadow guest mapping; 0 otherwise.”h]”hX -EFAULT if the given address is not accessible; -EINVAL if the virtual machine is of type UCONTROL; -E2BIG if the given guest memory is to big for that machine; -EBUSY if a vcpu is already defined; -ENOMEM if not enough memory is available for a new shadow guest mapping; 0 otherwise.”…”�”}”(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 h³hÇh´K*hjw h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjf h²hh³hÇh´K)ubhÞ)�”}”(hXD Allows userspace to query the actual limit and set a new limit for the maximum guest memory size. The limit will be rounded up to 2048 MB, 4096 GB, 8192 TB respectively, as this limit is governed by the number of page table levels. In the case that there is no limit we will set the limit to KVM_S390_NO_MEM_LIMIT (U64_MAX).”h]”hXD Allows userspace to query the actual limit and set a new limit for the maximum guest memory size. The limit will be rounded up to 2048 MB, 4096 GB, 8192 TB respectively, as this limit is governed by the number of page table levels. In the case that there is no limit we will set the limit to KVM_S390_NO_MEM_LIMIT (U64_MAX).”…”�”}”(hjÝ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K1hjf h²hubeh}”(h]”Œ$attribute-kvm-s390-vm-mem-limit-size”ah ]”h"]”Œ)1.3. attribute kvm_s390_vm_mem_limit_size”ah$]”h&]”uh1hÈhhûh²hh³hÇh´K'ubeh}”(h]”Œgroup-kvm-s390-vm-mem-ctrl”ah ]”h"]”Œ1. group: kvm_s390_vm_mem_ctrl”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ2. GROUP: KVM_S390_VM_CPU_MODEL”h]”hŒ2. GROUP: KVM_S390_VM_CPU_MODEL”…”�”}”(hjþ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjû h²hh³hÇh´K8ubj )�”}”(hhh]”j )�”}”(hhh]”(j )�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj h³hÇh´K ubj' )�”}”(hŒs390 ”h]”hÞ)�”}”(hŒs390”h]”hŒs390”…”�”}”(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 h³hÇh´K:hj h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjû h²hh³hÇh´K:ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ-2.1. ATTRIBUTE: KVM_S390_VM_CPU_MACHINE (r/o)”h]”hŒ-2.1. ATTRIBUTE: KVM_S390_VM_CPU_MACHINE (r/o)”…”�”}”(hjG h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjD h²hh³hÇh´K=ubhÞ)�”}”(hŒPAllows user space to retrieve machine and kvm specific cpu related information::”h]”hŒOAllows user space to retrieve machine and kvm specific cpu related information:”…”�”}”(hjU h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K?hjD h²hubhŒ literal_block”“”)�”}”(hX& struct kvm_s390_vm_cpu_machine { __u64 cpuid; # CPUID of host __u32 ibc; # IBC level range offered by host __u8 pad[4]; __u64 fac_mask[256]; # set of cpu facilities enabled by KVM __u64 fac_list[256]; # set of cpu facilities offered by host }”h]”hX& struct kvm_s390_vm_cpu_machine { __u64 cpuid; # CPUID of host __u32 ibc; # IBC level range offered by host __u8 pad[4]; __u64 fac_mask[256]; # set of cpu facilities enabled by KVM __u64 fac_list[256]; # set of cpu facilities offered by host }”…”�”}”hje sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc h³hÇh´KAhjD h²hubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjy h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjv h³hÇh´K ubj' )�”}”(hŒ_address of buffer to store the machine related cpu data of type struct kvm_s390_vm_cpu_machine*”h]”hÞ)�”}”(hŒ_address of buffer to store the machine related cpu data of type struct kvm_s390_vm_cpu_machine*”h]”hŒ_address of buffer to store the machine related cpu data of type struct kvm_s390_vm_cpu_machine*”…”�”}”(hj‹ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KIhj‡ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hjv ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KIhjs h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj¨ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj¥ h³hÇh´K ubj' )�”}”(hŒ˜-EFAULT if the given address is not accessible from kernel space; -ENOMEM if not enough memory is available to process the ioctl; 0 in case of success. ”h]”hÞ)�”}”(hŒ—-EFAULT if the given address is not accessible from kernel space; -ENOMEM if not enough memory is available to process the ioctl; 0 in case of success.”h]”hŒ—-EFAULT if the given address is not accessible from kernel space; -ENOMEM if not enough memory is available to process the ioctl; 0 in case of success.”…”�”}”(hjº h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KKhj¶ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hj¥ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KKhjs h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjD h²hh³hÇh´KIubeh}”(h]”Œ%attribute-kvm-s390-vm-cpu-machine-r-o”ah ]”h"]”Œ-2.1. attribute: kvm_s390_vm_cpu_machine (r/o)”ah$]”h&]”uh1hÈhjû h²hh³hÇh´K=ubeh}”(h]”Œgroup-kvm-s390-vm-cpu-model”ah ]”h"]”Œ2. group: kvm_s390_vm_cpu_model”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K8ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ/2.2. ATTRIBUTE: KVM_S390_VM_CPU_PROCESSOR (r/w)”h]”hŒ/2.2. ATTRIBUTE: KVM_S390_VM_CPU_PROCESSOR (r/w)”…”�”}”(hjí h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjê h²hh³hÇh´KPubhÞ)�”}”(hŒWAllows user space to retrieve or request to change cpu related information for a vcpu::”h]”hŒVAllows user space to retrieve or request to change cpu related information for a vcpu:”…”�”}”(hjû h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KRhjê h²hubjd )�”}”(hXA struct kvm_s390_vm_cpu_processor { __u64 cpuid; # CPUID currently (to be) used by this vcpu __u16 ibc; # IBC level currently (to be) used by this vcpu __u8 pad[6]; __u64 fac_list[256]; # set of cpu facilities currently (to be) used # by this vcpu }”h]”hXA struct kvm_s390_vm_cpu_processor { __u64 cpuid; # CPUID currently (to be) used by this vcpu __u16 ibc; # IBC level currently (to be) used by this vcpu __u8 pad[6]; __u64 fac_list[256]; # set of cpu facilities currently (to be) used # by this vcpu }”…”�”}”hj sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc h³hÇh´KThjê h²hubhÞ)�”}”(hX= KVM does not enforce or limit the cpu model data in any form. Take the information retrieved by means of KVM_S390_VM_CPU_MACHINE as hint for reasonable configuration setups. Instruction interceptions triggered by additionally set facility bits that are not handled by KVM need to by implemented in the VM driver code.”h]”hX= KVM does not enforce or limit the cpu model data in any form. Take the information retrieved by means of KVM_S390_VM_CPU_MACHINE as hint for reasonable configuration setups. Instruction interceptions triggered by additionally set facility bits that are not handled by KVM need to by implemented in the VM driver code.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K\hjê h²hubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj+ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj( h³hÇh´K ubj' )�”}”(hŒhaddress of buffer to store/set the processor related cpu data of type struct kvm_s390_vm_cpu_processor*.”h]”hÞ)�”}”(hŒhaddress of buffer to store/set the processor related cpu data of type struct kvm_s390_vm_cpu_processor*.”h]”hŒhaddress of buffer to store/set the processor related cpu data of type struct kvm_s390_vm_cpu_processor*.”…”�”}”(hj= h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kahj9 ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hj( ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Kahj% h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjZ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjW h³hÇh´K ubj' )�”}”(hŒã-EBUSY in case 1 or more vcpus are already activated (only in write case); -EFAULT if the given address is not accessible from kernel space; -ENOMEM if not enough memory is available to process the ioctl; 0 in case of success. ”h]”hÞ)�”}”(hŒâ-EBUSY in case 1 or more vcpus are already activated (only in write case); -EFAULT if the given address is not accessible from kernel space; -ENOMEM if not enough memory is available to process the ioctl; 0 in case of success.”h]”hŒâ-EBUSY in case 1 or more vcpus are already activated (only in write case); -EFAULT if the given address is not accessible from kernel space; -ENOMEM if not enough memory is available to process the ioctl; 0 in case of success.”…”�”}”(hjl h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kchjh ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hjW ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Kchj% h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjê h²hh³hÇh´KaubhŒtarget”“”)�”}”(hŒ!.. _KVM_S390_VM_CPU_MACHINE_FEAT:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œkvm-s390-vm-cpu-machine-feat”uh1jŒ h´Khhjê h²hh³hÇubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ22.3. ATTRIBUTE: KVM_S390_VM_CPU_MACHINE_FEAT (r/o)”h]”hŒ22.3. ATTRIBUTE: KVM_S390_VM_CPU_MACHINE_FEAT (r/o)”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjš h²hh³hÇh´KkubhÞ)�”}”(hŒÀAllows user space to retrieve available cpu features. A feature is available if provided by the hardware and supported by kvm. In theory, cpu features could even be completely emulated by kvm.”h]”hŒÀAllows user space to retrieve available cpu features. A feature is available if provided by the hardware and supported by kvm. In theory, cpu features could even be completely emulated by kvm.”…”�”}”(hj« h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kmhjš h²hubjd )�”}”(hŒlstruct kvm_s390_vm_cpu_feat { __u64 feat[16]; # Bitmap (1 = feature available), MSB 0 bit numbering };”h]”hŒlstruct kvm_s390_vm_cpu_feat { __u64 feat[16]; # Bitmap (1 = feature available), MSB 0 bit numbering };”…”�”}”hj¹ sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc h³hÇh´Kshjš h²hubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjÍ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjÊ h³hÇh´K ubj' )�”}”(hŒ2address of a buffer to load the feature list from.”h]”hÞ)�”}”(hjÝ h]”hŒ2address of a buffer to load the feature list from.”…”�”}”(hjß h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KwhjÛ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hjÊ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KwhjÇ h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjû h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjø h³hÇh´K ubj' )�”}”(hŒX-EFAULT if the given address is not accessible from kernel space; 0 in case of success. ”h]”hÞ)�”}”(hŒW-EFAULT if the given address is not accessible from kernel space; 0 in case of success.”h]”hŒW-EFAULT if the given address is not accessible from kernel space; 0 in case of success.”…”�”}”(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&]”uh1j h³hÇh´KxhjÇ h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjš h²hh³hÇh´Kwubeh}”(h]”(Œ*attribute-kvm-s390-vm-cpu-machine-feat-r-o”j™ eh ]”h"]”(Œ22.3. attribute: kvm_s390_vm_cpu_machine_feat (r/o)”Œkvm_s390_vm_cpu_machine_feat”eh$]”h&]”uh1hÈhjê h²hh³hÇh´KkŒexpect_referenced_by_name”}”j3 jŽ sŒexpect_referenced_by_id”}”j™ jŽ subhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ42.4. ATTRIBUTE: KVM_S390_VM_CPU_PROCESSOR_FEAT (r/w)”h]”hŒ42.4. ATTRIBUTE: KVM_S390_VM_CPU_PROCESSOR_FEAT (r/w)”…”�”}”(hj= h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj: h²hh³hÇh´K|ubhÞ)�”}”(hŒ†Allows user space to retrieve or change enabled cpu features for all VCPUs of a VM. Features that are not available cannot be enabled.”h]”hŒ†Allows user space to retrieve or change enabled cpu features for all VCPUs of a VM. Features that are not available cannot be enabled.”…”�”}”(hjK h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K~hj: h²hubhÞ)�”}”(hŒRSee :ref:`KVM_S390_VM_CPU_MACHINE_FEAT` for a description of the parameter struct.”h]”(hŒSee ”…”�”}”(hjY h²hh³Nh´Nubh)�”}”(hŒ#:ref:`KVM_S390_VM_CPU_MACHINE_FEAT`”h]”hŒinline”“”)�”}”(hjc h]”hŒKVM_S390_VM_CPU_MACHINE_FEAT”…”�”}”(hjg h²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1je hja ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œvirt/kvm/devices/vm”Œ refdomain”jr Œreftype”Œref”Œrefexplicit”‰Œrefwarn”ˆŒ reftarget”Œkvm_s390_vm_cpu_machine_feat”uh1hh³hÇh´K�hjY ubhŒ+ for a description of the parameter struct.”…”�”}”(hjY h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K�hj: h²hubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj– h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj“ h³hÇh´K ubj' )�”}”(hŒ8address of a buffer to store/load the feature list from.”h]”hÞ)�”}”(hj¦ h]”hŒ8address of a buffer to store/load the feature list from.”…”�”}”(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 h³hÇh´K„hj� h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjÄ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjÁ h³hÇh´K ubj' )�”}”(hŒÏ-EFAULT if the given address is not accessible from kernel space; -EINVAL if a cpu feature that is not available is to be enabled; -EBUSY if at least one VCPU has already been defined; 0 in case of success. ”h]”hÞ)�”}”(hŒÎ-EFAULT if the given address is not accessible from kernel space; -EINVAL if a cpu feature that is not available is to be enabled; -EBUSY if at least one VCPU has already been defined; 0 in case of success.”h]”hŒÎ-EFAULT if the given address is not accessible from kernel space; -EINVAL if a cpu feature that is not available is to be enabled; -EBUSY if at least one VCPU has already been defined; 0 in case of success.”…”�”}”(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 h³hÇh´K…hj� h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj: h²hh³hÇh´K„ubj� )�”}”(hŒ$.. _KVM_S390_VM_CPU_MACHINE_SUBFUNC:”h]”h}”(h]”h ]”h"]”h$]”h&]”j˜ Œkvm-s390-vm-cpu-machine-subfunc”uh1jŒ h´KŠhj: h²hh³hÇubeh}”(h]”Œ,attribute-kvm-s390-vm-cpu-processor-feat-r-w”ah ]”h"]”Œ42.4. attribute: kvm_s390_vm_cpu_processor_feat (r/w)”ah$]”h&]”uh1hÈhjê h²hh³hÇh´K|ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ52.5. ATTRIBUTE: KVM_S390_VM_CPU_MACHINE_SUBFUNC (r/o)”h]”hŒ52.5. ATTRIBUTE: KVM_S390_VM_CPU_MACHINE_SUBFUNC (r/o)”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj h²hh³hÇh´K�ubhÞ)�”}”(hŒéAllows user space to retrieve available cpu subfunctions without any filtering done by a set IBC. These subfunctions are indicated to the guest VCPU via query or "test bit" subfunctions and used e.g. by cpacf functions, plo and ptff.”h]”hŒíAllows user space to retrieve available cpu subfunctions without any filtering done by a set IBC. These subfunctions are indicated to the guest VCPU via query or “test bitâ€� subfunctions and used e.g. by cpacf functions, plo and ptff.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K�hj h²hubhÞ)�”}”(hX£ A subfunction block is only valid if KVM_S390_VM_CPU_MACHINE contains the STFL(E) bit introducing the affected instruction. If the affected instruction indicates subfunctions via a "query subfunction", the response block is contained in the returned struct. If the affected instruction indicates subfunctions via a "test bit" mechanism, the subfunction codes are contained in the returned struct in MSB 0 bit numbering.”h]”hX« A subfunction block is only valid if KVM_S390_VM_CPU_MACHINE contains the STFL(E) bit introducing the affected instruction. If the affected instruction indicates subfunctions via a “query subfunctionâ€�, the response block is contained in the returned struct. If the affected instruction indicates subfunctions via a “test bitâ€� mechanism, the subfunction codes are contained in the returned struct in MSB 0 bit numbering.”…”�”}”(hj( h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K“hj h²hubjd )�”}”(hXx struct kvm_s390_vm_cpu_subfunc { u8 plo[32]; # always valid (ESA/390 feature) u8 ptff[16]; # valid with TOD-clock steering u8 kmac[16]; # valid with Message-Security-Assist u8 kmc[16]; # valid with Message-Security-Assist u8 km[16]; # valid with Message-Security-Assist u8 kimd[16]; # valid with Message-Security-Assist u8 klmd[16]; # valid with Message-Security-Assist u8 pckmo[16]; # valid with Message-Security-Assist-Extension 3 u8 kmctr[16]; # valid with Message-Security-Assist-Extension 4 u8 kmf[16]; # valid with Message-Security-Assist-Extension 4 u8 kmo[16]; # valid with Message-Security-Assist-Extension 4 u8 pcc[16]; # valid with Message-Security-Assist-Extension 4 u8 ppno[16]; # valid with Message-Security-Assist-Extension 5 u8 kma[16]; # valid with Message-Security-Assist-Extension 8 u8 kdsa[16]; # valid with Message-Security-Assist-Extension 9 u8 reserved[1792]; # reserved for future instructions };”h]”hXx struct kvm_s390_vm_cpu_subfunc { u8 plo[32]; # always valid (ESA/390 feature) u8 ptff[16]; # valid with TOD-clock steering u8 kmac[16]; # valid with Message-Security-Assist u8 kmc[16]; # valid with Message-Security-Assist u8 km[16]; # valid with Message-Security-Assist u8 kimd[16]; # valid with Message-Security-Assist u8 klmd[16]; # valid with Message-Security-Assist u8 pckmo[16]; # valid with Message-Security-Assist-Extension 3 u8 kmctr[16]; # valid with Message-Security-Assist-Extension 4 u8 kmf[16]; # valid with Message-Security-Assist-Extension 4 u8 kmo[16]; # valid with Message-Security-Assist-Extension 4 u8 pcc[16]; # valid with Message-Security-Assist-Extension 4 u8 ppno[16]; # valid with Message-Security-Assist-Extension 5 u8 kma[16]; # valid with Message-Security-Assist-Extension 8 u8 kdsa[16]; # valid with Message-Security-Assist-Extension 9 u8 reserved[1792]; # reserved for future instructions };”…”�”}”hj6 sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jc h³hÇh´Kœhj h²hubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjJ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjG h³hÇh´K ubj' )�”}”(hŒ8address of a buffer to load the subfunction blocks from.”h]”hÞ)�”}”(hjZ h]”hŒ8address of a buffer to load the subfunction blocks from.”…”�”}”(hj\ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¯hjX ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hjG ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K¯hjD h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjx h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hju h³hÇh´K ubj' )�”}”(hŒX-EFAULT if the given address is not accessible from kernel space; 0 in case of success. ”h]”hÞ)�”}”(hŒW-EFAULT if the given address is not accessible from kernel space; 0 in case of success.”h]”hŒW-EFAULT if the given address is not accessible from kernel space; 0 in case of success.”…”�”}”(hjŠ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K°hj† ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hju ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K°hjD h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj h²hh³hÇh´K¯ubeh}”(h]”(Œ-attribute-kvm-s390-vm-cpu-machine-subfunc-r-o”j eh ]”h"]”(Œ52.5. attribute: kvm_s390_vm_cpu_machine_subfunc (r/o)”Œkvm_s390_vm_cpu_machine_subfunc”eh$]”h&]”uh1hÈhjê h²hh³hÇh´K�j6 }”j° jö sj8 }”j jö subhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ72.6. ATTRIBUTE: KVM_S390_VM_CPU_PROCESSOR_SUBFUNC (r/w)”h]”hŒ72.6. ATTRIBUTE: KVM_S390_VM_CPU_PROCESSOR_SUBFUNC (r/w)”…”�”}”(hj¸ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjµ h²hh³hÇh´K´ubhÞ)�”}”(hŒ²Allows user space to retrieve or change cpu subfunctions to be indicated for all VCPUs of a VM. This attribute will only be available if kernel and hardware support are in place.”h]”hŒ²Allows user space to retrieve or change cpu subfunctions to be indicated for all VCPUs of a VM. This attribute will only be available if kernel and hardware support are in place.”…”�”}”(hjÆ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¶hjµ h²hubhÞ)�”}”(hŒþThe kernel uses the configured subfunction blocks for indication to the guest. A subfunction block will only be used if the associated STFL(E) bit has not been disabled by user space (so the instruction to be queried is actually available for the guest).”h]”hŒþThe kernel uses the configured subfunction blocks for indication to the guest. A subfunction block will only be used if the associated STFL(E) bit has not been disabled by user space (so the instruction to be queried is actually available for the guest).”…”�”}”(hjÔ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kºhjµ h²hubhÞ)�”}”(hŒ©As long as no data has been written, a read will fail. The IBC will be used to determine available subfunctions in this case, this will guarantee backward compatibility.”h]”hŒ©As long as no data has been written, a read will fail. The IBC will be used to determine available subfunctions in this case, this will guarantee backward compatibility.”…”�”}”(hjâ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¿hjµ h²hubhÞ)�”}”(hŒUSee :ref:`KVM_S390_VM_CPU_MACHINE_SUBFUNC` for a description of the parameter struct.”h]”(hŒSee ”…”�”}”(hjð h²hh³Nh´Nubh)�”}”(hŒ&:ref:`KVM_S390_VM_CPU_MACHINE_SUBFUNC`”h]”jf )�”}”(hjú h]”hŒKVM_S390_VM_CPU_MACHINE_SUBFUNC”…”�”}”(hjü h²hh³Nh´Nubah}”(h]”h ]”(jq Œstd”Œstd-ref”eh"]”h$]”h&]”uh1je hjø ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j~ Œ refdomain”j Œreftype”Œref”Œrefexplicit”‰Œrefwarn”ˆj„ Œkvm_s390_vm_cpu_machine_subfunc”uh1hh³hÇh´KÃhjð ubhŒ+ for a description of the parameter struct.”…”�”}”(hjð h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÃhjµ h²hubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj( h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj% h³hÇh´K ubj' )�”}”(hŒ>address of a buffer to store/load the subfunction blocks from.”h]”hÞ)�”}”(hj8 h]”hŒ>address of a buffer to store/load the subfunction blocks from.”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÆhj6 ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hj% ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KÆhj" h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hjV h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjS h³hÇh´K ubj' )�”}”(hŒ¿-EFAULT if the given address is not accessible from kernel space; -EINVAL when reading, if there was no write yet; -EBUSY if at least one VCPU has already been defined; 0 in case of success. ”h]”hÞ)�”}”(hŒ¾-EFAULT if the given address is not accessible from kernel space; -EINVAL when reading, if there was no write yet; -EBUSY if at least one VCPU has already been defined; 0 in case of success.”h]”hŒ¾-EFAULT if the given address is not accessible from kernel space; -EINVAL when reading, if there was no write yet; -EBUSY if at least one VCPU has already been defined; 0 in case of success.”…”�”}”(hjh h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÇhjd ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hjS ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KÇhj" h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjµ h²hh³hÇh´KÆubeh}”(h]”Œ/attribute-kvm-s390-vm-cpu-processor-subfunc-r-w”ah ]”h"]”Œ72.6. attribute: kvm_s390_vm_cpu_processor_subfunc (r/w)”ah$]”h&]”uh1hÈhjê h²hh³hÇh´K´ubeh}”(h]”Œ'attribute-kvm-s390-vm-cpu-processor-r-w”ah ]”h"]”Œ/2.2. attribute: kvm_s390_vm_cpu_processor (r/w)”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KPubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ3. GROUP: KVM_S390_VM_TOD”h]”hŒ3. GROUP: KVM_S390_VM_TOD”…”�”}”(hj› h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj˜ h²hh³hÇh´KÍubj )�”}”(hhh]”j )�”}”(hhh]”(j )�”}”(hŒ Architectures”h]”hŒ Architectures”…”�”}”(hj¯ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj¬ h³hÇh´K ubj' )�”}”(hŒs390 ”h]”hÞ)�”}”(hŒs390”h]”hŒs390”…”�”}”(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 h³hÇh´KÏhj© h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj˜ h²hh³hÇh´KÏubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ$3.1. ATTRIBUTE: KVM_S390_VM_TOD_HIGH”h]”hŒ$3.1. ATTRIBUTE: KVM_S390_VM_TOD_HIGH”…”�”}”(hjä h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjá h²hh³hÇh´KÒubhÞ)�”}”(hŒ^Allows user space to set/get the TOD clock extension (u8) (superseded by KVM_S390_VM_TOD_EXT).”h]”hŒ^Allows user space to set/get the TOD clock extension (u8) (superseded by KVM_S390_VM_TOD_EXT).”…”�”}”(hjò h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÔhjá h²hubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj h³hÇh´K ubj' )�”}”(hŒ;address of a buffer in user space to store the data (u8) to”h]”hÞ)�”}”(hj h]”hŒ;address of a buffer in user space to store the data (u8) to”…”�”}”(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 h³hÇh´K×hj h²hubj )�”}”(hhh]”(j )�”}”(hŒReturns”h]”hŒReturns”…”�”}”(hj4 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj1 h³hÇh´K ubj' )�”}”(hŒÁ-EFAULT if the given address is not accessible from kernel space; -EINVAL if setting the TOD clock extension to != 0 is not supported -EOPNOTSUPP for a PV guest (TOD managed by the ultravisor) ”h]”hÞ)�”}”(hŒÀ-EFAULT if the given address is not accessible from kernel space; -EINVAL if setting the TOD clock extension to != 0 is not supported -EOPNOTSUPP for a PV guest (TOD managed by the ultravisor)”h]”hŒÀ-EFAULT if the given address is not accessible from kernel space; -EINVAL if setting the TOD clock extension to != 0 is not supported -EOPNOTSUPP for a PV guest (TOD managed by the ultravisor)”…”�”}”(hjF h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KØhjB ubah}”(h]”h ]”h"]”h$]”h&]”uh1j& hj1 ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KØhj h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjá h²hh³hÇh´K×ubeh}”(h]”Œattribute-kvm-s390-vm-tod-high”ah ]”h"]”Œ$3.1. attribute: kvm_s390_vm_tod_high”ah$]”h&]”uh1hÈhj˜ h²hh³hÇh´KÒubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ#3.2. ATTRIBUTE: KVM_S390_VM_TOD_LOW”h]”hŒ#3.2. ATTRIBUTE: KVM_S390_VM_TOD_LOW”…”�”}”(hjq h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjn h²hh³hÇh´KÝubhÞ)�”}”(hŒ]Allows user space to set/get bits 0-63 of the TOD clock register as defined in the POP (u64).”h]”hŒ]Allows user space to set/get bits 0-63 of the TOD clock register as defined in the POP (u64).”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kßhjn h²hubj )�”}”(hhh]”(j )�”}”(hhh]”(j )�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hj“ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj� h³hÇh´K ubj' )�”}”(hŒ