X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm_io.c;h=1aa76ae6133863b3f6091bcfaf1ce9c538f305e2;hb=fe2922a2862b1a4f1fb340ab4649f831ac17719c;hp=93038c6197daa62753c301600b2e4791979b50b4;hpb=32c76af496b981656d6976d95ba26e05c1b73bf7;p=palacios.git diff --git a/palacios/src/palacios/svm_io.c b/palacios/src/palacios/svm_io.c index 93038c6..1aa76ae 100644 --- a/palacios/src/palacios/svm_io.c +++ b/palacios/src/palacios/svm_io.c @@ -57,6 +57,11 @@ int v3_init_svm_io_map(struct v3_vm_info * vm) { return 0; } +int v3_deinit_svm_io_map(struct v3_vm_info * vm) { + V3_FreePages(V3_PAddr(vm->io_map.arch_data), 3); + return 0; +} + // This should package up an IO request and call vmm_handle_io @@ -269,7 +274,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