[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
howtos:emulators:vms-pci-passthrough [2018/09/12 13:59 (UTC)] – created nikoshowtos:emulators:vms-pci-passthrough [2018/09/12 15:01 (UTC)] – [PCI passthrough] nikos
Line 2: Line 2:
  
 Using vms for pci passthrough. This example is for a graphics Using vms for pci passthrough. This example is for a graphics
-card, but it will work for PCI device. This has been tested+card, but it will work for any PCI device. This has been tested
 for qemu guests running linux, Windows and macOS. for qemu guests running linux, Windows and macOS.
  
Line 34: Line 34:
 </code> </code>
  
-Find the device you want to passthrough, eg.+Restart the host, then find the device you want to passthrough, eg.
  
 <code> <code>
Line 56: Line 56:
  
 <code> <code>
-vms conf vm1 extra0 "'-device vfio-pci,host=07:00.0'"+vms conf vm1 extra10 "'-device vfio-pci,host=07:00.0'"
 </code> </code>
 +
 +Also, it is recommended to configure a mouse and a keyboard like this
 +
 +<code>
 +vms conf vm1 extra09 "'-usb -device usb-kbd -device usb-mouse'"
 +</code>
 +
 +This way, the guest grabs the mouse when you click on it's first
 +virtual monitor. You can use 'ctrl-alt-g' to get your mouse back
 +for the host desktop.
  
 Then start vm1 like this Then start vm1 like this
 howtos:emulators:vms-pci-passthrough ()