Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
engineering:computer_science:linux:kvm_qemu_cheatsheet [2024/08/16 13:56] – removed - external edit (Unknown date) 127.0.0.1 | engineering:computer_science:linux:kvm_qemu_cheatsheet [2024/08/16 13:56] (current) – ↷ Links adapted because of a move operation carlossousa | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== KVM / QEMU Cheatsheet ====== | ||
+ | |||
+ | Part of [[engineering: | ||
+ | |||
+ | ====== 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: | ||
+ | |||