From: Erik van der Kouwe Date: Thu, 5 Aug 2010 23:51:01 +0000 (-0500) Subject: fix to svm outs default segment register bug X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=266bac14d37ab64d943caf89a6eb59a4781a346a;p=palacios.git fix to svm outs default segment register bug --- diff --git a/palacios/src/palacios/svm_io.c b/palacios/src/palacios/svm_io.c index 93038c6..3fb5bcc 100644 --- a/palacios/src/palacios/svm_io.c +++ b/palacios/src/palacios/svm_io.c @@ -269,7 +269,7 @@ int v3_handle_svm_io_outs(struct guest_info * core, struct svm_io_info * io_info uint_t rep_num = 1; ullong_t mask = 0; addr_t inst_ptr; - struct v3_segment * theseg = &(core->segments.es); // default is ES + struct v3_segment * theseg = &(core->segments.ds); // default is DS // This is kind of hacky... // direction can equal either 1 or -1