All of lore.kernel.org
 help / color / mirror / Atom feed
* Nested Virtualisation and UEFI
@ 2015-09-04  8:47 James Dingwall
  2015-09-04  9:17 ` Jan Beulich
  0 siblings, 1 reply; 5+ messages in thread
From: James Dingwall @ 2015-09-04  8:47 UTC (permalink / raw)
  To: xen-devel

Hi,

I am trying to get a nested virtualisation environment working where it is started with bios='ovmf'.  When my 
hvm configuration is bios='seabios' and I use the xen.gz everything starts correctly.  Using the xen.efi from 
the same build when bios='ovmf' causesthe guest Linux kernel to block when accessing the emulated disk 
controller (scsi or ide) as below.

Is this nested configuration expected to work?  If so, are there other things that need to change apart from 
switching the bios configuration value?  I can provide more information from the guest XEN / kernel logs or the 
guest configuration file if that would be useful.

[   31.848214] ata1: lost interrupt (Status 0x50)
[   31.855823] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   31.866516] ata1.00: failed command: READ DMA
[   31.873472] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
[   31.873472]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   31.896759] ata1.00: status: { DRDY }
[   31.902526] ata1: soft resetting link
[   32.076309] ata1.00: configured for MWDMA2
[   32.083559] ata1.00: device reported invalid CHS sector 0
[   32.094014] ata1: EH complete

I am using some backported builds for Ubuntu 14.04:

dom0 (BIOS boot):
ovmf_0~20150106.5c2d456b-1build1_all.deb
qemu-system-x86_2.2+dfsg-5expubuntu9_amd64.deb
xen-hypervisor-4.5-amd64_4.5.0-1ubuntu4_amd64.deb
linux-image-generic-lts-vivid 3.19.0-26-generic

domU:
xen-4.4.3 (custom build from git release tag, also tried xen-4.5.1.efi with same behaviour)
linux-image-generic-lts-vivid 3.19.0-27-generic

Thanks,
James

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Nested Virtualisation and UEFI
  2015-09-04  8:47 Nested Virtualisation and UEFI James Dingwall
@ 2015-09-04  9:17 ` Jan Beulich
  2015-09-04 11:35   ` James Dingwall
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Beulich @ 2015-09-04  9:17 UTC (permalink / raw)
  To: James Dingwall; +Cc: xen-devel

>>> On 04.09.15 at 10:47, <james-xen@dingwall.me.uk> wrote:
> I am trying to get a nested virtualisation environment working where it is 
> started with bios='ovmf'.  When my 
> hvm configuration is bios='seabios' and I use the xen.gz everything starts 
> correctly.  Using the xen.efi from 
> the same build when bios='ovmf' causesthe guest Linux kernel to block when 
> accessing the emulated disk 
> controller (scsi or ide) as below.
> 
> Is this nested configuration expected to work?

I don't think there's any expectation either way. You may well be the
first one to every try. I wouldn't even dare to guess whether the
issue is in the BIOS, Xen, qemu, or any combination thereof.

>  If so, are there other 
> things that need to change apart from 
> switching the bios configuration value?  I can provide more information from 
> the guest XEN / kernel logs or the 
> guest configuration file if that would be useful.
> 
> [   31.848214] ata1: lost interrupt (Status 0x50)

This might hint at a problem with interrupts. A full, maximally verbose
log (hypervisor and kernel) may tell.

> [   31.855823] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> [   31.866516] ata1.00: failed command: READ DMA
> [   31.873472] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
> [   31.873472]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
> [   31.896759] ata1.00: status: { DRDY }
> [   31.902526] ata1: soft resetting link
> [   32.076309] ata1.00: configured for MWDMA2
> [   32.083559] ata1.00: device reported invalid CHS sector 0
> [   32.094014] ata1: EH complete

Whereas this might also hint at the BIOS reporting an IOMMU when
there is none, or some other issue with setting up DMA. Again, full
logs may provide some insight.

Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Nested Virtualisation and UEFI
  2015-09-04  9:17 ` Jan Beulich
@ 2015-09-04 11:35   ` James Dingwall
  2015-09-04 12:06     ` Jan Beulich
  0 siblings, 1 reply; 5+ messages in thread
From: James Dingwall @ 2015-09-04 11:35 UTC (permalink / raw)
  To: Jan Beulich; +Cc: James Dingwall, xen-devel

On Fri, Sep 04, 2015 at 03:17:38AM -0600, Jan Beulich wrote:
> >>> On 04.09.15 at 10:47, <james-xen@dingwall.me.uk> wrote:
> > I am trying to get a nested virtualisation environment working where it is 
> > started with bios='ovmf'.  When my 
> > hvm configuration is bios='seabios' and I use the xen.gz everything starts 
> > correctly.  Using the xen.efi from 
> > the same build when bios='ovmf' causesthe guest Linux kernel to block when 
> > accessing the emulated disk 
> > controller (scsi or ide) as below.
> > 
> > Is this nested configuration expected to work?
> 
> I don't think there's any expectation either way. You may well be the
> first one to every try. I wouldn't even dare to guess whether the
> issue is in the BIOS, Xen, qemu, or any combination thereof.
> 
> >  If so, are there other 
> > things that need to change apart from 
> > switching the bios configuration value?  I can provide more information from 
> > the guest XEN / kernel logs or the 
> > guest configuration file if that would be useful.
> > 
> > [   31.848214] ata1: lost interrupt (Status 0x50)
> 
> This might hint at a problem with interrupts. A full, maximally verbose
> log (hypervisor and kernel) may tell.
> 
> > [   31.855823] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> > [   31.866516] ata1.00: failed command: READ DMA
> > [   31.873472] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
> > [   31.873472]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
> > [   31.896759] ata1.00: status: { DRDY }
> > [   31.902526] ata1: soft resetting link
> > [   32.076309] ata1.00: configured for MWDMA2
> > [   32.083559] ata1.00: device reported invalid CHS sector 0
> > [   32.094014] ata1: EH complete
> 
> Whereas this might also hint at the BIOS reporting an IOMMU when
> there is none, or some other issue with setting up DMA. Again, full
> logs may provide some insight.
> 
> Jan
> 

I was worried about spamming the list by sending the full logs but if that is likely to have the most useful 
information then here we go...

xen-4.4.3.gz is installed as bootx64.efi but that fails and so it drops to the firmware where I start a shell 
and then execute xen-4.5.1.efi.  I've just noticed the firmware sees the system with 16Gb RAM despite the guest 
configuration being memory=20480 but changing that to 16384 did not change the behaviour.  Xen also seems to 
only see 1 cpu when the configuration is vcpus=4.  iommu=1 is set on the command line because this is an image 
from a physical server but no iommu is detected, changing to 0 has no effect.  If I boot the hvm without xen 
using the same kernel I can get to the ramdisk shell, the log for that boot is the second one below.

The complete xen configuration file is:
name = "nvdom0"
builder = "hvm"
vif = [
    "bridge=ovswan,mac=00:16:3e:01:3d:23",
    "bridge=ovslan,mac=00:16:3e:02:3d:23"
]
vcpus = 4
acpi = 1
apic = 1
pae = 1
xen_platform_pci = 0
nestedhvm = 1
#memory = 16384
memory = 20480
#memory = 24576
vga = "stdvga"
videoram = 16
disk = [
    "phy:/dev/zvol/data/sda,hda,w",
    "phy:/dev/zvol/data/sdb,sda,w"
]
boot = "c"
sdl = 0
vnc = 1
vnclisten = "0.0.0.0"
serial = "pty"
keymap = "en-gb"
usb = 1
usbdevice = "tablet"
on_poweroff = "destroy"
on_crash = "preserve"
on_reboot = "restart"

#bios = "seabios"
bios = "ovmf"
device_model_version = "qemu-xen"


Boot Failed. EFI Floppy
Boot Failed. EFI Floppy 1
Xen 4.4.3 (c/s Thu Aug 20 16:19:38 2015 +0200 git:27b82b0-dirty) EFI loader
No configuration file found.
Boot Succeeded - EFI Hard Drive

 HVM domU
                                                     3.09 GHz
 4.5.0                                               16384 MB RAM


   Continue                                              This selection will
   Select Language            <Standard English>         take you to the Boot
   Boot Manager                                          Manager
   Device Manager
   Boot Maintenance Manager


  =Move Highlight         <Enter>=Select Entry


▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒Ŀ
▒                                Boot Manager                                  ▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

                                                         Device Path :
   Boot Option Menu                                      MemoryMapped(0xB,0x900
                                                         000,0x10FFFFF)/FvFile(
   EFI Floppy                                            7C04A583-9E3E-4F1C-AD6
   EFI Floppy 1                                          5-E05268D0B4D1)
   EFI Hard Drive
   EFI Internal Shell

    and  to change option, ENTER to select an
   option, ESC to exit



▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒Ŀ
▒                                                                              ▒
▒ =Move Highlight         <Enter>=Select Entry      Esc=Exit                   ▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒


UEFI Interactive Shell v2.1
EDK II
UEFI v2.40 (EDK II, 0x00010000)
Mapping table
      FS0: Alias(s):HD7a1:;BLK3:
          PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/HD(1,GPT,49C19AAD-E6FF-478E-8475-259F2C5B587B,0x800,0x100000)
     BLK2: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
     BLK4: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/HD(2,GPT,C20D0CA8-DEBA-4516-9007-E07462A8C7B4,0x100800,0x6FF000)
     BLK0: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x0)
     BLK1: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x1)


Press ESC in 4 seconds to skip startup.nsh or any other key to continue.
Shell> fs0:

FS0:\> cd EFI\Xen
FS0:\EFI\Xen\> cd
FS0:\EFI\Xen\
FS0:\EFI\Xen\> xen-4.5.1.efi
Xen 4.5.1 (c/s ) EFI loader
Using configuration file 'xen.cfg'
vmlinuz: 0x00000000ecdf2000-0x00000000ed4373d0
initrd.img: 0x00000000eac52000-0x00000000ebfffe4d
 __  __            _  _    ____   _
 \ \/ /___ _ __   | || |  | ___| / |
  \  // _ \ '_ \  | || |_ |___ \ | |
  /  \  __/ | | | |__   _| ___) || |
 /_/\_\___|_| |_|    |_|(_)____(_)_|

(XEN) Xen version 4.5.1 (@dingwall.me.uk) (x86_64-pc-linux-gnu-gcc (Gentoo 4.8.4 p1.6, pie-0.6.1) 4.8.4) debug=n 
Wed Aug 26 09:42:27 BST 2015
(XEN) Latest ChangeSet:
(XEN) Bootloader: EFI
(XEN) Command line: xsave=0 iommu=1 basevideo console=vga,com1 com1=115200,8n1 dom0_max_vcpus=4 
dom0_mem=max:1664m tmem tmem_dedup=on tmem_compress=on
(XEN) Video information:
(XEN)  VGA is graphics mode 800x600, 32 bpp
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) EFI RAM map:
(XEN)  0000000000000000 - 000000000009f000 (usable)
(XEN)  000000000009f000 - 00000000000a0000 (ACPI NVS)
(XEN)  0000000000100000 - 00000000eecf5000 (usable)
(XEN)  00000000eecf5000 - 00000000eee44000 (reserved)
(XEN)  00000000eee44000 - 00000000efec4000 (usable)
(XEN)  00000000efec4000 - 00000000eff18000 (reserved)
(XEN)  00000000eff18000 - 00000000eff22000 (usable)
(XEN)  00000000eff22000 - 00000000eff24000 (ACPI data)
(XEN)  00000000eff24000 - 00000000eff28000 (ACPI NVS)
(XEN)  00000000eff28000 - 00000000effd0000 (usable)
(XEN)  00000000effd0000 - 00000000efff0000 (reserved)
(XEN)  00000000efff0000 - 00000000f0000000 (usable)
(XEN)  0000000100000000 - 000000050eded000 (usable)
(XEN) ACPI: System description tables not found
(XEN) System RAM: 20459MB (20950796kB)
(XEN) Domain heap initialised
(XEN) Found and enabled local APIC!
(XEN) Not enabling x2APIC: depends on iommu_supports_eim.
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 3093.178 MHz processor.
(XEN) Initing memory sharing.
(XEN) I/O virtualisation disabled
(XEN) Platform timer is 1.193MHz PIT
(XEN) Allocated console ring of 16 KiB.
(XEN) VMX: Supported advanced features:
(XEN)  - APIC MMIO access virtualisation
(XEN)  - APIC TPR shadow
(XEN)  - Extended Page Tables (EPT)
(XEN)  - Virtual-Processor Identifiers (VPID)
(XEN)  - MSR direct-access bitmap
(XEN)  - Unrestricted Guest
(XEN) HVM: ASIDs enabled.
(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging (HAP) detected
(XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB
(XEN) Brought up 1 CPUs
(XEN) tmem: initialized comp=1 dedup=1 tze=0
(XEN) xenoprof: Initialization failed. Intel processor family 6 model 58is not supported
(XEN) Dom0 has maximum 208 PIRQs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1ff4000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000438000000->000000043c000000 (404562 pages to be allocated)
(XEN)  Init. ramdisk: 000000050d852000->000000050ebffe4d
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff81ff4000
(XEN)  Init. ramdisk: 0000000000000000->0000000000000000
(XEN)  Phys-Mach map: ffffffff81ff4000->ffffffff82334000
(XEN)  Start info:    ffffffff82334000->ffffffff823344b4
(XEN)  Page tables:   ffffffff82335000->ffffffff8234a000
(XEN)  Boot stack:    ffffffff8234a000->ffffffff8234b000
(XEN)  TOTAL:         ffffffff80000000->ffffffff82400000
(XEN)  ENTRY ADDRESS: ffffffff81d3a1f0
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Scrubbing Free RAM on 1 nodes using 1 CPUs
(XEN) 
..................................................................................................................................................................done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 316kB init memory.
mapping kernel into physical memory
about to get started...
[    0.000000] PAT configuration [0-7]: WB  WT  UC- UC  WC  WP  UC  UC
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.19.0-27-generic (root@localhost) (gcc version 4.8.4 (Ubuntu 
4.8.4-2ubuntu1~14.04) ) #30~14.04.1 SMP Wed Sep 2 16:12:37 BST 2015 (Ubuntu 3.19.0-27.29~14.04.1-generic 
3.19.8-ckt5)
[    0.000000] Command line: root=/dev/loop0 ro console=hvc0 console=tty1 earlyprintk=xen nomodeset tmem 
break=modules
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] Released 0 page(s)
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] Xen: [mem 0x000000000009f000-0x000000000009ffff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x0000000068060fff] usable
[    0.000000] Xen: [mem 0x0000000068061000-0x00000000eecf4fff] unusable
[    0.000000] Xen: [mem 0x00000000eecf5000-0x00000000eee43fff] reserved
[    0.000000] Xen: [mem 0x00000000eee44000-0x00000000efec3fff] unusable
[    0.000000] Xen: [mem 0x00000000efec4000-0x00000000eff17fff] reserved
[    0.000000] Xen: [mem 0x00000000eff18000-0x00000000eff21fff] unusable
[    0.000000] Xen: [mem 0x00000000eff22000-0x00000000eff23fff] ACPI data
[    0.000000] Xen: [mem 0x00000000eff24000-0x00000000eff27fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000eff28000-0x00000000effcffff] unusable
[    0.000000] Xen: [mem 0x00000000effd0000-0x00000000effeffff] reserved
[    0.000000] Xen: [mem 0x00000000efff0000-0x00000000efffffff] unusable
[    0.000000] Xen: [mem 0x00000000fee00000-0x00000000feefffff] reserved
[    0.000000] Xen: [mem 0x0000000100000000-0x000000050edecfff] unusable
[    0.000000] bootconsole [xenboot0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.40 by EDK II
[    0.000000] efi:  SMBIOS=0xeed00000
[    0.000000] efi: EFI_MEMMAP is not enabled.
[    0.000000] esrt: ESRT header is not in the memory map.
[    0.000000] SMBIOS 2.7 present.
[    0.000000] AGP: No AGP bridge found
[    0.000000] e820: last_pfn = 0x68061 max_arch_pfn = 0x400000000
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x67e00000-0x67ffffff]
[    0.000000] init_memory_mapping: [mem 0x60000000-0x67dfffff]
[    0.000000] init_memory_mapping: [mem 0x40000000-0x5fffffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x3fffffff]
[    0.000000] init_memory_mapping: [mem 0x68000000-0x68060fff]
[    0.000000] RAMDISK: [mem 0x04000000-0x053adfff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: System description tables not found
[    0.000000] NUMA turned off
[    0.000000] Faking a node at [mem 0x0000000000000000-0x0000000068060fff]
[    0.000000] NODE_DATA(0) allocated [mem 0x67cd1000-0x67cd5fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0x68060fff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x68060fff]
[    0.000000] Initmem setup node 0 [mem 0x00001000-0x68060fff]
[    0.000000] p2m virtual area at ffffc90000000000, size is 40000000
[    0.000000] Remapped 97 page(s)
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] e820: [mem 0xf0000000-0xfedfffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.5.1 (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 30 pages/cpu @ffff880067600000 s85888 r8192 d28800 u2097152
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 419304
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=/dev/loop0 ro console=hvc0 console=tty1 earlyprintk=xen nomodeset 
tmem break=modules
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
(XEN) traps.c:2589:d0v0 Domain attempted WRMSR 00000000c0000081 from 0xe023e00800000000 to 0x0023001000000000.
(XEN) traps.c:2589:d0v0 Domain attempted WRMSR 00000000c0000082 from 0xffff82d080453000 to 0xffffffff817be150.
(XEN) traps.c:2589:d0v0 Domain attempted WRMSR 00000000c0000083 from 0xffff82d080453080 to 0xffffffff817c0750.
(XEN) traps.c:2589:d0v0 Domain attempted WRMSR 0000000000000174 from 0x000000000000e008 to 0x0000000000000010.
(XEN) traps.c:2589:d0v0 Domain attempted WRMSR 0000000000000175 from 0xffff82d080457fc0 to 0x0000000000000000.
(XEN) traps.c:2589:d0v0 Domain attempted WRMSR 0000000000000176 from 0xffff82d0802240a0 to 0xffffffff817c0a60.
(XEN) traps.c:2589:d0v0 Domain attempted WRMSR 00000000c0000083 from 0xffff82d080453080 to 0xffffffff817c0ca0.
(XEN) traps.c:2589:d0v0 Domain attempted WRMSR 00000000c0000084 from 0x0000000000074700 to 0x0000000000047700.
[    0.000000] software IO TLB [mem 0x61800000-0x65800000] (64MB) mapped at [ffff880061800000-ffff8800657fffff]
[    0.000000] Memory: 1565680K/1703932K available (7949K kernel code, 1167K rwdata, 3748K rodata, 1404K init, 
1284K bss, 138252K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16640 nr_irqs:32 16
[    0.000000] xen:events: Using FIFO-based ABI
[    0.000000]  Offload RCU callbacks from all CPUs
[    0.000000]  Offload RCU callbacks from CPUs: 0.
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty1] enabled
[    0.000000] bootconsole [xenboot0] disabled
[    0.000000] PAT configuration [0-7]: WB  WT  UC- UC  WC  WP  UC  UC
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.19.0-27-generic (root@localhost) (gcc version 4.8.4 (Ubuntu 
4.8.4-2ubuntu1~14.04) ) #30~14.04.1 SMP Wed Sep 2 16:12:37 BST 2015 (Ubuntu 3.19.0-27.29~14.04.1-generic 
3.19.8-ckt5)
[    0.000000] Command line: root=/dev/loop0 ro console=hvc0 console=tty1 earlyprintk=xen nomodeset break=modules
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] Released 0 page(s)
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] Xen: [mem 0x000000000009f000-0x000000000009ffff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x0000000068060fff] usable
[    0.000000] Xen: [mem 0x0000000068061000-0x00000000eecf4fff] unusable
[    0.000000] Xen: [mem 0x00000000eecf5000-0x00000000eee43fff] reserved
[    0.000000] Xen: [mem 0x00000000eee44000-0x00000000efec3fff] unusable
[    0.000000] Xen: [mem 0x00000000efec4000-0x00000000eff17fff] reserved
[    0.000000] Xen: [mem 0x00000000eff18000-0x00000000eff21fff] unusable
[    0.000000] Xen: [mem 0x00000000eff22000-0x00000000eff23fff] ACPI data
[    0.000000] Xen: [mem 0x00000000eff24000-0x00000000eff27fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000eff28000-0x00000000effcffff] unusable
[    0.000000] Xen: [mem 0x00000000effd0000-0x00000000effeffff] reserved
[    0.000000] Xen: [mem 0x00000000efff0000-0x00000000efffffff] unusable
[    0.000000] Xen: [mem 0x00000000fee00000-0x00000000feefffff] reserved
[    0.000000] Xen: [mem 0x0000000100000000-0x000000050edecfff] unusable
[    0.000000] bootconsole [xenboot0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.40 by EDK II
[    0.000000] efi:  SMBIOS=0xeed00000
[    0.000000] efi: EFI_MEMMAP is not enabled.
[    0.000000] esrt: ESRT header is not in the memory map.
[    0.000000] SMBIOS 2.7 present.
[    0.000000] AGP: No AGP bridge found
[    0.000000] e820: last_pfn = 0x68061 max_arch_pfn = 0x400000000
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x67e00000-0x67ffffff]
[    0.000000] init_memory_mapping: [mem 0x60000000-0x67dfffff]
[    0.000000] init_memory_mapping: [mem 0x40000000-0x5fffffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x3fffffff]
[    0.000000] init_memory_mapping: [mem 0x68000000-0x68060fff]
[    0.000000] RAMDISK: [mem 0x04000000-0x053adfff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: System description tables not found
[    0.000000] NUMA turned off
[    0.000000] Faking a node at [mem 0x0000000000000000-0x0000000068060fff]
[    0.000000] NODE_DATA(0) allocated [mem 0x67cd1000-0x67cd5fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0x68060fff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x68060fff]
[    0.000000] Initmem setup node 0 [mem 0x00001000-0x68060fff]
[    0.000000] p2m virtual area at ffffc90000000000, size is 40000000
[    0.000000] Remapped 97 page(s)
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] e820: [mem 0xf0000000-0xfedfffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.5.1 (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 30 pages/cpu @ffff880067600000 s85888 r8192 d28800 u2097152
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 419304
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=/dev/loop0 ro console=hvc0 console=tty1 earlyprintk=xen nomodeset 
tmem break=modules
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] software IO TLB [mem 0x61800000-0x65800000] (64MB) mapped at [ffff880061800000-ffff8800657fffff]
[    0.000000] Memory: 1565680K/1703932K available (7949K kernel code, 1167K rwdata, 3748K rodata, 1404K init, 
1284K bss, 138252K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16640 nr_irqs:32 16
[    0.000000] xen:events: Using FIFO-based ABI
[    0.000000]  Offload RCU callbacks from all CPUs
[    0.000000]  Offload RCU callbacks from CPUs: 0.
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty1] enabled
[    0.000000] bootconsole [xenboot0] disabled
[    0.000000] console [hvc0] enabled
[    0.000000] installing Xen timer for CPU 0
[    0.000000] tsc: Detected 3093.178 MHz processor
[    0.008000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6186.35 BogoMIPS 
(lpj=12372712)
[    0.011695] pid_max: default: 32768 minimum: 301
[    0.012409] Security Framework initialized
[    0.016036] AppArmor: AppArmor initialized
[    0.020007] Yama: becoming mindful.
[    0.024536] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.028927] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.032372] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.036031] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.040365] Initializing cgroup subsys memory
[    0.044025] Initializing cgroup subsys devices
[    0.048016] Initializing cgroup subsys freezer
[    0.052018] Initializing cgroup subsys net_cls
[    0.056013] Initializing cgroup subsys blkio
[    0.060018] Initializing cgroup subsys perf_event
[    0.064042] Initializing cgroup subsys net_prio
[    0.068016] Initializing cgroup subsys hugetlb
[    0.072405] CPU: Physical Processor ID: 0
[    0.076008] CPU: Processor Core ID: 0
[    0.080597] mce: CPU supports 2 MCE banks
[    0.084049] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
[    0.084049] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.167547] Freeing SMP alternatives memory: 32K (ffffffff81e84000 - ffffffff81e8c000)
[    0.171470] ftrace: allocating 30109 entries in 118 pages
[    0.180097] cpu 0 spinlock event irq 17
[    0.209720] Performance Events: unsupported p6 CPU model 58 no PMU driver, software events only.
[    0.216624] x86: Booted up 1 node, 1 CPUs
[    0.219436] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.220097] devtmpfs: initialized
[    0.224259]inctrl subsystem
[    0.240115] RTC time:  9:19:29, date: 09/04/15
[    0.243125] NET: Registered protocol family 16
[    0.244019] xen:grant_table: Grant tables using version 1 layout
[    0.248012] Grant table initialized
[    0.250996] PCI: Using configuration type 1 for base access
[    0.253143] ACPI: Interpreter disabled.
[    0.256023] xen:balloon: Initialising balloon driver
[    0.260054] xen_balloon: Initialising balloon driver
[    0.264084] vgaarb: loaded
[    0.267394] SCSI subsystem initialized
[    0.268125] usbcore: registered new interface driver usbfs
[    0.272027] usbcore: registered new interface driver hub
[    0.276029] usbcore: registered new device driver usb
[    0.280195] PCI: Probing PCI hardware
[    0.284053] PCI host bridge to bus 0000:00
[    0.288011] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.292016] pci_bus 0000:00: root bus resource [mem 0x00000000-0xfffffffff]
[    0.296016] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.334803] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.336012] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.340013] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.344011] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.380009] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.384126] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.481077] vgaarb: setting as boot device: PCI:0000:00:03.0
[    0.484000] vgaarb: device added: PCI:0000:00:03.0,decodes=io+mem,owns=io+mem,locks=none
[    0.658491] NetLabel: Initializing
[    0.660010] NetLabel:  domain hash size = 128
[    0.664005] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.668021] NetLabel:  unlabeled traffic allowed by default
[    0.672107] Switched to clocksource xen
[    0.678998] AppArmor: AppArmor Filesystem Enabled
[    0.682732] pnp: PnP ACPI: disabled
[    0.686495] NET: Registered protocol family 2
[    0.690206] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.695886] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.701146] TCP: Hash tables configured (established 16384 bind 16384)
[    0.705976] TCP: reno registered
[    0.708638] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.713622] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.718558] NET: Registered protocol family 1
[    0.722343] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.727097] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.731599] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.738843] Trying to unpack rootfs image as initramfs...
[    0.993293] Freeing initrd memory: 20152K (ffff880004000000 - ffff8800053ae000)
[    1.001451] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    1.007918] RAPL PMU detected, hw unit 2^-16 Joules, API unit is 2^-32 Joules, 3 fixed counters 163840 ms 
ovfl timer
[    1.015854] Scanning for low memory corruption every 60 seconds
[    1.020402] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.025574] Initialise system trusted keyring
[    1.029131] audit: initializing netlink subsys (disabled)
[    1.033285] audit: type=2000 audit(1441358369.897:1): initialized
[    1.038897] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    1.046099] zpool: loaded
[    1.048902] zbud: loaded
[    1.051604] VFS: Disk quotas dquot_6.5.2
[    1.055733] VFS: Dquot-cache hash table entried (default)
[    1.093952] io scheduler cfq registered
[    1.097192] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    1.101588] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    1.107280] efifb: probing for efifb
[    1.110355] efifb: framebuffer at 0xf0000000, mapped to 0xffffc90040400000, using 1876k, total 1875k
[    1.117816] efifb: mode is 800x600x32, linelength=3200, pages=1
[    1.122449] efifb: scrolling: redraw
[    1.125626] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.131187] Console: switching to colour frame buffer device 100x37
[    1.138084] fb0: EFI VGA frame buffer device
[    1.142969] xen:xen_evtchn: Event-channel device installed
[    1.149381] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    1.157989] Linux agpgart interface v0.103
[    1.164282] brd: module loaded
[    1.169291] loop: module loaded
[    1.174623] scsi host0: ata_piix
[    1.179072] scsi host1: ata_piix
[    1.183777] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc520 irq 14
[    1.192034] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc528 irq 15
[    1.199223] libphy: Fixed MDIO Bus: probed
[    1.202671] tun: Universal TUN/TAP device driver, 1.6
[    1.207344] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.214886] xen_netfront: Initialising Xen virtual ethernet driver
[    1.220446] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.226210] ehci-pci: EHCI PCI platform driver
[    1.230120] ehci-platform: EHCI generic platform driver
[    1.234669] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.240264] ohci-pci: OHCI PCI platform driver
[    1.244668] ohci-platform: OHCI generic platform driver
[    1.249638] uhci_hcd: USB Universal Host Controller Interface driver
[    1.258325] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    1.264584] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    1.273332] uhci_hcd 0000:00:01.2: detected 2 ports
[    1.279682] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c500
[    1.287548] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    1.298012] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.308733] usb usb1: Product: UHCI Host Controller
[    1.316312] usb usb1: Manufacturer: Linux 3.19.0-27-generic uhci_hcd
[    1.326807] usb usb1: SerialNumber: 0000:00:01.2
[    1.335295] hub 1-0:1.0: USB hub found
[    1.343430] hub 1-0:1.0: 2 ports detected
[    1.351699] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    1.376929] ata1.00: ATA-7: QEMU HARDDISK, 2.2.0, max UDMA/100
[    1.387276] ata1.00: 8388608 sectors, multi 16: LBA48
[    1.403654] ata1.00: configured for MWDMA2
[    1.411713] scsi 0:0:0:0: Direct-Access     ATA      QEMU HARDDISK    0    PQ: 0 ANSI: 5
[    1.425605] sd 0:0:0:0: [sda] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    1.438165] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.447011] sd 0:0:0:0: [sda] Write Protect is off
[    1.455946] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.616601] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.625921] mousedev: PS/2 mouse device common for all mice
[    1.637824] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    1.653607] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    1.665069] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    1.676792] i2c /dev entries driver
[    1.683411] device-mapper: uevent: version 1.0.3
[    1.692288] usb 1-1: new c_cmos: setting system clock to 2015-09-04 09:19:31 UTC (1441358371)
[    1.917528] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
[    5.112662] usb 1-1: New USB device found, idVendor=0627, idProduct=0001
[    5.126277] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=5
[    5.139889] usb 1-1: Product: QEMU USB Tablet
[    5.148829] usb 1-1: Manufacturer: QEMU
[    5.156658] usb 1-1: SerialNumber: 42
[   31.848126] ata1: lost interrupt (Status 0x50)
[   31.856270] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   31.867656] ata1.00: failed command: READ DMA
[   31.876628] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
[   31.876628]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   31.901212] ata1.00: status: { DRDY }
[   31.908881] ata1: soft resetting link
[   32.086514] ata1.00: configured for MWDMA2
[   32.094305] ata1.00: device reported invalid CHS sector 0
[   32.103392] ata1: EH complete

Linux only boot
vmlinuz root=/dev/loop0 ro console=ttyS0 console=tty1 nomodeset break=modules initrd=\EFI\Xen\initrd.img
[    0.000000] Initializing cgroup subsys cpusetg-lts-vivid-generic
[    0.000000] Initializing cgroup subsys cpuz-lts-vivid-generic
[    0.000000] Initializing cgroup subsys cpuacctefi
[    0.000000] Linux version 3.19.0-27-generic (root@localhost) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) 
) #29~14.04.1 SMP Wed Sep 2 16:12:37 BST 2015 (Ubuntu 3.19.0-27.29~14.04.1-generic 3.19.8-ckt5)
[    0.000000] Command line: vmlinuzroot=/dev/loop0 ro console=ttyS0 console=tty1 nomodeset break=modules initrd=\EFI\Xen\initrd.img
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000eecf4fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000eecf5000-0x00000000eee43fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000eee44000-0x00000000efec3fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000efec4000-0x00000000eff17fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000eff18000-0x00000000eff21fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000eff22000-0x00000000eff23fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000eff24000-0x00000000eff27fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000eff28000-0x00000000effcffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000effd0000-0x00000000effeffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000efff0000-0x00000000efffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000040edecfff] usable
[    0.000000] bootconsole [xenboot0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.40 by EDK II
[    0.000000] efi:  SMBIOS=0xeed00000
[    0.000000] SMBIOS 2.7 present.
[    0.000000] Hypervisor detected: Xen HVM
[    0.000000] Xen version 4.5.
[    0.000000] Xen Platform PCI: unrecognised magic value
[    0.000000] AGP: No AGP bridge found
[    0.000000] e820: last_pfn = 0x40eded max_arch_pfn = 0x400000000
[    0.000000] PAT configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- UC
[    0.000000] e820: last_pfn = 0xf0000 max_arch_pfn = 0x400000000
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x40ea00000-0x40ebfffff]
[    0.000000] init_memory_mapping: [mem 0x400000000-0x40e9fffff]
[    0.000000] init_memory_mapping: [mem 0x3e0000000-0x3ffffffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0xeecf4fff]
[    0.000000] init_memory_mapping: [mem 0xeee44000-0xefec3fff]
[    0.000000] init_memory_mapping: [mem 0xeff18000-0xeff21fff]
[    0.000000] init_memory_mapping: [mem 0xeff28000-0xeffcffff]
[    0.000000] init_memory_mapping: [mem 0xefff0000-0xefffffff]
[    0.000000] init_memory_mapping: [mem 0x100000000-0x3dfffffff]
[    0.000000] init_memory_mapping: [mem 0x40ec00000-0x40edecfff]
[    0.000000] RAMDISK: [mem 0x7ec52000-0x7fffffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: System description tables not found
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000040edecfff]
[    0.000000] NODE_DATA(0) allocated [mem 0x40ede8000-0x40edecfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   [mem 0x100000000-0x40edecfff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0xeecf4fff]
[    0.000000]   node   0: [mem 0xeee44000-0xefec3fff]
[    0.000000]   node   0: [mem 0xeff18000-0xeff21fff]
[    0.000000]   node   0: [mem 0xeff28000-0xeffcffff]
[    0.000000]   node   0: [mem 0xefff0000-0xefffffff]
[    0.000000]   node   0: [mem 0x100000000-0x40edecfff]
[    0.000000] Initmem setup node 0 [mem 0x00001000-0x40edecfff]
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] e820: [mem 0xf0000000-0xffffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on Xen HVM
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 30 pages/cpu @ffff88040e800000 s85888 r8192 d28800 u2097152
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 4121627
[    0.000000] Policy zone: Normal
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form
[    0.000000] AGP: Checking aperture...
[    0.000000] AGP: No AGP bridge found
[    0.000000] Memory: 16363160K/16756488K available (7949K kernel code, 1167K rwdata, 3748K rodata, 1404K init, 1284K bss, 393328K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16640 nr_irqs:32 16
[    0.000000] xen:events: Using FIFO-based ABI
[    0.000000] xen:events: Xen HVM callback vector for event delivery is enabled
[    0.000000]  Offload RCU callbacks from all CPUs
[    0.000000]  Offload RCU callbacks from CPUs: 0.
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty1] enabled
[    0.000000] bootconsole [xenboot0] disabled
[    0.000000] console [ttyS0] enabled
[    0.000000] tsc: Detected 3093.088 MHz processor
[    0.008000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6186.17 BogoMIPS (lpj=12372352)
[    0.009801] pid_max: default: 32768 minimum: 301
[    0.012740] Security Framework initialized
[    0.016016] AppArmor: AppArmor initialized
[    0.018578] Yama: becoming mindful.
[    0.020928] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.031537] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.040931] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.044043] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.052310] Initializing cgroup subsys memory
[    0.056015] Initializing cgroup subsys devices
[    0.064010] Initializing cgroup subsys freezer
[    0.068012] Initializing cgroup subsys net_cls
[    0.072011] Initializing cgroup subsys blkio
[    0.080010] Initializing cgroup subsys perf_event
[    0.084011] Initializing cgroup subsys net_prio
[    0.092010] Initializing cgroup subsys hugetlb
[    0.096152] CPU: Physical Processor ID: 0
[    0.100007] CPU: Processor Core ID: 0
[    0.104565] mce: CPU supports 2 MCE banks
[    0.112049] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
[    0.112049] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.140467] Freeing SMP alternatives memory: 32K (ffffffffa3e84000 - ffffffffa3e8c000)
[    0.148182] ftrace: allocating 30109 entries in 118 pages
[    0.192055] smpboot: weird, boot CPU (#0) not listed by the BIOS
[    0.196010] smpboot: SMP motherboard not detected
[    0.200148] installing Xen timer for CPU 0
[    0.202301] smpboot: SMP disabled
[    0.204000] cpu 0 spinlock event irq 21
[    0.208225] Performance Events: unsupported p6 CPU model 58 no PMU driver, software events only.
[    0.212585] x86: Booted up 1 node, 1 CPUs
[    0.214576] smpboot: Total of 1 processors activated (6186.17 BogoMIPS)
[    0.216047] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.219607] devtmpfs: initialized
[    0.222804] evm: security.selinux
[    0.224005] evm: security.SMACK64
[    0.225776] evm: security.SMACK64EXEC
[    0.227970] evm: security.SMACK64TRANSMUTE
[    0.228005] evm: security.SMACK64MMAP
[    0.230433] evm: security.ima
[    0.232005] evm: security.capability
[    0.234459] pinctrl core: initialized pinctrl subsystem
[    0.236089] RTC time: 11:23:44, date: 09/04/15
[    0.238467] NET: Registered protocol family 16
[    0.240137] cpuidle: using governor ladder
[    0.242766] cpuidle: using governor menu
[    0.244345] PCI: Using configuration type 1 for base access
[    0.248854] ACPI: Interpreter disabled.
[    0.251031] xen:balloon: Initialising balloon driver
[    0.252034] xen_balloon: Initialising balloon driver
[    0.254701] vgaarb: loaded
[    0.256180] SCSI subsystem initialized
[    0.258952] usbcore: registered new interface driver usbfs
[    0.260016] usbcore: registered new interface driver hub
[    0.263985] usbcore: registered new device driver usb
[    0.264202] PCI: Probing PCI hardware
[    0.266751] PCI host bridge to bus 0000:00
[    0.268010] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.272009] pci_bus 0000:00: root bus resource [mem 0x00000000-0xfffffffff]
[    0.276008] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.312152] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.316007] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.319538] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.320006] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.341623] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.344036] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.456642] vgaarb: setting as boot device: PCI:0000:00:03.0
[    0.460000] vgaarb: device added: PCI:0000:00:03.0,decodes=io+mem,owns=io+mem,locks=none
[    0.677008] NetLabel: Initializing
[    0.678819] NetLabel:  domain hash size = 128
[    0.680004] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.682336] NetLabel:  unlabeled traffic allowed by default
[    0.684098] Switched to clocksource xen
[    0.689826] AppArmor: AppArmor Filesystem Enabled
[    0.692220] pnp: PnP ACPI: disabled
[    0.695196] NET: Registered protocol family 2
[    0.697914] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.702334] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.706153] TCP: Hash tables configured (established 131072 bind 65536)
[    0.709327] TCP: reno registered
[    0.710945] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[    0.714017] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[    0.717732] NET: Registered protocol family 1
[    0.720647] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.724106] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.727446] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.733703] Trying to unpack rootfs image as initramfs...
[    0.744442] init_memory_mapping: [mem 0x410000000-0x417ffffff]
[    1.055570] Freeing initrd memory: 20152K (ffff88007ec52000 - ffff880080000000)
[    1.059774] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.062707] software IO TLB [mem 0xe8000000-0xec000000] (64MB) mapped at [ffff8800e8000000-ffff8800ebffffff]
[    1.067484] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    1.071047] RAPL PMU detected, hw unit 2^-16 Joules, API unit is 2^-32 Joules, 3 fixed counters 163840 ms 
ovfl timer
[    1.076203] microcode: CPU0 sig=0x306a9, pf=0x2, revision=0x19
[    1.078946] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    1.082855] Scanning for low memory corruption every 60 seconds
[    1.085790] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.088666] Initialise system trusted keyring
[    1.090786] audit: initializing netlink subsys (disabled)
[    1.093266] audit: type=2000 audit(1441365825.045:1): initialized
[    1.096435] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    1.100336] zpool: loaded
[    1.101623] zbud: loaded
[    1.103214] VFS: Disk quotas dquot_6.5.2
[    1.105323] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.108982] fuse init (API version 7.23)
[    1.111085] Key type big_key registered
[    1.113241] Key type asymmetric registered
[    1.115635] Asymmetric key parser 'x509' registered
[    1.118313] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.122514] io scheduler noop registered
[    1.124401] io scheduler deadline registered (default)
[    1.127270] io scheduler cfq registered
[    1.129466] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    1.132920] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    1.136635] efifb: probing for efifb
[    1.138626] efifb: framebuffer at 0xf0000000, mapped to 0xffffc90001b80000, using 1876k, total 1875k
[    1.144316] efifb: mode is 800x600x32, linelength=3200, pages=1
[    1.148050] efifb: scrolling: redraw
[    1.150439] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.154332] Console: switching to colour frame buffer device 100x37
[    1.158181] fb0: EFI VGA frame buffer device
[    1.160688] xen:xen_evtchn: Event-channel device installed
[    1.163905] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    1.194961] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.202581] Linux agpgart interface v0.103
[    1.207312] brd: module loaded
[    1.210900] loop: module loaded
[    1.215767] scsi host0: ata_piix
[    1.219531] scsi host1: ata_piix
[    1.222855] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc520 irq 14
[    1.230450] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc528 irq 15
[    1.237874] libphy: Fixed MDIO Bus: probed
[    1.242227] tun: Universal TUN/TAP device driver, 1.6
[    1.249014] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.259201] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.267448] ehci-pci: EHCI PCI platform driver
[    1.273426] ehci-platform: EHCI generic platform driver
[    1.279886] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.287829] ohci-pci: OHCI PCI platform driver
[    1.293405] ohci-platform: OHCI generic platform driver
[    1.299924] uhci_hcd: USB Universal Host Controller Interface driver
[    1.310552] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    1.316839] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    1.325677] uhci_hcd 0000:00:01.2: detected 2 ports
[    1.332401] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c500
[    1.339625] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    1.348612] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.358865] usb usb1: Product: UHCI Host Controller
[    1.366085] usb usb1: Manufacturer: Linux 3.19.0-27-generic uhci_hcd
[    1.374839] usb usb1: SerialNumber: 0000:00:01.2
[    1.380642] hub 1-0:1.0: USB hub found
[    1.386074] hub 1-0:1.0: 2 ports detected
[    1.392603] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    1.403969] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.411047] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.423726] ata1.00: ATA-7: QEMU HARDDISK, 2.2.0, max UDMA/100
[    1.431404] ata1.00: 8388608 sectors, multi 16: LBA48
[    1.439358] mousedev: PS/2 mouse device common for all mice
[    1.448671] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    1.459490] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    1.468033] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    1.476418] i2c /dev entries driver
[    1.481983] device-mapper: uevent: version 1.0.3
[    1.489608] ata1.00: configured for MWDMA2
[    1.497003] scsi 0:0:0:0: Direct-Access     ATA      QEMU HARDDISK    0    PQ: 0 ANSI: 5
[    1.507023] sd 0:0:0:0: [sda] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    1.515686] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.522473] sd 0:0:0:0: [sda] Write Protect is off
[    1.528503] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.540323] device-mapper: ioctl: 4.29.0-ioctl (2014-10-28) initialised: dm-devel@redhat.com
[    1.549694] ledtrig-cpu: registered to indicate activity on CPUs
[    1.556806] EFI Variables Facility v0.08 2004-May-17
[    1.566438] aufs 3.x-rcN-20150105
[    1.570976] TCP: cubic registered
[    1.575388] NET: Registered protocol family 10
[    1.581941] NET: Registered protocol family 17
[    1.587703] Key type dns_resolver registered
[    1.593177] Loading compiled-in X.509 certificates
[    1.599960] Loaded X.509 cert 'Magrathea: Glacier signing key: 3ab6be79b1b7eecbae272b00f23775ee0741adc0'
[    1.611511] registered taskstats version 1
[    1.624792]  sda: sda1 sda2
[    1.630589] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.637781] Key type trusted registered
[    1.646976] Key type encrypted registered
[    1.652255] AppArmor: AppArmor sha1 policy hashing enabled
[    1.659717] ima: No TPM chip found, activating TPM-bypass!
[    1.666750] evm: HMAC attrs: 0x1
[    1.672621]   Magic number: 15:306:377
[    1.678083] rtc_cmos rtc_cmos: setting system clock to 2015-09-04 11:23:45 UTC (1441365825)
[    1.689072] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.697831] EDD information not available.
[    1.704516] Freeing unused kernel memory: 1404K (ffffffffa3d25000 - ffffffffa3e84000)
[    1.715080] Write protecting the kernel read-only data: 12288k
[    1.722851] Freeing unused kernel memory: 232K (ffff8800237c6000 - ffff880023800000)
[    1.733172] Freeing unused kernel memory: 348K (ffff880023ba9000 - ffff880023c00000)
[    1.760182] systemd-udevd[104]: starting version 204
[    1.792082] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[    1.817157] 8139cp 0000:00:04.0 eth0: RTL-8139C+ at 0xffffc90001b22400, 00:16:3e:01:3d:23, IRQ 11
[    1.844373] 8139cp 0000:00:05.0 eth1: RTL-8139C+ at 0xffffc90001b28500, 00:16:3e:02:3d:23, IRQ 10
[    1.870893] 8139cp 0000:00:06.0 eth2: RTL-8139C+ at 0xffffc90001b2a600, 00:16:3e:03:3d:23, IRQ 10
[    1.898048] 8139cp 0000:00:07.0 eth3: RTL-8139C+ at 0xffffc90001b2c700, 00:16:3e:04:3d:23, IRQ 11
[    1.910575] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[    1.923902] hidraw: raw HID events driver (C) Jiri Kosina
[    1.934759] 8139too: 8139too Fast Ethernet driver 0.9.28
[    1.944563] usbcore: registered new interface driver usbhid
[    1.952026] usbhid: USB HID core driver
[    1.966778] sym0: <895a> rev 0x0 at pci 0000:00:02.0 irq 10
[    2.116320] usb 1-1: New USB device found, idVendor=0627, idProduct=0001
[    2.120640] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=5
[    2.124619] usb 1-1: Product: QEMU USB Tablet
[    2.127218] usb 1-1: Manufacturer: QEMU
[    2.129673] usb 1-1: SerialNumber: 42
[    2.138458] sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking
[    2.145968] sym0: SCSI BUS has been reset.
[    2.152669] scsi host2: sym-2.2.3
[    2.269760] input: QEMU QEMU USB Tablet as 
/devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:0627:0001.0001/inpu                                                                                                                     
t/input3
[    2.289486] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Pointer [QEMU QEMU USB Tablet] on 
usb-0000:                                                                                                                     
00:01.2-1/input0
[    3.047034] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2
[    5.141175] sym0: unknown interrupt(s) ignored, ISTAT=0x5 DSTAT=0x80 SIST=0x0
[    5.150880] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.2. PQ: 0 ANSI: 5
[    5.161867] scsi target2:0:0: tagged command queuing enabled, command queue depth 16.
[    5.171433] scsi target2:0:0: Beginning Domain Validation
[    5.180902] scsi target2:0:0: Domain Validation skipping write tests
[    5.189206] scsi target2:0:0: Ending Domain Validation
[    5.213690] sd 2:0:0:0: [sdb] 1048576000 512-byte logical blocks: (536 GB/500 GiB)
[    5.220333] sd 2:0:0:0: Attached scsi generic sgCSI disk
[   64.160052] random: nonblocking pool is initialized

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Nested Virtualisation and UEFI
  2015-09-04 11:35   ` James Dingwall
@ 2015-09-04 12:06     ` Jan Beulich
  2015-09-04 13:03       ` James Dingwall
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Beulich @ 2015-09-04 12:06 UTC (permalink / raw)
  To: James Dingwall; +Cc: James Dingwall, xen-devel

>>> On 04.09.15 at 13:35, <james@dingwall.me.uk> wrote:
> I was worried about spamming the list by sending the full logs but if that 
> is likely to have the most useful 
> information then here we go...

And indeed not all of it would have been needed:

> FS0:\EFI\Xen\> xen-4.5.1.efi
> Xen 4.5.1 (c/s ) EFI loader
> Using configuration file 'xen.cfg'
> vmlinuz: 0x00000000ecdf2000-0x00000000ed4373d0
> initrd.img: 0x00000000eac52000-0x00000000ebfffe4d
>  __  __            _  _    ____   _
>  \ \/ /___ _ __   | || |  | ___| / |
>   \  // _ \ '_ \  | || |_ |___ \ | |
>   /  \  __/ | | | |__   _| ___) || |
>  /_/\_\___|_| |_|    |_|(_)____(_)_|
> 
> (XEN) Xen version 4.5.1 (@dingwall.me.uk) (x86_64-pc-linux-gnu-gcc (Gentoo 
> 4.8.4 p1.6, pie-0.6.1) 4.8.4) debug=n 
> Wed Aug 26 09:42:27 BST 2015
> (XEN) Latest ChangeSet:
> (XEN) Bootloader: EFI
> (XEN) Command line: xsave=0 iommu=1 basevideo console=vga,com1 
> com1=115200,8n1 dom0_max_vcpus=4 
> dom0_mem=max:1664m tmem tmem_dedup=on tmem_compress=on
> (XEN) Video information:
> (XEN)  VGA is graphics mode 800x600, 32 bpp
> (XEN) Disc information:
> (XEN)  Found 0 MBR signatures
> (XEN)  Found 1 EDD information structures
> (XEN) EFI RAM map:
> (XEN)  0000000000000000 - 000000000009f000 (usable)
> (XEN)  000000000009f000 - 00000000000a0000 (ACPI NVS)
> (XEN)  0000000000100000 - 00000000eecf5000 (usable)
> (XEN)  00000000eecf5000 - 00000000eee44000 (reserved)
> (XEN)  00000000eee44000 - 00000000efec4000 (usable)
> (XEN)  00000000efec4000 - 00000000eff18000 (reserved)
> (XEN)  00000000eff18000 - 00000000eff22000 (usable)
> (XEN)  00000000eff22000 - 00000000eff24000 (ACPI data)
> (XEN)  00000000eff24000 - 00000000eff28000 (ACPI NVS)
> (XEN)  00000000eff28000 - 00000000effd0000 (usable)
> (XEN)  00000000effd0000 - 00000000efff0000 (reserved)
> (XEN)  00000000efff0000 - 00000000f0000000 (usable)
> (XEN)  0000000100000000 - 000000050eded000 (usable)
> (XEN) ACPI: System description tables not found

Here is the reason for e.g. interrupts not working. There may be
ways from the EFI shell to investigate what (presumably in the
System Table or Configuration Table) is wrong or not being
recognized properly by xen.efi; otherwise xen.efi may need
instrumenting.

Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Nested Virtualisation and UEFI
  2015-09-04 12:06     ` Jan Beulich
@ 2015-09-04 13:03       ` James Dingwall
  0 siblings, 0 replies; 5+ messages in thread
From: James Dingwall @ 2015-09-04 13:03 UTC (permalink / raw)
  To: Jan Beulich; +Cc: James Dingwall, xen-devel

On Fri, Sep 04, 2015 at 06:06:30AM -0600, Jan Beulich wrote:
> >>> On 04.09.15 at 13:35, <james@dingwall.me.uk> wrote:
> > I was worried about spamming the list by sending the full logs but if that 
> > is likely to have the most useful 
> > information then here we go...
> 
> And indeed not all of it would have been needed:
> 
> > FS0:\EFI\Xen\> xen-4.5.1.efi
> > Xen 4.5.1 (c/s ) EFI loader
> > Using configuration file 'xen.cfg'
> > vmlinuz: 0x00000000ecdf2000-0x00000000ed4373d0
> > initrd.img: 0x00000000eac52000-0x00000000ebfffe4d
> >  __  __            _  _    ____   _
> >  \ \/ /___ _ __   | || |  | ___| / |
> >   \  // _ \ '_ \  | || |_ |___ \ | |
> >   /  \  __/ | | | |__   _| ___) || |
> >  /_/\_\___|_| |_|    |_|(_)____(_)_|
> > 
> > (XEN) Xen version 4.5.1 (@dingwall.me.uk) (x86_64-pc-linux-gnu-gcc (Gentoo 
> > 4.8.4 p1.6, pie-0.6.1) 4.8.4) debug=n 
> > Wed Aug 26 09:42:27 BST 2015
> > (XEN) Latest ChangeSet:
> > (XEN) Bootloader: EFI
> > (XEN) Command line: xsave=0 iommu=1 basevideo console=vga,com1 
> > com1=115200,8n1 dom0_max_vcpus=4 
> > dom0_mem=max:1664m tmem tmem_dedup=on tmem_compress=on
> > (XEN) Video information:
> > (XEN)  VGA is graphics mode 800x600, 32 bpp
> > (XEN) Disc information:
> > (XEN)  Found 0 MBR signatures
> > (XEN)  Found 1 EDD information structures
> > (XEN) EFI RAM map:
> > (XEN)  0000000000000000 - 000000000009f000 (usable)
> > (XEN)  000000000009f000 - 00000000000a0000 (ACPI NVS)
> > (XEN)  0000000000100000 - 00000000eecf5000 (usable)
> > (XEN)  00000000eecf5000 - 00000000eee44000 (reserved)
> > (XEN)  00000000eee44000 - 00000000efec4000 (usable)
> > (XEN)  00000000efec4000 - 00000000eff18000 (reserved)
> > (XEN)  00000000eff18000 - 00000000eff22000 (usable)
> > (XEN)  00000000eff22000 - 00000000eff24000 (ACPI data)
> > (XEN)  00000000eff24000 - 00000000eff28000 (ACPI NVS)
> > (XEN)  00000000eff28000 - 00000000effd0000 (usable)
> > (XEN)  00000000effd0000 - 00000000efff0000 (reserved)
> > (XEN)  00000000efff0000 - 00000000f0000000 (usable)
> > (XEN)  0000000100000000 - 000000050eded000 (usable)
> > (XEN) ACPI: System description tables not found
> 
> Here is the reason for e.g. interrupts not working. There may be
> ways from the EFI shell to investigate what (presumably in the
> System Table or Configuration Table) is wrong or not being
> recognized properly by xen.efi; otherwise xen.efi may need
> instrumenting.

Since I was using an external OVMF.fd I rebuilt the the dom0 Xen packages without 
--with-system-ovmf=/usr/share/ovmf/OVMF.fd just in case it was doing something wrong...  Now the domU boots 
correctly and I have a nested UEFI environment.

External:
UEFI Interactive Shell v2.1
EDK II
UEFI v2.40 (EDK II, 0x00010000)

Xen:
Shell> ver
UEFI Interactive Shell v2.0
EDK II
UEFI v2.40 (EDK II, 0x00010000)

I wouldn't know where to start looking for relevant differences between the two versions though and whether it 
is a regression in the firmware or xen doesn't want to play with the newer version.

Thanks for your help,
James

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-04 13:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-04  8:47 Nested Virtualisation and UEFI James Dingwall
2015-09-04  9:17 ` Jan Beulich
2015-09-04 11:35   ` James Dingwall
2015-09-04 12:06     ` Jan Beulich
2015-09-04 13:03       ` James Dingwall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.