computer_science:linux:kvm_qemu_cheatsheet

Differences

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

Link to this comparison view

Next revision
Previous revision
computer_science:linux:kvm_qemu_cheatsheet [2021/07/05 08:33] – created carlossousacomputer_science:linux:kvm_qemu_cheatsheet [2023/12/01 12:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-======   KVM / QEMU Cheatsheet   ======+====== KVM / QEMU Cheatsheet ======
  
 Part of [[:computer_science:linux:linux|Linux]] Part of [[:computer_science:linux:linux|Linux]]
 +
 +====== Issues and Solutions ======
 +
 +===== USB Passthough to KVM Guest =====
 +
 +Usefull if you get a similar error to:\\
 +"Error adding device: internal error: vendor cannot be 0."
 +
 +Find your vendor and product ID with
 +<code>
 +
 +lsusb
 +
 +</code>
 +
 +example output:
 +
 +<code>
 +Bus 002 Device 003: ID 0bc2:231a Seagate RSS LLC Expansion Portable
 +Bus 002 Device 002: ID 0424:5534 Microchip Technology, Inc. (formerly SMSC) Hub
 +Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 +Bus 001 Device 004: ID 05c8:0397 Cheng Uei Precision Industry Co., Ltd (Foxlink) HP HD Camera
 +Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
 +Bus 001 Device 002: ID 0424:2134 Microchip Technology, Inc. (formerly SMSC) Hub
 +Bus 001 Device 005: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
 +Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 +
 +</code>
 +
 +Then replace your vendorID:productID in your XML configuration and add it.
  
  
  • computer_science/linux/kvm_qemu_cheatsheet.1625474009.txt.gz
  • Last modified: 2023/12/01 12:07
  • (external edit)