|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 7 of 9] hotplug NetBSD: detach devices when state is
# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
# Date 1317386335 -7200
# Node ID 2a7a580b84556a11e26be0f15864704ae5a7f0c0
# Parent 8800c37a5acba9e95ac8005ea123d3e9954be001
hotplug NetBSD: detach devices when state is 5 or 6
With the move of hotplug calls from xenbackendd to libxl, we can detach devices
when the state is 5 or 6.
Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
diff -r 8800c37a5acb -r 2a7a580b8455 tools/hotplug/NetBSD/block
--- a/tools/hotplug/NetBSD/block Fri Sep 30 14:38:55 2011 +0200
+++ b/tools/hotplug/NetBSD/block Fri Sep 30 14:38:55 2011 +0200
@@ -23,7 +23,7 @@ xtype=$3
xparams=$(xenstore-read "$xpath/params")
case $xstatus in
-6)
+5|6)
# device removed
case $xtype in
file)
diff -r 8800c37a5acb -r 2a7a580b8455 tools/hotplug/NetBSD/vif-bridge
--- a/tools/hotplug/NetBSD/vif-bridge Fri Sep 30 14:38:55 2011 +0200
+++ b/tools/hotplug/NetBSD/vif-bridge Fri Sep 30 14:38:55 2011 +0200
@@ -14,7 +14,7 @@ xpath=$1
xstatus=$2
case $xstatus in
-6)
+5|6)
# device removed
xenstore-rm $xpath
exit 0
diff -r 8800c37a5acb -r 2a7a580b8455 tools/hotplug/NetBSD/vif-ip
--- a/tools/hotplug/NetBSD/vif-ip Fri Sep 30 14:38:55 2011 +0200
+++ b/tools/hotplug/NetBSD/vif-ip Fri Sep 30 14:38:55 2011 +0200
@@ -14,7 +14,7 @@ xpath=$1
xstatus=$2
case $xstatus in
-6)
+5|6)
# device removed
xenstore-rm $xpath
exit 0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 0 of 9] Call hotplug scripts from libxl for NetBSD, Roger Pau Monne
- [Xen-devel] [PATCH 1 of 9] xenbackendd: pass type of block device to hotplug script, Roger Pau Monne
- [Xen-devel] [PATCH 3 of 9] libxl: add support for image files for NetBSD, Roger Pau Monne
- [Xen-devel] [PATCH 4 of 9] libxl: add libxl__forkexec to execute hotplug scripts, Roger Pau Monne
- [Xen-devel] [PATCH 5 of 9] libxl: wait for devices to initialize upon addition to the domain, Roger Pau Monne
- [Xen-devel] [PATCH 6 of 9] libxl: execute hotplug scripts directly from libxl, Roger Pau Monne
- [Xen-devel] [PATCH 7 of 9] hotplug NetBSD: detach devices when state is 5 or 6,
Roger Pau Monne <=
- [Xen-devel] [PATCH 8 of 9] hotplug: remove debug messages from NetBSD hotplug scripts, Roger Pau Monne
- [Xen-devel] [PATCH 9 of 9] rc.d NetBSD: don't start xenbackendd by default, only when xend needs it, Roger Pau Monne
- [Xen-devel] [PATCH 2 of 9] libxl: fix for libxl not waiting for devices to disconnect, Roger Pau Monne
|
|
|
|
|