qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] about -drive argument


From: Laurent Vivier
Subject: Re: [Qemu-devel] about -drive argument
Date: Thu, 29 May 2008 10:26:29 +0200

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 
-- 
------------- address@hidden ---------------
"The best way to predict the future is to invent it."
- Alan Kay





reply via email to

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