aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/kvm.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-24 14:39:12 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-24 16:49:38 +0100
commitde746e82320ebed3f7b02820728fa6eb035bc313 (patch)
treedc190197e7d1cf0be3f5f18b98181db502c6323f /sys/linux/kvm.txt
parent44e061b86c622251bca6adb5358800a3827930b3 (diff)
sys/linux: update TODO comments
Change TODO comments that refer to missing description language features to NEED comments as that it's easier to grep for them. Remove some outdated comments. Fix 2 easy fixable TODOs.
Diffstat (limited to 'sys/linux/kvm.txt')
-rw-r--r--sys/linux/kvm.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/linux/kvm.txt b/sys/linux/kvm.txt
index 226fc9bc3..54ca2d7d0 100644
--- a/sys/linux/kvm.txt
+++ b/sys/linux/kvm.txt
@@ -76,7 +76,7 @@ ioctl$KVM_INTERRUPT(fd fd_kvmcpu, cmd const[KVM_INTERRUPT], arg ptr[in, int32])
ioctl$KVM_GET_MSRS(fd fd_kvmcpu, cmd const[KVM_GET_MSRS], arg ptr[out, kvm_msrs])
ioctl$KVM_SET_MSRS(fd fd_kvmcpu, cmd const[KVM_SET_MSRS], arg ptr[in, kvm_msrs])
ioctl$KVM_SET_CPUID(fd fd_kvmcpu, cmd const[KVM_SET_CPUID], arg ptr[in, kvm_cpuid])
-# TODO: we should be able to read kvm_cpuid2 with KVM_GET_CPUID2, alter few bits and then call KVM_SET_CPUID2 with that object.
+# NEED: we should be able to read kvm_cpuid2 with KVM_GET_CPUID2, alter few bits and then call KVM_SET_CPUID2 with that object.
ioctl$KVM_GET_CPUID2(fd fd_kvmcpu, cmd const[KVM_GET_CPUID2], arg ptr[out, kvm_cpuid2])
ioctl$KVM_SET_CPUID2(fd fd_kvmcpu, cmd const[KVM_SET_CPUID2], arg ptr[in, kvm_cpuid2])
ioctl$KVM_SET_SIGNAL_MASK(fd fd_kvmcpu, cmd const[KVM_SET_SIGNAL_MASK], arg ptr[in, kvm_signal_mask])
@@ -621,7 +621,7 @@ kvm_sregs {
idt kvm_dtable
cr0 flags[kvm_x86_cr0, int64]
cr2 const[0, int64]
-#TODO: this should point to page table
+# TODO: this should point to page table
cr3 flags[kvm_guest_addrs, int64]
cr4 flags[kvm_x86_cr4, int64]
cr8 int64[0:15]