[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QEMU USB pass-through
From: |
Oleg Pykhalov |
Subject: |
Re: QEMU USB pass-through |
Date: |
Sat, 19 Oct 2019 23:46:43 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Chris,
I use the following command to get a USB device on VM:
--8<---------------cut here---------------start------------->8---
qemu-system-x86_64 \
-daemonize \
-m 4096 \
-smp 2 \
-enable-kvm \
-hda /srv/virt/vm.qcow2 \
-smb /srv/share \
-M q35 \
-usb \
-device usb-host,hostbus=2,hostaddr=4 \
-net 'user,hostfwd=tcp::3389-:3389,hostfwd=tcp::445-:445' \
-net nic
--8<---------------cut here---------------end--------------->8---
I'm not sure I could help you with spotting the mistake though, because
I got this command almost randomly trying different flags and
suggestions on the internet :-)
signature.asc
Description: PGP signature