anchor.diff:          '';
         serviceConfig = {
           ExecStart = ''
  -          ${pkgs.xen}/bin/xenconsoled${optionalString cfg.trace " --log=all --log-dir=/var/log/xen"}
  +          ${cfg.package}/bin/xenconsoled${optionalString cfg.trace " --log=all --log-dir=/var/log/xen"}
             '';
         };
       };
  
positive.code: 
  
      environment.etc =
        [ { source = "${pkgs.xen}/etc/xen/xl.conf";
            target = "xen/xl.conf";
          }
          { source = "${pkgs.xen}/etc/xen/scripts";
            target = "xen/scripts";
          }
          { source = "${pkgs.xen}/etc/default/xendomains";
            target = "default/xendomains";
          }
        ];
  
      # Xen provides udev rules.
      services.udev.packages = [ pkgs.xen ];
  
      services.udev.path = [ pkgs.bridge-utils pkgs.iproute ];
  
  
negative.code:       before = [ "dhcpd.service" ];
        restartIfChanged = false;
        serviceConfig.RemainAfterExit = "yes";
        path = [ cfg.package cfg.qemu-package ];
        environment.XENDOM_CONFIG = "${cfg.package}/etc/sysconfig/xendomains";
        preStart = "mkdir -p /var/lock/subsys -m 755";
        serviceConfig.ExecStart = "${cfg.package}/etc/init.d/xendomains start";
        serviceConfig.ExecStop = "${cfg.package}/etc/init.d/xendomains stop";
      };
  
    };
  