From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: Dom0 kernel 3.18.10 with CONFIG_HYPERV_STORAGE and Xen 4.5.0 nested inside Hyper-V Date: Thu, 26 Mar 2015 19:49:44 +0000 Message-ID: <551462D8.8030205@citrix.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7788543751377832389==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mark , xen-devel@lists.xen.org Cc: Anthony Wright List-Id: xen-devel@lists.xenproject.org --===============7788543751377832389== Content-Type: multipart/alternative; boundary="------------080301080001040906090905" --------------080301080001040906090905 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 26/03/15 19:37, Mark wrote: > Hi, > > We're trying to nest virtualisation using 64bit Xen inside a Hyper-V > virtual machine. > > When we enable CONFIG_HYPERV_STORAGE and boot with the Xen hypervisor > we can't see /dev/sda. If we boot the Linux kernel without Xen it > works fine. > > The full dmesg for booting with and without Xen is attached. > > Without Xen, first the disk is deliberately ignored: > > [ 3.728055] ata_piix 0000:00:07.1: Hyper-V Virtual Machine > detected, ATA device ignore set > > And later picked up by hv_storevsc: > > [ 8.432089] scsi host0: storvsc_host_t > [ 8.432946] scsi 0:0:0:0: Direct-Access Msft Virtual Disk > 1.0 PQ: 0 ANSI: 4 > [ 8.434538] scsi host1: storvsc_host_t > [ 8.435324] sd 0:0:0:0: Attached scsi generic sg0 type 0 > > Any ideas why sda is never attached under Xen or how I can further > diagnose this? We would need to see `xl dmesg` to get the Xen dmesg ring as well, preferably with a debug build of Xen. ~Andrew --------------080301080001040906090905 Content-Type: text/html; charset="windows-1252" Content-Length: 2298 Content-Transfer-Encoding: quoted-printable
On 26/03/15 19:37, Mark wrote:
Hi,

We're trying to nest virtualisation using 64bit Xen inside a Hyper-V virtual machine.=A0

When we enable CONFIG_HYPERV_STORAGE and boot with the Xen hypervisor
we can't see /dev/sda. If we boot the Linux kernel without Xen it works fine.=A0

The full dmesg for booting with and without Xen is attached.

Without Xen, first the disk is deliberately ignored:=A0

[ =A0 =A03.728055] ata_piix 0000:00:07.1: Hyper-V Virtual Machine detected, ATA device ignore set

And later picked up by hv_storevsc:=A0

[ =A0 =A08.432089] scsi host0: storvsc_host_t
[ =A0 =A08.432946] scsi 0:0:0:0: Direct-Access =A0 =A0 Msft =A0 =A0 Virtual Disk =A0 =A0 1.0 =A0PQ: 0 ANSI: 4
[ =A0 =A08.434538] scsi host1: storvsc_host_t
[ =A0 =A08.435324] sd 0:0:0:0: Attached scsi generic sg0 type 0

Any ideas why sda is never attached under Xen or how I can further diagnose this=3F

We would need to see `xl dmesg` to get the Xen dmesg ring as well, preferably with a debug build of Xen.

~Andrew
--------------080301080001040906090905-- --===============7788543751377832389== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============7788543751377832389==--