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.


Cleanup based on cppcheck pass (Devices and Extensions)
[palacios.git] / palacios / src / devices / i440fx.c
index a68e275..510d08a 100644 (file)
@@ -99,13 +99,11 @@ static int i440_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) {
        ret |= v3_dev_hook_io(dev, 0x0cfc + i, &io_read, &io_write);
     }
 
-    /*
     if (ret != 0) {
        PrintError(vm, VCORE_NONE, "Error hooking i440FX io ports\n");
-       v3_remove_device(dev);
-       return -1;
+       //v3_remove_device(dev);
+       //return -1;
     }
-    */
 
     for (i = 0; i < 6; i++) {
        bars[i].type = PCI_BAR_NONE;