[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Hiding PCI devices with modprobe.d



Daniel,


On Mon, Jun 17, 2013 at 4:04 PM, Daniel Shub <Daniel.Shub@xxxxxxxxxxxxxxxx> wrote:
<snip>

I finally tried hiding the devices even later by creating a systemd udev service

  [Unit]
  Description=PCI hide

  [Service]
  Type=oneshot
  ExecStart=/bin/bash /root/pcihide.sh

  [Install]
  WantedBy=multi-user.target
 
where pcihide.sh uses the xl toolstack to hide the devices. This works, except it runs after the domUs in /etc/xen/auto get started. I could obviously add the start up of the domUs into pcihide.sh, but seems like a real hack.

 
Just a quick thought, why not specify a 'Before=' so that it would load before xendomains?

Regards,

  David
 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.