All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: Juergen Gross <jgross@suse.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	wei.liu2@citrix.com
Subject: Re: qemu device model question
Date: Wed, 13 May 2015 14:06:02 +0100	[thread overview]
Message-ID: <20150513130602.GB22118@zion.uk.xensource.com> (raw)
In-Reply-To: <1431509440.8263.237.camel@citrix.com>

On Wed, May 13, 2015 at 10:30:40AM +0100, Ian Campbell wrote:
> On Wed, 2015-05-13 at 10:54 +0200, Juergen Gross wrote:
> > Hi,
> > 
> > while trying to build a pvusb backend in qemu I think I've found a
> > general issue in xl: qemu for pv-domains is started only at domain
> > creation and only if there is at least one backend in qemu required.
> > 
> > If there is no qemu process started for the domain at creation time
> > it will be impossible to successfully add such a device later while
> > the domain is running.
> > 
> > Are there any plans to remove that restriction? Or have I missed
> > some mechanism in xl to start qemu at a later time?
> 
> I think it would be reasonable to have some way to indicate that pvusb
> support is desired even if there are no such devices on boot, and for
> libxl to start the necessary backend in that case.
> 
> s/pvusb/whatever/

libxl__need_xenpv_qemu comes to mind.

Also QEMU has a mode called attach mode. Never use it personally
though.

> 
> > Related to this problem is the question whether it would be desirable
> > to have e.g. qdisk and pvusb backends in the same process possibly
> > influencing each others throughput.
> 
> Dissagregation of qemu's PV functionality would be nice, but I'm not
> sure how easy/hard it would be.
> 

At least we would need to invent a new xenstore protocol to support
multiple emulator.

Wei.

> Ian.
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2015-05-13 13:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13  8:54 qemu device model question Juergen Gross
2015-05-13  9:30 ` Ian Campbell
2015-05-13 13:06   ` Wei Liu [this message]
2015-05-13 13:26     ` Ian Campbell
2015-05-13 15:43       ` Wei Liu
2015-05-13 14:44     ` Juergen Gross
2015-05-13 15:47       ` Wei Liu
2015-05-18  9:49   ` George Dunlap
2015-05-18 10:00     ` Ian Campbell
2015-05-18 23:36       ` Stefano Stabellini
2015-05-19 10:08         ` George Dunlap

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=20150513130602.GB22118@zion.uk.xensource.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=jgross@suse.com \
    --cc=xen-devel@lists.xensource.com \
    /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.