From: Matthew Mallozzi <matt.mallozzi@oracle.com>
To: xen-devel@lists.xensource.com
Subject: xm block-attach with optional backend parameter
Date: Sat, 04 Jul 2009 11:46:51 -0700 [thread overview]
Message-ID: <4A4FA39B.2060903@oracle.com> (raw)
Hey,
I am trying to attach a disk image file stored in a domU as a block
device to dom0, using the command
xm block-attach 0 file:/root/mydisk.img /dev/xvda 1
where 1 is the domain ID of the particular domU that I want to act as
the backend/driver domain.
I get an error about "Hotplug scripts not working", and I've already
posted to the xen-users list for advice on simply getting this to work,
but I was hoping that someone here might be able to walk me through the
execution path of a block-attach command, so that I can dive into the
code and insert print statements everywhere? I've been able to follow
what functions are being called and all that through the xm Python code,
but I get lost when it starts to communicate with xend. Any help would
be much appreciated!
Thanks,
Matt
next reply other threads:[~2009-07-04 18:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-04 18:46 Matthew Mallozzi [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-04 21:13 xm block-attach with optional backend parameter Matthew Mallozzi
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=4A4FA39B.2060903@oracle.com \
--to=matt.mallozzi@oracle.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.