Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upScan and assign PCI devices to netvm directly before NetVM start #214
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 17 Apr 2011 16:13 UTC
But, on the other hand, we should not always assign all devices to each netvm -- some users might wish to use more than one netvm and assign some NICs to netvm #1, and some other to netvm #2, etc.
I think the best way would be to keep in our qubes.xml a property for each netvm whether it should be assigned "all NIC devices" (so is a default and only one netvm), or whether the user decided to assign some select devices to it, in which case we should be updating the .conf files accordingly.
qvm-pref could be used to set which NICs are assigned for each NetVM (by default we would assume a netvm that doesn't have this propery is a default one and get all the NICs on start).
|
Comment by joanna on 17 Apr 2011 16:13 UTC I think the best way would be to keep in our qubes.xml a property for each netvm whether it should be assigned "all NIC devices" (so is a default and only one netvm), or whether the user decided to assign some select devices to it, in which case we should be updating the .conf files accordingly. qvm-pref could be used to set which NICs are assigned for each NetVM (by default we would assume a netvm that doesn't have this propery is a default one and get all the NICs on start). |
marmarek
assigned
rootkovska
Mar 8, 2015
marmarek
added this to the Release 1 Beta 2 milestone
Mar 8, 2015
marmarek
added
bug
C: core
P: major
enhancement
and removed
bug
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 28 May 2011 09:10 UTC
Perhaps we will close this ticker of this as part of getting rid of xend .conf files?
|
Comment by joanna on 28 May 2011 09:10 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 10 Jun 2011 17:12 UTC
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=7ced90832b83f59d853ced79c8424ce34999109b
PCI devices can by assigned to VMs by qvm-prefs.
Warning: still network devices are assigned to pciback driver at boot time. Only network devices.
(will be changed, when USB controllers will be moved to NetVM/some other VM)
|
Comment by marmarek on 10 Jun 2011 17:12 UTC PCI devices can by assigned to VMs by qvm-prefs. (will be changed, when USB controllers will be moved to NetVM/some other VM) |
marmarek commentedMar 8, 2015
Reported by joanna on 10 Apr 2011 11:07 UTC
Currently we scan for NICs and assign them to the default NetVM at install time. This works for most cases, but will not work in the following scenarios:
Migrated-From: https://wiki.qubes-os.org/ticket/214