On Mon, Jul 4, 2011 at 11:43 AM, Supriya Kannery <supri...@linux.vnet.ibm.com> wrote: > @@ -324,7 +325,23 @@ DriveInfo *drive_init(QemuOpts *opts, in > } > } > > + if ((buf = qemu_opt_get(opts, "hostcache")) != NULL) { > + if (!strcmp(buf, "off")) {
Please use qemu_opt_get_bool(). Stefan