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

Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working...


  • To: Simon Horman <horms@xxxxxxxxxxxx>
  • From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
  • Date: Sun, 26 Jul 2009 13:01:02 +0300
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 26 Jul 2009 03:01:46 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=e/iQ/7/vNUzg/NLR4yMFa8UrNdDPcxKf0xNN1gqMhRPYiCU4OPBQ1d25PE6rp9Ktws JRgWGmZQPpnG9QCWtOLE9GFyBgAGjED6Rqj5NVozN+RtHjcah8IalViPIa30qnkv3RU1 AE33MSS+cY61NsWiHwFIHn0MttL1OS/OfwVXA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Simon,

(BTW - Did you see my other mail, about a problem, which causes the
machine to freeze? i suspect that this might be due to the multi-fn
pass-through code. Can u please give your opinion about it?)

Here is the resulting log:
[2009-07-22 06:29:49 4301] INFO (SrvDaemon:220) Xend exited with status 0.
[2009-07-22 06:34:05 4280] INFO (SrvDaemon:332) Xend Daemon started
[2009-07-22 06:34:05 4280] INFO (SrvDaemon:336) Xend changeset: Tue
Jul 14 12:16:27 2009 +1000 19747:789778e3326d.
[2009-07-22 06:34:05 4280] INFO (XendNetwork:114) Not recreating
missing unmanaged network tmpbridge
[2009-07-22 06:34:06 4280] DEBUG (XendDomainInfo:141)
XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 10818184577L,
'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0,
'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running':
1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 1913836L,
'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked':
0, 'name': 'Domain-0'})
[2009-07-22 06:34:06 4280] INFO (XendDomainInfo:159) Recreating domain
0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2009-07-22 06:34:06 4280] DEBUG (XendDomainInfo:3035) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart',
'image': '(linux (kernel ))', 'on_poweroff': 'destroy',
'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash':
'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3',
'bootloader': '', 'name': 'Domain-0'}
[2009-07-22 06:34:06 4280] DEBUG (XendDomainInfo:1604) Storing domain
details: {'name': 'Domain-0', 'console/limit': '1048576',
'memory/target': '1913836', 'vm':
'/vm/00000000-0000-0000-0000-000000000000', 'domid': '0',
'cpu/0/availability': 'online', 'cpu/1/availability': 'online',
'control/platform-feature-multiprocessor-suspend': '1',
'console/type': 'xenconsoled'}
[2009-07-22 06:34:06 4280] DEBUG (XendDomain:452) Adding Domain: 0
[2009-07-22 06:34:06 4280] DEBUG (XendDomain:386) number of vcpus to use is 0
[2009-07-22 06:34:06 4280] DEBUG (XendDomainInfo:1691)
XendDomainInfo.handleShutdownWatch
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call:
VBD.set_device not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call:
VBD.set_type not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call:
session.get_all_records not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call:
event.get_record not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call:
event.get_all not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call:
VIF.get_network not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call:
VIF.set_device not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call: VIF.set_MAC not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call: VIF.set_MTU not found
[2009-07-22 06:34:06 4280] WARNING (XendAPI:701) API call:
debug.get_all not found
[2009-07-22 06:34:06 4280] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xen-api.sock; authentication
has been disabled for this server.
[2009-07-22 06:34:06 4280] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xmlrpc.sock.
[2009-07-22 06:34:30 4280] DEBUG (XendDomainInfo:93)
XendDomainInfo.create(['vm', ['name', 'hvm'], ['memory', 1024],
['shadow_memory', 8], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['videoram', 4], ['device_model',
'/usr/lib64/xen/bin/qemu-dm.debug'], ['pae', 1], ['vcpus', 1],
['boot', 'c'], ['fda', ''], ['fdb', ''], ['timer_mode', 1],
['localtime', 0], ['serial', 'pty'], ['stdvga', 0], ['isa', 0],
['nographic', 0], ['soundhw', ''], ['vnc', 1], ['vncdisplay', 1],
['vncunused', 1], ['vnclisten', '0.0.0.0'], ['sdl', 0], ['display',
'guyg-desktop:0'], ['xauthority', '/root/.Xauthority'],
['rtc_timeoffset', 0], ['monitor', 0], ['acpi', 1], ['apic', 1],
['usb', 0], ['usbdevice', ''], ['keymap', ''], ['pci', [['0x0',
'0x00', '0x1a', '0x0', '0x20', ''], ['0x0', '0x00', '0x1d', '0x0',
'0x20', '']]], ['hpet', 0], ['guest_os_type', 'default'], ['hap', 1],
['cpuid', []], ['cpuid_check', []], ['viridian', 0],
['pci_msitranslate', 1], ['vpt_align', 1], ['pci_power_mgmt', 0],
['xen_platform_pci', 1], ['vncpasswd', 'XXXXXXXX']]], ['s3_integrity',
1], ['device', ['vbd', ['uname', 'file:/root/xp2_t400_ati.img'],
['dev', 'hda'], ['mode', 'w']]], ['device', ['pci', ['dev', ['domain',
'0x0'], ['bus', '0x00'], ['slot', '0x1a'], ['func', '0x0'],
['requested_vslot', '0x20']], ['dev', ['domain', '0x0'], ['bus',
'0x00'], ['slot', '0x1d'], ['func', '0x0'], ['requested_vslot',
'0x20']]]]])
[2009-07-22 06:34:30 4280] DEBUG (XendDomainInfo:2278)
XendDomainInfo.constructDomain
[2009-07-22 06:34:30 4280] DEBUG (balloon:166) Balloon: 127712 KiB
free; need 4096; done.
[2009-07-22 06:34:30 4280] DEBUG (XendDomain:452) Adding Domain: 1
[2009-07-22 06:34:30 4280] DEBUG (XendDomainInfo:2480)
XendDomainInfo.initDomain: 1 256
[2009-07-22 06:34:30 4280] DEBUG (image:322) No VNC passwd configured
for vfb access
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: boot, val: c
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: fda, val: None
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: fdb, val: None
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: soundhw, val: None
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: localtime, val: 0
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: serial, val: ['pty']
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: std-vga, val: 0
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: isa, val: 0
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: acpi, val: 1
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: usb, val: 0
[2009-07-22 06:34:30 4280] DEBUG (image:811) args: usbdevice, val: None
[2009-07-22 06:34:30 4280] INFO (image:747) Need to create platform
device.[domid:1]
[2009-07-22 06:34:30 4280] DEBUG (XendDomainInfo:2504)
_initDomain:shadow_memory=0x8, memory_static_max=0x40000000,
memory_static_min=0x0.
[2009-07-22 06:34:30 4280] DEBUG (balloon:172) Balloon: 126296 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-22 06:34:30 4280] DEBUG (balloon:187) Balloon: setting dom0
target to 951 MiB.
[2009-07-22 06:34:30 4280] DEBUG (XendDomainInfo:1285) Setting memory
target of domain Domain-0 (0) to 951 MiB.
[2009-07-22 06:34:30 4280] DEBUG (balloon:172) Balloon: 494936 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-22 06:34:30 4280] DEBUG (balloon:172) Balloon: 818520 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-22 06:34:31 4280] DEBUG (balloon:166) Balloon: 1066308 KiB
free; need 1065984; done.
[2009-07-22 06:34:31 4280] INFO (image:173) buildDomain os=hvm dom=1 vcpus=1
[2009-07-22 06:34:31 4280] DEBUG (image:864) domid          = 1
[2009-07-22 06:34:31 4280] DEBUG (image:865) image          =
/usr/lib/xen/boot/hvmloader
[2009-07-22 06:34:31 4280] DEBUG (image:866) store_evtchn   = 2
[2009-07-22 06:34:31 4280] DEBUG (image:867) memsize        = 1024
[2009-07-22 06:34:31 4280] DEBUG (image:868) target         = 1024
[2009-07-22 06:34:31 4280] DEBUG (image:869) vcpus          = 1
[2009-07-22 06:34:31 4280] DEBUG (image:870) acpi           = 1
[2009-07-22 06:34:31 4280] DEBUG (image:871) apic           = 1
[2009-07-22 06:34:31 4280] INFO (XendDomainInfo:2142) createDevice:
vfb : {'vncunused': 1, 'other_config': {'vncunused': 1, 'vnclisten':
'0.0.0.0', 'vnc': '1', 'vncdisplay': 1}, 'vnc': '1', 'uuid':
'2346405d-841f-fe92-9438-2a3182ff69b5', 'vnclisten': '0.0.0.0',
'vncdisplay': 1}
[2009-07-22 06:34:31 4280] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vfb/1/0'} to /local/domain/1/device/vfb/0.
[2009-07-22 06:34:31 4280] DEBUG (DevController:97) DevController:
writing {'vncunused': '1', 'domain': 'hvm', 'vnc': '1', 'uuid':
'2346405d-841f-fe92-9438-2a3182ff69b5', 'frontend-id': '1',
'vnclisten': '0.0.0.0', 'vncdisplay': '1', 'state': '1', 'online':
'1', 'frontend': '/local/domain/1/device/vfb/0'} to
/local/domain/0/backend/vfb/1/0.
[2009-07-22 06:34:31 4280] INFO (XendDomainInfo:2142) createDevice:
vbd : {'uuid': '87b0d0de-21ac-17f2-4c6f-8e40483b473e', 'bootable': 1,
'driver': 'paravirtualised', 'dev': 'hda', 'uname':
'file:/root/xp2_t400_ati.img', 'mode': 'w'}
[2009-07-22 06:34:31 4280] DEBUG (DevController:95) DevController:
writing {'backend-id': '0', 'virtual-device': '768', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/768'}
to /local/domain/1/device/vbd/768.
[2009-07-22 06:34:31 4280] DEBUG (DevController:97) DevController:
writing {'domain': 'hvm', 'frontend':
'/local/domain/1/device/vbd/768', 'uuid':
'87b0d0de-21ac-17f2-4c6f-8e40483b473e', 'bootable': '1', 'dev': 'hda',
'state': '1', 'params': '/root/xp2_t400_ati.img', 'mode': 'w',
'online': '1', 'frontend-id': '1', 'type': 'file'} to
/local/domain/0/backend/vbd/1/768.
[2009-07-22 06:34:31 4280] INFO (XendDomainInfo:2142) createDevice:
pci : {'devs': [{'slot': '0x1a', 'requested_vslot': '0x20', 'domain':
'0x0', 'uuid': '9f582f76-fedb-a6d4-91f9-a3e9ff8ef3a4', 'bus': '0x00',
'func': '0x0'}, {'slot': '0x1d', 'requested_vslot': '0x20', 'domain':
'0x0', 'uuid': '9eeb1de6-5b8e-b1a1-c412-ffce22b17273', 'bus': '0x00',
'func': '0x0'}], 'uuid': '3197d4bc-5b4c-8f75-2448-8ac55d6df93d'}
[2009-07-22 06:34:31 4280] INFO (pciquirk:90) NO quirks found for PCI
device [8086:2937:17aa:20f0]
[2009-07-22 06:34:31 4280] DEBUG (pciquirk:133) Permissive mode NOT
enabled for PCI device [8086:2937:17aa:20f0]
[2009-07-22 06:34:31 4280] DEBUG (pciif:347) pci: enabling ioport 0x1860/0x20
[2009-07-22 06:34:31 4280] DEBUG (pciif:390) pci: enabling irq 20
[2009-07-22 06:34:31 4280] INFO (pciquirk:90) NO quirks found for PCI
device [8086:2934:17aa:20f0]
[2009-07-22 06:34:31 4280] DEBUG (pciquirk:133) Permissive mode NOT
enabled for PCI device [8086:2934:17aa:20f0]
[2009-07-22 06:34:31 4280] DEBUG (pciif:347) pci: enabling ioport 0x18c0/0x20
[2009-07-22 06:34:31 4280] DEBUG (pciif:390) pci: enabling irq 16
[2009-07-22 06:34:31 4280] DEBUG (pciif:474) pci: register aer watch
/local/domain/0/backend/pci/1/0/aerState
[2009-07-22 06:34:31 4280] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/pci/1/0'} to /local/domain/1/device/pci/0.
[2009-07-22 06:34:31 4280] DEBUG (DevController:97) DevController:
writing {'vslot-1': '20', 'domain': 'hvm', 'frontend':
'/local/domain/1/device/pci/0', 'uuid':
'3197d4bc-5b4c-8f75-2448-8ac55d6df93d', 'power_mgmt': '0', 'dev-1':
'0000:00:1d.0', 'dev-0': '0000:00:1a.0', 'state': '1', 'vslot-0':
'20', 'online': '1', 'frontend-id': '1', 'msitranslate': '1',
'uuid-0': '9f582f76-fedb-a6d4-91f9-a3e9ff8ef3a4', 'uuid-1':
'9eeb1de6-5b8e-b1a1-c412-ffce22b17273', 'num_devs': '2'} to
/local/domain/0/backend/pci/1/0.
[2009-07-22 06:34:31 4280] INFO (image:394) spawning device models:
/usr/lib64/xen/bin/qemu-dm.debug ['/usr/lib64/xen/bin/qemu-dm.debug',
'-d', '1', '-domain-name', 'hvm', '-videoram', '4', '-vnc',
'0.0.0.0:1', '-vncunused', '-vcpus', '1', '-boot', 'c', '-serial',
'pty', '-acpi', '-net', 'none', '-M', 'xenfv']
[2009-07-22 06:34:31 4280] INFO (image:445) device model pid: 4818
[2009-07-22 06:34:31 4280] INFO (image:533) waiting for sentinel_fifo
[2009-07-22 06:34:33 4280] ERROR (XendDomainInfo:587) Device model
didn't tell the vslots for PCI device
[2009-07-22 06:34:33 4280] DEBUG (XendDomainInfo:3035) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '9', 'uuid':
'fca8ba48-81d0-4842-2bac-59f75e84958c', 'on_reboot': 'restart',
'start_time': '1248258873.52', 'on_poweroff': 'destroy',
'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash':
'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1',
'bootloader': '', 'image': '(hvm (kernel ) (videoram 4) (hpet 0)
(stdvga 0) (vnclisten 0.0.0.0) (loader /usr/lib/xen/boot/hvmloader)
(serial pty) (vncunused 1) (xen_platform_pci 1) (boot c)
(rtc_timeoffset 0) (pci ((0x0 0x00 0x1a 0x0 0x20 ) (0x0 0x00 0x1d 0x0
0x20 ))) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1)
(localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type
default) (vncdisplay 1) (pci_msitranslate 1) (apic 1) (sdl 0) (monitor
0) (device_model /usr/lib64/xen/bin/qemu-dm.debug) (pci_power_mgmt 0)
(usb 0) (xauthority /root/.Xauthority) (isa 0) (display
guyg-desktop:0) (notes (SUSPEND_CANCEL 1)))', 'name': 'hvm'}
[2009-07-22 06:34:33 4280] DEBUG (XendDomainInfo:1604) Storing domain
details: {'console/port': '3', 'name': 'hvm', 'console/limit':
'1048576', 'store/port': '2', 'vm':
'/vm/fca8ba48-81d0-4842-2bac-59f75e84958c', 'domid': '1',
'image/suspend-cancel': '1', 'cpu/0/availability': 'online',
'memory/target': '1048576',
'control/platform-feature-multiprocessor-suspend': '1',
'store/ring-ref': '1044476', 'console/type': 'ioemu'}
[2009-07-22 06:34:33 4280] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/1/0'} to
/local/domain/1/device/console/0.
[2009-07-22 06:34:33 4280] DEBUG (DevController:97) DevController:
writing {'domain': 'hvm', 'frontend':
'/local/domain/1/device/console/0', 'uuid':
'3e8d2700-d5c5-38ee-7015-97d46f4d04c1', 'frontend-id': '1', 'state':
'1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/1/0.
[2009-07-22 06:34:33 4280] DEBUG (pciif:478) XendDomainInfo.handleAerStateWatch
[2009-07-22 06:34:33 4280] DEBUG (XendDomainInfo:1691)
XendDomainInfo.handleShutdownWatch
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices vif.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices vscsi.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices vbd.
[2009-07-22 06:34:33 4280] DEBUG (DevController:144) Waiting for 768.
[2009-07-22 06:34:33 4280] DEBUG (DevController:629)
hotplugStatusCallback
/local/domain/0/backend/vbd/1/768/hotplug-status.
[2009-07-22 06:34:33 4280] DEBUG (DevController:643) hotplugStatusCallback 1.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices irq.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices vkbd.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices vfb.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for
devices console.
[2009-07-22 06:34:33 4280] DEBUG (DevController:144) Waiting for 0.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices pci.
[2009-07-22 06:34:33 4280] DEBUG (DevController:144) Waiting for 0.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for
devices ioports.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices tap.
[2009-07-22 06:34:33 4280] DEBUG (DevController:139) Waiting for devices vtpm.
[2009-07-22 06:34:33 4280] INFO (XendDomain:1180) Domain hvm (1) unpaused.
[2009-07-22 06:34:37 4280] DEBUG (XendDomainInfo:2707)
XendDomainInfo.destroy: domid=1
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:2181) Destroying device model
[2009-07-22 06:34:38 4280] INFO (image:558) hvm device model terminated
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:2188) Releasing devices
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:2201) Removing vbd/768
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:1116)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:2201) Removing vfb/0
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:1116)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:2201) Removing console/0
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:1116)
XendDomainInfo.destroyDevice: deviceClass = console, device =
console/0
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:2201) Removing pci/0
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:1116)
XendDomainInfo.destroyDevice: deviceClass = pci, device = pci/0
[2009-07-22 06:34:38 4280] DEBUG (pciif:610) pci: unregister aer watch
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:2186) No device model
[2009-07-22 06:34:38 4280] DEBUG (XendDomainInfo:2188) Releasing devices
[2009-07-22 06:35:06 4280] DEBUG (SrvServer:76) SrvServer.cleanup()
[2009-07-22 06:35:06 4280] DEBUG (XMLRPCServer:236) XMLRPCServer.cleanup()
[2009-07-22 06:35:06 4280] DEBUG (XMLRPCServer:236) XMLRPCServer.cleanup()
[2009-07-22 06:35:06 4280] DEBUG (XendDomain:620) cleanup_domains
[2009-07-22 06:35:06 4276] INFO (SrvDaemon:220) Xend exited with status 0.
[2009-07-22 06:39:22 4292] INFO (SrvDaemon:332) Xend Daemon started
[2009-07-22 06:39:22 4292] INFO (SrvDaemon:336) Xend changeset: Tue
Jul 14 12:16:27 2009 +1000 19747:789778e3326d.
[2009-07-22 06:39:22 4292] INFO (XendNetwork:114) Not recreating
missing unmanaged network tmpbridge
[2009-07-22 06:39:22 4292] DEBUG (XendDomainInfo:141)
XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 10914410757L,
'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0,
'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running':
1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 1913836L,
'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked':
0, 'name': 'Domain-0'})
[2009-07-22 06:39:22 4292] INFO (XendDomainInfo:159) Recreating domain
0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2009-07-22 06:39:22 4292] DEBUG (XendDomainInfo:3038) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart',
'image': '(linux (kernel ))', 'on_poweroff': 'destroy',
'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash':
'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3',
'bootloader': '', 'name': 'Domain-0'}
[2009-07-22 06:39:22 4292] DEBUG (XendDomainInfo:1607) Storing domain
details: {'name': 'Domain-0', 'console/limit': '1048576',
'memory/target': '1913836', 'vm':
'/vm/00000000-0000-0000-0000-000000000000', 'domid': '0',
'cpu/0/availability': 'online', 'cpu/1/availability': 'online',
'control/platform-feature-multiprocessor-suspend': '1',
'console/type': 'xenconsoled'}
[2009-07-22 06:39:22 4292] DEBUG (XendDomain:452) Adding Domain: 0
[2009-07-22 06:39:22 4292] DEBUG (XendDomain:386) number of vcpus to use is 0
[2009-07-22 06:39:22 4292] DEBUG (XendDomainInfo:1694)
XendDomainInfo.handleShutdownWatch
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call:
VBD.set_device not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call:
VBD.set_type not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call:
session.get_all_records not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call:
event.get_record not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call:
event.get_all not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call:
VIF.get_network not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call:
VIF.set_device not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call: VIF.set_MAC not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call: VIF.set_MTU not found
[2009-07-22 06:39:23 4292] WARNING (XendAPI:701) API call:
debug.get_all not found
[2009-07-22 06:39:23 4292] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xen-api.sock; authentication
has been disabled for this server.
[2009-07-22 06:39:23 4292] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xmlrpc.sock.
[2009-07-22 06:40:20 4292] DEBUG (XendDomainInfo:93)
XendDomainInfo.create(['vm', ['name', 'hvm'], ['memory', 1024],
['shadow_memory', 8], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['videoram', 4], ['device_model',
'/usr/lib64/xen/bin/qemu-dm.debug'], ['pae', 1], ['vcpus', 1],
['boot', 'c'], ['fda', ''], ['fdb', ''], ['timer_mode', 1],
['localtime', 0], ['serial', 'pty'], ['stdvga', 0], ['isa', 0],
['nographic', 0], ['soundhw', ''], ['vnc', 1], ['vncdisplay', 1],
['vncunused', 1], ['vnclisten', '0.0.0.0'], ['sdl', 0], ['display',
'guyg-desktop:0'], ['xauthority', '/root/.Xauthority'],
['rtc_timeoffset', 0], ['monitor', 0], ['acpi', 1], ['apic', 1],
['usb', 0], ['usbdevice', ''], ['keymap', ''], ['pci', [['0x0',
'0x00', '0x1a', '0x0', '0x20', ''], ['0x0', '0x00', '0x1d', '0x0',
'0x20', '']]], ['hpet', 0], ['guest_os_type', 'default'], ['hap', 1],
['cpuid', []], ['cpuid_check', []], ['viridian', 0],
['pci_msitranslate', 1], ['vpt_align', 1], ['pci_power_mgmt', 0],
['xen_platform_pci', 1], ['vncpasswd', 'XXXXXXXX']]], ['s3_integrity',
1], ['device', ['vbd', ['uname', 'file:/root/xp2_t400_ati.img'],
['dev', 'hda'], ['mode', 'w']]], ['device', ['pci', ['dev', ['domain',
'0x0'], ['bus', '0x00'], ['slot', '0x1a'], ['func', '0x0'],
['requested_vslot', '0x20']], ['dev', ['domain', '0x0'], ['bus',
'0x00'], ['slot', '0x1d'], ['func', '0x0'], ['requested_vslot',
'0x20']]]]])
[2009-07-22 06:40:20 4292] DEBUG (XendDomainInfo:2281)
XendDomainInfo.constructDomain
[2009-07-22 06:40:20 4292] DEBUG (balloon:166) Balloon: 127712 KiB
free; need 4096; done.
[2009-07-22 06:40:20 4292] DEBUG (XendDomain:452) Adding Domain: 1
[2009-07-22 06:40:20 4292] DEBUG (XendDomainInfo:2483)
XendDomainInfo.initDomain: 1 256
[2009-07-22 06:40:20 4292] DEBUG (image:322) No VNC passwd configured
for vfb access
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: boot, val: c
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: fda, val: None
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: fdb, val: None
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: soundhw, val: None
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: localtime, val: 0
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: serial, val: ['pty']
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: std-vga, val: 0
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: isa, val: 0
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: acpi, val: 1
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: usb, val: 0
[2009-07-22 06:40:20 4292] DEBUG (image:825) args: usbdevice, val: None
[2009-07-22 06:40:20 4292] INFO (image:761) Need to create platform
device.[domid:1]
[2009-07-22 06:40:20 4292] DEBUG (XendDomainInfo:2507)
_initDomain:shadow_memory=0x8, memory_static_max=0x40000000,
memory_static_min=0x0.
[2009-07-22 06:40:20 4292] DEBUG (balloon:172) Balloon: 126296 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-22 06:40:20 4292] DEBUG (balloon:187) Balloon: setting dom0
target to 951 MiB.
[2009-07-22 06:40:20 4292] DEBUG (XendDomainInfo:1288) Setting memory
target of domain Domain-0 (0) to 951 MiB.
[2009-07-22 06:40:21 4292] DEBUG (balloon:172) Balloon: 496984 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-22 06:40:21 4292] DEBUG (balloon:172) Balloon: 818520 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-22 06:40:21 4292] DEBUG (balloon:166) Balloon: 1066308 KiB
free; need 1065984; done.
[2009-07-22 06:40:21 4292] INFO (image:173) buildDomain os=hvm dom=1 vcpus=1
[2009-07-22 06:40:21 4292] DEBUG (image:878) domid          = 1
[2009-07-22 06:40:21 4292] DEBUG (image:879) image          =
/usr/lib/xen/boot/hvmloader
[2009-07-22 06:40:21 4292] DEBUG (image:880) store_evtchn   = 2
[2009-07-22 06:40:21 4292] DEBUG (image:881) memsize        = 1024
[2009-07-22 06:40:21 4292] DEBUG (image:882) target         = 1024
[2009-07-22 06:40:21 4292] DEBUG (image:883) vcpus          = 1
[2009-07-22 06:40:21 4292] DEBUG (image:884) acpi           = 1
[2009-07-22 06:40:21 4292] DEBUG (image:885) apic           = 1
[2009-07-22 06:40:21 4292] INFO (XendDomainInfo:2145) createDevice:
vfb : {'vncunused': 1, 'other_config': {'vncunused': 1, 'vnclisten':
'0.0.0.0', 'vnc': '1', 'vncdisplay': 1}, 'vnc': '1', 'uuid':
'734fa7b9-1f1e-b707-decd-7fdb2020095c', 'vnclisten': '0.0.0.0',
'vncdisplay': 1}
[2009-07-22 06:40:21 4292] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vfb/1/0'} to /local/domain/1/device/vfb/0.
[2009-07-22 06:40:21 4292] DEBUG (DevController:97) DevController:
writing {'vncunused': '1', 'domain': 'hvm', 'vnc': '1', 'uuid':
'734fa7b9-1f1e-b707-decd-7fdb2020095c', 'frontend-id': '1',
'vnclisten': '0.0.0.0', 'vncdisplay': '1', 'state': '1', 'online':
'1', 'frontend': '/local/domain/1/device/vfb/0'} to
/local/domain/0/backend/vfb/1/0.
[2009-07-22 06:40:21 4292] INFO (XendDomainInfo:2145) createDevice:
vbd : {'uuid': 'f132cee0-e76f-a6fd-391d-0e7307f41c9b', 'bootable': 1,
'driver': 'paravirtualised', 'dev': 'hda', 'uname':
'file:/root/xp2_t400_ati.img', 'mode': 'w'}
[2009-07-22 06:40:21 4292] DEBUG (DevController:95) DevController:
writing {'backend-id': '0', 'virtual-device': '768', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/768'}
to /local/domain/1/device/vbd/768.
[2009-07-22 06:40:21 4292] DEBUG (DevController:97) DevController:
writing {'domain': 'hvm', 'frontend':
'/local/domain/1/device/vbd/768', 'uuid':
'f132cee0-e76f-a6fd-391d-0e7307f41c9b', 'bootable': '1', 'dev': 'hda',
'state': '1', 'params': '/root/xp2_t400_ati.img', 'mode': 'w',
'online': '1', 'frontend-id': '1', 'type': 'file'} to
/local/domain/0/backend/vbd/1/768.
[2009-07-22 06:40:21 4292] INFO (XendDomainInfo:2145) createDevice:
pci : {'devs': [{'slot': '0x1a', 'requested_vslot': '0x20', 'domain':
'0x0', 'uuid': 'bd55b07a-2990-c3c3-7298-59f389db52d0', 'bus': '0x00',
'func': '0x0'}, {'slot': '0x1d', 'requested_vslot': '0x20', 'domain':
'0x0', 'uuid': 'aadfccdf-f152-1701-6987-a870de777e01', 'bus': '0x00',
'func': '0x0'}], 'uuid': '1f4d9b89-323c-25fa-acc1-0d51646bb9bc'}
[2009-07-22 06:40:21 4292] INFO (pciquirk:90) NO quirks found for PCI
device [8086:2937:17aa:20f0]
[2009-07-22 06:40:21 4292] DEBUG (pciquirk:133) Permissive mode NOT
enabled for PCI device [8086:2937:17aa:20f0]
[2009-07-22 06:40:21 4292] DEBUG (pciif:323) pci: enabling ioport 0x1860/0x20
[2009-07-22 06:40:21 4292] DEBUG (pciif:366) pci: enabling irq 20
[2009-07-22 06:40:21 4292] INFO (pciquirk:90) NO quirks found for PCI
device [8086:2934:17aa:20f0]
[2009-07-22 06:40:21 4292] DEBUG (pciquirk:133) Permissive mode NOT
enabled for PCI device [8086:2934:17aa:20f0]
[2009-07-22 06:40:21 4292] DEBUG (pciif:323) pci: enabling ioport 0x18c0/0x20
[2009-07-22 06:40:21 4292] DEBUG (pciif:366) pci: enabling irq 16
[2009-07-22 06:40:21 4292] DEBUG (pciif:450) pci: register aer watch
/local/domain/0/backend/pci/1/0/aerState
[2009-07-22 06:40:21 4292] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/pci/1/0'} to /local/domain/1/device/pci/0.
[2009-07-22 06:40:21 4292] DEBUG (DevController:97) DevController:
writing {'vslot-1': '20', 'domain': 'hvm', 'frontend':
'/local/domain/1/device/pci/0', 'uuid':
'1f4d9b89-323c-25fa-acc1-0d51646bb9bc', 'power_mgmt': '0', 'dev-1':
'0000:00:1d.0', 'dev-0': '0000:00:1a.0', 'state': '1', 'vslot-0':
'20', 'online': '1', 'frontend-id': '1', 'msitranslate': '1',
'uuid-0': 'bd55b07a-2990-c3c3-7298-59f389db52d0', 'uuid-1':
'aadfccdf-f152-1701-6987-a870de777e01', 'num_devs': '2'} to
/local/domain/0/backend/pci/1/0.
[2009-07-22 06:40:21 4292] INFO (image:394) spawning device models:
/usr/lib64/xen/bin/qemu-dm.debug ['/usr/lib64/xen/bin/qemu-dm.debug',
'-d', '1', '-domain-name', 'hvm', '-videoram', '4', '-vnc',
'0.0.0.0:1', '-vncunused', '-vcpus', '1', '-boot', 'c', '-serial',
'pty', '-acpi', '-net', 'none', '-M', 'xenfv']
[2009-07-22 06:40:21 4292] INFO (image:445) device model pid: 4833
[2009-07-22 06:40:21 4292] INFO (image:547) waiting for sentinel_fifo
[2009-07-22 06:40:21 4292] DEBUG (XendDomainInfo:782)
XendDomainInfo.pci_device_configure: ['pci', ['dev', ['slot', '0x1a'],
['requested_vslot', '0x20'], ['domain', '0x0'], ['uuid',
'bd55b07a-2990-c3c3-7298-59f389db52d0'], ['bus', '0x00'], ['func',
'0x0']], ['state', 'Initialising'], ['sub_state', 'Booting']]
[2009-07-22 06:40:21 4292] DEBUG (XendDomainInfo:688)
XendDomainInfo.hvm_pci_device_insert: {'devs': [{'slot': '0x1a',
'requested_vslot': '0x20', 'domain': '0x0', 'uuid':
'bd55b07a-2990-c3c3-7298-59f389db52d0', 'bus': '0x00', 'func':
'0x0'}], 'states': ['Initialising']}
[2009-07-22 06:40:21 4292] DEBUG (XendDomainInfo:699)
XendDomainInfo.hvm_pci_device_insert_dev: {'slot': '0x1a',
'requested_vslot': '0x20', 'domain': '0x0', 'uuid':
'bd55b07a-2990-c3c3-7298-59f389db52d0', 'bus': '0x00', 'func': '0x0'}
[2009-07-22 06:40:21 4292] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-22 06:40:21 4292] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-22 06:40:22 4292] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-22 06:40:22 4292] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-22 06:40:22 4292] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-22 06:40:22 4292] INFO (image:495) signalDeviceModel:restore
dm state to running
[2009-07-22 06:40:22 4292] DEBUG (pciif:131) Reconfiguring PCI device
0000:00:1a.0.
[2009-07-22 06:40:22 4292] INFO (pciquirk:90) NO quirks found for PCI
device [8086:2937:17aa:20f0]
[2009-07-22 06:40:22 4292] DEBUG (pciquirk:133) Permissive mode NOT
enabled for PCI device [8086:2937:17aa:20f0]
[2009-07-22 06:40:22 4292] DEBUG (pciif:323) pci: enabling ioport 0x1860/0x20
[2009-07-22 06:40:22 4292] DEBUG (pciif:366) pci: enabling irq 20
[2009-07-22 06:40:22 4292] ERROR (XendDomainInfo:477) VM start failed
Traceback (most recent call last):
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 457, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line
209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 2552, in _initDomain
    self._createDevices()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 2178, in _createDevices
    self.pci_device_configure_boot()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 583, in pci_device_configure_boot
    self.pci_device_configure(i)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 849, in pci_device_configure
    num_devs = dev_control.cleanupDevice(devid)
  File "usr/lib/python2.5/site-packages/xen/xend/server/pciif.py",
line 539, in cleanupDevice
    state = int(self.readBackend(devid, 'state-%i' % i))
TypeError: int() argument must be a string or a number, not 'NoneType'
[2009-07-22 06:40:22 4292] DEBUG (XendDomainInfo:2710)
XendDomainInfo.destroy: domid=1
[2009-07-22 06:40:22 4292] DEBUG (XendDomainInfo:2184) Destroying device model
[2009-07-22 06:40:22 4292] INFO (image:572) hvm device model terminated
[2009-07-22 06:40:22 4292] DEBUG (XendDomainInfo:2191) Releasing devices
[2009-07-22 06:40:22 4292] DEBUG (XendDomainInfo:2204) Removing vbd/768
[2009-07-22 06:40:22 4292] DEBUG (XendDomainInfo:1119)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2009-07-22 06:40:23 4292] DEBUG (XendDomainInfo:2204) Removing vfb/0
[2009-07-22 06:40:23 4292] DEBUG (XendDomainInfo:1119)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2009-07-22 06:40:23 4292] DEBUG (XendDomainInfo:2204) Removing pci/0
[2009-07-22 06:40:23 4292] DEBUG (XendDomainInfo:1119)
XendDomainInfo.destroyDevice: deviceClass = pci, device = pci/0
[2009-07-22 06:40:23 4292] DEBUG (pciif:586) pci: unregister aer watch
[2009-07-22 06:40:23 4292] DEBUG (XendDomainInfo:2189) No device model
[2009-07-22 06:40:23 4292] DEBUG (XendDomainInfo:2191) Releasing devices
[2009-07-22 06:40:23 4292] ERROR (XendDomainInfo:98) Domain construction failed
Traceback (most recent call last):
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 96, in create
    vm.start()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 457, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line
209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 2552, in _initDomain
    self._createDevices()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 2178, in _createDevices
    self.pci_device_configure_boot()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 583, in pci_device_configure_boot
    self.pci_device_configure(i)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 849, in pci_device_configure
    num_devs = dev_control.cleanupDevice(devid)
  File "usr/lib/python2.5/site-packages/xen/xend/server/pciif.py",
line 539, in cleanupDevice
    state = int(self.readBackend(devid, 'state-%i' % i))
TypeError: int() argument must be a string or a number, not 'NoneType'
[2009-07-22 06:40:23 4292] ERROR (xmlrpclib2:178) Internal error
handling xend.domain.create
Traceback (most recent call last):
  File "usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line
131, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch
    return func(*params)
  File "usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py",
line 79, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line
970, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 96, in create
    vm.start()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 457, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line
209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 2552, in _initDomain
    self._createDevices()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 2178, in _createDevices
    self.pci_device_configure_boot()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 583, in pci_device_configure_boot
    self.pci_device_configure(i)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 849, in pci_device_configure
    num_devs = dev_control.cleanupDevice(devid)
  File "usr/lib/python2.5/site-packages/xen/xend/server/pciif.py",
line 539, in cleanupDevice
    state = int(self.readBackend(devid, 'state-%i' % i))
TypeError: int() argument must be a string or a number, not 'NoneType'
[2009-07-26 05:51:47 4292] DEBUG (SrvServer:76) SrvServer.cleanup()
[2009-07-26 05:51:47 4292] DEBUG (XMLRPCServer:236) XMLRPCServer.cleanup()
[2009-07-26 05:51:47 4292] DEBUG (XMLRPCServer:236) XMLRPCServer.cleanup()
[2009-07-26 05:51:47 4292] DEBUG (XendDomain:620) cleanup_domains
[2009-07-26 05:51:47 4288] INFO (SrvDaemon:220) Xend exited with status 0.
[2009-07-26 05:58:22 4286] INFO (SrvDaemon:332) Xend Daemon started
[2009-07-26 05:58:22 4286] INFO (SrvDaemon:336) Xend changeset: Tue
Jul 14 12:16:27 2009 +1000 19747:789778e3326d.
[2009-07-26 05:58:22 4286] INFO (XendNetwork:114) Not recreating
missing unmanaged network tmpbridge
[2009-07-26 05:58:23 4286] DEBUG (XendDomainInfo:144)
XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 10812777199L,
'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0,
'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running':
1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 1913836L,
'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked':
0, 'name': 'Domain-0'})
[2009-07-26 05:58:23 4286] INFO (XendDomainInfo:162) Recreating domain
0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2009-07-26 05:58:23 4286] DEBUG (XendDomainInfo:3037) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart',
'image': '(linux (kernel ))', 'on_poweroff': 'destroy',
'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash':
'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3',
'bootloader': '', 'name': 'Domain-0'}
[2009-07-26 05:58:23 4286] DEBUG (XendDomainInfo:1599) Storing domain
details: {'name': 'Domain-0', 'console/limit': '1048576',
'memory/target': '1913836', 'vm':
'/vm/00000000-0000-0000-0000-000000000000', 'domid': '0',
'cpu/0/availability': 'online', 'cpu/1/availability': 'online',
'control/platform-feature-multiprocessor-suspend': '1',
'console/type': 'xenconsoled'}
[2009-07-26 05:58:23 4286] DEBUG (XendDomain:452) Adding Domain: 0
[2009-07-26 05:58:23 4286] DEBUG (XendDomain:386) number of vcpus to use is 0
[2009-07-26 05:58:23 4286] DEBUG (XendDomainInfo:1686)
XendDomainInfo.handleShutdownWatch
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call:
VBD.set_device not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call:
VBD.set_type not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call:
session.get_all_records not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call:
event.get_record not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call:
event.get_all not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call:
VIF.get_network not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call:
VIF.set_device not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call: VIF.set_MAC not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call: VIF.set_MTU not found
[2009-07-26 05:58:23 4286] WARNING (XendAPI:701) API call:
debug.get_all not found
[2009-07-26 05:58:23 4286] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xen-api.sock; authentication
has been disabled for this server.
[2009-07-26 05:58:23 4286] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xmlrpc.sock.
[2009-07-26 05:59:11 4286] DEBUG (XendDomainInfo:96)
XendDomainInfo.create(['vm', ['name', 'hvm'], ['memory', 1024],
['shadow_memory', 8], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['videoram', 4], ['device_model',
'/usr/lib64/xen/bin/qemu-dm.debug'], ['pae', 1], ['vcpus', 1],
['boot', 'c'], ['fda', ''], ['fdb', ''], ['timer_mode', 1],
['localtime', 0], ['serial', 'pty'], ['stdvga', 0], ['isa', 0],
['nographic', 0], ['soundhw', ''], ['vnc', 1], ['vncdisplay', 1],
['vncunused', 1], ['vnclisten', '0.0.0.0'], ['sdl', 0], ['display',
'guyg-desktop:0'], ['xauthority', '/root/.Xauthority'],
['rtc_timeoffset', 0], ['monitor', 0], ['acpi', 1], ['apic', 1],
['usb', 0], ['usbdevice', ''], ['keymap', ''], ['pci', [['0x0000',
'0x00', '0x1a', '0x0', '0x100', [], '00:1a.0'], ['0x0000', '0x00',
'0x1d', '0x0', '0x100', [], '00:1d.0']]], ['hpet', 0],
['guest_os_type', 'default'], ['hap', 1], ['cpuid', []],
['cpuid_check', []], ['viridian', 0], ['pci_msitranslate', 1],
['vpt_align', 1], ['pci_power_mgmt', 0], ['xen_platform_pci', 1],
['vncpasswd', 'XXXXXXXX']]], ['s3_integrity', 1], ['device', ['vbd',
['uname', 'file:/root/xp2_t400_ati.img'], ['dev', 'hda'], ['mode',
'w']]], ['device', ['pci', ['dev', ['slot', '0x1a'], ['domain',
'0x0000'], ['key', '00:1a.0'], ['bus', '0x00'], ['vdevfn', '0x100'],
['func', '0x0']], ['dev', ['slot', '0x1d'], ['domain', '0x0000'],
['key', '00:1d.0'], ['bus', '0x00'], ['vdevfn', '0x100'], ['func',
'0x0']]]]])
[2009-07-26 05:59:11 4286] DEBUG (XendDomainInfo:2280)
XendDomainInfo.constructDomain
[2009-07-26 05:59:11 4286] DEBUG (balloon:166) Balloon: 127712 KiB
free; need 4096; done.
[2009-07-26 05:59:11 4286] DEBUG (XendDomain:452) Adding Domain: 1
[2009-07-26 05:59:11 4286] DEBUG (XendDomainInfo:2482)
XendDomainInfo.initDomain: 1 256
[2009-07-26 05:59:11 4286] DEBUG (image:322) No VNC passwd configured
for vfb access
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: boot, val: c
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: fda, val: None
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: fdb, val: None
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: soundhw, val: None
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: localtime, val: 0
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: serial, val: ['pty']
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: std-vga, val: 0
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: isa, val: 0
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: acpi, val: 1
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: usb, val: 0
[2009-07-26 05:59:11 4286] DEBUG (image:825) args: usbdevice, val: None
[2009-07-26 05:59:11 4286] INFO (image:761) Need to create platform
device.[domid:1]
[2009-07-26 05:59:11 4286] DEBUG (XendDomainInfo:2506)
_initDomain:shadow_memory=0x8, memory_static_max=0x40000000,
memory_static_min=0x0.
[2009-07-26 05:59:11 4286] DEBUG (balloon:172) Balloon: 126296 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-26 05:59:11 4286] DEBUG (balloon:187) Balloon: setting dom0
target to 951 MiB.
[2009-07-26 05:59:11 4286] DEBUG (XendDomainInfo:1280) Setting memory
target of domain Domain-0 (0) to 951 MiB.
[2009-07-26 05:59:11 4286] DEBUG (balloon:172) Balloon: 286040 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-26 05:59:11 4286] DEBUG (balloon:187) Balloon: setting dom0
target to 949 MiB.
[2009-07-26 05:59:11 4286] DEBUG (XendDomainInfo:1280) Setting memory
target of domain Domain-0 (0) to 949 MiB.
[2009-07-26 05:59:12 4286] DEBUG (balloon:172) Balloon: 623960 KiB
free; 0 to scrub; need 1065984; retries: 20.
[2009-07-26 05:59:12 4286] DEBUG (balloon:187) Balloon: setting dom0
target to 947 MiB.
[2009-07-26 05:59:12 4286] DEBUG (XendDomainInfo:1280) Setting memory
target of domain Domain-0 (0) to 947 MiB.
[2009-07-26 05:59:12 4286] DEBUG (balloon:166) Balloon: 1070404 KiB
free; need 1065984; done.
[2009-07-26 05:59:12 4286] INFO (image:173) buildDomain os=hvm dom=1 vcpus=1
[2009-07-26 05:59:12 4286] DEBUG (image:878) domid          = 1
[2009-07-26 05:59:12 4286] DEBUG (image:879) image          =
/usr/lib/xen/boot/hvmloader
[2009-07-26 05:59:12 4286] DEBUG (image:880) store_evtchn   = 2
[2009-07-26 05:59:12 4286] DEBUG (image:881) memsize        = 1024
[2009-07-26 05:59:12 4286] DEBUG (image:882) target         = 1024
[2009-07-26 05:59:12 4286] DEBUG (image:883) vcpus          = 1
[2009-07-26 05:59:12 4286] DEBUG (image:884) acpi           = 1
[2009-07-26 05:59:12 4286] DEBUG (image:885) apic           = 1
[2009-07-26 05:59:12 4286] INFO (XendDomainInfo:2137) createDevice:
vfb : {'vncunused': 1, 'other_config': {'vncunused': 1, 'vnclisten':
'0.0.0.0', 'vnc': '1', 'vncdisplay': 1}, 'vnc': '1', 'uuid':
'3211b22b-568e-cfc8-fe44-5defb76b5461', 'vnclisten': '0.0.0.0',
'vncdisplay': 1}
[2009-07-26 05:59:12 4286] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vfb/1/0'} to /local/domain/1/device/vfb/0.
[2009-07-26 05:59:12 4286] DEBUG (DevController:97) DevController:
writing {'vncunused': '1', 'domain': 'hvm', 'vnc': '1', 'uuid':
'3211b22b-568e-cfc8-fe44-5defb76b5461', 'frontend-id': '1',
'vnclisten': '0.0.0.0', 'vncdisplay': '1', 'state': '1', 'online':
'1', 'frontend': '/local/domain/1/device/vfb/0'} to
/local/domain/0/backend/vfb/1/0.
[2009-07-26 05:59:12 4286] INFO (XendDomainInfo:2137) createDevice:
vbd : {'uuid': '1be71a41-8080-84ce-dd0b-06402a5eaa79', 'bootable': 1,
'driver': 'paravirtualised', 'dev': 'hda', 'uname':
'file:/root/xp2_t400_ati.img', 'mode': 'w'}
[2009-07-26 05:59:12 4286] DEBUG (DevController:95) DevController:
writing {'backend-id': '0', 'virtual-device': '768', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/768'}
to /local/domain/1/device/vbd/768.
[2009-07-26 05:59:12 4286] DEBUG (DevController:97) DevController:
writing {'domain': 'hvm', 'frontend':
'/local/domain/1/device/vbd/768', 'uuid':
'1be71a41-8080-84ce-dd0b-06402a5eaa79', 'bootable': '1', 'dev': 'hda',
'state': '1', 'params': '/root/xp2_t400_ati.img', 'mode': 'w',
'online': '1', 'frontend-id': '1', 'type': 'file'} to
/local/domain/0/backend/vbd/1/768.
[2009-07-26 05:59:12 4286] INFO (XendDomainInfo:2137) createDevice:
pci : {'devs': [{'slot': '0x1a', 'domain': '0x0000', 'key': '00:1a.0',
'bus': '0x00', 'vdevfn': '0x100', 'func': '0x0', 'uuid':
'f45346d9-7b0a-5012-9bb6-cbcc155e7707'}, {'slot': '0x1d', 'domain':
'0x0000', 'key': '00:1d.0', 'bus': '0x00', 'vdevfn': '0x100', 'func':
'0x0', 'uuid': '1960e4e0-bea2-356d-312c-73e25fba8620'}], 'uuid':
'6974734d-b37a-eecc-d633-c21200fdb227'}
[2009-07-26 05:59:12 4286] DEBUG (pciif:420) pci: register aer watch
/local/domain/0/backend/pci/1/0/aerState
[2009-07-26 05:59:12 4286] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/pci/1/0'} to /local/domain/1/device/pci/0.
[2009-07-26 05:59:12 4286] DEBUG (DevController:97) DevController:
writing {'key-1': '00:1d.0', 'key-0': '00:1a.0', 'vdevfn-0': '100',
'vdevfn-1': '100', 'power_mgmt': '0', 'dev-1': '0000:00:1d.0',
'dev-0': '0000:00:1a.0', 'domain': 'hvm', 'frontend-id': '1', 'state':
'1', 'num_devs': '2', 'online': '1', 'frontend':
'/local/domain/1/device/pci/0', 'msitranslate': '1', 'uuid-0':
'f45346d9-7b0a-5012-9bb6-cbcc155e7707', 'uuid-1':
'1960e4e0-bea2-356d-312c-73e25fba8620', 'uuid':
'6974734d-b37a-eecc-d633-c21200fdb227'} to
/local/domain/0/backend/pci/1/0.
[2009-07-26 05:59:12 4286] INFO (XendDomainInfo:2146) Created PCI
device 0000:00:1a.0 at index 0 with state None
[2009-07-26 05:59:12 4286] INFO (XendDomainInfo:2146) Created PCI
device 0000:00:1d.0 at index 1 with state None
[2009-07-26 05:59:12 4286] INFO (image:394) spawning device models:
/usr/lib64/xen/bin/qemu-dm.debug ['/usr/lib64/xen/bin/qemu-dm.debug',
'-d', '1', '-domain-name', 'hvm', '-videoram', '4', '-vnc',
'0.0.0.0:1', '-vncunused', '-vcpus', '1', '-boot', 'c', '-serial',
'pty', '-acpi', '-net', 'none', '-M', 'xenfv']
[2009-07-26 05:59:12 4286] INFO (image:445) device model pid: 4821
[2009-07-26 05:59:12 4286] INFO (image:547) waiting for sentinel_fifo
[2009-07-26 05:59:12 4286] DEBUG (XendDomainInfo:807)
XendDomainInfo.pci_device_configure: ['pci', ['dev', ['slot', '0x1a'],
['domain', '0x0000'], ['key', '00:1a.0'], ['bus', '0x00'], ['vdevfn',
'0x100'], ['func', '0x0'], ['uuid',
'f45346d9-7b0a-5012-9bb6-cbcc155e7707']], ['state', 'Initialising'],
['sub_state', 'Booting']]
[2009-07-26 05:59:12 4286] DEBUG (XendDomainInfo:715)
XendDomainInfo.hvm_pci_device_insert: {'devs': [{'slot': '0x1a',
'domain': '0x0000', 'key': '00:1a.0', 'bus': '0x00', 'vdevfn':
'0x100', 'func': '0x0', 'uuid':
'f45346d9-7b0a-5012-9bb6-cbcc155e7707'}], 'states': ['Initialising']}
[2009-07-26 05:59:12 4286] DEBUG (XendDomainInfo:726)
XendDomainInfo.hvm_pci_device_insert_dev: {'slot': '0x1a', 'domain':
'0x0000', 'key': '00:1a.0', 'bus': '0x00', 'vdevfn': '0x100', 'func':
'0x0', 'uuid': 'f45346d9-7b0a-5012-9bb6-cbcc155e7707'}
[2009-07-26 05:59:12 4286] DEBUG (XendDomainInfo:735)
XendDomainInfo.hvm_pci_device_insert_dev: 0000:00:1a.0@100
[2009-07-26 05:59:12 4286] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-26 05:59:12 4286] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-26 05:59:12 4286] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-26 05:59:12 4286] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-26 05:59:13 4286] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-26 05:59:13 4286] DEBUG (image:465) signalDeviceModel:
orig_state is None, retrying
[2009-07-26 05:59:13 4286] INFO (image:495) signalDeviceModel:restore
dm state to running
[2009-07-26 05:59:13 4286] DEBUG (pciif:114) reconfigureDevice:
num_devs=1 num_olddevs=2
[2009-07-26 05:59:13 4286] DEBUG (pciif:138) Reconfiguring PCI device
0000:00:1a.0 at index 0 with state None.
[2009-07-26 05:59:13 4286] INFO (pciquirk:91) NO quirks found for PCI
device [8086:2937:17aa:20f0]
[2009-07-26 05:59:13 4286] DEBUG (pciquirk:134) Permissive mode NOT
enabled for PCI device [8086:2937:17aa:20f0]
[2009-07-26 05:59:13 4286] DEBUG (pciif:305) pci: enabling ioport 0x1860/0x20
[2009-07-26 05:59:13 4286] DEBUG (pciif:348) pci: enabling irq 20
[2009-07-26 05:59:13 4286] DEBUG (pciif:510) Cleanup PCI device
0000:00:1a.0 at index 0 with state 1
[2009-07-26 05:59:13 4286] DEBUG (pciif:510) Cleanup PCI device
0000:00:1d.0 at index 1 with state None
[2009-07-26 05:59:13 4286] DEBUG (XendDomainInfo:807)
XendDomainInfo.pci_device_configure: ['pci', ['dev', ['slot', '0x1d'],
['domain', '0x0000'], ['key', '00:1d.0'], ['bus', '0x00'], ['vdevfn',
'0x100'], ['func', '0x0'], ['uuid',
'1960e4e0-bea2-356d-312c-73e25fba8620']], ['state', 'Initialising'],
['sub_state', 'Booting']]
[2009-07-26 05:59:13 4286] DEBUG (XendDomainInfo:715)
XendDomainInfo.hvm_pci_device_insert: {'devs': [{'slot': '0x1d',
'domain': '0x0000', 'key': '00:1d.0', 'bus': '0x00', 'vdevfn':
'0x100', 'func': '0x0', 'uuid':
'1960e4e0-bea2-356d-312c-73e25fba8620'}], 'states': ['Initialising']}
[2009-07-26 05:59:13 4286] DEBUG (XendDomainInfo:726)
XendDomainInfo.hvm_pci_device_insert_dev: {'slot': '0x1d', 'domain':
'0x0000', 'key': '00:1d.0', 'bus': '0x00', 'vdevfn': '0x100', 'func':
'0x0', 'uuid': '1960e4e0-bea2-356d-312c-73e25fba8620'}
[2009-07-26 05:59:13 4286] DEBUG (XendDomainInfo:735)
XendDomainInfo.hvm_pci_device_insert_dev: 0000:00:1d.0@100
[2009-07-26 05:59:13 4286] INFO (image:495) signalDeviceModel:restore
dm state to running
[2009-07-26 05:59:13 4286] DEBUG (pciif:114) reconfigureDevice:
num_devs=1 num_olddevs=2
[2009-07-26 05:59:13 4286] DEBUG (pciif:138) Reconfiguring PCI device
0000:00:1d.0 at index 1 with state None.
[2009-07-26 05:59:13 4286] INFO (pciquirk:91) NO quirks found for PCI
device [8086:2934:17aa:20f0]
[2009-07-26 05:59:13 4286] DEBUG (pciquirk:134) Permissive mode NOT
enabled for PCI device [8086:2934:17aa:20f0]
[2009-07-26 05:59:13 4286] DEBUG (pciif:305) pci: enabling ioport 0x18c0/0x20
[2009-07-26 05:59:13 4286] DEBUG (pciif:348) pci: enabling irq 16
[2009-07-26 05:59:13 4286] DEBUG (pciif:510) Cleanup PCI device
0000:00:1a.0 at index 0 with state 1
[2009-07-26 05:59:13 4286] DEBUG (pciif:510) Cleanup PCI device
0000:00:1d.0 at index 1 with state 1
[2009-07-26 05:59:13 4286] DEBUG (XendDomainInfo:3037) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '9', 'uuid':
'f25320f7-210f-f751-79d6-a160fcf58db1', 'on_reboot': 'restart',
'start_time': '1248602353.77', 'on_poweroff': 'destroy',
'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash':
'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1',
'bootloader': '', 'image': '(hvm (kernel ) (videoram 4) (hpet 0)
(stdvga 0) (vnclisten 0.0.0.0) (loader /usr/lib/xen/boot/hvmloader)
(serial pty) (vncunused 1) (xen_platform_pci 1) (boot c)
(rtc_timeoffset 0) (pci ((0x0000 0x00 0x1a 0x0 0x100 ()) (0x0000 0x00
0x1d 0x0 0x100 ()))) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi
1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type
default) (vncdisplay 1) (pci_msitranslate 1) (apic 1) (sdl 0) (monitor
0) (device_model /usr/lib64/xen/bin/qemu-dm.debug) (pci_power_mgmt 0)
(usb 0) (xauthority /root/.Xauthority) (isa 0) (display
guyg-desktop:0) (notes (SUSPEND_CANCEL 1)))', 'name': 'hvm'}
[2009-07-26 05:59:13 4286] DEBUG (XendDomainInfo:1599) Storing domain
details: {'console/port': '3', 'name': 'hvm', 'console/limit':
'1048576', 'store/port': '2', 'vm':
'/vm/f25320f7-210f-f751-79d6-a160fcf58db1', 'domid': '1',
'image/suspend-cancel': '1', 'cpu/0/availability': 'online',
'memory/target': '1048576',
'control/platform-feature-multiprocessor-suspend': '1',
'store/ring-ref': '1044476', 'console/type': 'ioemu'}
[2009-07-26 05:59:13 4286] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/1/0'} to
/local/domain/1/device/console/0.
[2009-07-26 05:59:13 4286] DEBUG (DevController:97) DevController:
writing {'domain': 'hvm', 'frontend':
'/local/domain/1/device/console/0', 'uuid':
'78565c77-aff9-cbc6-c1c7-2dc7cfa5e5d6', 'frontend-id': '1', 'state':
'1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/1/0.
[2009-07-26 05:59:13 4286] DEBUG (pciif:424) XendDomainInfo.handleAerStateWatch
[2009-07-26 05:59:13 4286] DEBUG (XendDomainInfo:1686)
XendDomainInfo.handleShutdownWatch
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices vif.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices vscsi.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices vbd.
[2009-07-26 05:59:13 4286] DEBUG (DevController:144) Waiting for 768.
[2009-07-26 05:59:13 4286] DEBUG (DevController:629)
hotplugStatusCallback
/local/domain/0/backend/vbd/1/768/hotplug-status.
[2009-07-26 05:59:13 4286] DEBUG (DevController:643) hotplugStatusCallback 1.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices irq.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices vkbd.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices vfb.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for
devices console.
[2009-07-26 05:59:13 4286] DEBUG (DevController:144) Waiting for 0.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices pci.
[2009-07-26 05:59:13 4286] DEBUG (DevController:144) Waiting for 0.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for
devices ioports.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices tap.
[2009-07-26 05:59:13 4286] DEBUG (DevController:139) Waiting for devices vtpm.
[2009-07-26 05:59:13 4286] INFO (XendDomain:1180) Domain hvm (1) unpaused.
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:2709)
XendDomainInfo.destroy: domid=1
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:2183) Destroying device model
[2009-07-26 05:59:18 4286] INFO (image:572) hvm device model terminated
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:2190) Releasing devices
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:2203) Removing vbd/768
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:1120)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:2203) Removing vfb/0
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:1120)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:2203) Removing console/0
[2009-07-26 05:59:18 4286] DEBUG (XendDomainInfo:1120)
XendDomainInfo.destroyDevice: deviceClass = console, device =
console/0
[2009-07-26 05:59:19 4286] DEBUG (XendDomainInfo:2203) Removing pci/0
[2009-07-26 05:59:19 4286] DEBUG (XendDomainInfo:1120)
XendDomainInfo.destroyDevice: deviceClass = pci, device = pci/0
[2009-07-26 05:59:19 4286] DEBUG (pciif:546) pci: unregister aer watch
[2009-07-26 05:59:19 4286] DEBUG (XendDomainInfo:2188) No device model
[2009-07-26 05:59:19 4286] DEBUG (XendDomainInfo:2190) Releasing devices


Tom

On Fri, Jul 24, 2009 at 12:05 PM, Simon Horman<horms@xxxxxxxxxxxx> wrote:
> Hi Tom,
>
> I'm still scratching my head over this one.  Would it be possible for you
> to apply the following patch and post the resulting xend.log?
>
> It includes your work-around as well as some extra debugging messages.  I'm
> interested to try and see what kind of state your xenstore is getting into.
>
> Thanks
>
>
> Index: 
> xen-3.4-testing-pass-through-multi-function/tools/python/xen/xend/XendDomainInfo.py
> ===================================================================
> --- 
> xen-3.4-testing-pass-through-multi-function.orig/tools/python/xen/xend/XendDomainInfo.py
>     2009-07-24 19:01:00.000000000 +1000
> +++ 
> xen-3.4-testing-pass-through-multi-function/tools/python/xen/xend/XendDomainInfo.py
>  2009-07-24 19:02:35.000000000 +1000
> @@ -2137,6 +2137,13 @@ class XendDomainInfo:
>                 log.info("createDevice: %s : %s" % (devclass, 
> scrub_password(config)))
>                 dev_uuid = config.get('uuid')
>                 devid = self._createDevice(devclass, config)
> +
> +                num_devs = 
> self.getDeviceController(devclass).readBackend(devid, "num_devs")
> +                if num_devs:
> +                    for i in range(int(num_devs)):
> +                        dev = 
> self.getDeviceController(devclass).readBackend(devid, "dev-%i" % i)
> +                        state = 
> self.getDeviceController(devclass).readBackend(devid, "state-%i" % i)
> +                        log.info("Created PCI device %s at index %i with 
> state %s" % (dev, i, state))
>
>                 # store devid in XendConfig for caching reasons
>                 if dev_uuid in self.info['devices']:
> Index: 
> xen-3.4-testing-pass-through-multi-function/tools/python/xen/xend/server/pciif.py
> ===================================================================
> --- 
> xen-3.4-testing-pass-through-multi-function.orig/tools/python/xen/xend/server/pciif.py
>       2009-07-24 14:53:03.000000000 +1000
> +++ 
> xen-3.4-testing-pass-through-multi-function/tools/python/xen/xend/server/pciif.py
>    2009-07-24 19:02:55.000000000 +1000
> @@ -110,6 +110,9 @@ class PciController(DevController):
>         states = config.get('states', [])
>         num_olddevs = int(self.readBackend(devid, 'num_devs'))
>
> +        log.debug('reconfigureDevice: num_devs=%d num_olddevs=%d' %
> +                  (num_devs, num_olddevs))
> +
>         for i in range(num_devs):
>             try:
>                 dev = back['dev-%i' % i]
> @@ -126,10 +129,13 @@ class PciController(DevController):
>                 devno = self.reconfigureDevice_find(devid, num_olddevs, dev)
>                 if devno == None:
>                     devno = num_olddevs + i
> -                    log.debug('Attaching PCI device %s.' % dev)
> +                    log.debug('Attaching PCI device %s at index %d.' %
> +                              (dev, devno))
>                     attaching = True
>                 else:
> -                    log.debug('Reconfiguring PCI device %s.' % dev)
> +                    state = self.readBackend(devid, 'state-%i' % devno)
> +                    log.debug(('Reconfiguring PCI device %s at index %d ' +
> +                               'with state %s.') % (dev, devno, state))
>                     attaching = False
>
>                 self.setupOneDevice(parse_pci_name(dev))
> @@ -499,7 +505,14 @@ class PciController(DevController):
>         num_devs = int(self.readBackend(devid, 'num_devs'))
>         new_num_devs = 0
>         for i in range(num_devs):
> -            state = int(self.readBackend(devid, 'state-%i' % i))
> +            dev = self.readBackend(devid, 'dev-%i' % i)
> +            state_str = self.readBackend(devid, 'state-%i' % i)
> +            log.debug('Cleanup PCI device %s at index %d with state %s' % 
> (dev, i, state_str))
> +            try:
> +                state = int(state_str)
> +            except:
> +                state = xenbusState['Unknown']
> +
>             if state == xenbusState['Closing']:
>                 # Detach I/O resources.
>                 pci_dev = parse_pci_name(self.readBackend(devid, 'dev-%i' % 
> i))
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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