[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
howtos:emulators:vms-pci-passthrough [2018/09/12 13:59 (UTC)] – created nikoshowtos:emulators:vms-pci-passthrough [2023/12/12 09:54 (UTC)] (current) – [Sources] zeebra
Line 1: Line 1:
-====== vms pci passthrough ======+====== Using vms command line tool for PCI passthrough in QEMU ====== 
 + 
 +===== vms pci passthrough =====
  
 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 36:
 </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 58:
  
 <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
Line 72: Line 84:
 Originally written by [[wiki:user:nikos | Nikos Giotis]] Originally written by [[wiki:user:nikos | Nikos Giotis]]
  
-{{tag>howtos qemu vms passthrough}}+{{tag>howtos qemu vms passthrough needs_attention}}
 howtos:emulators:vms-pci-passthrough ()