Hello everyone! 
Trying to follow the steps outlined here:

https://www.qubes-os.org/doc/assigning-devices/#pci-passthrough-issues

Created a service, BUT it fails to start

systemctl status gives

qubes-netvm.service - Qubes NetVM startup
   Loaded: loaded (/usr/lib/systemd/system/qubes-netvm.service; enabled; vendor 
preset: enabled)
   Active: active (exited) since Sat 2017-01-07 15:31:11 EAT; 35min ago
  Process: 4150 ExecStart=/bin/sh -c NETVM=`qubes-prefs --get default-netvm`; [ 
-n "$NETVM" ] && qvm-start -q --no-guid $NETVM (code=exited, status=0/SUCCESS)
 Main PID: 4150 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/qubes-netvm.service

Jan 07 15:31:01 dom0 systemd[1]: Starting Qubes NetVM startup...
Jan 07 15:31:05 dom0 runuser[5099]: pam_unix(runuser:session): session opened 
for user user1 by (uid=0)
Jan 07 15:31:05 dom0 runuser[5099]: pam_unix(runuser:session): session closed 
for user user1
Jan 07 15:31:05 dom0 runuser[5102]: pam_unix(runuser:session): session opened 
for user user1 by (uid=0)
Jan 07 15:31:11 dom0 runuser[5102]: pam_unix(runuser:session): session closed 
for user user1
Jan 07 15:31:11 dom0 systemd[1]: Started Qubes NetVM startup.

HOWEVER, after startup I can do in dom0 terminal:

sudo /bin/sh -c 'echo 0000:04:00.0 > /sys/bus/pci/drivers/pciback/permissive'

and the permissive mode is set allright (and yes, the device I want to 
"permissivize" really is 0000:04:00.0 on my machine. Huge coincidence, I too 
was amused)

I have to then reboot the VM (which is mighty annoying because it's a netvm) 
and everything seems to work out allrightey (fingers crossed very intensely)

Any pointers why it can't see the target device "right away" ?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/bebcd78c-aa74-4dcb-ac58-8ea70f137b5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to