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

Re: [Xen-devel] Dom0 kernel 3.18.10 with CONFIG_HYPERV_STORAGE and Xen 4.5.0 nested inside Hyper-V





On 27 March 2015 at 09:48, Jan Beulich <JBeulich@xxxxxxxx> wrote:
>>> On 26.03.15 at 20:37, <mark@xxxxxxxxxxxxxxx> wrote:
> 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?

Perhaps that's a result of the kernel assuming to run on exactly one
kind of hypervisor (i.e. Xen _or_ Hyper-V, but not both layered on
top of each other)?

Jan


Hi Jan,

Are you saying that this isn't going to work by design?

I appreciate it's unusual to have the nested virtualisation.

We're doing this as we have an existing system that uses Xen to host
a number of VMs which is usually installed on physical hardware.

We have had some clients want to install this system inside a virtual
machine on their existing infrastructure. This seems to function fine
under VMware but not Hyper-V.

As requested by Andrew I've attached the xl dmesg output, though I see
nothing obvious in it. I built Xen by doing 'make dist debug=y'.Â

What I did notice was that inside the /sys directory tree without Xen
there were lots of files with a file name containing 'vmbus' but very
few with Xen. So I wonder if something is going wrong with the
hv_vmbus driver.

I'm no expert on xen/kernel development but I'm willing to look into
this further if anyone is able to give me any pointers.

Thanks,Â

Mark


Attachment: dmesg.log
Description: Text Data

Attachment: dmesg-without-xen.log
Description: Text Data

Attachment: xl-dmesg.log
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.