Commit 80eacbe4 by Guillaume Hervier

software/kvm: Fix NBD handling.

Close the NBD socket when testing it so it won't mess up qemu.

/reviewed-on !516
parent b0ed0bc0
......@@ -59,7 +59,7 @@ md5sum = 2036bf145f472f62ef8dee5e729328fd
filename = template/
md5sum = 9e40246b4bc4f968f0631016c939b014
md5sum = c8ca875bf246997137552538ab9d8b1a
filename = template/
......@@ -359,6 +359,8 @@ for nbd_ip, nbd_port in nbd_list:
print 'Warning : Nbd is not available.'
# NBD is available
# We close the NBD socket else qemu won't be able to use it apparently
'file=nbd:[%s]:%s,media=cdrom' % (nbd_ip, nbd_port)])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment