[Top][All Lists]

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

[Qemu-discuss] 答复: How to connect megasas to its backend?

From: 侯雨
Subject: [Qemu-discuss] 答复: How to connect megasas to its backend?
Date: Tue, 7 Apr 2015 07:05:30 +0000

Hi, all,

may I ask a question?

How to write the -drive and -device parameter to specify two files to work as 
two partitions/drivers in qemu? 
I am hoping to use virtio-blk-device, thanks!



发件人: address@hidden <address@hidden> 代表 Hannes Reinecke <address@hidden>
发送时间: 2015年4月7日 14:50
收件人: Ming Lin
抄送: address@hidden
主题: Re: [Qemu-discuss] How to connect megasas to its backend?

On 04/03/2015 08:40 AM, Ming Lin wrote:
> Hi,
> For nvme, it uses "drive=" property to connect to backend.
> -drive file=/path/to/image,if=none,id=foo -device nvme,drive=foo,serial=1234
> But megasas doesn't have "drive" property.
> Could you share qemu commands to connect megasas device to its backend drive?
Of course megasas doesn't. Megasas is a SCSI HBA emulation, not a
SCSI device emulation.

You'd have to use two device specifications here:

-drive file=/path/to/image,if=none,id=foo -device megasas,id=raid
-device scsi-disk,drive=foo,serial=1234,bus=raid.0


-device scsi-disk,drive=foo,serial=1234,scsi-id=0


Dr. Hannes Reinecke                            zSeries & Storage
address@hidden                                   +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]