diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-20 05:49:31 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:09 -0500 |
commit | 93a0039c8d93074d5f92dfb69f6a7d453905d002 (patch) | |
tree | 23a693083f2bfcf85e161f64a2500bb7b13ad014 /drivers/kvm/x86_emulate.h | |
parent | b4231d61807cac8d9d257eb6979c1685fa9a171f (diff) |
KVM: x86 emulator: retire ->write_std()
Theoretically used to acccess memory known to be ordinary RAM, it was
never implemented. It is questionable whether it is possible to implement
it correctly.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.h')
-rw-r--r-- | drivers/kvm/x86_emulate.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/kvm/x86_emulate.h b/drivers/kvm/x86_emulate.h index e34868b42c33..a62bf14bbf89 100644 --- a/drivers/kvm/x86_emulate.h +++ b/drivers/kvm/x86_emulate.h | |||
@@ -63,17 +63,6 @@ struct x86_emulate_ops { | |||
63 | unsigned int bytes, struct kvm_vcpu *vcpu); | 63 | unsigned int bytes, struct kvm_vcpu *vcpu); |
64 | 64 | ||
65 | /* | 65 | /* |
66 | * write_std: Write bytes of standard (non-emulated/special) memory. | ||
67 | * Used for stack operations, and others. | ||
68 | * @addr: [IN ] Linear address to which to write. | ||
69 | * @val: [IN ] Value to write to memory (low-order bytes used as | ||
70 | * required). | ||
71 | * @bytes: [IN ] Number of bytes to write to memory. | ||
72 | */ | ||
73 | int (*write_std)(unsigned long addr, const void *val, | ||
74 | unsigned int bytes, struct kvm_vcpu *vcpu); | ||
75 | |||
76 | /* | ||
77 | * read_emulated: Read bytes from emulated/special memory area. | 66 | * read_emulated: Read bytes from emulated/special memory area. |
78 | * @addr: [IN ] Linear address from which to read. | 67 | * @addr: [IN ] Linear address from which to read. |
79 | * @val: [OUT] Value read from memory, zero-extended to 'u_long'. | 68 | * @val: [OUT] Value read from memory, zero-extended to 'u_long'. |