Hello, I noticed that there is a minor problem in the vmrun.sh script if you are using a zvol as the virtio_diskdev. The 'make_and_check_diskdev' check will fail if virtio_diskdev is a zvol as it only checks for files (vs char devices). This is harmless as the truncate doesn't actually do anything if the device is a zvol however the attached small patch fixes the problem and removes the spurious error message. Paul --- vmrun.sh.orig 2014-12-24 01:56:58.468954569 +0100 +++ vmrun.sh 2014-12-24 02:03:23.543145433 +0100 @@ -152,7 +152,7 @@ { local virtio_diskdev="$1" # Create the virtio diskdev file if needed - if [ ! -f ${virtio_diskdev} ]; then + if [ ! -f ${virtio_diskdev} -a ! -c ${virtio_diskdev} ]; then echo "virtio disk device file \"${virtio_diskdev}\" does not exist." echo "Creating it ..." truncate -s 8G ${virtio_diskdev} > /dev/null
CURRENT already has "-e ${virtio_diskdev}", so maybe vmrun.sh can just be merged?
(In reply to Jimmy Olgeni from comment #1) Yes, there are a number of changes that need to be merged before the stable/10 slush. I'll do this one along with the others.
Ping
I am taking any input on this anyone has. I plan to test the state on ^head, and if we need to patch vmrun.sh that shall be done shortly.