qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: qemu-devel@nongnu.org, xen-devel@lists.xensource.com
Cc: anthony.perard@citrix.com, kraxel@redhat.com,
	sstabellini@kernel.org, Juergen Gross <jgross@suse.com>
Subject: [Qemu-devel] [PATCH 0/2] Xen pvUSB correction
Date: Mon, 26 Sep 2016 14:43:55 +0200	[thread overview]
Message-ID: <1474893837-13010-1-git-send-email-jgross@suse.com> (raw)

Trying to use pvUSB in a Xen guest with a qemu emulated USB controller
will crash qemu as it tries to attach a pvUSB device to the emulated
controller.

This can be avoided by adding a unique id to each pvUSB controller which
can be used when attaching the pvUSB device. In order to make this
possible the pvUSB controller has to be a hotpluggable qemu device.

Juergen Gross (2):
  xen: add an own bus for xen backend devices
  xen: add qemu device for each pvusb backend

 hw/usb/xen-usb.c             | 81 +++++++++++++++++++++++++++++++++++++-------
 hw/xen/xen_backend.c         | 19 +++++++++--
 include/hw/xen/xen_backend.h |  4 +++
 3 files changed, 88 insertions(+), 16 deletions(-)

-- 
2.6.6

             reply	other threads:[~2016-09-26 12:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-26 12:43 Juergen Gross [this message]
2016-09-26 12:43 ` [Qemu-devel] [PATCH 1/2] xen: add an own bus for xen backend devices Juergen Gross
2016-09-27  8:53   ` Gerd Hoffmann
2016-09-29 14:39     ` Juergen Gross
2016-09-26 12:43 ` [Qemu-devel] [PATCH 2/2] xen: add qemu device for each pvusb backend Juergen Gross
2016-09-27  9:00   ` Daniel P. Berrange
2016-09-29 14:39     ` Juergen Gross
2016-09-27  9:08   ` Gerd Hoffmann
2016-09-29 14:49     ` Juergen Gross
2016-09-29 15:16       ` Gerd Hoffmann
2016-09-29 19:39         ` Markus Armbruster
2016-09-27  8:51 ` [Qemu-devel] [PATCH 0/2] Xen pvUSB correction Gerd Hoffmann
2016-09-29 14:38   ` Juergen Gross

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=1474893837-13010-1-git-send-email-jgross@suse.com \
    --to=jgross@suse.com \
    --cc=anthony.perard@citrix.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sstabellini@kernel.org \
    --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 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).