From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [Patch RFC 1/4] usb: support device specification via - Date: Fri, 17 Jul 2015 12:23:57 +0200 Message-ID: <1437128637.3689.34.camel@redhat.com> References: <1437061658-11769-1-git-send-email-jgross@suse.com> <1437061658-11769-2-git-send-email-jgross@suse.com> <1437116387.3689.8.camel@redhat.com> <55A8AF9D.6050202@suse.com> <1437121713.3689.16.camel@redhat.com> <55A8D38A.2020609@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55A8D38A.2020609@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Juergen Gross Cc: xen-devel@lists.xensource.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Hi, > > device_add monitor command. > > Okay. I guess the USBDevice for the added device can be obtained > in USBPortOps->attach via USBPort->dev ? Yes. > Doing a quick search through the sources I couldn't find a way to > issue a monitor command from inside qemu. I assume I'd have to use > do_device_add() directly? qdev_device_add() should do it, yes. Why do you need to call this from inside qemu? Watching on xenbus and responding to new devices created there? cheers, Gerd