]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
KVM: clarify the idea of kvm_dirty_regs
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 29 Jul 2014 06:19:26 +0000 (08:19 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 25 Aug 2014 12:35:29 +0000 (14:35 +0200)
This patch clarifies that kvm_dirty_regs are just a hint to the kernel and
that the kernel might just ignore some flags and sync the values (like done for
acrs and gprs now).

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Documentation/virtual/kvm/api.txt

index beae3fde075ee50bd790e3c8acebbaa93d0e9fc7..6485750ae08a2c00972a149e0eda34aec32de6be 100644 (file)
@@ -2861,6 +2861,10 @@ 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)
 
+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.
+
 };