[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] How to connect megasas to its backend?
From: |
Hannes Reinecke |
Subject: |
Re: [Qemu-discuss] How to connect megasas to its backend? |
Date: |
Tue, 07 Apr 2015 08:50:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
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
or
-device scsi-disk,drive=foo,serial=1234,scsi-id=0
Cheers,
Hannes
--
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)