xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <George.Dunlap@eu.citrix.com>
To: Gordan Bobic <gordan@bobich.net>
Cc: xen-users <xen-users@lists.xen.org>,
	Bartek Krawczyk <bbartlomiej.mail@gmail.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [Xen-users] xen forum
Date: Thu, 23 May 2013 11:41:23 +0100	[thread overview]
Message-ID: <CAFLBxZYm32HGGMDmE4Zhm_nj5tzJ5FEQH6gQAmSLv3EBjOAbyg@mail.gmail.com> (raw)
In-Reply-To: <519D3076.9070406@bobich.net>

On Wed, May 22, 2013 at 9:54 PM, Gordan Bobic <gordan@bobich.net> wrote:
> OK, I can confirm that my VM configs start OK using xl. Unfortunately, xl in
> 4.2 doesn't support usb-add, so I cannot pass the required USB devices
> through, over and above the one I can pass in the config file.
>
> Will usb-add also be available in 4.3, in addition to the multi-device
> syntax in the config file?

Unfortunately not. :-(  I did start the process, but unfortunately
rather too late in the release cycle, and the design of a proper
interface took a lot longer than I expected.  The good news is that we
are in really good shape to have the feature in 4.4, which we're
expecting to be in 6 months (or less) from the release for 4.3.

If you're using this personally, and you're really keen, you could
apply the most recent patchset that I posted (or I could send you a
rebased version).  From a technical standpoint it's very
straightforward, and I had the basic functionality working months ago
for HVM domains with qemu-upstream.  So the patchset should work
fairly reliably; just be aware that the interface (both in xl and
libxl) may change before the final release.

> Any chance of the multi-device syntax also being patched into xm for 4.3?

I think at this point it's unlikely.  Even if we had the patches, it's
too late in the release process to risk introducing a bug to implement
this feature.

There is an all-purpose work-around, however.  Basically all of the
device options are parsed from the config file and then transmuted
into qemu command-line parameters.  There's a field in the config file
that allows you to pass in a string of options directly.  If you
wanted to add more usb devices, you can do something like this:

extra="-usbdevice $dev1 -usbdevice $dev2"

Where $dev1 and $dev2 are the same syntax you would use in the
"usbdevice" field of the config file.

This can be used to access other qemu features that are not
implemented by xm or xl as well.  It would all be "use at your own
risk", but there's no reason most of it shouldn't just work out of the
box.

 -George

  reply	other threads:[~2013-05-23 10:41 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-19 15:09 xen forum jacek burghardt
2013-05-19 15:16 ` Gordan Bobic
2013-05-19 16:36   ` Joseph Glanville
2013-05-19 17:04     ` Gordan Bobic
2013-05-21 14:29 ` Konrad Rzeszutek Wilk
2013-05-21 14:57   ` Gordan Bobic
2013-05-21 15:04     ` [Xen-users] " Ian Campbell
2013-05-22  6:18       ` Bartek Krawczyk
     [not found]       ` <CAFp_H4vqFyNN-ZPTo-C2rN6_j1DsXWWPugNM8du9Ssa+V1FHAQ@mail.gmail.com>
2013-05-22  6:55         ` Gordan Bobic
2013-05-22  9:53           ` Ian Campbell
2013-05-22  9:58             ` George Dunlap
2013-05-22 15:27               ` Gordan Bobic
2013-05-22 15:32                 ` George Dunlap
2013-05-22 15:52                   ` Gordan Bobic
2013-05-22 15:53                     ` Ian Campbell
2013-05-22 15:58                     ` George Dunlap
2013-05-22 20:54                     ` Gordan Bobic
2013-05-23 10:41                       ` George Dunlap [this message]
2013-05-23 12:04                         ` Ian Campbell
2013-05-23 13:08                           ` George Dunlap
2013-05-22 10:20           ` George Dunlap
2013-05-22 15:24             ` Gordan Bobic
2013-05-22 16:18               ` George Dunlap
2013-05-22 16:44                 ` Gordan Bobic
2013-05-23 13:40                   ` George Dunlap
2013-05-21 15:04   ` Ian Murray
2013-05-21 15:19     ` Ian Campbell
2013-05-21 16:00       ` Ian Murray
2013-05-21 16:15         ` Ian Campbell
2013-05-21 17:57           ` Ian
2013-05-21 16:31     ` Konrad Rzeszutek Wilk
2013-05-21 17:19       ` jacek burghardt
2013-05-21 18:03       ` Ian
2013-05-24 14:04       ` Konrad Rzeszutek Wilk
2013-05-24 19:37         ` Gordan Bobic
2013-05-24 21:36           ` Stefano Stabellini
2013-05-24 22:14             ` Gordan Bobic
2013-05-25 12:06               ` Konrad Rzeszutek Wilk
2013-05-28 16:00               ` George Dunlap
2013-05-25  3:07         ` Andrew Bobulsky
2013-05-28 13:49           ` Konrad Rzeszutek Wilk

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=CAFLBxZYm32HGGMDmE4Zhm_nj5tzJ5FEQH6gQAmSLv3EBjOAbyg@mail.gmail.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=bbartlomiej.mail@gmail.com \
    --cc=gordan@bobich.net \
    --cc=xen-devel@lists.xen.org \
    --cc=xen-users@lists.xen.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 NNTP newsgroup(s).