unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: QEMU USB pass-through
Date: Sat, 19 Oct 2019 23:46:43 +0300	[thread overview]
Message-ID: <87bluczcng.fsf@gmail.com> (raw)
In-Reply-To: <87v9skcx45.fsf@gmail.com> (Chris Marusich's message of "Sat, 19 Oct 2019 13:13:14 -0700")

[-- Attachment #1: Type: text/plain, Size: 656 bytes --]

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 :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      reply	other threads:[~2019-10-19 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-19 20:13 QEMU USB pass-through Chris Marusich
2019-10-19 20:46 ` Oleg Pykhalov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bluczcng.fsf@gmail.com \
    --to=go.wigust@gmail.com \
    --cc=cmmarusich@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).