projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3efc8e
)
KVM: document locking for kvm_io_device_ops
author
Michael S. Tsirkin
<mst@redhat.com>
Mon, 29 Jun 2009 19:24:07 +0000
(22:24 +0300)
committer
Avi Kivity
<avi@redhat.com>
Thu, 10 Sep 2009 05:33:04 +0000
(08:33 +0300)
slots_lock is taken everywhere when device ops are called.
Document this as we will use this to rework locking for io.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/iodev.h
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/iodev.h
b/virt/kvm/iodev.h
index 2c67f5acd6db54eee5713ee58a04534d1567e3cf..06e38b23fa61734d70d34eb3c318f12d4be96520 100644
(file)
--- a/
virt/kvm/iodev.h
+++ b/
virt/kvm/iodev.h
@@
-20,6
+20,9
@@
struct kvm_io_device;
+/**
+ * kvm_io_device_ops are called under kvm slots_lock.
+ **/
struct kvm_io_device_ops {
void (*read)(struct kvm_io_device *this,
gpa_t addr,