SHA256
1
0
forked from pool/xen

- bnc#569194 - Tools-side fixes for tapdisk protocol specification

blktap-script.patch
  ioemu-subtype.patch
  Modified xen-domUloader.diff

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=40
This commit is contained in:
Charles Arnold
2010-04-16 21:40:24 +00:00
committed by Git OBS Bridge
parent 586e33f432
commit f46075e596
5 changed files with 43 additions and 1 deletions

View File

@@ -13,11 +13,13 @@ Index: xen-4.0.0-testing/tools/python/xen/util/blkif.py
if uname.find(":") != -1:
(typ, fn) = uname.split(":", 1)
@@ -88,15 +88,16 @@ def _parse_uname(uname):
@@ -88,15 +88,18 @@ def _parse_uname(uname):
if typ == "tap":
(taptype, fn) = fn.split(":", 1)
- return (fn, taptype)
+ if taptype in ("tapdisk", "ioemu"):
+ (taptype, fn) = fn.split(":", 1)
+ return (fn, (typ, taptype))
+ return (fn, (typ,taptype))