stubdom: fix read-only disks access
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 4 Aug 2008 10:07:17 +0000 (11:07 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 4 Aug 2008 10:07:17 +0000 (11:07 +0100)
commitc5c5a831765f5b18e36543bab1614d7d63b0bbee
tree9eb94869131dc26509da91784c035511780e25d6
parentf06e83208866f9e6cccee051704de153a6f97b3a
stubdom: fix read-only disks access

There is no need for a flush on read-only disks.  It would actually
even error out and disturb the guest.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/block-vbd.c