qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Funny -m arguments can crash


From: Avi Kivity
Subject: Re: [Qemu-devel] Funny -m arguments can crash
Date: Tue, 14 Aug 2012 16:42:02 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

On 08/14/2012 04:25 PM, Jan Kiszka wrote:
> On 2012-08-14 15:16, Avi Kivity wrote:
>> On 08/14/2012 02:01 PM, Jan Kiszka wrote:
>> 
>>>>> We can also easily automatically disable it when there is insufficient
>>>>> (<1MB) memory. Will post a patch.
>>>>
>>>> Would be nicer if it auto-disables itself, but don't know if the option
>>>> ROM has access to the memory size.
>>>
>>> There is that global ram_size, also used by vmport. Not really nice but
>>> no precedent.
>> 
>> I meant do the detection in the guest.  But don't respin the patch, it
>> doesn't really matter and host-side works just as well.
> 
> We must not allow the guest to decide over this. Unless I'm
> misinterpreting something, a malicious guest could still trigger this
> patching (in non-existent RAM) and crash the host.

Right.


-- 
error compiling committee.c: too many arguments to function



reply via email to

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