WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: [Xen-devel] Re: [RFC] Virtual disk configuration, PV vs. emulated, backward compatibility etc
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=AGIR0Hsp/NE3gOBdy4wMvP28EINQWllruaczGK8f6Lk=; b=Pl724Eei44Hv99/YxLxwKlna7ePhl1lEupGPJQ7DvlMdp/TfQvybzOPzuyLqTRPOGU wFP2zsWuSwVNtV9hoUF0YRqMsnrN8amcji+3is2P6BMPo7ADaami0bgJEYK8vdic4faB ZXwdHPD8e+yR0pPWE5u1wh/GpRzbUPPPlyS9Y=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1280246290.5872.8932.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1280246290.5872.8932.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5
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

<Prev in Thread] Current Thread [Next in Thread>