diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-22 19:39:30 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 10:52:23 +0300 |
commit | 46fc1477887c41c8e900f2c95485e222b9a54822 (patch) | |
tree | ef9d4d4b6fc32f3d6b4e77a87d1b47b6da455574 /include/linux/raid_class.h | |
parent | 9a2bb7f486dc639a1cf2ad803bf2227f0dc0809d (diff) |
KVM: Do not communicate to userspace through cpu registers during PIO
Currently when passing the a PIO emulation request to userspace, we
rely on userspace updating %rax (on 'in' instructions) and %rsi/%rdi/%rcx
(on string instructions). This (a) requires two extra ioctls for getting
and setting the registers and (b) is unfriendly to non-x86 archs, when
they get kvm ports.
So fix by doing the register fixups in the kernel and passing to userspace
only an abstract description of the PIO to be done.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/raid_class.h')
0 files changed, 0 insertions, 0 deletions