qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 01/22] QemuOpts: fix a bug in QemuOpts when


From: Anthony Liguori
Subject: Re: [Qemu-devel] Re: [PATCH 01/22] QemuOpts: fix a bug in QemuOpts when setting an option twice
Date: Tue, 08 Jun 2010 10:14:59 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

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

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