Laurent Vivier
e70669abd4
KVM: Cleanup string I/O instruction emulation
...
Both vmx and svm decode the I/O instructions, and both botch the job,
requiring the instruction prefixes to be fetched in order to completely
decode the instruction.
So, if we see a string I/O instruction, use the x86 emulator to decode it,
as it already has all the prefix decoding machinery.
This patch defines ins/outs opcodes in x86_emulate.c and calls
emulate_instruction() from io_interception() (svm.c) and from handle_io()
(vmx.c). It removes all vmx/svm prefix instruction decoders
(get_addr_size(), io_get_override(), io_address(), get_io_count())
Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net >
Signed-off-by: Avi Kivity <avi@qumranet.com >
2007-10-13 10:18:23 +02:00
..
2007-07-31 15:39:39 -07:00
2007-10-12 15:49:37 -07:00
2007-10-12 14:51:01 -07:00
2007-10-12 14:55:47 -04:00
2007-10-10 16:49:10 -07:00
2007-08-22 19:52:46 -07:00
2007-10-12 14:51:12 -07:00
2007-10-12 16:13:09 +02:00
2007-09-09 08:39:27 +02:00
2007-10-11 20:40:47 +10:00
2007-10-12 14:51:09 -07:00
2007-07-21 18:37:12 -07:00
2007-10-10 21:15:29 -07:00
2007-10-12 15:49:37 -07:00
2007-10-10 16:55:50 -07:00
2007-08-26 18:35:40 -07:00
2007-10-12 14:51:02 -07:00
2007-10-12 14:51:01 -07:00
2007-02-14 08:09:54 -08:00
2007-10-12 14:51:01 -07:00
2007-10-12 14:51:12 -07:00
2007-08-18 09:52:50 -07:00
2007-10-09 20:22:20 -04:00
2007-10-12 14:51:01 -07:00
2007-10-12 14:51:01 -07:00
2007-10-12 14:51:01 -07:00
2007-10-12 14:51:01 -07:00
2007-10-12 15:49:37 -07:00
2007-10-12 15:03:35 -07:00
2007-10-13 10:18:23 +02:00
2007-10-11 22:24:00 +01:00
2007-09-25 08:51:04 -07:00
2007-09-22 14:49:21 +10:00
2007-05-09 12:30:49 -07:00
2007-10-12 14:51:02 -07:00
2007-10-12 14:51:02 -07:00
2007-10-10 16:51:13 -07:00
2007-07-19 10:04:50 -07:00
2007-10-12 14:51:01 -07:00
2007-10-12 15:49:37 -07:00
2007-09-20 07:37:16 -05:00
2007-10-12 15:49:37 -07:00
2007-07-19 10:04:50 -07:00
2007-07-20 14:25:51 +10:00
2007-07-20 21:42:24 +02:00
2007-10-10 16:49:10 -07:00
2007-07-31 15:39:37 -07:00
2007-10-12 15:50:23 -07:00
2007-10-12 14:51:01 -07:00
2007-10-09 20:22:20 -04:00
2007-10-12 14:51:01 -07:00
2007-06-28 19:19:20 +10:00
2007-07-19 10:04:50 -07:00
2007-09-19 11:24:17 -07:00
2007-10-12 15:49:37 -07:00
2007-07-31 15:39:43 -07:00
2007-10-12 16:16:41 -07:00
2007-10-11 21:55:47 -07:00
2007-07-19 10:04:50 -07:00
2007-07-19 10:04:50 -07:00
2007-10-12 14:51:01 -07:00
2007-10-10 16:52:21 -07:00
2007-07-18 08:38:22 -07:00
2007-07-19 10:04:50 -07:00
2007-07-18 15:57:16 -07:00
2007-10-12 15:49:37 -07:00
2007-10-12 14:51:04 -07:00
2007-10-12 14:51:01 -07:00
2007-07-26 11:35:17 -07:00
2007-08-22 19:52:45 -07:00
2007-10-10 16:51:36 -07:00
2007-10-10 16:51:36 -07:00