lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+tHM2FfeqiUK38r-kKZ4eqr1nTb_F65uVhjB2v2cC4L_pGpNQ@mail.gmail.com>
Date:	Thu, 27 Oct 2011 20:53:53 +0800
From:	ya su <suya94335@...il.com>
To:	Hannes Reinecke <hare@...e.de>
Cc:	Christoph Hellwig <hch@...radead.org>,
	Stefan Hajnoczi <stefanha@...il.com>,
	Paolo Bonzini <pbonzini@...hat.com>,
	Christoph Hellwig <chellwig@...hat.com>,
	Stefan Hajnoczi <stefanha@...ux.vnet.ibm.com>,
	kvm@...r.kernel.org, "Michael S. Tsirkin" <mst@...hat.com>,
	qemu-devel <qemu-devel@...gnu.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"Nicholas A. Bellinger" <nab@...ux-iscsi.org>
Subject: Re: about NPIV with qemu-kvm.

hi, hannes

      I really appreciate your clarify of my daze.

      as to improve vm's storage io perfomance as nearly hardware's,
it seems the only way is something like sr-iov by hba card.  NPIV can
not achieve this goal.

      I remember that LSI released some kind SAS controller(IR 2008?)
which support sr-iov , but there is not any document which describes
the steps to config. I wonder if your have any clues to help? thanks.

Regards.

Suya.

2011/10/26, Hannes Reinecke <hare@...e.de>:
> On 10/26/2011 06:40 AM, ya su wrote:
>> hi, hannes:
>>
>>     I want to use NPIV with qemu-kvm, I issued the following command:
>>
>>     echo '1111222233334444:5555666677778888' >
>> /sys/class/fc_host/host0/vport_create
>>
>>     and it will produce a new host6 and one vport succesfully, but it
>> does not create any virtual hba pci device. so I don't know how to
>> assign the virtual host to qemu-kvm.
>>
> Well, you can't. There is no mechanism for. When using NPIV you need
> to pass in the individual LUNs via eg virtio-blk.
>
>>     from your this mail, does array will first need to assign a lun to
>> this vport? and through this new created disk, like device /dev/sdf,
>> then I add qemu-kvm with -drive file=/dev/sdf,if=virtio... arguments?
>>
> Yes. That's what you need to do.
>
> Cheers,
>
> Hannes
> --
> Dr. Hannes Reinecke              zSeries & Storage
> hare@...e.de                  +49 911 74053 688
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
> GF: Markus Rex, HRB 16746 (AG Nürnberg)
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ