Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


removed obsolete MTRR extension that was in the wrong place
Jack Lange [Wed, 24 Aug 2011 19:45:50 +0000 (15:45 -0400)]
this was causing an initialization error

palacios/include/palacios/vmm_mtrr.h [deleted file]
palacios/src/palacios/Makefile
palacios/src/palacios/vmm_mtrr.c [deleted file]

diff --git a/palacios/include/palacios/vmm_mtrr.h b/palacios/include/palacios/vmm_mtrr.h
deleted file mode 100644 (file)
index 0901781..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * This file is part of the Palacios Virtual Machine Monitor developed
- * by the V3VEE Project with funding from the United States National 
- * Science Foundation and the Department of Energy.  
- *
- * The V3VEE Project is a joint project between Northwestern University
- * and the University of New Mexico.  You can find out more at 
- * http://www.v3vee.org
- *
- * Copyright (c) 2011, Jack Lange <jarusl@cs.northwestern.edu> 
- * Copyright (c) 2011, The V3VEE Project <http://www.v3vee.org> 
- * All rights reserved.
- *
- * Author: Jack Lange <jarusl@cs.northwestern.edu>
- *
- * This is free software.  You are permitted to use,
- * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
- */
-
-#ifndef __VMM_MTRR_H__
-#define __VMM_MTRR_H__
-
-
-#ifdef __V3VEE__
-
-#include <palacios/vmm.h>
-
-
-
-#endif
-
-#endif
index d067aae..63a822b 100644 (file)
@@ -33,7 +33,6 @@ obj-y := \
        vmm_xml.o \
        vmm_mem_hook.o \
        vmm_extensions.o \
-       vmm_mtrr.o \
        vmm_multitree.o \
        vmm_bitmap.o \
        vmm_barrier.o \
diff --git a/palacios/src/palacios/vmm_mtrr.c b/palacios/src/palacios/vmm_mtrr.c
deleted file mode 100644 (file)
index 5e27afc..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * This file is part of the Palacios Virtual Machine Monitor developed
- * by the V3VEE Project with funding from the United States National 
- * Science Foundation and the Department of Energy.  
- *
- * The V3VEE Project is a joint project between Northwestern University
- * and the University of New Mexico.  You can find out more at 
- * http://www.v3vee.org
- *
- * Copyright (c) 2011, Jack Lange <jarusl@cs.northwestern.edu> 
- * Copyright (c) 2011, The V3VEE Project <http://www.v3vee.org> 
- * All rights reserved.
- *
- * Author: Jack Lange <jarusl@cs.northwestern.edu>
- *
- * This is free software.  You are permitted to use,
- * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
- */
-
-#include <palacios/vmm_mtrr.h>
-#include <palacios/vmm_extensions.h>
-#include <palacios/vmm.h>
-#include <palacios/vm_guest.h>
-#include <palacios/vmm_msr.h>
-
-
-#define MTRR_CAP_MSR       0x00fe
-#define MTRR_PHYS_BASE_0   0x0200
-#define MTRR_PHYS_BASE_1   0x0202
-#define MTRR_PHYS_BASE_2   0x0204
-#define MTRR_PHYS_BASE_3   0x0206
-#define MTRR_PHYS_BASE_4   0x0208
-#define MTRR_PHYS_BASE_5   0x020a
-#define MTRR_PHYS_BASE_6   0x020c
-#define MTRR_PHYS_BASE_7   0x020e
-#define MTRR_PHYS_MASK_0   0x0201
-#define MTRR_PHYS_MASK_1   0x0203
-#define MTRR_PHYS_MASK_2   0x0205
-#define MTRR_PHYS_MASK_3   0x0207
-#define MTRR_PHYS_MASK_4   0x0209
-#define MTRR_PHYS_MASK_5   0x020b
-#define MTRR_PHYS_MASK_6   0x020d
-#define MTRR_PHYS_MASK_7   0x020f
-#define MTRR_FIX_64K_00000 0x0250
-#define MTRR_FIX_16K_80000 0x0258
-#define MTRR_FIX_16K_A0000 0x0259
-#define MTRR_FIX_4K_C0000  0x0268
-#define MTRR_FIX_4K_C8000  0x0269
-#define MTRR_FIX_4K_D0000  0x026a
-#define MTRR_FIX_4K_D8000  0x026b
-#define MTRR_FIX_4K_E0000  0x026c
-#define MTRR_FIX_4K_E8000  0x026d
-#define MTRR_FIX_4K_F0000  0x026e
-#define MTRR_FIX_4K_F8000  0x026f
-
-
-struct mtrr_cap {
-
-
-};
-
-
-struct mtrr_state {
-    struct mtrr_cap cap;
-    
-};
-
-
-static int mtrr_cap_read(struct guest_info * core, uint32_t msr, struct v3_msr * dst, void * priv_data) {
-    return 0;
-}
-
-static int mtrr_cap_write(struct guest_info * core, uint32_t msr, struct v3_msr src, void * priv_data) {
-
-    return 0;
-}
-
-
-
-static int init_mtrrs(struct v3_vm_info * vm, v3_cfg_tree_t * cfg, void ** priv_data) {
-
-
-    V3_Print("Intializing MTRR extension\n");
-
-    v3_hook_msr(vm, MTRR_CAP_MSR, mtrr_cap_read, mtrr_cap_write, NULL);
-        
-
-    return 0;
-}
-
-
-static struct v3_extension_impl mtrr_ext = {
-    .name = "MTRRS",
-    .init = init_mtrrs,
-    .deinit = NULL,
-    .core_init = NULL,
-    .core_deinit = NULL
-};
-
-
-
-register_extension(&mtrr_ext);