Ok, I've modified my domain_config as follows.
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
arch_libdir = 'lib'
cpus = "1"
Initial memory allocation (in megabytes) for the new domain.
memory = 1024
pci = [ '05:00.0', '05:00.1' ]
A name for your domain. All domains must have different names.
name = "foo"
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
serial='pty'
disk = [ 'file:xenguest.img,hda,w', 'file:bzImage,hdb,r' ]
I can see the VM starting and then crashing.
/var/log/xend-debug.log shows the following.
Xend started at Sun Aug 2 00:59:40 2009.
Unhandled exception in thread started by
Traceback (most recent call last):
File "//usr/lib/python/xen/xend/image.py", line 549, in _sentinel_watch
self._dmfailed(message)
File "//usr/lib/python/xen/xend/image.py", line 491, in _dmfailed
xc.domain_shutdown(self.vm.getDomid(), DOMAIN_CRASH)
TypeError: an integer is required
Unhandled exception in thread started by
Traceback (most recent call last):
File "//usr/lib/python/xen/xend/image.py", line 549, in _sentinel_watch
self._dmfailed(message)
File "//usr/lib/python/xen/xend/image.py", line 491, in _dmfailed
xc.domain_shutdown(self.vm.getDomid(), DOMAIN_CRASH)
TypeError: an integer is required
Unhandled exception in thread started by
Traceback (most recent call last):
File "//usr/lib/python/xen/xend/image.py", line 549, in _sentinel_watch
self._dmfailed(message)
File "//usr/lib/python/xen/xend/image.py", line 491, in _dmfailed
xc.domain_shutdown(self.vm.getDomid(), DOMAIN_CRASH)
xen.lowlevel.xc.Error: (3, 'No such process')
Unhandled exception in thread started by
Traceback (most recent call last):
File "//usr/lib/python/xen/xend/image.py", line 549, in _sentinel_watch
self._dmfailed(message)
File "//usr/lib/python/xen/xend/image.py", line 491, in _dmfailed
xc.domain_shutdown(self.vm.getDomid(), DOMAIN_CRASH)
TypeError: an integer is required
~