qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] SSD virtio-scsi passthrough


From: Nitin Gupta
Subject: Re: [Qemu-devel] SSD virtio-scsi passthrough
Date: Mon, 12 Mar 2018 13:46:22 +0530

Hi   Stefan

Thanks for your response , i tried the the command provided by you and it
did not work as well
somehow i find that  after changing the controller to LSI in qemu command
it started working , please find command below

-device lsi,id=scsi0,bus=pci.0,addr=0xa    -drive
file=/dev/sdc,format=raw,if=none,id=drive-scsi1-0-0-0,cache=none -device
scsi-block,bus=scsi1.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi1-0-0-0,id=scsi1-0-0-0


looks like virtio-pci is not able to bind when i am using qemu command ,
its working with virsh(libvirt).

Regards
Nitin

On Tue, Mar 6, 2018 at 5:04 PM, Stefan Hajnoczi <address@hidden> wrote:

> On Wed, Feb 21, 2018 at 02:51:38PM +0530, Nitin Gupta wrote:
> > Please let me know the qemu command for doing ssd virtio-scsi
> passthrough .
> > i am able to do the pass through with virsh .but same command when i am
> > trying with qemu , VM is not coming up
> >
> > Please let me know how can i proceed further . any help will be
> appreciated
>
> Something like this:
>
>   -drive if=none,id=drive0,file=/dev/sdX,format=raw,aio=native,cache=none
>   -device virtio-scsi-pci,id=virtio-scsi-pci0
>   -device scsi-block,drive=drive0,bus=virtio-scsi-pci0.0
>
> Stefan
>


reply via email to

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