All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Subject: libxl: missing disk device feature and bugs in error path
Date: Tue, 3 Aug 2010 14:15:17 +0200	[thread overview]
Message-ID: <201008031415.17830.Christoph.Egger@amd.com> (raw)


Hi!

In my guest config file I have this line:

disk = [ 'file:/hvm-guest/win7.img,ioemu:hda,w' ]

While 'xm create' parses this correctly,
'xl create' fails in libxl.c line 1474 where it
calls device_disk_dev_number(). disk->virtpath
contains "ioemu".

device_disk_dev_number() returns -1
and this results in the error message:

libxl: error: libxl.c:1455:libxl_device_disk_add Invalid or unuspported 
virtual disk identifier ioemu

The follow-up error messages are:

libxl: error: libxl.c:851:libxl_domain_destroy pci shutdown failed for domid 1
libxl: error: libxl.c:809:libxl_destroy_device_model Couldn't find device 
model's pid: N
o such file or directory
libxl: error: libxl.c:863:libxl_domain_destroy libxl_destroy_device_model 
failed for 1

Looks like things are tried to get destroyed even when they are not 
initialized.

Christoph


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

             reply	other threads:[~2010-08-03 12:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03 12:15 Christoph Egger [this message]
2010-08-03 12:46 ` libxl: missing disk device feature and bugs in error path Gianni Tedesco
2010-08-04 15:03   ` Stefano Stabellini

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=201008031415.17830.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.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.