73e10176b8
21445-x86-tsc-handling-cleanups-v2.patch - bnc#623201 - drbd xvd will fail in new xen4 packages due to wrong popen2 arguments in blkif.py popen2-argument-fix.patch - bnc#599550 - Xen cannot distinguish the status of 'pause' OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=64
14 lines
644 B
Diff
14 lines
644 B
Diff
Index: xen-4.0.0-testing/tools/python/xen/util/blkif.py
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/tools/python/xen/util/blkif.py
|
|
+++ xen-4.0.0-testing/tools/python/xen/util/blkif.py
|
|
@@ -81,7 +81,7 @@ def parse_uname(uname):
|
|
|
|
if typ == "drbd":
|
|
if not fn.startswith("drbd"):
|
|
- (drbdadmstdin, drbdadmstdout) = os.popen2(["/sbin/drbdadm", "sh-dev", fn])
|
|
+ (drbdadmstdin, drbdadmstdout) = os.popen2("/sbin/drbdadm "+"sh-dev "+fn)
|
|
fn = drbdadmstdout.readline().strip()
|
|
else:
|
|
fn = "/dev/%s" %(fn,)
|