dom0/modules: support for pvops modules in dom0
This commit is contained in:
		
							parent
							
								
									187c524852
								
							
						
					
					
						commit
						067fb100a1
					
				| @ -1 +1 @@ | |||||||
| modprobe pciback | modprobe pciback 2> /dev/null || modprobe xen-pciback | ||||||
|  | |||||||
| @ -1,2 +1,3 @@ | |||||||
| #!/bin/bash | #!/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 | ||||||
|  | |||||||
| @ -4,5 +4,5 @@ | |||||||
| HIDE_PCI=`lspci -mm -n | grep '^[^ ]* "02'|awk '{ ORS="";print "(" $1 ")";}'` | HIDE_PCI=`lspci -mm -n | grep '^[^ ]* "02'|awk '{ ORS="";print "(" $1 ")";}'` | ||||||
| 
 | 
 | ||||||
| # ... and hide them so that Dom0 doesn't load drivers for them | # ... 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 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -20,7 +20,7 @@ | |||||||
| start() | start() | ||||||
| { | { | ||||||
|     echo -n $"Executing Qubes Core scripts:" |     echo -n $"Executing Qubes Core scripts:" | ||||||
|     modprobe evtchn |     modprobe evtchn 2> /dev/null || modprobe xen-evtchn | ||||||
|     chgrp qubes /etc/xen |     chgrp qubes /etc/xen | ||||||
|     chmod 710 /etc/xen |     chmod 710 /etc/xen | ||||||
|     chgrp qubes /var/run/xenstored/* |     chgrp qubes /var/run/xenstored/* | ||||||
|  | |||||||
| @ -231,7 +231,7 @@ if ! [ -e /etc/sysconfig/network ]; then | |||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| # Load evtchn module - xenstored needs it | # Load evtchn module - xenstored needs it | ||||||
| modprobe evtchn | modprobe evtchn 2> /dev/null || modprobe xen-evtchn | ||||||
| service xenstored start | service xenstored start | ||||||
| 
 | 
 | ||||||
| if ! [ -e /var/lib/qubes/qubes.xml ]; then | if ! [ -e /var/lib/qubes/qubes.xml ]; then | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marek Marczykowski
						Marek Marczykowski