All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@hp.com>
To: xen-devel@lists.xensource.com
Subject: driver domains broken?
Date: Tue, 14 Nov 2006 21:37:27 -0700	[thread overview]
Message-ID: <1163565447.4434.73.camel@localhost> (raw)


   Has anyone tried driver domains with all the new Xen-API code?  It
seems unhappy parsing the PCI device.  I get something like this in
xend.log using current xen-unstable.hg:

[2006-11-14 15:31:01 xend.XendDomainInfo 6903] DEBUG (__init__:1072) XendDomainInfo.create(['vm', ['name', 'debianDD'], ['memory', 2048], ['vcpus', 2], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/xenlinuz'], ['root', '/dev/hda1 ro'], ['args', 'console=tty1']]], ['device', ['vbd', ['uname', 'phy:/dev/VBDs/debianDD'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['pci', ['dev', ['domain', '0x0000'], ['bus', '0x01'], ['slot', '0x02'], ['func', '0x1']]]]])
[2006-11-14 15:31:01 xend 6903] DEBUG (__init__:1072) XendConfig: reading device: {'uname': 'phy:/dev/VBDs/debianDD', 'mode': 'w', 'dev': 'hda1'}
[2006-11-14 15:31:01 xend 6903] ERROR (__init__:1072) too many values to unpack
Traceback (most recent call last):
  File "//usr/lib/python/xen/util/xmlrpclib2.py", line 179, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "//usr/lib/python/xen/xend/server/XMLRPCServer.py", line 64, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "//usr/lib/python/xen/xend/XendDomain.py", line 802, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 148, in create
    vm = XendDomainInfo(XendConfig(sxp = config))
  File "//usr/lib/python/xen/xend/XendConfig.py", line 285, in __init__
    cfg = self._populate_from_sxp(sxp)
  File "//usr/lib/python/xen/xend/XendConfig.py", line 455, in _populate_from_sxp
    for opt, val in config[1:]:
ValueError: too many values to unpack

Sorry if I missed a change in specifying driver domains.  Thanks,

	Alex

             reply	other threads:[~2006-11-15  4:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15  4:37 Alex Williamson [this message]
2006-11-15  9:14 ` driver domains broken? Ewan Mellor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1163565447.4434.73.camel@localhost \
    --to=alex.williamson@hp.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.