qemu-discuss
[Top][All Lists]
Advanced

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

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


From: Fam Zheng
Subject: Re: [Qemu-discuss] How to connect megasas to its backend?
Date: Fri, 3 Apr 2015 15:22:47 +0800
User-agent: Mutt/1.5.23 (2014-03-12)

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

Fam



reply via email to

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