X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm_io.c;h=405acc2e0fa35c3414bae33db2ac522927d27e50;hb=ea98f071ad004a040cefbb494733f4f1cb0d75d7;hp=3fb5bcc56c422d7f42f3c369c344d6e8cd79c250;hpb=266bac14d37ab64d943caf89a6eb59a4781a346a;p=palacios.git diff --git a/palacios/src/palacios/svm_io.c b/palacios/src/palacios/svm_io.c index 3fb5bcc..405acc2 100644 --- a/palacios/src/palacios/svm_io.c +++ b/palacios/src/palacios/svm_io.c @@ -24,7 +24,7 @@ #include #include -#ifndef CONFIG_DEBUG_IO +#ifndef V3_CONFIG_DEBUG_IO #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -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