On 06/08/2010 09:38 AM, Paul Brook wrote:
The problem I was trying to address can be seen with something like:

-drive file=foo.img,if=virtio,file=bar.img

You get no error, and foo.img is what gets used.  It's fair to argue
this is a silly use case but what I'm trying to achieve is to make it
possible to do:

-drive file=foo.img,if=virtio,id=bar -drive file=bar.img,id=bar
IMO these should both behave consistently. I'd prefer that both of are errors.

It's fairly common that the last specified argument is what's respected. For instance, if you do qemu -m 512M -m 1G, you'll get 1G of memory.

Regards,

Anthony Liguori

Paul


Reply via email to