From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHGJ-0000w8-Ta for qemu-devel@nongnu.org; Thu, 12 Jan 2012 04:48:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlHGI-0004uV-3G for qemu-devel@nongnu.org; Thu, 12 Jan 2012 04:47:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:6529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHGH-0004uR-PG for qemu-devel@nongnu.org; Thu, 12 Jan 2012 04:47:58 -0500 Message-ID: <4F0EAC44.1050800@redhat.com> Date: Thu, 12 Jan 2012 10:47:48 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1323169292-21661-1-git-send-email-pbonzini@redhat.com> <20120112051753.GC6489@localhost.localdomain> In-Reply-To: <20120112051753.GC6489@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 00/11] virtio-scsi device model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com On 01/12/2012 06:17 AM, Hu Tao wrote: > Hi Paolo, > > How to add a virtio-scsi device? What parameters should I specify > in qemu command line? Same as with other SCSI devices: -device virtio-scsi-pci then for every disk -drive if=none,file=PATH,id=NAME -device scsi-hd,drive=NAME (or scsi-cd for a CD-ROM drive). Paolo