summaryrefslogtreecommitdiffstats
path: root/java/examples
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-14 15:50:38 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-14 15:52:42 +0100
commitaa9e0057b19e29f76c9a81f9aebeeb1cb5bf1fdb (patch)
tree434d2d079a742c84c2de0eecca9cf00934ce85d8 /java/examples
parent281b155800f2e62b994e59bef418ca200da8e93a (diff)
downloadlibguestfs-aa9e0057b19e29f76c9a81f9aebeeb1cb5bf1fdb.tar.gz
libguestfs-aa9e0057b19e29f76c9a81f9aebeeb1cb5bf1fdb.tar.xz
libguestfs-aa9e0057b19e29f76c9a81f9aebeeb1cb5bf1fdb.zip
launch: libvirt: Mark appliance disk as <shareable/> (thanks Dan Berrange).
This is a fix for multiprogramming: If two instances of libguestfs share the same appliance disk, then libvirt would unlabel the disk when one of the instances closes the handle, resulting in the other qemu being unable to continue accessing the appliance. Adding the flag makes libvirt understand that the disk is shared so it doesn't do this, and it apparently handles locking correctly too if we were using sanlock.
Diffstat (limited to 'java/examples')
0 files changed, 0 insertions, 0 deletions