Skip to content

Commit

Permalink
Merge pull request #1674 from lento-sun/fix_qemu_conf
Browse files Browse the repository at this point in the history
Fix a qemu_conf set_virtlogd issue
  • Loading branch information
chunfuwen authored Jun 15, 2018
2 parents 640b585 + de587e5 commit fb8ff81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt/tests/src/conf_file/qemu_conf/set_virtlogd.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def check_pipe_closed(pipe_node):
# On latest release,No.8 field in lsof returning is pipe node number.
if libvirt_version.version_compare(4, 3, 0):
pipe_node_field = "$8"
cmd = ("lsof -w |grep pipe|grep virtlogd|tail -n 1|awk '{print %s}' % pipe_node_field")
cmd = ("lsof -w |grep pipe|grep virtlogd|tail -n 1|awk '{print %s}'" % pipe_node_field)
pipe_node = configure(cmd)

# Check if qemu-kvm use pipe node provided by virtlogd.
Expand Down

0 comments on commit fb8ff81

Please sign in to comment.