qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] kvm instance hangs at boot while starting with iSCSI


From: Josef Johansson
Subject: Re: [Qemu-discuss] kvm instance hangs at boot while starting with iSCSI
Date: Wed, 13 Jun 2012 21:37:35 -0000 (UTC)


----- Original Message -----
From: "Charles Chou" <address@hidden>
To: "Josef" <address@hidden>
Cc: address@hidden
Sent: Wednesday, June 13, 2012 9:56:23 PM
Subject: Re: [Qemu-discuss] kvm instance hangs at boot while starting with iSCSI

On 6/13/2012 7:43 AM, Josef wrote:
>
> Hi,
>
> Ok, I will try that later tonight, thanks.
>
> I have it working with open-iscsi already so that should not be a problem.
>
> /Josef
>
> ------------------------------------------------------------------------
> *From:* Charles Chou
> *Sent:* Wed, 13/06/2012 19:39
> *To:* address@hidden
> *Subject:* Re: [Qemu-discuss] kvm instance hangs at boot while 
> starting with iSCSI
>

Hi,
     After reading the source some more I think iscsi is a top level 
option so you may want to try:

-iscsi initiator-name=some_name -drive 
file=iscsi://[xxxx:xxxx:xxxx::3]:3260/iqn.2010-08.xx.xxx.xxxxxxx.pool10-images/10,....

     Also I am curious as to whether it performs better than using 
virtio on a block device that is created by the open-iscsi initiator.

Charles Chou


--

Where do you see -iscsi initiator-name? Maybe we're looking at different 
sources. I see this:

    /* Should really append the KVM name after the ':' here */
    iscsi = iscsi_create_context("iqn.2008-11.org.linux-kvm:");
    if (iscsi == NULL) {
        error_report("iSCSI: Failed to create iSCSI context.");
        ret = -ENOMEM;
        goto failed;
    }

And it isn't possible to define the parameter initiator-name anywhere. I'll see 
if it works with qemu-kvm 1.1.

Regards,
Josef



reply via email to

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