libvirt: Detect if a disk has the <readonly/> flag.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 26 Oct 2011 16:47:34 +0000 (17:47 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 26 Oct 2011 16:47:34 +0000 (17:47 +0100)
commit163f7df8452f5d7eb47039a98cd97d498528e4d5
treee249ae27ab5805af4405053d34ec33af7408c758
parent62909197d120c01cc86095518aacca9d4ad268dd
libvirt: Detect if a disk has the <readonly/> flag.

This changes the private function guestfs___for_each_disk so that the
<readonly/> flag on libvirt disks is detected and passed through to
the callback function.
df/domains.c
generator/generator_c.ml
src/virt.c