qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] extensions to the -m memory option


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC] extensions to the -m memory option
Date: Fri, 29 May 2015 21:33:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0


On 29/05/2015 21:27, Liviu Ionescu wrote:
>> If the flash is persistent, it should be tied to either "-pflash"
>> (NOR) or "-mtd" (NAND).  Just using a different image then
>> results in resizing the flash.
>
> I did not try the resizing mechanism, but I don't think it is
> appropriate, one of my use cases is to start QEMU as GDB server,
> without any image specified on the command line, and in this case the
> flash size needs to be known in advance, I doubt the it can resize
> when the image is loaded by the GDB client.

You can use -drive if=mtd,snapshot=on,file=null-co://,file.size=128K to
start QEMU with a zero 128K NOR flash.

Paolo



reply via email to

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