All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corey Bryant <coreyb@linux.vnet.ibm.com>
To: Eric Blake <eblake@redhat.com>
Cc: kwolf@redhat.com, libvir-list@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 4/4] qemu-config: Add new -add-fd	command line option
Date: Thu, 18 Oct 2012 09:48:25 -0400	[thread overview]
Message-ID: <508008A9.6000504@linux.vnet.ibm.com> (raw)
In-Reply-To: <507E3103.1020202@redhat.com>



On 10/17/2012 12:16 AM, Eric Blake wrote:
> On 10/16/2012 12:10 PM, Corey Bryant wrote:
>> This option can be used for passing file descriptors on the
>> command line.  It mirrors the existing add-fd QMP command which
>> allows an fd to be passed to QEMU via SCM_RIGHTS and added to an
>> fd set.
>>
>> This can be combined with commands such as -drive to link file
>> descriptors in an fd set to a drive:
>>
>>      qemu-kvm -add-fd fd=3,set=2,opaque="rdwr:/path/to/file"
>>               -add-fd fd=4,set=2,opaque="rdonly:/path/to/file"
>>               -drive file=/dev/fdset/2,index=0,media=disk
>>
>> This example adds dups of fds 4 and 5, and the accompanying opaque
>
> s/4 and 5/3 and 4/

Doh.. thanks.

-- 
Regards,
Corey Bryant

      parent reply	other threads:[~2012-10-18 13:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16 18:10 [Qemu-devel] [PATCH v3 4/4] qemu-config: Add new -add-fd command line option Corey Bryant
2012-10-17  4:16 ` Eric Blake
2012-10-17 14:02   ` Kevin Wolf
2012-10-17 15:01     ` Eric Blake
2012-10-17 15:03       ` Kevin Wolf
2012-10-18 14:34         ` Corey Bryant
2012-10-18 14:29     ` Corey Bryant
2012-10-18 18:50       ` Corey Bryant
2012-10-18 13:48   ` Corey Bryant [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

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

  git send-email \
    --in-reply-to=508008A9.6000504@linux.vnet.ibm.com \
    --to=coreyb@linux.vnet.ibm.com \
    --cc=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.