Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dom0 CLI
- ========
- [root@xen-home ~]# cat /etc/modprobe.d/pciback.conf
- install e1000 /sbin/modprobe xen_pciback ; /sbin/modprobe --first-time --ignore-install e1000
- options xen-pciback hide=(01:0a.*)
- [root@xen-home ~]# lspci -kD | tail -6
- 0000:01:0a.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
- Subsystem: Compaq Computer Corporation NC7170 Gigabit Server Adapter
- Kernel driver in use: pciback
- 0000:01:0a.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
- Subsystem: Compaq Computer Corporation NC7170 Gigabit Server Adapter
- Kernel driver in use: pciback
- [root@xen-home ~]# xl dmesg | grep virtual
- (XEN) I/O virtualisation disabled
- [root@xen-home ~]# dmesg | grep -i seiz
- pciback 0000:01:0a.0: seizing device
- pciback 0000:01:0a.1: seizing device
- [root@xen-home ~]# xl pci-assignable-list
- 0000:01:0a.0
- 0000:01:0a.1
- [root@xen-home ~]# cat /etc/libvirt/libxl/ubuntu.xml
- ...
- <hostdev type='pci' managed='yes' mode='subsystem'>
- <source>
- <address domain='0x0000' bus='0x01' slot='0x0a' function='0x0' />
- </source>
- </hostdev>
- ...
- DomU CLI
- ========
- eric@ubuntu:~$ cat /proc/cmdline
- root=/dev/mapper/ubuntu-root ro iommu=soft quiet splash
- eric@ubuntu:~$ sudo lspci -v
- eric@ubuntu:~$ sudo lsmod
- Module Size Used by4-generic (buildd@brownie) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) ) #142-Ubuntu SMP Tue Apr 28 10:03:02 UTC 2015 (Ubuntu 2.6.32-74.14sha256_generic 10327 2
- cryptd 8148 0 t=/dev/mapper/ubuntu-root ro iommu=soft quiet splash
- aes_x86_64 7912 7 cpus:
- aes_generic 27607 1 aes_x86_64
- dm_crypt 13043 1 D
- ppdev 6375 0 Hauls
- lp 9336 0 ged domain disabled
- parport 37160 2 ppdev,lpM map:
- xen_netfront 17890 0 00000 - 00000000000a0000 (usable)
- xen_blkfront 10697 3 a0000 - 0000000000100000 (reserved)
Advertisement
Add Comment
Please, Sign In to add comment