[Top][All Lists]

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

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

From: Ming Lin
Subject: Re: [Qemu-discuss] How to connect megasas to its backend?
Date: Fri, 3 Apr 2015 00:32:06 -0700

On Fri, Apr 3, 2015 at 12:22 AM, Fam Zheng <address@hidden> wrote:
> On Thu, 04/02 23:40, 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?
> megasas is an HBA where you attach scsi devices (scsi-disk, scsi-generic, 
> etc..):
> -device megasas,id=bus0 \
> -drive file=null-aio://,if=none,id=d0 \
> -device scsi-disk,drive=d0,bus=bus0.0

It works. Thanks Fam!

> Fam

reply via email to

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