Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 303956 Details for
Bug 444415
PV domain with blktap detects error condition during shutdown sequence.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch fix sharing for blktap
RHEL5.2_blktap_17493.patch (text/plain), 1.20 KB, created by
Adam Stokes
on 2008-04-28 10:25:19 UTC
(
hide
)
Description:
patch fix sharing for blktap
Filename:
MIME Type:
Creator:
Adam Stokes
Created:
2008-04-28 10:25:19 UTC
Size:
1.20 KB
patch
obsolete
>--- tools/examples/blktap.org 2008-04-23 10:18:54.000000000 +0900 >+++ tools/examples/blktap 2008-04-23 10:21:24.000000000 +0900 >@@ -54,11 +54,6 @@ check_blktap_sharing() > echo 'ok' > } > >-FRONTEND_ID=$(xenstore_read "$XENBUS_PATH/frontend-id") >-FRONTEND_UUID=$(xenstore_read "/local/domain/$FRONTEND_ID/vm") >-mode=$(xenstore_read "$XENBUS_PATH/mode") >-mode=$(canonicalise_mode "$mode") >- > t=$(xenstore_read_default "$XENBUS_PATH/type" 'MISSING') > if [ -n "$t" ] > then >@@ -71,15 +66,21 @@ then > fi > file=$(readlink -f "$p") || ebusy "$p does not exist." > >-if [ "$mode" != '!' ] >-then >- result=$(check_blktap_sharing "$file" "$mode") >- [ "$result" = 'ok' ] || ebusy "$file already in use by other domain" >-fi >- > if [ "$command" == 'add' ] > then > [ -e "$file" ] || { ebusy $file does not exist; } >+ >+ FRONTEND_ID=$(xenstore_read "$XENBUS_PATH/frontend-id") >+ FRONTEND_UUID=$(xenstore_read "/local/domain/$FRONTEND_ID/vm") >+ mode=$(xenstore_read "$XENBUS_PATH/mode") >+ mode=$(canonicalise_mode "$mode") >+ >+ if [ "$mode" != '!' ] >+ then >+ result=$(check_blktap_sharing "$file" "$mode") >+ [ "$result" = 'ok' ] || ebusy "$file already in use by other domain" >+ fi >+ > success > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 444415
: 303956