From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWYY5-0005F9-DM for qemu-devel@nongnu.org; Tue, 02 Jan 2018 21:12:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWYY2-0002w4-7s for qemu-devel@nongnu.org; Tue, 02 Jan 2018 21:12:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54400) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eWYY1-0002vF-SY for qemu-devel@nongnu.org; Tue, 02 Jan 2018 21:12:54 -0500 Date: Wed, 3 Jan 2018 10:12:48 +0800 From: Fam Zheng Message-ID: <20180103021226.GA19709@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Problem to start VM with libiscsi + qemu upstream List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Roy Shterman Cc: qemu-devel@nongnu.org, Paolo Bonzini , pl@kamp.de, ronnie sahlberg On Tue, 01/02 21:58, Roy Shterman wrote: > Hi all, > > I'm trying to get VM started with libiscsi (iSCSI initiator) device. Every > thing seems good from iSCSI point of view, but I'm stuck in VM boot, > "Booting from Hard Disk". > Any idea what can get wrong? how I can assure that the boot itself is from > the wanted disk. > Also will be helpful if someone can tell me how can I debug issues like > that. Do you still hit the hang if you remove the iscsi lun and only have the system disk? > > below my xml part of disks: > > > client > d4e60885-22be-4270-94ca-1be8209686d2 > 1048576 > 1048576 > 1 > > hvm > > > > > > > > > > > > > > > > destroy > restart > restart > > /usr/bin/qemu-system-x86_64 > > > > > >
function='0x0'/> > > > > > > > >
function='0x0'/> My wild guess is this disk's PCI addr is lower than the system disk. Can you swap "slot='0x06'" with the previous "slot='0x07'" and try again? (Stuck may be from an unfunctional MBR in the iscsi lun?) Fam > > > >
function='0x2'/> > > >
function='0x0'/> > > > > > >
function='0x0'/> > > > Thanks, > Roy