[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [RFC] Virtual disk configuration, PV vs. emulated, backward compatibility etc


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
  • Date: Wed, 28 Jul 2010 14:31:59 +0200
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 28 Jul 2010 05:33:05 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=JSsYmk2AZAegN+J45mrE4ZQLg37nu14TSgTzjM2hSSViTpbgIncO0t/QXQj4FPl4jx SlBmf9zc8rWj+59yXYxu9lDaTTSJj4LgIgzxH+QOq31i/GNCuzF0ht9fqF3X972Kxr1l Xf1v5wOGnmUOlfkIdmnvrK6GC9Tzfhe5hNzQE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 07/27/2010 05:58 PM, Ian Campbell wrote:
The sd* syntax is not covered. It's unclear if this is used in the wild
or what the existing semantics of emul= are for SCSI devices. If someone
cares to investigate the existing behaviour then it can be added.

I don't know what semantics xl uses for SCSI devices, but I know that we've seen bugs about SCSI emulation so it is sometimes used, and this is the semantics that it should use given your IDE example:

        sda => d0p0,pv=true,emul=scsi0.0,_vdevice=8:0
        sdb => d0p0,pv=true,emul=scsi0.1,_vdevice=8:16

where the first number is the bus and the second is the unit as passed to -drive. The second number goes from 0 to 7 (that's what QEMU does at least).

Paolo

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.