qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] switch balloon initialization to -device.


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH] switch balloon initialization to -device.
Date: Fri, 21 Aug 2009 17:59:17 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Gerd Hoffmann <address@hidden> writes:

> On 08/14/09 11:44, Markus Armbruster wrote:
>> Gerd Hoffmann<address@hidden>  writes:
>>
>>> With that patch applied "-balloon virtio,args" becomes a shortcut for
>>> "-device virtio-balloon-pci,args".
>>>
>>> Side effects:
>>>   - ballon device gains support for id=<tag>.
>>>   - ballon device is off by default now.
>>>   - initialization order changes, which may in different pci slot
>>>     assignment depending on the VM configuration.
>>>
>>> Signed-off-by: Gerd Hoffmann<address@hidden>
>>
>> Looks good on quick inspection (gotta run), just one question: what
>> happens when I (stupidly) do -balloon virtio,driver=e1000 ?  Question
>> might apply to plain -device before this patch as well.
>
> QemuOpts allows overwriting, so who is written last will win.
> Write order is undefined, so don't try that at home ;)
>
> Behavior of the current code:
>
>   -balloon virtio,driver=e1000 will give you a balloon device.
>   -device virtio-blk-pci,driver=e1000 will give you a e1000.

Ugly.  Not sure it's worth fixing.




reply via email to

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