From: Nick Logan <nick_logan@symantec.com>
To: Ewan Mellor <ewan@xensource.com>
Cc: xen-devel@lists.xensource.com, jacobg@diku.dk, ushuanglily@gmail.com
Subject: Re: Where can I find some tutorial or manual on how to use xenstore?
Date: Thu, 29 Jun 2006 14:53:26 +0100 [thread overview]
Message-ID: <44A3DB56.2000509@symantec.com> (raw)
In-Reply-To: <20060628153219.GC27633@leeni.uk.xensource.com>
Ewan Mellor wrote:
>On Wed, Jun 28, 2006 at 04:20:51PM +0100, Nick Logan wrote:
>
>
>
>>Ewan Mellor wrote:
>>
>>
>>
>>>On Wed, Jun 28, 2006 at 02:38:15PM +0100, Nick Logan wrote:
>>>
>>>
>>>
>>>
>>>
>>>>The driver was started outside of xend, using a varient of Jacob's
>>>>buscreate program to set the necessary values in xenstore. As this a 3rd
>>>>party driver, I'm looking for a solution that does not involve xm or
>>>>xend changes, if that's possible. I'll take a look at the blktap patches
>>>>to see if that helps.
>>>>
>>>>
>>>>
>>>>
>>>Xend is explicitly bringing the devices back up on restore. If you
>>>deliberately bypass it, then you are going to have to do that bringup
>>>yourself.
>>>
>>>Ewan.
>>>
>>>
>>>
>>>
>>I guessed that would be the case. The bringup for a restore would be
>>quite straighforward but more complex for migration. Has anyone
>>suggested hooks for xend to deal with 3rd party drivers so that it could
>>initialise and restore devices that are supported by these drivers?
>>This would enable new drivers to be implemented without changes to xend.
>>
>>
>
>One would have to write a device handler that parsed generic config, and then
>passed it through to the store unaltered, and then have hotplug scripts that
>could cope with this unparsed config. At the moment, the driver backends do
>special-case things like generating a MAC address when none is supplied,
>converting device names to their major:minor, that kind of thing. There isn't
>a generic device path; adding one wouldn't be hard.
>
>Ewan.
>
>
Can I just confirm what your proposal is:
Add a generic device config to the xm config file that would contain the
driver id, virtual device, physical device .....
Add a generic device handler to xend that would pass the unparsed
generic config through to xenstore.
Add a hotplug script that would parse the unparsed config in xenstore
and start the driver.
When saving a domain, xend would save the generic device config.
xend would call restore for the generic devices.
If that's correct, I'll find some time to investigate how this could done.
Nick
next prev parent reply other threads:[~2006-06-29 13:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Fukq5-00045x-5p@host-192-168-0-1-bcn-london>
2006-06-28 11:08 ` Where can I find some tutorial or manual on how to use xenstore? Nick Logan
2006-06-28 13:05 ` Ewan Mellor
2006-06-28 13:38 ` Nick Logan
2006-06-28 14:57 ` Ewan Mellor
2006-06-28 15:20 ` Nick Logan
2006-06-28 15:32 ` Ewan Mellor
2006-06-29 13:53 ` Nick Logan [this message]
2006-06-29 14:19 ` Ewan Mellor
2006-06-29 14:41 ` Andrew Warfield
2006-06-29 14:42 ` Nick Logan
2006-06-19 7:13 Lily Huang
2006-06-20 2:15 ` Where can I find some tutorial or manual on how to use?xenstore? Horms
2006-06-25 12:57 ` Where can I find some tutorial or manual on how to use xenstore? Jacob Gorm Hansen
2006-06-25 19:00 ` Lily Huang
2006-06-26 17:16 ` Jacob Gorm Hansen
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=44A3DB56.2000509@symantec.com \
--to=nick_logan@symantec.com \
--cc=ewan@xensource.com \
--cc=jacobg@diku.dk \
--cc=ushuanglily@gmail.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.