====== KVM / QEMU Cheatsheet ====== Part of [[engineering: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 lsusb example output: 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 Then replace your vendorID:productID in your XML configuration and add it.