qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier@bull.net>
To: qemu-devel@nongnu.org
Cc: nicolas prochazka <nicolas.prochazka@gmail.com>
Subject: Re: [Qemu-devel] about -drive argument
Date: Thu, 29 May 2008 10:26:29 +0200	[thread overview]
Message-ID: <1212049589.3858.11.camel@frecb07144> (raw)
In-Reply-To: <2803e73b0805280149w60bb4072k3b8b8aea3773db4f@mail.gmail.com>

Le mercredi 28 mai 2008 à 10:49 +0200, nicolas prochazka a écrit :
> Hi,
> I'm doing some tests with -drive option, and it seems there's some issue :
> 
> -drive xxx ,snapshot=off|on   does not ok
> => if i create two drive  -drive file=/mnt/vdisk/test1.qcow2
> if=scsi,bus=0,unit=6,boot=on,cache=off,snapshot=on -drive
> file=/mnt/vdisk/test2.qcow2
> if=scsi,bus=0,unit=2,cache=off,snapshot=off
> it does not run, test1.qcow2 and test2.qcow2   seems to be in the same
> mode ( no snapshot)
> Only -snapshot in qemu command seems to be ok.

The valid syntax is with a comma:

-drive file=/mnt/vdisk/test1.qcow2,if=scsi,bus=0,unit=6,boot=on,cache=off,snapshot=on

but cache=off and snapshot=on are only compatible since the commit 4599.

> 
> an other issue:
>  -drive file=/mnt/vdisk/test1.qcow2 if=scsi,bus=0,unit=6,boot=on,cache=off : ok
>  -drive file=/mnt/vdisk/test1.qcow2,if=scsi,bus=0,unit=6,boot=on,cache=off
> : not ok    image not found  ( there's a , after file image file, as
> mentionned in doc

And what is the result of "ls -l /mnt/vdisk/test1.qcow2" ?

Laurent 
-- 
------------- Laurent.Vivier@bull.net ---------------
"The best way to predict the future is to invent it."
- Alan Kay

  reply	other threads:[~2008-05-29  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28  8:49 [Qemu-devel] about -drive argument nicolas prochazka
2008-05-29  8:26 ` Laurent Vivier [this message]
2008-05-30  8:50   ` Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1212049589.3858.11.camel@frecb07144 \
    --to=laurent.vivier@bull.net \
    --cc=nicolas.prochazka@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).