1[Unit] 2Description=qemu for xen dom0 disk backend 3Requires=proc-xen.mount xenstored.service 4After=proc-xen.mount xenstored.service xenconsoled.service 5Before=xendomains.service libvirtd.service libvirt-guests.service 6RefuseManualStop=true 7ConditionPathExists=/proc/xen/capabilities 8 9[Service] 10Type=simple 11PIDFile=@XEN_RUN_DIR@/qemu-dom0.pid 12ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities 13ExecStartPre=/bin/mkdir -p @XEN_RUN_DIR@ 14ExecStart=@qemu_xen_systemd@ -xen-domid 0 \ 15 -xen-attach -name dom0 -nographic -M xenpv -daemonize \ 16 -monitor /dev/null -serial /dev/null -parallel /dev/null \ 17 -nodefaults -no-user-config \ 18 -pidfile @XEN_RUN_DIR@/qemu-dom0.pid 19 20[Install] 21WantedBy=multi-user.target 22