Discussing virtualization...
Discussing virtualization...
Hey everyone. You're looking for a way to run Windows 7 on a newer system without using network cards, except for the network card itself. I understand you're mainly familiar with Debian and similar distributions. (Just let me know if you need more details.)
Based on the type of VM you're using, you can get a driver package from their website and install it to make the virtual hardware work—like GPU, USB, and network. I’m aware that VirtualBox offers a passthrough feature for USB, but Network requires a separate installation since it must manage DHCP and similar settings.
I understand, but the issue is I need to handle everything—including the IGPs and USB devices—as well. The only virtual hardware I can use is the NIC because I have to connect to the host OS somehow.
You'll constantly require an additional GPU... the virtualization system must always have its own...
Its a intel nuc so no chance of getting a second gpu in it... @FastRDust I wont buy that just for this . /EDIT Okay, all virtualization related stuff is enabled in UEFI bot no output for 'dmesg | grep -e "Directed I/O" ', fresh headless debian install. Edited September 27, 2018 by jagdtigger
Little update, got the system to finally load vfio-pci for igp and sound. Now i have to deal with usb... root@intelnuc:/home/jagdtigger# ./iommu.sh IOMMU Group 0 00:00.0 Host bridge [0600]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge [8086:5af0] (rev 0b) IOMMU Group 10 00:1a.0 Serial bus controller [0c80]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PWM Pin Controller [8086:5ac8] (rev 0b) IOMMU Group 11 00:1f.0 ISA bridge [0601]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface [8086:5ae8] (rev 0b) IOMMU Group 11 00:1f.1 SMBus [0c05]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4] (rev 0b) IOMMU Group 1 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5a85] (rev 0b) IOMMU Group 2 00:0e.0 Audio device [0403]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster [8086:5a98] (rev 0b) IOMMU Group 3 00:0f.0 Communication controller [0780]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine [8086:5a9a] (rev 0b) IOMMU Group 4 00:12.0 SATA controller [0106]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller [8086:5ae3] (rev 0b) IOMMU Group 5 00:13.0 PCI bridge [0604]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #1 [8086:5ad8] (rev fb) IOMMU Group 5 00:13.1 PCI bridge [0604]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #2 [8086:5ad9] (rev fb) IOMMU Group 5 00:13.2 PCI bridge [0604]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #3 [8086:5ada] (rev fb) IOMMU Group 5 01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01) IOMMU Group 5 02:00.0 Network controller [0280]: Intel Corporation Device [8086:24fb] (rev 10) IOMMU Group 5 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) IOMMU Group 6 00:15.0 USB controller [0c03]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI [8086:5aa8] (rev 0b) IOMMU Group 7 00:16.0 Signal processing controller [1180]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 [8086:5aac] (rev 0b) IOMMU Group 8 00:18.0 Signal processing controller [1180]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 [8086:5abc] (rev 0b) IOMMU Group 9 00:19.0 Signal processing controller [1180]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #1 [8086:5ac2] (rev 0b) IOMMU Group 9 00:19.1 Signal processing controller [1180]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #2 [8086:5ac4] (rev 0b) IOMMU Group 9 00:19.2 Signal processing controller [1180]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 [8086:5ac6] (rev 0b) Its in a separate group so it should work but its refusing to cooperate. I went and blacklisted xhci_hcd then update-initramfs -u but still loads that module and not vfio-pci.... /EDIT Okay, forced usb to vfio-pci manually: root@intelnuc:/home/jagdtigger# echo "0000:00:15.0" > /sys/bus/pci/devices/0000:00:15.0/driver/unbind root@intelnuc:/home/jagdtigger# echo 0x8086 0x2067 > /sys/bus/pci/drivers/vfio-pci/new_id Then tried to fire up the VM: root@intelnuc:/home/jagdtigger# ./win7_vm cat: /etc/vfio-pci.cfg: No such file or directory qemu-system-x86_64: -device vfio-pci,host=00:02.0,multifunction=on: Failed to mmap 0000:00:02.0 BAR 2. Performance may be slow qemu-system-x86_64: -device vfio-pci,host=0000:00:02.0,bus=pci.0,addr=02.0: Bus 'pci.0' not found ./win7_vm: line 52: -drive: command not found Start script: Spoiler Edited September 28, 2018 by jagdtigger
From a technical standpoint, it might be more efficient to use VM passthrough instead of installing drivers and setting up a new desktop each time. It feels like a waste of time unless you really need the custom setup.