diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-04-23 10:08:04 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-04-23 10:08:04 +0100 |
commit | da27f6d8b7134ce4c1fb7af186a2e11d49af6ac7 (patch) | |
tree | 520ff59175a404d363b9a408bb782700981caf54 /extras/mini-os/blkfront.c | |
parent | 575479154ddde1baea4d75f0f6292a33d56b3612 (diff) | |
download | xen-da27f6d8b7134ce4c1fb7af186a2e11d49af6ac7.tar.gz xen-da27f6d8b7134ce4c1fb7af186a2e11d49af6ac7.tar.bz2 xen-da27f6d8b7134ce4c1fb7af186a2e11d49af6ac7.zip |
stubdoms: generate stubdom config file
This patch removes the need for a second configuration file for
stubdoms: it is going to be automatically generated by the script
stubdom-dm using command line options and xenstore to find any needed
information.
The configuration script will be placed under /etc/xen/stubdoms and
automatically removed when the domain is destroyed.
The only change needed in xend is not to write on xenstore sdl,
opengl and serial command line options for qemu, because stubdoms do
not support them.
It is safe to remove those two options from xenstore because qemu does
not use xenstore to read commans line options.
Finally this patch fixes blkfront disconnections from backends and
display and xauthority variables for pv guests.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/blkfront.c')
-rw-r--r-- | extras/mini-os/blkfront.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/extras/mini-os/blkfront.c b/extras/mini-os/blkfront.c index 75add45fb4..d869715bea 100644 --- a/extras/mini-os/blkfront.c +++ b/extras/mini-os/blkfront.c @@ -244,10 +244,6 @@ void shutdown_blkfront(struct blkfront_dev *dev) xenbus_wait_for_value(path, "5", &dev->events); err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 6); - xenbus_wait_for_value(path, "6", &dev->events); - - err = xenbus_printf(XBT_NIL, nodename, "state", "%u", 1); - xenbus_wait_for_value(path, "2", &dev->events); xenbus_unwatch_path(XBT_NIL, path); |