dom0/modules: support for pvops modules in dom0

This commit is contained in:
Marek Marczykowski 2012-02-25 13:54:39 +01:00
parent 187c524852
commit 067fb100a1
5 changed files with 6 additions and 5 deletions

View File

@ -1 +1 @@
modprobe pciback
modprobe pciback 2> /dev/null || modprobe xen-pciback

View File

@ -1,2 +1,3 @@
#!/bin/bash
instmods pciback
modinfo -k $kernel pciback > /dev/null 2>&1 && instmods pciback
modinfo -k $kernel xen-pciback > /dev/null 2>&1 && instmods xen-pciback

View File

@ -4,5 +4,5 @@
HIDE_PCI=`lspci -mm -n | grep '^[^ ]* "02'|awk '{ ORS="";print "(" $1 ")";}'`
# ... and hide them so that Dom0 doesn't load drivers for them
modprobe pciback hide=$HIDE_PCI
modprobe pciback hide=$HIDE_PCI 2> /dev/null || modprobe xen-pciback hide=$HIDE_PCI

View File

@ -20,7 +20,7 @@
start()
{
echo -n $"Executing Qubes Core scripts:"
modprobe evtchn
modprobe evtchn 2> /dev/null || modprobe xen-evtchn
chgrp qubes /etc/xen
chmod 710 /etc/xen
chgrp qubes /var/run/xenstored/*

View File

@ -231,7 +231,7 @@ if ! [ -e /etc/sysconfig/network ]; then
fi
# Load evtchn module - xenstored needs it
modprobe evtchn
modprobe evtchn 2> /dev/null || modprobe xen-evtchn
service xenstored start
if ! [ -e /var/lib/qubes/qubes.xml ]; then