From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: does qmp supports usb_add? Date: Fri, 16 Apr 2010 15:31:45 +0200 Message-ID: <4BC866C1.1060902@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm To: chunhui zhao Return-path: Received: from mx1.redhat.com ([209.132.183.28]:28887 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754195Ab0DPNbx (ORCPT ); Fri, 16 Apr 2010 09:31:53 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 04/16/10 15:18, chunhui zhao wrote: > Hi guys. > > As the kvm does not support auto connection of USB device, It does. -device usb-host,vendorid=1234,productid=5678 Plug in the device specified by vendor+product id on the host and your guest will see it. > The problem is, the qmp does not support the command "usb_add". > (http://www.linux-kvm.org/page/MonitorProtocol) > Is there any method to solve this? Use the more generic device_add instead. cheers, Gerd