Skip to contentSkip to conversation

MSI regression with xen hvm domUs using virtio devices

DISCUSSION Fabio Fantoni 1 participant 1 message Feb 4, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

I'm forwarding this to xen-devel too.
I have also tried with latest xen-unstable (commit feee1ace547cf6247a358d082dd64fa762be2488) and also with latest qemu upstream unstable (commit 8cfc114a2f293c40077d1bdb7500b29db359ca22) but the problem persist.

Il 03/01/2014 22:14, Konrad Rzeszutek Wilk ha scritto:

Quoted 7 lines · Fabio Fantoni
Quoted 5 lines

Hi, sorry for bothering you.
Virtio devices work on xen hvm domUs on windows and on linux with old kernel (for example Squeeze with kernel 2.6.32), while on Precise, Wheezy, Saucy and Sid with kernel >=3.2 they work only with pci=nomsi on the kernel boot line.

OK.

Quoted 8 lines
Quoted 3 lines

I tried debian experimental kernel (3.12.3) with this patch you made:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0e4ccb1505a9e29c50170742ce26ac4655baab2d
but the problem persists.

Right, that fixes a different issue.

Quoted 3 lines

If you know something else that I can try to solve this problem I'm all ears.
Otherwise where could I report this problem?

So, what is it that does not work?

Thanks for your reply.
All virtio devices with xen hvm domUs with kernel > 2.6.32 don't work without adding pci=nomsi on linux boot kernel line. (the regression could be between 2.6.32 and 3.2, I not tested kernels between 2.6.32 and 3.2)
I tested with spice vdagent (that use virtio-serial) and virtio-net. I've used spice vdagent since end of 2011, mainly on window domUs. It works correctly and also with xen pv driver loaded and is on xen upstream:
http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=17b29c1cd830acf8b8ecbc6080264cc5b8ad3c6f
Virtio-net can be setted simply on xl cfg, for example:
vif=['model=virtio-net-pci,bridge=xenbr0'], even if is not officially supported on xen upstream for now and was working since wei liu "virtio on xen" project:
http://wiki.xen.org/wiki/Virtio_On_Xen
virtio on xen originally (on 2011) required pci=nomsi in order to works but after this Wei Liu qemu patch (see below) it works out of the box:
http://git.qemu.org/?p=qemu.git;a=commit;h=f1dbf015dfb0aa7f66f710a1f1bc58b662951de2
About virtio-net there is a regression in qemu 1.6, I have narrowed down with bisect (one commit between 4 Jul 2013 and 22 Jul 2013). But this is little out of topic.

What I'm interested in is mainly to solve this regression/problem with kernel > 2.6.32 with virtio on xen in order to have vdagent working out of the box in all cases. (also with newer kernel without pci=nomsi)

Quoted 3 lines

Do you see errors on the console?
Does /proc/interrupts show any number of MSI interrupts going up? Is there something obvious in /var/log/xen/qemu-* ?

Only these:
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error
xen be: qdisk-768: xc_gnttab_set_max_grants failed: Invalid argument but I think that are not related to this problem, are showed also on domUs without virtio devices.

Quoted 3 lines

What does the lspci look like in your earlier kernsl (The ones that worked?) OR your /proc/interrupts?

/proc/interrupts seems different from old kernel working without pci=nomsi and new kernel with both pci=nomsi and not.

On attachments some logs about 3 tests:
- squeeze (debian 6 with kernel 2.6.32) with vdagent and virtio-net, working (*-squeeze.txt), cmdline: pci=nomsi xen_emul_unplug=never (for virtio-net)
- precise (ubuntu 12.04 LTS) with vdagent and virtio-net, working (*-precise-nomsi.txt), cmdline: pci=nomsi xen_emul_unplug=never (for virtio-net)
- precise (ubuntu 12.04 LTS) with vdagent, not working (*-precise-onlyvdagent.txt), cmdline: (blank)

The third test have also xl -vvv create and xl dmesg logs only vdagent to have all working also with xen pv enabled.

When virtio are not working I not saw particular error, only that vdagent is not working because does not create /dev/virtio-ports/com.redhat.spice.0.
*
The only thing I have noticed is the interrupt difference on virtio devices beetwen squeeze test (PCI-MSI-edge), precise test working (xen-pirq-ioapic-level) and precise not working (xen-pirq-msi-x).*

If you need more details and/or tests tell me and I'll post them.

Thanks for any reply.

CPU0 CPU1

   0:         22          0   IO-APIC-edge      timer
   1:         47          0   IO-APIC-edge      i8042
   6:          2          0   IO-APIC-edge      floppy
   8:          1          0   IO-APIC-edge      rtc0
   9:          0          0   IO-APIC-fasteoi   acpi
  12:        102          0   IO-APIC-edge      i8042
  14:       1373          0   IO-APIC-edge      ata_piix
  15:          0          0   IO-APIC-edge      ata_piix
  16:       2360          0  xen-percpu-virq      timer0
  17:          0       1992  xen-percpu-virq      timer1
  18:          0          0   xen-dyn-event     xenbus
  48:          0          0   PCI-MSI-edge      virtio1-config
  49:        580          0   PCI-MSI-edge      virtio1-input
  50:          1          0   PCI-MSI-edge      virtio1-output
  51:          0          0   PCI-MSI-edge      virtio0-config
  52:          0          0   PCI-MSI-edge      virtio0-input
 NMI:          0          0   Non-maskable interrupts
 LOC:          0          0   Local timer interrupts
 SPU:          0          0   Spurious interrupts
 PMI:          0          0   Performance monitoring interrupts
 PND:          0          0   Performance pending work
 RES:       1134       1152   Rescheduling interrupts
 CAL:          6        480   Function call interrupts
 TLB:        160        279   TLB shootdowns
 TRM:          0          0   Thermal event interrupts
 THR:          0          0   Threshold APIC interrupts
 MCE:          0          0   Machine check exceptions
 MCP:          2          2   Machine check polls

ERR: 0
MIS: 0

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master])

	Subsystem: Red Hat, Inc Qemu virtual machine
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at c140 [size=16]
	Kernel driver in use: ata_piix

00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 9
Kernel modules: i2c-piix4

00:02.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
Subsystem: XenSource, Inc. Xen Platform Device
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at c000 [size=256]
Region 1: Memory at f0000000 (32-bit, prefetchable) [size=16M]

00:03.0 Communication controller: Red Hat, Inc Virtio console
Subsystem: Red Hat, Inc Device 0003
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 28
Region 0: I/O ports at c100 [size=32]
Region 1: Memory at f2020000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] MSI-X: Enable- Count=32 Masked-
Vector table: BAR=1 offset=00000000
PBA: BAR=1 offset=00000800
Kernel driver in use: virtio-pci

00:04.0 VGA compatible controller: Device 1234:1111 (prog-if 00 [VGA controller])

	Subsystem: Red Hat, Inc Device 1100
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at f1000000 (32-bit, prefetchable) [size=16M]
	Region 2: Memory at f2021000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at f2000000 [disabled] [size=64K]

00:05.0 Ethernet controller: Red Hat, Inc Virtio network device
Subsystem: Red Hat, Inc Device 0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 36
Region 0: I/O ports at c120 [size=32]
Region 1: Memory at f2022000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at f2010000 [disabled] [size=64K]
Capabilities: [40] MSI-X: Enable- Count=3 Masked-
Vector table: BAR=1 offset=00000000
PBA: BAR=1 offset=00000800
Kernel driver in use: virtio-pci

CPU0 CPU1

   0:         27          0   IO-APIC-edge      timer
   1:         56          0  xen-pirq-ioapic-edge  i8042
   6:          2          0  xen-pirq-ioapic-edge  floppy
   8:          2          0  xen-pirq-ioapic-edge  rtc0
   9:          0          0   IO-APIC-fasteoi   acpi
  12:        142          0  xen-pirq-ioapic-edge  i8042
  14:      11019          0   IO-APIC-edge      ata_piix
  15:          0          0   IO-APIC-edge      ata_piix
  28:        724          0  xen-pirq-ioapic-level  virtio0
  36:        680          0  xen-pirq-ioapic-level  virtio1
  64:      11202          0  xen-percpu-virq      timer0
  65:       6148          0  xen-percpu-ipi       resched0
  66:          0          0  xen-percpu-ipi       callfunc0
  67:          0          0  xen-percpu-virq      debug0
  68:        113          0  xen-percpu-ipi       callfuncsingle0
  69:          0          0  xen-percpu-ipi       spinlock0
  70:          0          0  xen-percpu-ipi       spinlock1
  71:          0      10132  xen-percpu-virq      timer1
  72:          0       6033  xen-percpu-ipi       resched1
  73:          0          0  xen-percpu-ipi       callfunc1
  74:          0          0  xen-percpu-virq      debug1
  75:          0       5452  xen-percpu-ipi       callfuncsingle1
  76:          0          0   xen-dyn-event     xenbus
 NMI:          0          0   Non-maskable interrupts
 LOC:          0          0   Local timer interrupts
 SPU:          0          0   Spurious interrupts
 PMI:          0          0   Performance monitoring interrupts
 IWI:          0          0   IRQ work interrupts
 RES:       6148       6033   Rescheduling interrupts
 CAL:        113       5452   Function call interrupts
 TLB:        921        709   TLB shootdowns
 TRM:          0          0   Thermal event interrupts
 THR:          0          0   Threshold APIC interrupts
 MCE:          0          0   Machine check exceptions
 MCP:          3          3   Machine check polls

ERR: 0
MIS: 0

xl -vvv create /etc/xen/PRECISEHVM.cfg
Parsing config from /etc/xen/PRECISEHVM.cfg
libxl: debug: libxl_create.c:1339:do_domain_create: ao 0x1bda1a0: create: how=(nil) callback=(nil) poller=0x1bda660
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=unknown
libxl: debug: libxl_device.c:197:disk_try_backend: Disk vdev=hda, backend phy unsuitable as phys path not a block device
libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk vdev=hda, using backend qdisk
libxl: debug: libxl_create.c:783:initiate_domain_create: running bootloader
libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run: not a PV domain, skipping bootloader
libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1bda9e8: deregister unregistered
libxl: debug: libxl_numa.c:475:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=8, nr_vcpus=10, free_memkb=10064
libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement candidate with 1 nodes, 8 cpus and 10064 KB free selected
xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0x19f268
xc: detail: elf_parse_binary: memory: 0x100000 -> 0x29f268
xc: detail: VIRTUAL MEMORY ARRANGEMENT:

  Loader:        0000000000100000->000000000029f268
  Modules:       0000000000000000->0000000000000000
  TOTAL:         0000000000000000->000000003f000000

ENTRY ADDRESS: 0000000000100000
xc: detail: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000001f7
1GB PAGES: 0x0000000000000000
xc: detail: elf_load_binary: phdr 0 at 0x7f6c081b9000 -> 0x7f6c0834f0ed
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=hda spec.backend=qdisk
libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1bdc440: deregister unregistered
libxl: debug: libxl_dm.c:1316:libxl__spawn_local_dm: Spawning device-model /usr/lib/xen/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: /usr/lib/xen/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -xen-domid
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: 6
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -chardev
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server,nowait
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -mon
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -nodefaults
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -name
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: PRECISEHVM
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -k
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: it
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -spice
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: port=6002,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on,disable-copy-paste
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: virtio-serial
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -chardev
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: spicevmc,id=vdagent,name=vdagent
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: virtserialport,chardev=vdagent,name=com.redhat.spice.0
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: VGA
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -boot
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: order=c
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -smp
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: 2,maxcpus=2
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: rtl8139,id=nic0,netdev=net0,mac=00:16:3e:1b:18:e3
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -netdev
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: type=tap,id=net0,ifname=vif6.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -machine
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: xenfv
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -m
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: 1008
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: -drive
libxl: debug: libxl_dm.c:1318:libxl__spawn_local_dm: file=/mnt/vm/disks/PRECISEHVM.disk1.xm,if=ide,index=0,media=disk,format=raw,cache=writeback
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x1bdac20 wpath=/local/domain/0/device-model/6/state token=3/0: register slotnum=3
libxl: debug: libxl_create.c:1353:do_domain_create: ao 0x1bda1a0: inprogress: poller=0x1bda660, flags=i
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1bdac20 wpath=/local/domain/0/device-model/6/state token=3/0: event epath=/local/domain/0/device-model/6/state
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1bdac20 wpath=/local/domain/0/device-model/6/state token=3/0: event epath=/local/domain/0/device-model/6/state
libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0x1bdac20 wpath=/local/domain/0/device-model/6/state token=3/0: deregister slotnum=3
libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1bdac20: deregister unregistered
libxl: debug: libxl_qmp.c:697:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-6
libxl: debug: libxl_qmp.c:297:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:547:qmp_send_prepare: next qmp command: '{

    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:297:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:547:qmp_send_prepare: next qmp command: '{
    "execute": "query-chardev",
    "id": 2
}
'
libxl: debug: libxl_qmp.c:297:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:547:qmp_send_prepare: next qmp command: '{
    "execute": "query-vnc",
    "id": 3
}

'
libxl: debug: libxl_qmp.c:297:qmp_handle_response: message type: return
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x1bdf808 wpath=/local/domain/0/backend/vif/6/0/state token=3/1: register slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1bdf808 wpath=/local/domain/0/backend/vif/6/0/state token=3/1: event epath=/local/domain/0/backend/vif/6/0/state
libxl: debug: libxl_event.c:646:devstate_watch_callback: backend /local/domain/0/backend/vif/6/0/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1bdf808 wpath=/local/domain/0/backend/vif/6/0/state token=3/1: event epath=/local/domain/0/backend/vif/6/0/state
libxl: debug: libxl_event.c:642:devstate_watch_callback: backend /local/domain/0/backend/vif/6/0/state wanted state 2 ok
libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0x1bdf808 wpath=/local/domain/0/backend/vif/6/0/state token=3/1: deregister slotnum=3
libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1bdf808: deregister unregistered
libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge online
libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1bdf890: deregister unregistered
libxl: debug: libxl_device.c:1022:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge add
libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1bdf890: deregister unregistered
libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1bdf890: deregister unregistered
libxl: debug: libxl_event.c:1730:libxl__ao_progress_report: ao 0x1bda1a0: progress report: ignored
libxl: debug: libxl_event.c:1560:libxl__ao_complete: ao 0x1bda1a0: complete, rc=0
libxl: debug: libxl_event.c:1532:libxl__ao__destroy: ao 0x1bda1a0: destroy
xc: debug: hypercall buffer: total allocations:523 total releases:523
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:515 misses:4 toobig:4

(d6) HVM Loader
(d6) Detected Xen v4.4-unstable
(d6) Xenbus rings @0xfeffc000, event channel 4
(d6) System requested SeaBIOS
(d6) CPU speed is 2661 MHz
(d6) Relocating guest memory for lowmem MMIO space disabled (XEN) irq.c:270: Dom6 PCI link 0 changed 0 -> 5
(d6) PCI-ISA link 0 routed to IRQ5
(XEN) irq.c:270: Dom6 PCI link 1 changed 0 -> 10
(d6) PCI-ISA link 1 routed to IRQ10
(XEN) irq.c:270: Dom6 PCI link 2 changed 0 -> 11
(d6) PCI-ISA link 2 routed to IRQ11
(XEN) irq.c:270: Dom6 PCI link 3 changed 0 -> 5
(d6) PCI-ISA link 3 routed to IRQ5
(d6) pci dev 01:3 INTA->IRQ10
(d6) pci dev 02:0 INTA->IRQ11
(d6) pci dev 03:0 INTA->IRQ5
(d6) pci dev 05:0 INTA->IRQ10
(d6) No RAM in high memory; setting high_mem resource base to 100000000 (d6) pci dev 02:0 bar 14 size 001000000: 0f0000008
(d6) pci dev 04:0 bar 10 size 001000000: 0f1000008
(d6) pci dev 04:0 bar 30 size 000010000: 0f2000000
(d6) pci dev 05:0 bar 30 size 000010000: 0f2010000
(d6) pci dev 03:0 bar 14 size 000001000: 0f2020000
(d6) pci dev 04:0 bar 18 size 000001000: 0f2021000
(d6) pci dev 02:0 bar 10 size 000000100: 00000c001
(d6) pci dev 05:0 bar 10 size 000000100: 00000c101
(d6) pci dev 05:0 bar 14 size 000000100: 0f2022000
(d6) pci dev 03:0 bar 10 size 000000020: 00000c201
(d6) pci dev 01:1 bar 20 size 000000010: 00000c221
(d6) Multiprocessor initialisation:
(d6) - CPU0 ... 36-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... done. (d6) - CPU1 ... 36-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... done. (d6) Testing HVM environment:
(d6) - REP INSB across page boundaries ... passed
(d6) - GS base MSRs and SWAPGS ... passed
(d6) Passed 2 of 2 tests
(d6) Writing SMBIOS tables ...
(d6) Loading SeaBIOS ...
(d6) Creating MP tables ...
(d6) Loading ACPI ...
(d6) vm86 TSS at fc00a080
(d6) BIOS map:
(d6) 10000-100d3: Scratch space
(d6) e0000-fffff: Main BIOS
(d6) E820 table:

(d6)  [00]: 00000000:00000000 - 00000000:000a0000: RAM
(d6)  HOLE: 00000000:000a0000 - 00000000:000e0000
(d6)  [01]: 00000000:000e0000 - 00000000:00100000: RESERVED
(d6)  [02]: 00000000:00100000 - 00000000:3f000000: RAM
(d6)  HOLE: 00000000:3f000000 - 00000000:fc000000
(d6)  [03]: 00000000:fc000000 - 00000001:00000000: RESERVED

(d6) Invoking SeaBIOS ...
(d6) SeaBIOS (version debian/1.7.3-2-0-gd3d3d64-dirty-20131205_122724-testXG01OX) (d6)
(d6) Found Xen hypervisor signature at 40000000
(d6) xen: copy e820...
(d6) Relocating init from 0x000e1f51 to 0x3efe05b0 (size 63875)
(d6) CPU Mhz=2661
(d6) Found 8 PCI devices (max PCI bus is 00)
(d6) Allocated Xen hypercall page at 3efff000
(d6) Detected Xen v4.4-unstable
(d6) xen: copy BIOS tables...
(d6) Copying SMBIOS entry point from 0x00010010 to 0x000f18c0
(d6) Copying MPTABLE from 0xfc001170/fc001180 to 0x000f17c0
(d6) Copying PIR from 0x00010030 to 0x000f1740
(d6) Copying ACPI RSDP from 0x000100b0 to 0x000f1710
(d6) Using pmtimer, ioport 0xb008, freq 3579 kHz
(d6) Scan for VGA option rom
(d6) WARNING! Found unaligned PCI rom (vd=1234:1111)
(d6) Running option rom at c000:0003
(XEN) stdvga.c:147:d6 entering stdvga and caching modes
(d6) Turning on vga text mode console
(d6) SeaBIOS (version debian/1.7.3-2-0-gd3d3d64-dirty-20131205_122724-testXG01OX) (d6) Machine UUID 6238c6a6-e67a-49a1-a98a-112549d4bb06
(d6) Found 0 lpt ports
(d6) Found 0 serial ports
(d6) ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9)
(d6) ATA controller 2 at 170/374/0 (irq 15 dev 9)
(d6) ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (10000 MiBytes)
(d6) Searching bootorder for: /pci@i0cf8/*@1,1/drive@0/disk@0
(d6) PS2 keyboard initialized
(d6) All threads complete.
(d6) Scan for option roms
(d6) Running option rom at ca00:0003
(d6) pmm call arg1=1
(d6) pmm call arg1=0
(d6) pmm call arg1=1
(d6) pmm call arg1=0
(d6) Searching bootorder for: /pci@i0cf8/*@5
(d6)
(d6) Press F12 for boot menu.
(d6)
(d6) Searching bootorder for: HALT
(d6) drive 0x000f16c0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=20480000 (d6) Space available for UMB: cb000-ef000, f0000-f16c0
(d6) Returned 61440 bytes of ZoneHigh
(d6) e820 map has 6 items:

(d6)   0: 0000000000000000 - 000000000009fc00 = 1 RAM
(d6)   1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
(d6)   2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
(d6)   3: 0000000000100000 - 000000003efff000 = 1 RAM
(d6)   4: 000000003efff000 - 000000003f000000 = 2 RESERVED
(d6)   5: 00000000fc000000 - 0000000100000000 = 2 RESERVED

(d6) enter handle_19:
(d6) NULL
(d6) Booting from Hard Disk...
(d6) Booting from 0000:7c00
(XEN) irq.c:375: Dom6 callback via changed to Direct Vector 0xf3 (XEN) irq.c:270: Dom6 PCI link 0 changed 5 -> 0
(XEN) irq.c:270: Dom6 PCI link 1 changed 10 -> 0
(XEN) irq.c:270: Dom6 PCI link 2 changed 11 -> 0
(XEN) irq.c:270: Dom6 PCI link 3 changed 5 -> 0
(XEN) grant_table.c:289:d0 Increased maptrack size to 2 frames

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master])

	Subsystem: Red Hat, Inc Qemu virtual machine
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at c220 [size=16]
	Kernel driver in use: ata_piix

00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 9
Kernel modules: i2c-piix4

00:02.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
Subsystem: XenSource, Inc. Xen Platform Device
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 24
Region 0: I/O ports at c000 [size=256]
Region 1: Memory at f0000000 (32-bit, prefetchable) [size=16M]
Kernel driver in use: xen-platform-pci

00:03.0 Communication controller: Red Hat, Inc Virtio console
Subsystem: Red Hat, Inc Device 0003
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 28
Region 0: I/O ports at c200 [size=32]
Region 1: Memory at f2020000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] MSI-X: Enable+ Count=32 Masked-
Vector table: BAR=1 offset=00000000
PBA: BAR=1 offset=00000800
Kernel driver in use: virtio-pci

00:04.0 VGA compatible controller: Device 1234:1111 (prog-if 00 [VGA controller])

	Subsystem: Red Hat, Inc Device 1100
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at f1000000 (32-bit, prefetchable) [size=16M]
	Region 2: Memory at f2021000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at f2000000 [disabled] [size=64K]

CPU0 CPU1

   0:         26          0   IO-APIC-edge      timer
   1:         10          0  xen-pirq-ioapic-edge  i8042
   6:          2          0  xen-pirq-ioapic-edge  floppy
   8:          2          0  xen-pirq-ioapic-edge  rtc0
   9:          0          0   IO-APIC-fasteoi   acpi
  12:       2882          0  xen-pirq-ioapic-edge  i8042
  14:          0          0   IO-APIC-edge      ata_piix
  15:          0          0   IO-APIC-edge      ata_piix
  64:      38268          0  xen-percpu-virq      timer0
  65:      12302          0  xen-percpu-ipi       resched0
  66:          0          0  xen-percpu-ipi       callfunc0
  67:          0          0  xen-percpu-virq      debug0
  68:         95          0  xen-percpu-ipi       callfuncsingle0
  69:          0          0  xen-percpu-ipi       spinlock0
  70:          0          0  xen-percpu-ipi       spinlock1
  71:          0      29568  xen-percpu-virq      timer1
  72:          0      14375  xen-percpu-ipi       resched1
  73:          0          0  xen-percpu-ipi       callfunc1
  74:          0          0  xen-percpu-virq      debug1
  75:          0        104  xen-percpu-ipi       callfuncsingle1
  76:        306          0   xen-dyn-event     xenbus
  77:       5790          0   xen-dyn-event     blkif
  78:       8987          0   xen-dyn-event     eth0
  79:          0          0  xen-pirq-msi-x     virtio0-config
  80:          0          0  xen-pirq-msi-x     virtio0-virtqueues
  81:         47          0   xen-dyn-event     vkbd
 NMI:          0          0   Non-maskable interrupts
 LOC:          0          0   Local timer interrupts
 SPU:          0          0   Spurious interrupts
 PMI:          0          0   Performance monitoring interrupts
 IWI:          0          0   IRQ work interrupts
 RES:      12302      14375   Rescheduling interrupts
 CAL:         95        104   Function call interrupts
 TLB:        770        933   TLB shootdowns
 TRM:          0          0   Thermal event interrupts
 THR:          0          0   Threshold APIC interrupts
 MCE:          0          0   Machine check exceptions
 MCP:         28         28   Machine check polls

ERR: 0
MIS: 0

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master])

	Subsystem: Red Hat, Inc Qemu virtual machine
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at c140 [size=16]
	Kernel driver in use: ata_piix

00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Subsystem: Red Hat, Inc Qemu virtual machine
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 9

00:02.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
Subsystem: XenSource, Inc. Xen Platform Device
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at c000 [size=256]
Region 1: Memory at f0000000 (32-bit, prefetchable) [size=16M]

00:03.0 Communication controller: Red Hat, Inc Virtio console
Subsystem: Red Hat, Inc Device 0003
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 28
Region 0: I/O ports at c100 [size=32]
Region 1: Memory at f2020000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] MSI-X: Enable+ Count=32 Masked-
Vector table: BAR=1 offset=00000000
PBA: BAR=1 offset=00000800
Kernel driver in use: virtio-pci

00:04.0 VGA compatible controller: Technical Corp. Device 1111 (prog-if 00 [VGA controller])

	Subsystem: Red Hat, Inc Device 1100
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at f1000000 (32-bit, prefetchable) [size=16M]
	Region 2: Memory at f2021000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at f2000000 [disabled] [size=64K]

00:05.0 Ethernet controller: Red Hat, Inc Virtio network device
Subsystem: Red Hat, Inc Device 0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 36
Region 0: I/O ports at c120 [size=32]
Region 1: Memory at f2022000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at f2010000 [disabled] [size=64K]
Capabilities: [40] MSI-X: Enable+ Count=3 Masked-
Vector table: BAR=1 offset=00000000
PBA: BAR=1 offset=00000800
Kernel driver in use: virtio-pci

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel