qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [V4 Patch 4/4]Qemu: Add commandline -drive option 'host


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [V4 Patch 4/4]Qemu: Add commandline -drive option 'hostcache'
Date: Mon, 4 Jul 2011 13:31:30 +0100

On Mon, Jul 4, 2011 at 11:43 AM, Supriya Kannery
<address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]